1
0
mirror of https://github.com/invoiceninja/invoiceninja.git synced 2024-11-10 13:12:50 +01:00

Merge pull request #6895 from turbo124/v5-develop

Fixes for recurring invoices
This commit is contained in:
David Bomba 2021-10-25 20:11:42 +11:00 committed by GitHub
commit e7a9576fd4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -71,7 +71,7 @@ class RecurringInvoicesCron
SendRecurring::dispatchNow($recurring_invoice, $recurring_invoice->company->db);
}
catch(\Exception $e){
nlog("Unable to sending recurring invoice {$recurring_invoice->id}");
nlog("Unable to sending recurring invoice {$recurring_invoice->id} ". $e->getMessage());
}
});

View File

@ -79,7 +79,7 @@ class SendRecurring implements ShouldQueue
$invoice = $invoice->service()
->markSent()
->applyNumber()
// ->createInvitations() //need to only link invitations to those in the recurring invoice
->createInvitations() //need to only link invitations to those in the recurring invoice
->fillDefaults()
->save();