{{-- Ticket Queue by Store — per-store rows + synthetic "Unassigned store" row for tickets with store_id IS NULL. Frame chrome lives in the dashboard view. --}}
@if (empty($this->rows))
{{ __('No stores or tickets in this account yet.') }}
@else
@foreach ($this->rows as $row) @php $isUnassignedStore = $row['store_id'] === null; @endphp @endforeach
{{ __('Store') }} {{ __('Open') }} {{ __('Pending') }} {{ __('Unassigned') }} {{ __('Oldest open') }} {{ __('SLA') }} {{ __('Flags') }}
{{ $row['store_name'] }}
@if ($row['store_slug'])
{{ $row['store_slug'] }}
@elseif ($isUnassignedStore)
{{ __('Tickets not yet matched to a store') }}
@endif
{{ $row['open'] }} {{ $row['pending'] }} {{ $row['unassigned'] }} @if ($row['oldest_open_at']) {{ $row['oldest_open_at']->diffForHumans(short: true) }} @else @endif @if ($isUnassignedStore) @else {{ trans_choice('{1} :n day|[2,*] :n days', $row['sla_days'], ['n' => $row['sla_days']]) }} @endif @if ($row['high_volume']) {{ __('High volume') }} @else @endif
@endif