mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2024-11-10 13:12:50 +01:00
Set correct invoice numbers for zero payment invoices
This commit is contained in:
parent
2a1156d160
commit
05b3518fb7
@ -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…
Reference in New Issue
Block a user