CHANGE_BDS
This commit is contained in:
parent
24524aab62
commit
fd0d406467
@ -2336,8 +2336,13 @@
|
||||
// console.log('variance', variance);
|
||||
|
||||
// $('#variance_' + input).val(!isNaN(variance) && isFinite(variance) ? variance.toFixed(2) : '0.00');
|
||||
let policy_type_id = $('#policy_type_id').val();
|
||||
|
||||
checkCDAmountForBasePremium(input);
|
||||
if(policy_type_id > 7){
|
||||
checkCDAmountForBasePremium(input);
|
||||
}else{
|
||||
console.log("First Skip the Ajax Call these are group policies");
|
||||
}
|
||||
setCoPremiums(input);
|
||||
|
||||
console.log('############################## END AMOUNT CALCULATION ############################################')
|
||||
@ -4833,6 +4838,9 @@
|
||||
|
||||
console.log('#################################### Check CD Amount For Base Premium ####################################');
|
||||
|
||||
let policy_type_id = $('#policy_type_id').val();
|
||||
console.log("policy_type_id ", policy_type_id);
|
||||
|
||||
console.log(input)
|
||||
let client_type = $('#client_type').val();
|
||||
console.log('client type', client_type);
|
||||
@ -4845,7 +4853,7 @@
|
||||
|
||||
// return;
|
||||
|
||||
if(client_type == 1){
|
||||
if(client_type == 1 && policy_type_id > 7){
|
||||
|
||||
let current_total_amt = $('#base_cd_amount').val() ?? 0;
|
||||
console.log('current_total_amt', current_total_amt);
|
||||
@ -4930,6 +4938,8 @@
|
||||
toastr.error('An error occurred while checking the CD amount.', 'ERROR');
|
||||
});
|
||||
|
||||
}else{
|
||||
console.log("Skip the Ajax Call these are group policies");
|
||||
}
|
||||
|
||||
console.log('#################################### END Check CD Amount For Base Premium ####################################');
|
||||
|
||||
Loading…
Reference in New Issue
Block a user