FIX_message changed for ui

This commit is contained in:
sanjeev.p 2026-02-03 10:13:22 +05:30
parent cbed0c8305
commit eb6d01fb41

View File

@ -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",