@extends('layouts.app') @section('content')

{{$policy_data['selected'][0]['title']}}

{{$policy_data['selected'][0]['description']}}

{{-- --}}

Overview

@if($policy_data['selected'][0]['plan_include'])

Your Plan Includes

{!! $policy_data['selected'][0]['plan_include'] !!}
@endif @if($policy_data['selected'][0]['plan_exclude'])

Your Plan Excludes

{!! $policy_data['selected'][0]['plan_exclude'] !!}
@endif
{{ csrf_field() }} @if($policy_data['selected_cover_code'] == 'COMP') @if($policy_data['step'] == 1)
@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['title']}}
{{$extension['short_description']}}
@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
{{----}} @if($policy_data['step'] == 2) @endif @if($policy_data['step'] == 1) @endif
@endif @endif @include('front.includes.terms') @include('front.includes.other-policies') {{--@include('front.includes.stickybar')--}} @endsection