@php $quoteTone = fn (string $status) => match ($status) { 'accepted', 'converted' => 'wd-pill-success', 'declined', 'expired', 'rejected' => 'wd-pill-danger', 'sent' => 'wd-pill-gold', default => '', }; @endphp

From your account manager

Formal quotes

@if($quotes->isEmpty())

When we send you a quote it appears here, ready to review and accept online.

@else
@foreach($quotes as $quote) @endforeach
QuoteStatusValid untilTotal

{{ $quote->number }}@if($quote->revision > 1) rev {{ $quote->revision }}@endif

{{ ($quote->sent_at ?? $quote->created_at)->format('d M Y') }}

{{ str($quote->status)->replace('_', ' ')->title() }} {{ $quote->expires_at?->format('d M Y') ?? '—' }} {{ $quote->currency }} {{ number_format($quote->total_cents / 100, 2) }} @if($quote->accept_token) {{ $quote->status === 'sent' ? 'Review & accept' : 'View' }} @endif
@endif

Your requests

@if($requests->isEmpty())

Requests you send are tracked here.

@else
    @foreach($requests as $lead)
  • {{ $lead->payload['subject'] ?? 'Quote request' }}

    {{ number_format((int) ($lead->payload['quantity'] ?? 0)) }} units @if(! empty($lead->payload['needed_by'])) · needed by {{ \Illuminate\Support\Carbon::parse($lead->payload['needed_by'])->format('d M Y') }} @endif @if(! empty($lead->payload['branding'])) · custom branding @endif · sent {{ $lead->created_at->diffForHumans() }}

    {{ $lead->status === 'new' ? 'Received' : str($lead->status)->replace('_', ' ')->title() }}
  • @endforeach
@endif