@extends('layouts.support') @section('title', 'Dashboard') @section('page_title', 'Support Dashboard') @section('page_subtitle', 'Aaj ki tickets, users aur requests โ€” sab ek jagah') @section('content')

Namaste, {{ auth()->user()->name }} ๐Ÿ‘‹

{{ now()->format('l, d M Y') }} ยท Gletra Support Team

{{ $stats['open_tickets'] }}
Open Tickets
{{ $stats['pending_tickets'] }}
Pending
{{ $stats['escalated'] }}
Escalated
{{ $stats['closed_today'] }}
Closed Today
Ticket Queue Saari requests dekhein Find Users Live search se user dhundo

Recent Tickets

View All
@forelse($recentTickets as $ticket) @empty @endforelse
# Customer Subject Status Action
{{ $ticket->id }} {{ $ticket->user?->name ?? 'N/A' }} {{ Str::limit($ticket->subject, 40) }} @if($ticket->escalated_to_admin) Escalated @else {{ $ticket->status }} @endif Handle
Abhi koi ticket nahi hai
@if($escalatedTickets->count()) @endif

Today's Summary

New Tickets{{ $stats['today_new'] }}
My Assigned{{ $stats['my_assigned'] }}
Total Users{{ number_format($stats['total_users']) }}
Total Orders{{ number_format($stats['total_orders']) }}
@if(count($recentOrders))

Recent Orders

Dashboard
@include('support.partials.recent-orders-list', ['orders' => $recentOrders])
@endif
@include('support.partials.modals') @endsection @push('scripts') @include('support.partials.live-search-script') @endpush