mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2024-11-08 12:12:48 +01:00
Merge delayed billing fix
This commit is contained in:
parent
7ffab74f1c
commit
7bf824f2fe
@ -150,13 +150,6 @@ class SendRecurringInvoices extends Command
|
||||
|
||||
if ($invoice->getAutoBillEnabled() && $invoice->client->autoBillLater()) {
|
||||
$this->info('Processing Autobill-delayed Invoice: ' . $invoice->id);
|
||||
|
||||
// TODO don't skip
|
||||
if ($invoice->user->trashed()) {
|
||||
$this->info('Archived user: skipping');
|
||||
continue;
|
||||
}
|
||||
|
||||
Auth::loginUsingId($invoice->activeUser()->id);
|
||||
$this->paymentService->autoBillInvoice($invoice);
|
||||
Auth::logout();
|
||||
|
Loading…
Reference in New Issue
Block a user