CHANGE_ family floter text : GWM

This commit is contained in:
bitbucket 2024-04-24 16:43:59 +05:30
parent 11ecfce5c4
commit 5ae2fcfdc4

View File

@ -1075,6 +1075,11 @@ public function getEmployeePolicy()
// Generate Notes string based on familyFloates terms
$array->notes = $this->FloterNotesConvertion($familyFloates);
if($getSlabAndGridData['slab_rates'][0]['premium_type'] == 1)
{ $array->family_floter_notes = 'For Family'; }
else{ $array->family_floter_notes = 'For Members'; }
// Convert familyFloaters terms data to plain array
$floters = $this->FloterConvertion($familyFloates);
@ -1514,6 +1519,8 @@ public function getCashDepositData()
->findAll();
$result = [];
if(count($ClientPolicyData))
{
foreach ($ClientPolicyData as $key => $value) {
$data['clientId'] = $value['clientId'];
@ -1557,6 +1564,8 @@ public function getCashDepositData()
array_push($result,$data);
}
}
if($result)