The piece
{{ $enquiry->description }}
@foreach([
'Placement' => $enquiry->placement,
'Size' => $enquiry->size,
'Style' => $enquiry->style,
'Budget' => $enquiry->budgetRange(),
'Preferred artist' => $enquiry->artist?->name,
'First tattoo' => $enquiry->is_first_tattoo ? 'Yes' : null,
] as $label => $value)
- {{ $label }}
- {{ $value ?: '—' }}
@endforeach
@if($enquiry->availability_notes)
When they're free
{{ $enquiry->availability_notes }}
@endif
@if(!empty($enquiry->reference_images))
References
@foreach($enquiry->reference_images as $image)
@endforeach
@endif
@if($enquiry->status === \App\Models\Enquiry::STATUS_ACCEPTED)
Booked
{{ $enquiry->accepted_slot_at?->format('l j F, g:i A') }}
@if($enquiry->appointment)
Open the appointment
@endif
@elseif($enquiry->status === \App\Models\Enquiry::STATUS_DECLINED)
Declined
@if($enquiry->decline_reason)
{{ $enquiry->decline_reason }}
@endif
@else
@if($enquiry->status === \App\Models\Enquiry::STATUS_OFFERED)
@endif
@endif