FIX_message changed for ui
This commit is contained in:
parent
cbed0c8305
commit
eb6d01fb41
@ -784,7 +784,8 @@ class EnquiryController extends ResourceController
|
|||||||
}
|
}
|
||||||
|
|
||||||
// --- 5. Step 4 Compare Dates
|
// --- 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) {
|
if ($endDate >= $currentDate) {
|
||||||
return $this->response->setJSON([
|
return $this->response->setJSON([
|
||||||
"status" => "exists",
|
"status" => "exists",
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user