@php $editing = (bool) $quotation; $addonLabels = collect(\App\Services\Insurance\PremiumCalculator::HDFC_ADDONS)->map(fn ($a) => $a[0])->all(); $addonHints = [ 'zero_dep' => 'Claims paid without depreciation on parts', 'ncb_pro' => 'Keeps the no-claim bonus after a claim', 'engine_gbox' => 'Covers engine & gearbox damage (e.g. water ingress)', 'cost_rate' => 'Nuts, bolts, oil, coolant and other consumables', 'return_invoice' => 'Total loss paid at the invoice value', ]; $config = [ 'state' => $state, 'urls' => ['preview' => route('quotations.preview'), 'vehicles' => route('quotations.vehicles')], 'plans' => $plans, 'planCovers' => $planCovers, 'ncbSlabs' => \App\Services\Insurance\PremiumCalculator::NCB_SLABS, 'ncbLadder' => \App\Services\Insurance\PremiumCalculator::NCB_LADDER, 'addonLabels' => $addonLabels, 'editing' => $editing, ]; @endphp @if ($editing) Back to quotation @endif
@csrf @if ($editing) @method('PUT') @endif
{{-- ============ Insurer ============ --}}
@foreach (\App\Services\Insurance\PremiumCalculator::INSURERS as $key => $label) @endforeach
@error('plan')

{{ $message }}

@enderror
{{-- ============ Vehicle ============ --}}

No vehicles found.

@error('car_id')

{{ $message }}

@enderror
@error('reg_date')

{{ $message }}

@enderror
@error('expire_date')

{{ $message }}

@enderror
@error('reg_no')

{{ $message }}

@enderror
No TATA AIG rates
{{-- ============ Premium inputs ============ --}}
@php $fields = [ ['idv', 'Insured declared value (IDV) ₹', '1', 'Rate card: ', 'idv'], ['discount', 'Tariff discount %', 'any', 'Rate card: ', 'discount'], ['age_discount', 'Extra discount %', 'any', 'Rate card: ', 'age_discount'], ['pro_discount', 'Professional discount %', 'any', null, null], ['tp', 'Third-party premium ₹', '1', 'By CC slab: ', 'tp'], ['elec_acc', 'Electrical / non-electrical accessories ₹', '1', null, null], ['anit_discount', 'Anti-theft device value ₹', '1', null, null], ['loading', 'Loading %', 'any', null, null], ]; @endphp @foreach ($fields as [$name, $label, $step, $hint, $defaultKey])
@if ($hint)

@endif @error($name)

{{ $message }}

@enderror
@endforeach

Factory CNG/LPG — kit liability ₹60 applies.

@error('lpg_gng_kit')

{{ $message }}

@enderror
No claim bonus
Was a claim made on the previous policy?
@error('no_claim')

{{ $message }}

@enderror
{{-- ============ Add-ons ============ --}}
@foreach ($addonLabels as $key => $label) @endforeach

Select a TATA AIG plan above to see its covers.

{{-- ============ Customer ============ --}}
@error('name')

{{ $message }}

@enderror
@error('mobileno')

{{ $message }}

@enderror
@error('email')

{{ $message }}

@enderror
@error('person_name')

{{ $message }}

@enderror
@error('person_mobile')

{{ $message }}

@enderror
{{-- ============ Sticky premium summary ============ --}}
Calculating
Select a vehicle and registration date to see the premium.
Own damage
Third party
Basic TP
CNG/LPG kit TP
PA owner-driver
LL paid driver
PA unnamed passengers
TP package
OD + TP
Road-side assistance
Net premium
GST {{ \App\Services\Insurance\PremiumCalculator::GST_PERCENT }}%
Total payable

Effective discount %. Final amounts are recalculated on the server when saving.

Cancel
@push('scripts') @endpush