mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2024-11-10 21:22:58 +01:00
Minor fixes for PDF generation
This commit is contained in:
parent
68fe664ad6
commit
95d53ada66
@ -195,7 +195,7 @@ class InvitationController extends Controller
|
|||||||
|
|
||||||
$file_name = $invitation->{$entity}->numberFormatter().'.pdf';
|
$file_name = $invitation->{$entity}->numberFormatter().'.pdf';
|
||||||
|
|
||||||
$file = CreateRawPdf::dispatchNow($invitation, $invitation->company->db);
|
$file = (new CreateRawPdf($invitation, $invitation->company->db))->handle();
|
||||||
|
|
||||||
$headers = ['Content-Type' => 'application/pdf'];
|
$headers = ['Content-Type' => 'application/pdf'];
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user