@extends('layouts.app') @section('content')
@include('layouts.partials.breadcrumb', ['title' => $title])
@can('estimate.create') Add @endcan
@forelse ($estimates as $key => $estimate) @empty @endforelse
S.N Title Date Validity Customer Approver Approved on Status Action
{{ $key + 1 }} {{ $estimate->title }} {{ $estimate->date?->format('Y-m-d') }} {{ $estimate->validity?->format('Y-m-d') }} {{ $estimate->customer?->customer_name }} {{ $estimate->approver?->customer_name ?? 'N/A' }} {{ $estimate->approval_on?->format('Y-m-d') ?? 'N/A' }} {{ $statusList[$estimate->approval_status] }}
@can('estimate.show') @endcan @can('estimate.edit') @endcan @can('estimate.destroy') @endcan
@endsection