Tickets

@foreach ($tickets as $key => $ticket) @endforeach
Ticket ID Contact Subject Channel Priority Branch Assigned Agent Pipeline Stage
{{ $ticket->ticket_id }} {{ Str::limit($ticket->subject, 20) }} {{ $ticket->channel->channel_name }} {{ $ticket->branch->branch_name }}
@if ($ticket->user)
Unassign
@endif @if (!$ticket->user || ($ticket->user && $ticket->user->id !== auth()->id()))
Self Assign
@endif
Assign other