@php
$statusColor = match ($ticket->status) {
'open' => '#E5A04E',
'in_progress' => '#075E54',
'pending' => '#D86F4E',
'resolved' => '#0F8556',
'closed' => '#6B807C',
default => '#6B807C',
};
@endphp
{{-- Header --}}
{{ $brandName }} {{ __('support') }}
Re: ticket #{{ $ticket->ticket_number }}
·
{{ str_replace('_', ' ', $ticket->status) }}
{{-- Body --}}
Hi {{ $ticket->name ?: 'there' }},
Our support team replied to your ticket
"{{ $ticket->subject }}":
{{ $message->body }}
@if ($ticketUrl)
@endif
Reply to this email to add to your ticket, or
@if ($ticketUrl)
{{ __('open it on the web') }}
@endif.
If your question is resolved you can ignore this message — the ticket
will close automatically.
{{-- Footer --}}
Ticket #{{ $ticket->ticket_number }} ·
opened {{ optional($ticket->created_at)->format('M j, Y') }} ·
sent by {{ $brandName }}