mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2024-11-10 13:12:50 +01:00
minor fixes
This commit is contained in:
parent
ec562f645a
commit
b71f1c0e37
@ -818,17 +818,11 @@ class InvoiceController extends BaseController
|
||||
return response()->json(['message' => 'no record found'], 400);
|
||||
}
|
||||
|
||||
$contact = $invitation->contact;
|
||||
$invoice = $invitation->invoice;
|
||||
|
||||
// $file = $invoice->service()->getInvoicePdf($contact);
|
||||
$file_name = $invoice->numberFormatter().'.pdf';
|
||||
|
||||
/************** */
|
||||
$file_name = $invoice->numberFormatter().'.pdf';
|
||||
|
||||
$file = (new \App\Jobs\Entity\CreateRawPdf($invitation, $invitation->company->db))->handle();
|
||||
|
||||
/************* */
|
||||
$file = (new \App\Jobs\Entity\CreateRawPdf($invitation, $invitation->company->db))->handle();
|
||||
|
||||
$headers = ['Content-Type' => 'application/pdf'];
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user