CHANGE_ add floter sum insured text : GWM
This commit is contained in:
parent
bfb18aa607
commit
ded7f75840
@ -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)
|
||||
{
|
||||
|
||||
Loading…
Reference in New Issue
Block a user