Show invoices full screen
This commit is contained in:
parent
b089cec622
commit
604f074dfa
2 changed files with 3 additions and 1 deletions
|
|
@ -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…
Add table
Reference in a new issue