GWM : quotation file download error
This commit is contained in:
parent
85dd258370
commit
32cfc8b3b6
@ -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);
|
||||
|
||||
Loading…
Reference in New Issue
Block a user