@extends('layouts.app') @section('title', 'Quotes') @section('breadcrumb')Quotes@endsection @section('content')
@foreach([ ['All', 'all'], ['Draft', 'draft'], ['Sent', 'sent'], ['Viewed', 'viewed'], ['Accepted', 'accepted'], ['Converted', 'converted'], ] as [$label, $key])
{{ $stats[$key] }}
{{ $label }}
@endforeach
@forelse($quotes as $quote) @empty @endforelse
Quote # Client Job Status Progress Total Valid Until
{{ $quote->quote_number }}
{{ $quote->created_at->format('d M Y') }}
{{ $quote->contact?->initials ?? '??' }}
{{ $quote->contact?->full_name ?? '—' }}
{{ $quote->job?->job_number ?? '—' }} {{ $quote->statusLabel() }} @php $step = $quote->stepNumber(); @endphp
@for($i = 1; $i <= 5; $i++)
@endfor
Step {{ $step }}/5
${{ number_format($quote->total ?? 0) }}
inc. GST
{{ $quote->valid_until ? $quote->valid_until->format('d M Y') : '—' }}
No quotes found.
@if($quotes->hasPages())
{{ $quotes->links() }}
@endif
@endsection