mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-07-09 03:14:30 -04: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()
|
->service()
|
||||||
->fillDefaults()
|
->fillDefaults()
|
||||||
->adjustInventory()
|
->adjustInventory()
|
||||||
->markPaid()
|
|
||||||
->save();
|
->save();
|
||||||
|
|
||||||
|
$invoice->number = null;
|
||||||
|
|
||||||
|
$invoice->service()
|
||||||
|
->markPaid()
|
||||||
|
->save();
|
||||||
|
|
||||||
return $this->subscription
|
return $this->subscription
|
||||||
->service()
|
->service()
|
||||||
->handleNoPaymentFlow($invoice, $this->bundle, $this->contact);
|
->handleNoPaymentFlow($invoice, $this->bundle, $this->contact);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user