From 86bf52f7bf9c63350676eee2d050a54091a3abd8 Mon Sep 17 00:00:00 2001 From: omair saleh Date: Wed, 2 Mar 2022 02:28:40 +0800 Subject: [PATCH] fix billing page --- .../Bookings/ControllersLogic/DownloadBookingDocumentLogic.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Classes/Modules/Bookings/ControllersLogic/DownloadBookingDocumentLogic.php b/app/Classes/Modules/Bookings/ControllersLogic/DownloadBookingDocumentLogic.php index cb37d36a..6ffbed14 100644 --- a/app/Classes/Modules/Bookings/ControllersLogic/DownloadBookingDocumentLogic.php +++ b/app/Classes/Modules/Bookings/ControllersLogic/DownloadBookingDocumentLogic.php @@ -49,7 +49,7 @@ class DownloadBookingDocumentLogic Auth::login(User::findOrFail(1)); $zip_file = $request->input('type').'.zip'; - $attachment = Storage::disk('documents')->path('zip/'.$zip_file); + $attachment = Storage::disk('documents')->path($zip_file); $zip = new ZipArchive(); if ($zip->open($attachment, ZIPARCHIVE::CREATE | ZipArchive::OVERWRITE)) {