From 49c61d4e5dc510b999b17cd18fe5a91a9d47d7ae Mon Sep 17 00:00:00 2001 From: aadhavan valli Date: Wed, 17 Apr 2024 08:21:30 +0530 Subject: [PATCH] FIX_CLIENT_POLICY_DEPENDENT_ADDON_ALERT : AADHAVAN --- app/Views/client_policy.php | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/app/Views/client_policy.php b/app/Views/client_policy.php index dd2edd52..908612fe 100644 --- a/app/Views/client_policy.php +++ b/app/Views/client_policy.php @@ -1005,6 +1005,10 @@ $('#policy_type').change(function() { $('#end_date').val(''); $('#base_policy').val('0'); + if($(this).val() == 3){ + toastr.warning('Please Change the Policy Terms after Submit the Policy!', 'warning'); + } + if ($(this).val() != '1' && $(this).val() != '0') { $('#base_policy_id').show(); @@ -1027,7 +1031,6 @@ $('#policy_type').change(function() { $('#base_policy_id').hide(); $('#base_policy').prop('required', false); } - })