@if (session('success'))
{{ session('success') }}
@endif
@if (session('error'))
{{ session('error') }}
@endif
@if($golfersDetails->isNotEmpty())
@foreach($golfersDetails as $detail)
{{ $detail->cover_type }} Cover
Ksh {{ number_format($detail->premium, 2) }}/year
- Cover Type: {{ $detail->cover_type }}
- Payment Status: {{ ucfirst($detail->payment) }}
@endforeach
@endif
@if($domesticsDetails->isNotEmpty())
@foreach($domesticsDetails as $detail)
Domestic Property
Ksh {{ number_format($detail->premium, 2) }}
- Cover Type: {{ $detail->cover_type }}
- Payment Status: {{ ucfirst($detail->payment) }}
@endforeach
@endif
@if($medicalDetails->isNotEmpty())
@foreach($medicalDetails as $detail)
Medical Cover
Ksh {{ number_format($detail->premium, 2) }}
- Cover Type: {{ $detail->cover_type }}
- Payment Status: {{ ucfirst($detail->payment) }}
@endforeach
@endif
@if($rentersDetails->isNotEmpty())
@foreach($rentersDetails as $detail)
Renters Cover
Ksh {{ number_format($detail->premium, 2) }}
- Cover Type: {{ $detail->cover_type }}
- Payment Status: {{ ucfirst($detail->payment) }}
@endforeach
@endif
@if($travelDetails->isNotEmpty())
@foreach($travelDetails as $detail)
Travel Cover
Ksh {{ number_format($detail->premium, 2) }}
- Cover Type: {{ $detail->cover_type }}
- Payment Status: {{ ucfirst($detail->payment) }}
@endforeach
@endif
@if($accidentDetails->isNotEmpty())
@foreach($accidentDetails as $detail)
Accident Cover
Ksh {{ number_format($detail->premium, 2) }}
- Cover Type: {{ $detail->cover_type }}
- Payment Status: {{ ucfirst($detail->payment) }}
- Package: {{ $detail->package }}
- Amount: Ksh {{ number_format($detail->amount, 2) }}
- Status: {{ ucfirst($detail->status) }}
- Expiry Date: {{ \Carbon\Carbon::parse($detail->expiry_date)->format('d M, Y') }}
@if($detail->autorenew)
- Auto Renew: Yes
@else
- Auto Renew: No
@endif
@endforeach
@endif
@if (Session::has('error'))
{{ Session::get('error') }}
@endif
@if (Session::has('success'))
{{ Session::get('success') }}
@endif
@if (session('success'))
{{ session('success') }}
@endif
@if (session('error'))
{{ session('error') }}
@endif
@if (session('success'))
{{ session('success') }}
@endif
@if (session('error'))
{{ session('error') }}
@endif
@if (session('error'))
{{ session('error') }}
@endif