payment testing
This commit is contained in:
@@ -128,8 +128,6 @@ class MiningTaxesPayments extends Command
|
||||
} else {
|
||||
//If we didn't found a journal entry, then we shall check the contracts for a correct entry
|
||||
foreach($contracts as $contract) {
|
||||
dd($invoice);
|
||||
|
||||
if(($contract->title == ("MMT: " . $invoice->invoice_id)) && ($currentTime->lessThanOrEqualTo($invoice->due_date))) {
|
||||
Invoice::where([
|
||||
'invoice_id' => $invoice->invoice_id,
|
||||
@@ -138,7 +136,7 @@ class MiningTaxesPayments extends Command
|
||||
]);
|
||||
}
|
||||
|
||||
if(($contract->title == ("MMT: " . $invoice_id)) && ($currentTime->greaterThan($invoice->due_date))) {
|
||||
if(($contract->title == ("MMT: " . $invoice->invoice_id)) && ($currentTime->greaterThan($invoice->due_date))) {
|
||||
Invoice::where([
|
||||
'invoice_id' => $invoice->invoice_id,
|
||||
])->update([
|
||||
|
||||
Reference in New Issue
Block a user