mirror of
https://gitlab.com/CIEFWorldwideSdnBhd/exchange-2.0.git
synced 2026-08-19 04:23:55 +00:00
Merge branch 'debtor' into 'development'
no file error See merge request CIEFWorldwideSdnBhd/exchange-2.0!106
This commit is contained in:
@@ -45,7 +45,9 @@ class DownloadBookingDocumentLogic
|
||||
})->get();
|
||||
|
||||
|
||||
if (!count($bookings)) throw new MalformedRequestException('No available file to download');
|
||||
if (!count($bookings)) {
|
||||
return response()->json(['no file to download']);
|
||||
}
|
||||
|
||||
foreach ($bookings as $booking) {
|
||||
|
||||
|
||||
Reference in New Issue
Block a user