diff --git a/app/Controllers/EmployeeRestController.php b/app/Controllers/EmployeeRestController.php index 81a49040..c100b451 100644 --- a/app/Controllers/EmployeeRestController.php +++ b/app/Controllers/EmployeeRestController.php @@ -1077,8 +1077,15 @@ public function getEmployeePolicy() $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'; } + { + $array->floter_text_heading = 'Floater Sum Insured'; + $array->floter_text_description = 'This is a floater sum insured. A floater is a type of sum insured that provides coverage to more than one member ot a family at the same time. Simply put, its a single insurance cover for the entire family.'; + + }{ + $array->floter_text_heading = 'Sum Insured'; + $array->floter_text_description = ''; + + } // Convert familyFloaters terms data to plain array $floters = $this->FloterConvertion($familyFloates);