@php $coverVal =
$policy_data['covers'][$policy_data['selected_cover_code']]['base']['sum_insured'] @endphp
@php $riskPremium =
$policy_data['covers'][$policy_data['selected_cover_code']]['base']['risk_premium'] @endphp
@php $agentRepairFix = $policy_data['agent_repair_fix'] @endphp
@php $naturalDisaster =
$policy_data['covers'][$policy_data['selected_cover_code']]['natural_disaster'] @endphp
Please select your Extension Packs
Extension Packs
We offer a range of extension packs to help enhance
your cover even further. Create the perfect cover according to the extensions
you prefer most.
@foreach($policy_data['extensions'] as $extension)
@if ($extension['code'] == 'AGENT' && (!in_array($quote_data['vehicle_age'], range(4, 5))))
@php continue @endphp
@endif
@if($extension['is_default'] == 0)
@if ($extension['code'] == 'SRCC')
@php $srccId = $extension['id'] @endphp
@endif
@if ($extension['code'] != 'TC')
@else
@endif
{{$extension['title']}}
{{$extension['short_description']}}
Extensions
{{$extension['title']}}
@if($extension['long_description'])
{!!
$extension['long_description']
!!}
@endif
@php $amount = 0 @endphp
@if($extension['code'] == 'TC')
@php $amount = $tcAmount = ($coverVal *
$extension['value'] / 100) @endphp
@elseif($extension['code'] == 'SRCC')
@php $amount = $srccAmount = ($coverVal *
$extension['value'] / 100) @endphp
@elseif($extension['code'] == 'AGENT')
@php $amount = $agentAmount = ($riskPremium
+ $naturalDisaster) * ($agentRepairFix /
100) @endphp
@elseif($extension['code'] == 'OTHER')
@php $amount = $extension['value'] @endphp
@elseif($extension['code'] == 'ELEC')
@php $amount = $extension['value'] @endphp
@endif
{{--@if($extension['is_default'] == 0)--}}
{{--@endif--}}
{{--@if($extension['is_percentage']){{$extension['value']}}% @else {{$extension['value']}} @endif--}}
@else @endif
@endforeach
@endif
@endif
@include('front.includes.terms')
@include('front.includes.other-policies')
{{--@include('front.includes.stickybar')--}}
@endsection