download all delivery orders

This commit is contained in:
omair saleh
2021-10-05 12:54:30 +08:00
parent 11a92c1f04
commit 5b573cb4dc
+1 -2
View File
@@ -69,10 +69,9 @@ Route::get('/transfer/merge/{marking}', function ($marking) {
Route::get('/test', function(){
Auth::login(User::findOrFail(3));
Auth::login(User::findOrFail(1));
try {
$zip_file = 'cief_jun_to_september_delivery_orders.zip'; // Name of our archive to download
dd($zip_file);
$zip = new ZipArchive();
if ($zip->open($zip_file, \ZipArchive::CREATE | \ZipArchive::OVERWRITE) === TRUE) {