Get invoice template to print it in Portal
This commit is contained in:
parent
2837951f92
commit
8f78e960b2
@ -108,7 +108,7 @@ class Invoices extends Controller
|
|||||||
|
|
||||||
$invoice->paid = $paid;
|
$invoice->paid = $paid;
|
||||||
|
|
||||||
$invoice->template_path = 'sales.invoices.print';
|
$invoice->template_path = 'sales.invoices.print_' . setting('invoice.template' ,'default');
|
||||||
|
|
||||||
event(new \App\Events\Sale\InvoicePrinting($invoice));
|
event(new \App\Events\Sale\InvoicePrinting($invoice));
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user