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