@extends('layouts.admin') @section('title') List Tickets @endsection @section('content-header')

TicketsView all of the tickets on the system.

@endsection @section('content')

Ticket System Toggle whether tickets can be used.

Determines whether people can create tickets via the client UI.

Set the maximum amount of tickets a user can create.

{!! csrf_field() !!}

Ticket List

@foreach ($tickets as $ticket) @endforeach
Ticket ID Client Email Title Created At
{{ $ticket->id }} {{ $ticket->user->email ?? 'N/A' }} {{ $ticket->title }} {{ $ticket->created_at->diffForHumans() }} @if($ticket->status == 'pending') Pending @elseif($ticket->status == 'in-progress') In Progress @elseif($ticket->status == 'unresolved') Unresolved @else Resolved @endif
@endsection