@extends("components.layout.master")
@section('title', ' Insurance')
@section('module-icon','mdi mdi-account-outline')
@section('content')
| No. |
Name |
Date |
Products |
From |
To |
Amount |
Payable Amount |
Status |
More Details |
Load Vehicle Images |
Bill Copy Images |
@if ($insurance->isEmpty())
| No records found. |
@else
@foreach ($insurance as $insurances)
| {{ $loop->iteration }} |
{{ $insurances->user->name ?? '' }} |
{{ \Carbon\Carbon::parse($insurances->generated_at)->format('d/m/Y') ?? '' }} |
@if($insurances->id)
@else
No products
@endif
|
{{ $insurances->fromCity->city_name ?? '' }}-{{ $insurances->fromState->state_name ?? '' }} |
{{ $insurances->toCity->city_name ?? '' }}-{{ $insurances->toState->state_name ?? '' }} |
{{ $insurances->total ?? '' }} |
{{ $insurances->payable_amount ?? '' }}
|
{{ $insurances->status ?? '' }} |
|
@if($insurances->load_vehicle_images)
@else
No images
@endif
|
@if($insurances->bill_copy_images)
@else
No images
@endif
|
@endforeach
@endif
@include('components.footertext')
@endsection
@push('script')
@endpush