diff --git a/app/Controllers/EnquiryController.php b/app/Controllers/EnquiryController.php index 73170d4..14e1e83 100644 --- a/app/Controllers/EnquiryController.php +++ b/app/Controllers/EnquiryController.php @@ -784,7 +784,8 @@ class EnquiryController extends ResourceController } // --- 5. Step 4 Compare Dates - $msg = $enquiry["name"]." with policy ".$policy["policy_number"]." for vehicle ".$reg_no." already exists and is active."; + // $msg = $enquiry["name"]." with policy ".$policy["policy_number"]." for vehicle ".$reg_no." already exists and is active."; + $msg = "An active policy already exists for vehicle number ".$reg_no."."; if ($endDate >= $currentDate) { return $this->response->setJSON([ "status" => "exists",