All Tickets

@if (session()->has('message'))
{{ session('message') }}
@endif @if (auth()->user()->role == 1 || auth()->user()->role == 2)
@endif
@forelse($tickets as $index => $ticket) @empty @endforelse
# {!! $sortField === 'tickets.id' ? ($sortDirection === 'asc' ? '▲' : '▼') : '△' !!} Title {!! $sortField === 'tickets.title' ? ($sortDirection === 'asc' ? '▲' : '▼') : '△' !!} Type {!! $sortField === 'tickets.type' ? ($sortDirection === 'asc' ? '▲' : '▼') : '△' !!} Status {!! $sortField === 'tickets.status' ? ($sortDirection === 'asc' ? '▲' : '▼') : '△' !!} Date {!! $sortField === 'tickets.created_at' ? ($sortDirection === 'asc' ? '▲' : '▼') : '△' !!} Created By {!! $sortField === 'users.name' ? ($sortDirection === 'asc' ? '▲' : '▼') : '△' !!} Closed By {!! $sortField === 'closer.name' ? ($sortDirection === 'asc' ? '▲' : '▼') : '△' !!} Last reply By {!! $sortField === 'replier.name' ? ($sortDirection === 'asc' ? '▲' : '▼') : '△' !!} Attachment Actions
{{ $tickets->firstItem() + $index }} {{ $ticket->title }} {{ $ticket->type }} @switch($ticket->status) @case(0) Open @break @case(1) In Progress @break @case(2) Closed @break @default Unknown @endswitch {{ $ticket->created_at }} {{ $ticket->created_by_name }} - {{ $ticket->created_by_role }} @if($ticket->status == 2) {{ $ticket->closed_by_name }} @endif {{ $ticket->replied_by_name }} @if($ticket->ticket_file) Download @endif Edit View
No tickets found.
Showing {{ $tickets->firstItem() ?? 0 }} to {{ $tickets->lastItem() ?? 0 }} of {{ $tickets->total() }} tickets
{{ $tickets->links() }}