CHANGE_ in active policy api eCardDownload key added : GWM
This commit is contained in:
parent
b906d65654
commit
9de11b64d6
@ -2115,6 +2115,14 @@ function getEmployeeActiveOrInactivePolicy()
|
||||
if(isset($value['premium'])){ $si_premium_value = $si_premium_value + $value['premium'];}
|
||||
if(isset($value['gst'])){ $si_gst_value = $si_gst_value + $value['gst'];}
|
||||
}
|
||||
|
||||
|
||||
if($employee_policy[0]->tpa_id != null)
|
||||
$data['eCardDownload'] = base_url('download-e-card/') . $employee_policy[0]->rand_string;
|
||||
else
|
||||
$data['eCardDownload'] = null;
|
||||
|
||||
|
||||
|
||||
$data['si_value'] = $si_value;
|
||||
$data['si_premium_value'] = ($ClientPolicyValue['policy_type_id'] == 1 || $ClientPolicyValue['policy_type_id'] == 2) ? 0 : $si_premium_value;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user