@extends('layouts.app-sidebar') @section('content')

Support Tickets

Manage user bug reports and suggestions

@include('admin.partials.nav')
All {{ $counts['all'] }} Open {{ $counts['open'] }} In Progress {{ $counts['in_progress'] }} Resolved {{ $counts['resolved'] }} Closed {{ $counts['closed'] }}
@forelse($tickets as $ticket)
#{{ $ticket->id }} {{ $ticket->type_label }}

{{ $ticket->subject }}

{{ ucfirst(str_replace('_', ' ', $ticket->status)) }}

{{ $ticket->user->name }}

{{ ucfirst($ticket->priority) }}

{{ $ticket->created_at->diffForHumans() }}

@empty

No tickets found

@endforelse
@if($tickets->hasPages())
{{ $tickets->links() }}
@endif
@endsection