FIX_RFQ_GMC_SRI
This commit is contained in:
parent
719ed2810a
commit
599dfda3f6
@ -494,7 +494,7 @@ function getLeadsDataForEdit(input) {
|
||||
$('#freshDiv').hide();
|
||||
$('.proposed_div').show().find('select, input').attr('required', 'required');
|
||||
$('#policy_end_date, #policy_start_date, #claim').removeAttr('required');
|
||||
$('.freashDiv').show()
|
||||
// $('.freashDiv').show()
|
||||
$('.renewalDiv').hide()
|
||||
|
||||
$('.emp_title').text('No of Employees at Inception')
|
||||
@ -516,7 +516,7 @@ function getLeadsDataForEdit(input) {
|
||||
$('.depnd_title').text('No of Dependents')
|
||||
$('.total_title').text('Total Lives')
|
||||
}else{
|
||||
$('.freashDiv').show()
|
||||
// $('.freashDiv').show()
|
||||
$('.renewalDiv').hide()
|
||||
|
||||
$('.emp_title').text('No of Employees at Inception')
|
||||
@ -527,7 +527,7 @@ function getLeadsDataForEdit(input) {
|
||||
}
|
||||
|
||||
if(res.data.policy_type_id != 2){
|
||||
|
||||
|
||||
$('.gpa_hide_div_'+increment).hide();
|
||||
$('.gpa_show_div_'+increment).show();
|
||||
$('.gpa_div_elements_'+increment).show();
|
||||
@ -1141,7 +1141,7 @@ function addHTMLInput(check) {
|
||||
|
||||
// $('.proposed_div').show().find('select, input').attr('required', 'required');
|
||||
$('.proposed_div').show();
|
||||
$('.freashDiv').show()
|
||||
// $('.freashDiv').show()
|
||||
$('.renewalDiv').hide()
|
||||
|
||||
$('.emp_title').text('No of Employees at Inception')
|
||||
@ -1163,7 +1163,7 @@ function addHTMLInput(check) {
|
||||
$('.depnd_title').text('No of Dependents')
|
||||
$('.total_title').text('Total Lives')
|
||||
}else{
|
||||
$('.freashDiv').show()
|
||||
// $('.freashDiv').show()
|
||||
$('.renewalDiv').hide()
|
||||
$('.emp_title').text('No of Employees at Inception')
|
||||
$('.depnd_title').text(' No of Dependents at Inception')
|
||||
@ -1468,7 +1468,7 @@ $('#lead_type').change(function() {
|
||||
$('#policy_start_date').removeAttr('required');
|
||||
$('#claims').removeAttr('required');
|
||||
$('#freshDiv').hide();
|
||||
$('.freashDiv').show()
|
||||
// $('.freashDiv').show()
|
||||
$('.renewalDiv').hide()
|
||||
$('.gpa_div_elements').show();
|
||||
|
||||
@ -1516,7 +1516,7 @@ $('#lead_type').change(function() {
|
||||
$('.gpa_div_elements').show();
|
||||
|
||||
}else{
|
||||
$('.freashDiv').show()
|
||||
// $('.freashDiv').show()
|
||||
$('.renewalDiv').hide()
|
||||
|
||||
$('.emp_title').text('No of Employees at Inception')
|
||||
@ -1614,12 +1614,14 @@ function showGpaColumns(input){
|
||||
let policy_type_id = $(input).val()
|
||||
let increment = input.id.split("_").pop();
|
||||
if(policy_type_id != 2){
|
||||
$('.freashDiv').hide()
|
||||
$('.gpa_hide_div_'+increment).hide();
|
||||
$('.gpa_show_div_'+increment).show();
|
||||
$('.gpa_div_elements_'+increment).show();
|
||||
$('.emp_title').text('No of Employees at Inception')
|
||||
$('.total_title').text('Total Sum Insured at Inception')
|
||||
}else{
|
||||
$('.freashDiv').show()
|
||||
$('.gpa_hide_div_'+increment).show();
|
||||
}
|
||||
|
||||
@ -1645,7 +1647,7 @@ function getURLParamsForReport() {
|
||||
console.log('lead_id', lead_id); // Retain the log if necessary
|
||||
}
|
||||
|
||||
$('#policy_type_id').change(function() {
|
||||
$('.policy_type_id').change(function() {
|
||||
console.log("policy type changed");
|
||||
var policy_type_id = $(this).val();
|
||||
if (policy_type_id == 2) {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user