mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2024-11-11 13:42:49 +01:00
Fix for auto-billing delayed invoices
This commit is contained in:
parent
5b2f8fd4d4
commit
7ce829ccf6
@ -95,7 +95,7 @@ class SendRecurringInvoices extends Command
|
|||||||
}
|
}
|
||||||
|
|
||||||
if ($invoice->getAutoBillEnabled() && $invoice->client->autoBillLater()) {
|
if ($invoice->getAutoBillEnabled() && $invoice->client->autoBillLater()) {
|
||||||
$this->info('Processing Invoice '.$invoice->id.' - Should bill '.($billNow ? 'YES' : 'NO'));
|
$this->info('Processing Autobill-delayed Invoice ' . $invoice->id);
|
||||||
$this->paymentService->autoBillInvoice($invoice);
|
$this->paymentService->autoBillInvoice($invoice);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user