{{ __('Helpdesk Kanban') }} {{ __('Move tickets through the workflow for the selected board.') }}
@if ($boards->isNotEmpty())
@foreach ($boards as $boardOption) @endforeach
@endif {{ __('Ticket list') }} {{ __('New ticket') }}
@if (session('success'))
{{ session('success') }}
@endif @if ($board === null)
{{ __('No Kanban board configured') }} {{ __('Create a board in Helpdesk settings before using Kanban.') }} {{ __('Open settings') }}
@else
@foreach ($statuses as $status) @php $statusTickets = collect($ticketsByStatus[$status->id] ?? []); @endphp
{{ $status->name }}
{{ $statusTickets->count() }}
@forelse ($statusTickets as $ticket)
@if ($ticket->priority) {{ $ticket->priority->name }} @endif
@if ($ticket->agent)
{{ __('Agent') }}: {{ $ticket->agent->name }}
@endif @if ($ticket->category)
{{ __('Category') }}: {{ $ticket->category->name }}
@endif @if ($ticket->project)
{{ __('Project') }}: {{ $ticket->project->name ?? $ticket->project->title ?? '—' }}
@endif
@can('update', $ticket)
@endcan
@empty
{{ __('No tickets') }}
@endforelse
@endforeach
@endif