{{ __('Admin') }} {{ __('Support') }} {{ __('Team inbox') }}
{{ __('Admin · Support · Team') }}

{{ __('Team') }} {{ __('kanban') }}

{{ __('Drag a ticket between columns to flip its status. "Resolved" sets resolved_at to now. Filter to your own tickets if you want to focus.') }}

@if (session('success'))
{{ session('success') }}
@endif
@foreach (\App\Http\Controllers\Admin\Support\TeamInboxController::COLUMNS as $col) @php $tickets = $columns[$col] ?? collect(); $title = [ 'open' => 'New', 'in_progress' => 'In progress', 'pending' => 'Awaiting customer', 'resolved' => 'Resolved', ][$col] ?? ucfirst($col); $accent = [ 'open' => 'bg-accent-amber/15 text-accent-amber', 'in_progress' => 'bg-wa-bubble text-wa-deep', 'pending' => 'bg-accent-coral/10 text-accent-coral', 'resolved' => 'bg-wa-mint text-wa-deep', ][$col] ?? 'bg-paper-100 text-ink-700'; @endphp
{{ $title }} {{ $tickets->count() }}
@forelse ($tickets as $t)
{{ $t->subject ?: '(no subject)' }}
{{ $t->ticket_number }} · {{ optional($t->created_at)->diffForHumans() }}
@php $prCls = ['urgent'=>'bg-accent-coral/15 text-accent-coral','high'=>'bg-accent-amber/15 text-accent-amber','normal'=>'bg-paper-100 text-ink-700','low'=>'bg-paper-100 text-ink-500'][$t->priority] ?? 'bg-paper-100 text-ink-700'; @endphp {{ $t->priority }}
{{ Str::limit($t->message, 100) }}
{{ $t->name ?: $t->email }}
@empty
{{ __('No tickets') }}
@endforelse
@endforeach