From 32cfc8b3b6766069fdafb54b9daf07af0169f187 Mon Sep 17 00:00:00 2001 From: Gowtham M Date: Wed, 24 Sep 2025 15:43:26 +0530 Subject: [PATCH] GWM : quotation file download error --- app/Controllers/QuotationController.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Controllers/QuotationController.php b/app/Controllers/QuotationController.php index c3f230f..6d3f566 100644 --- a/app/Controllers/QuotationController.php +++ b/app/Controllers/QuotationController.php @@ -214,7 +214,7 @@ class QuotationController extends ResourceController return $this->respond(['status' => 'failed', 'code' => 404, 'data' => 'File not found'], 200); } - $filePath = WRITEPATH . 'uploads/quotation/' . $fileRecord['incentive_file_name']; + $filePath = WRITEPATH . 'uploads/quotation/' . $fileRecord['additional_uploaded_file_name']; if (!file_exists($filePath)) { return $this->respond(['status' => 'failed', 'code' => 404, 'data' => 'File missing on server'], 200);