{{-- resources/views/admin/support/index.blade.php --}} {{-- Support tickets listing with status filter --}} {{-- Controller: Admin\SupportController@index --}} @extends('layouts.admin') @section('title', 'Support Tickets') @section('page_title', 'Support Tickets') @section('page_css') @endsection @section('content')
@if(request()->hasAny(['search', 'status', 'type'])) Clear @endif
@forelse($tickets as $ticket) {{ $tickets->firstItem() + $loop->index }} {{ $ticket->name }} {{ $ticket->email }} {{ Str::limit($ticket->subject, 40) }} {{ ucfirst($ticket->type) }} {{ $ticket->created_at->format('d M Y H:i') }} {{ ucfirst($ticket->status) }} @empty No support tickets found. @endforelse
Showing {{ $tickets->firstItem() }}{{ $tickets->lastItem() }} of {{ $tickets->total() }} tickets {{ $tickets->appends(request()->query())->links('vendor.pagination.bootstrap-5') }}
@endsection @section('page_js') @endsection