@extends('layouts.app') @section('title', 'POP Issues') @section('content')

POP Issues

View all POP issues tickets

{{ $stats['total'] }}

POP Issues

Reset
POP Issues Tickets ({{ $stats['total'] }})
@forelse($tickets as $ticket) @empty @endforelse
Ticket # Reseller Subject Category Sub Category Priority Status Solved Status Created At Actions
{{ $ticket->ticket_number }} @if($ticket->user) @if($ticket->user->reseller && $ticket->user->reseller->name) {{ $ticket->user->reseller->name }} @elseif($ticket->user->company_name) {{ $ticket->user->company_name }} @else {{ $ticket->user->name ?? 'N/A' }} @endif @else N/A @endif {{ Str::limit($ticket->subject ?? $ticket->description, 50) }} {{ $ticket->category->name ?? 'N/A' }} {{ $ticket->subcategory->name ?? 'N/A' }} @php $priorityColors = [ 'low' => '#6c757d', 'medium' => '#17a2b8', 'high' => '#ffc107', 'urgent' => '#dc3545' ]; $priorityColor = $priorityColors[$ticket->priority] ?? '#6c757d'; @endphp {{ ucfirst($ticket->priority) }} POP Issues @php $isSolved = $ticket->resolved_at || $ticket->status === 'resolved' || $ticket->status === 'closed'; @endphp @if($isSolved) Solved @else Not Solved @endif {{ $ticket->created_at->format('Y-m-d H:i') }}
{{ $ticket->created_at->diffForHumans() }}
View
No POP issues tickets found
{{ $tickets->links() }}
@endsection