CHANGE_ add floter sum insured text : GWM

This commit is contained in:
bitbucket 2024-04-25 12:03:19 +05:30
parent bfb18aa607
commit ded7f75840

View File

@ -1268,6 +1268,16 @@ public function getAddOnPolicy()
$responce['is_addon'] = $array['is_addon'];
$responce['open_for_enrollment'] = $array['open_for_enrollment'];
$responce['policy_terms'] = $decodedArray;
if(count($getSlabAndGridData['slab_rates'])){
if($getSlabAndGridData['slab_rates'][0]['premium_type'] == 1)
{
$responce['floter_text_heading'] = 'Floater Sum Insured';
}else{
$responce['floter_text_heading'] = 'Sum Insured';
}
}
if($array['is_addon'] == 3)
{