Merge pull request #1210 from burakcakirel/invoice-template-in-portal
Get invoice template to print it in Portal
This commit is contained in:
commit
25e576f5ed
@ -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