mirror of
https://gitlab.com/CIEFWorldwideSdnBhd/exchange-2.0.git
synced 2026-08-27 00:13:59 +00:00
download all delivery orders
This commit is contained in:
+1
-2
@@ -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) {
|
||||
|
||||
|
||||
Reference in New Issue
Block a user