render invoice in pdf

This commit is contained in:
ludo
2024-01-07 23:16:29 +01:00
parent 4df8628a3e
commit 560ef61c9f
8 changed files with 236 additions and 4 deletions

View File

@@ -6,5 +6,5 @@ Route::prefix('Orders')->name('Orders.')->group(function () {
Route::post('order', 'OrderController@store')->name('store');
Route::any('', 'OrderController@index')->name('index');
Route::get('view/{uuid?}', 'OrderController@view')->name('view');
Route::get('pdf/{uuid?}', 'OrderController@pdf')->name('pdf');
Route::get('pdf/{uuid?}', 'OrderController@getPdf')->name('pdf');
});