@extends('layouts.admin') @section('title', 'Quotations') @section('header-title', 'Quotations') @section('content')
+ New quotation
@if($quotations->isEmpty())

No quotations found

Create the first company or customer quotation.

@else
@foreach($quotations as $quotation)@endforeach
S.NoQuotationCompany / CustomerTripVehicleAmountStatusActions
{{ $quotations->firstItem()+$loop->index }}{{ $quotation->quotation_number }}

{{ $quotation->created_at->format('d M Y') }}

{{ $quotation->company?->name ?? $quotation->customer?->name ?? 'Deleted record' }}

{{ $quotation->party_type }}

{{ $quotation->pickup_location }}

to {{ $quotation->drop_location }}

{{ $quotation->vehicle_type }}₹{{ number_format((float)$quotation->estimated_amount,2) }}{{ $quotation->status }}
@csrf @method('DELETE')

Showing {{ $quotations->firstItem() }} to {{ $quotations->lastItem() }} of {{ $quotations->total() }} entries

@include('admin.partials.pagination',['paginator'=>$quotations])
@endif
@endsection