Merge remote-tracking branch 'origin/dev' into dev

This commit is contained in:
velz 2024-04-27 16:00:14 +05:30
commit a2f03ed085

View File

@ -552,6 +552,14 @@
$('#base_policy').prop('required', false);
}
if (res.data.is_addon == 2 || res.data.is_addon == 3) {
$('#insurer').prop('disabled', true);
$('#tpa').prop('disabled', true);
} else {
$('#insurer').prop('disabled', false);
$('#tpa').prop('disabled', false);
}
var policeOptionHTML = '';
$.each(res.policy, function(index, item) {
policeOptionHTML += '<option data-id="' + item.policy_type_id +