mirror of
https://gitlab.com/CIEFWorldwideSdnBhd/exchange-2.0.git
synced 2026-08-21 21:43:57 +00:00
Laravel Vapor - sync code for download files in bulk from S3 to more files
This commit is contained in:
@@ -63,6 +63,12 @@ class BulkDownloadSupplierWhiteFormsLogic
|
||||
|
||||
return response()->download($zip_file);
|
||||
}
|
||||
else {
|
||||
return response()->json([
|
||||
'status' => 'Error',
|
||||
'message' => 'Failed to create the Zip archive for supplier white forms.',
|
||||
]);
|
||||
}
|
||||
}
|
||||
else{
|
||||
$zip_file = "{$zipDirectory}/currency_vendor_orders_{$request->input('startDate')}_to_{$request->input('endDate')}_{$companyReference}.zip";
|
||||
|
||||
Reference in New Issue
Block a user