@extends('layouts.layoutapp') @section('content')
All Estimation
+  Add Estimation
@foreach ($quotes as $quote) @endforeach
Estimation Id Client Estimation Date Due Date Amount Status Actions

{{ $quote->quote_id ?? 'Estimation' }}

{{ $quote->client->user->name ?? '' }}

{{ $quote->quote_date ? \Carbon\Carbon::parse($quote->quote_date)->format('d-m-Y') : '' }}

{{ $quote->due_date ? \Carbon\Carbon::parse($quote->due_date)->format('d-m-Y') : '' }}

{{ $quote->final_amount }}

@if($quote->status == 1) Draft @elseif($quote->status == 2) Partially Completed @elseif($quote->status == 3) Completed @endif

oprntl_flag == 'C') style="pointer-events: none; opacity: 0.5;" title="Edit Estimation (Disabled)" @endif>
@csrf @method('DELETE') oprntl_flag == 'C') style="pointer-events: none; opacity: 0.5;" title="Delete Estimation (Disabled)" @else title="Delete Estimation" onclick="confirmDelete({{ $quote->id }})" @endif>
@endsection @push('scripts') @endpush