mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-05-24 02:14:21 -04:00
Show invoices full screen
This commit is contained in:
parent
b089cec622
commit
604f074dfa
@ -57,7 +57,7 @@ class InvoiceController extends Controller
|
||||
];
|
||||
|
||||
if ($request->query('mode') === 'fullscreen') {
|
||||
return response()->file($invoice->pdf_file_path(null, 'path'));
|
||||
return render('invoices.show-fullscreen', $data);
|
||||
}
|
||||
|
||||
return $this->render('invoices.show', $data);
|
||||
|
@ -0,0 +1,2 @@
|
||||
<iframe src="{{ $invoice->pdf_file_path() }}"
|
||||
style="position:fixed; top:0; left:0; bottom:0; right:0; width:100%; height:100%; border:none; margin:0; padding:0; overflow:hidden; z-index:999999;"></iframe>
|
Loading…
x
Reference in New Issue
Block a user