[WIP] Update

This commit is contained in:
R
2023-03-03 08:44:08 +07:00
parent 9e322c4ee5
commit 91ba718a50
17 changed files with 197 additions and 78 deletions

View File

@@ -57,6 +57,8 @@ class GeneratedDocumentController extends Controller
// $pdf = PDF::loadFile(route('generated-document.show', $id));
// return $pdf->inline();
// $pdf = PDF::loadHtml('<h1>Motherfucker</h1>');
// $snappy = App::make('snappy.pdf');
// $html = '<h1>Bill</h1><p>You owe me money, dude.</p>';
// // $snappy->generateFromHtml($html, '/tmp/bill-123.pdf');