mirror of
https://github.com/crater-invoice/crater.git
synced 2025-10-27 11:41:09 -04:00
Clone Invoice Template issue
This commit is contained in:
@ -32,7 +32,7 @@ class CloneInvoiceController extends Controller
|
|||||||
'reference_number' => $invoice->reference_number,
|
'reference_number' => $invoice->reference_number,
|
||||||
'user_id' => $invoice->user_id,
|
'user_id' => $invoice->user_id,
|
||||||
'company_id' => $request->header('company'),
|
'company_id' => $request->header('company'),
|
||||||
'invoice_template_id' => 1,
|
'invoice_template_id' => $invoice->invoice_template_id,
|
||||||
'status' => Invoice::STATUS_DRAFT,
|
'status' => Invoice::STATUS_DRAFT,
|
||||||
'paid_status' => Invoice::STATUS_UNPAID,
|
'paid_status' => Invoice::STATUS_UNPAID,
|
||||||
'sub_total' => $invoice->sub_total,
|
'sub_total' => $invoice->sub_total,
|
||||||
|
|||||||
Reference in New Issue
Block a user