fix #171 - Quote to invoice should change the Prefix and the number
This commit is contained in:
parent
8410ad9dc9
commit
ad8d5df8d5
1 changed files with 1 additions and 1 deletions
|
|
@ -367,7 +367,7 @@ class InvoiceRepository
|
|||
|
||||
$clone = Invoice::createNew($invoice);
|
||||
$clone->balance = $invoice->amount;
|
||||
$clone->invoice_number = $invoice->account->getNextInvoiceNumber($invoice->is_quote);
|
||||
$clone->invoice_number = $invoice->account->getNextInvoiceNumber();
|
||||
|
||||
foreach ([
|
||||
'client_id',
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue