@include('plugins/fob-ticksify::themes.partials.stat', [
'title' => __('Total Tickets'),
'count' => $stats->total,
'icon' => 'ti ti-ticket',
'color' => 'primary',
])
@include('plugins/fob-ticksify::themes.partials.stat', [
'title' => __('Closed Tickets'),
'count' => $stats->closed,
'icon' => 'ti ti-x',
'color' => 'danger',
])
@include('plugins/fob-ticksify::themes.partials.stat', [
'title' => __('Active Tickets'),
'count' => $stats->open,
'icon' => 'ti ti-check',
'color' => 'success',
])
@include('plugins/fob-ticksify::themes.partials.stat', [
'title' => __('On Hold Tickets'),
'count' => $stats->on_hold,
'icon' => 'ti ti-hand-grab',
'color' => 'warning',
])
{{ __('Your Tickets') }}
{{ __('Here you can view all your tickets and their status.') }}
{{ __('Create Ticket') }}
@if ($tickets->isNotEmpty())
@foreach ($tickets as $ticket)
@if($ticket->is_resolved)
{{ __('Resolved') }}
@endif
@if($ticket->is_locked)
{{ __('Locked') }}
@endif
{{ __('Ticket ID') }}: #{{ $ticket->id }}
{{ __('Priority') }}: {!! $ticket->priority->toHtml() !!}
{{ __('Status') }}: {!! $ticket->status->toHtml() !!}
@if ($ticket->category)
{{ __('Category') }}: {{ $ticket->category->name }}
@endif
{{ __('Created') }}: {{ $ticket->created_at->diffForHumans() }}
@endforeach
@endif
@include('plugins/fob-ticksify::themes.partials.pagination', ['paginator' => $tickets])