FIX_CLIENT_POLICY_DEPENDENT_ADDON_ALERT : AADHAVAN

This commit is contained in:
aadhavan valli 2024-04-17 08:21:30 +05:30
parent 5b2d2faa75
commit 49c61d4e5d

View File

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