Merge remote-tracking branch 'origin/dev' into dev
This commit is contained in:
commit
a2f03ed085
@ -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 +
|
||||
|
||||
Loading…
Reference in New Issue
Block a user