FIX_INSURER_TPA_DISABLE_IN_EDIT_CLIENT_POLICY : RV
This commit is contained in:
parent
9f332bb4b2
commit
36dd429b57
@ -552,6 +552,14 @@
|
|||||||
$('#base_policy').prop('required', false);
|
$('#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 = '';
|
var policeOptionHTML = '';
|
||||||
$.each(res.policy, function(index, item) {
|
$.each(res.policy, function(index, item) {
|
||||||
policeOptionHTML += '<option data-id="' + item.policy_type_id +
|
policeOptionHTML += '<option data-id="' + item.policy_type_id +
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user