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); } - })