mirror of
https://gitlab.com/CIEFWorldwideSdnBhd/izyim.git
synced 2026-08-19 04:24:00 +00:00
large commit
This commit is contained in:
@@ -101,4 +101,9 @@ class OrderController extends Controller
|
|||||||
// return $this->pdf->loadView('pages.pdf.qr', $data)->stream();
|
// return $this->pdf->loadView('pages.pdf.qr', $data)->stream();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public function cleanup(){
|
||||||
|
$orders = order::all();
|
||||||
|
dd($orders);
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -68,6 +68,7 @@ Route::group(['middleware' => ['secure', 'clearcache']], function (): void {
|
|||||||
|
|
||||||
Route::get('/{orderId}/qr/{type}/download', 'Orders\OrderController@download')->name('order.download.qr');
|
Route::get('/{orderId}/qr/{type}/download', 'Orders\OrderController@download')->name('order.download.qr');
|
||||||
Route::get('/{orderId}/qr/{type}/print', 'Orders\OrderController@print')->name('order.print.qr');
|
Route::get('/{orderId}/qr/{type}/print', 'Orders\OrderController@print')->name('order.print.qr');
|
||||||
|
Route::get('order/cleanup', 'Orders\OrderController@cleanup')->name('order.cleanup');
|
||||||
|
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user