@php $canDecide = $quote->status === 'sent' && (! $quote->expires_at || $quote->expires_at->isFuture()); $quoteSeo = (object) ['title' => 'Quote '.$quote->number.' — '.config('app.name'), 'robots' => 'noindex,nofollow']; @endphp

The Ring Authority · Confidential

{{ $quote->number }}

Revision {{ $quote->revision }} @if($quote->expires_at) · Valid until {{ $quote->expires_at->format('d M Y') }}@endif

Total {{ $quote->currency }} {{ number_format($quote->total_cents / 100, 2) }}
@if(session('status'))
{{ session('status') }}
@endif

Proposal

{{ str_replace('_', ' ', $quote->status) }}
@foreach($quote->lines as $line)
{{ $line->title }}
Qty {{ $line->quantity }}@if($line->sku) · {{ $line->sku }}@endif
{{ $quote->currency }} {{ number_format($line->total_cents / 100, 2) }}
@endforeach
@if($quote->discount_cents)
Discount−{{ $quote->currency }} {{ number_format($quote->discount_cents / 100, 2) }}
@endif @if($quote->tax_cents)
Tax{{ $quote->currency }} {{ number_format($quote->tax_cents / 100, 2) }}
@endif
Total{{ $quote->currency }} {{ number_format($quote->total_cents / 100, 2) }}
@if($quote->notes)
Notes

{{ $quote->notes }}

@endif
@if($canDecide)
@csrf

Your decision

Accept or decline

Recorded with IP and timestamp for both parties.

@else
This quote is currently {{ str_replace('_', ' ', $quote->status) }} and is no longer awaiting a decision.
@endif