@php $locale = app()->getLocale(); @endphp

{{ __('support.eyebrow') }}

{{ __('support.title') }}

{{ __('support.new') }}
{{-- ── The customer's own requests ────────────────────────────────── The page used to lead with three cards about opening hours. What somebody arriving here actually wants to know is what they already asked and whether anybody has answered — so that goes first, and the contact details move to the side where they belong. --}}

{{ __('support.tickets') }}

@if ($openCount > 0) {{ trans_choice('support.open_count', $openCount, ['count' => $openCount]) }} @endif
@forelse ($requests as $r)

{{ $r->subject }}

{{ __('support.category_'.$r->category) }} · {{ $r->created_at->local()->locale($locale)->isoFormat('LL, LT') }} @if ($r->reported_by) · {{ $r->reported_by }} @endif

@if ($r->answered_at)

{{ __('support.answered_at', ['when' => $r->answered_at->local()->locale($locale)->isoFormat('LL, LT')]) }}

@endif
@php $tone = ['open' => 'info', 'in_progress' => 'provisioning', 'answered' => 'active', 'closed' => 'suspended'][$r->status] ?? 'info'; @endphp {{ __('support.status_'.$r->status) }}
@empty {{-- An empty state that says what to do, not "no data". --}}

{{ __('support.empty_title') }}

{{ __('support.empty_body') }}

{{ __('support.new') }}
@endforelse
{{-- ── Frequent questions ─────────────────────────────────────── Each answer ends where the thing can actually be done. An FAQ that only describes a button leaves the reader hunting for it. --}}

{{ __('support.faq') }}

    @foreach ($faqs as $i => $f)
  • {{ $f['a'] }}

    @if ($f['to']) {{ $f['cta'] }} @endif
  • @endforeach
{{-- ── Contact, and the one question an outage raises ─────────────── "Is it me or is it you" is what a customer asks first when something is down, and it is answered by a page rather than by us. --}}