CHANGE_BDS
This commit is contained in:
parent
389d645b93
commit
fdb559feb4
@ -2068,6 +2068,7 @@
|
||||
$('#client_branch_id').prop('required', false);
|
||||
$('#table_tr_34').hide();
|
||||
$('#table_tr_37').hide();
|
||||
$("select[name='cd_ac_no_for_child[]']").removeAttr("required");
|
||||
|
||||
} else {
|
||||
$('#policyholdernamediv').hide();
|
||||
@ -2075,6 +2076,7 @@
|
||||
$('#client_branch_id').prop('required', true);
|
||||
$('#table_tr_34').show();
|
||||
$('#table_tr_37').show();
|
||||
$("select[name='cd_ac_no_for_child[]']").attr('required', 'required');
|
||||
}
|
||||
|
||||
//Vehicle File Upload Tab Hide And show
|
||||
@ -3856,11 +3858,13 @@
|
||||
$('#owner_branch').prop('required', false);
|
||||
$('#table_tr_34').hide();
|
||||
$('#table_tr_37').hide();
|
||||
$("select[name='cd_ac_no_for_child[]']").removeAttr("required");
|
||||
} else {
|
||||
$('.ownerbranchdiv').show();
|
||||
$('#owner_branch').prop('required', true);
|
||||
$('#table_tr_34').show();
|
||||
$('#table_tr_37').show();
|
||||
$("select[name='cd_ac_no_for_child[]']").attr('required', 'required');
|
||||
}
|
||||
|
||||
// console.log('selected Owner type', selectedClientType);
|
||||
@ -5151,10 +5155,12 @@
|
||||
$('.branchdiv').show();
|
||||
$('#table_tr_34').show();
|
||||
$('#table_tr_37').show();
|
||||
$("select[name='cd_ac_no_for_child[]']").attr("required", true);
|
||||
}else{
|
||||
$('.branchdiv').hide();
|
||||
$('#table_tr_34').hide();
|
||||
$('#table_tr_37').hide();
|
||||
$("select[name='cd_ac_no_for_child[]']").removeAttr("required");
|
||||
}
|
||||
$('#client_type').val(response.data?.client_type ?? "").trigger('change');
|
||||
} else {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user