From 9cc55d54cd6424366e62ec94c594e35e9b7e554a Mon Sep 17 00:00:00 2001 From: Gowtham M Date: Fri, 21 Nov 2025 18:56:09 +0530 Subject: [PATCH] GWM --- app/Controllers/QuotationController.php | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/app/Controllers/QuotationController.php b/app/Controllers/QuotationController.php index 9987edb..095b590 100644 --- a/app/Controllers/QuotationController.php +++ b/app/Controllers/QuotationController.php @@ -404,6 +404,14 @@ class QuotationController extends ResourceController $this->QuotationModel->update($quotationId, $quotationData); + /* -------------------------------------------- + * Update Enquiry (Quotation Accepted) + * -------------------------------------------- */ + $this->EnquiryModel->update($data['enquiry_id'], [ + 'broker_id' => $data['broker_id'] ?? 0, + 'vehicle_type_id' => $data['vehicle_type_id'] ?? 0, + ]); + }