Merge pull request #6895 from turbo124/v5-develop
Fixes for recurring invoices
This commit is contained in:
commit
e7a9576fd4
2 changed files with 2 additions and 2 deletions
|
|
@ -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());
|
||||
}
|
||||
|
||||
});
|
||||
|
|
|
|||
|
|
@ -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();
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue