mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-07-07 10:34:30 -04:00
fix #171 - Quote to invoice should change the Prefix and the number
This commit is contained in:
parent
8410ad9dc9
commit
ad8d5df8d5
@ -367,7 +367,7 @@ class InvoiceRepository
|
|||||||
|
|
||||||
$clone = Invoice::createNew($invoice);
|
$clone = Invoice::createNew($invoice);
|
||||||
$clone->balance = $invoice->amount;
|
$clone->balance = $invoice->amount;
|
||||||
$clone->invoice_number = $invoice->account->getNextInvoiceNumber($invoice->is_quote);
|
$clone->invoice_number = $invoice->account->getNextInvoiceNumber();
|
||||||
|
|
||||||
foreach ([
|
foreach ([
|
||||||
'client_id',
|
'client_id',
|
||||||
|
Loading…
x
Reference in New Issue
Block a user