Fixes for recurring

This commit is contained in:
David Bomba 2021-03-23 08:24:05 +11:00
parent a1a54b3e18
commit 417ed6c13d
3 changed files with 2 additions and 0 deletions

View File

@ -271,6 +271,7 @@ class BillingPortalPurchase extends Component
->createInvoice($data)
->service()
->markSent()
->fillDefaults()
->save();
Cache::put($this->hash, [

View File

@ -63,6 +63,7 @@ class SendRecurring implements ShouldQueue
->markSent()
->applyNumber()
->createInvitations()
->fillDefaults()
->save();
nlog("Invoice {$invoice->number} created");