Merge pull request #1210 from burakcakirel/invoice-template-in-portal

Get invoice template to print it in Portal
This commit is contained in:
Denis Duliçi 2020-02-01 01:45:55 +03:00 committed by GitHub
commit 25e576f5ed
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -108,7 +108,7 @@ class Invoices extends Controller
$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));