FIX_CLIENT_POLICY_DEPENDENT_ADDON_ALERT : AADHAVAN
This commit is contained in:
parent
5b2d2faa75
commit
49c61d4e5d
@ -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);
|
||||
}
|
||||
|
||||
})
|
||||
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user