Set correct invoice numbers for zero payment invoices
This commit is contained in:
parent
2a1156d160
commit
05b3518fb7
1 changed files with 6 additions and 1 deletions
|
|
@ -597,9 +597,14 @@ class BillingPortalPurchasev2 extends Component
|
|||
->service()
|
||||
->fillDefaults()
|
||||
->adjustInventory()
|
||||
->markPaid()
|
||||
->save();
|
||||
|
||||
$invoice->number = null;
|
||||
|
||||
$invoice->service()
|
||||
->markPaid()
|
||||
->save();
|
||||
|
||||
return $this->subscription
|
||||
->service()
|
||||
->handleNoPaymentFlow($invoice, $this->bundle, $this->contact);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue