Fixes for passing default quote terms into converted invoice
This commit is contained in:
parent
a226d83657
commit
2b956ceb38
1 changed files with 1 additions and 2 deletions
|
|
@ -39,9 +39,8 @@ class ConvertQuote
|
|||
{
|
||||
$invoice = CloneQuoteToInvoiceFactory::create($quote, $quote->user_id);
|
||||
$invoice->design_id = $this->decodePrimaryKey($this->client->getSetting('invoice_design_id'));
|
||||
$invoice = $this->invoice_repo->save([], $invoice);
|
||||
$invoice = $this->invoice_repo->save($invoice->toArray(), $invoice);
|
||||
|
||||
nlog($invoice->toArray());
|
||||
$invoice->fresh();
|
||||
|
||||
$invoice->service()
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue