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);