{{-- resources/views/admin/issues/show.blade.php --}}
Issue Details
@php $priorityClasses = [ 'low' => 'bg-success', 'medium' => 'bg-primary', 'high' => 'bg-warning', 'critical' => 'bg-danger' ]; $statusClasses = [ 'pending' => 'bg-warning', 'in_progress' => 'bg-info', 'resolved' => 'bg-success', 'closed' => 'bg-secondary' ]; @endphp {{ $issue->priority }} Priority {{ str_replace('_', ' ', $issue->status) }}
Reporter Information
@php $userName = 'N/A'; if ($issue->user) { $userName = is_array($issue->user->name) ? ($issue->user->name[app()->getLocale()] ?? $issue->user->name['en'] ?? current($issue->user->name)) : $issue->user->name; } @endphp

Name: {{ $userName }}

Email: {{ $issue->user->email ?? 'N/A' }}

Reported: {{ $issue->created_at->format('M d, Y g:i A') }}

Issue Information

Type: {{ $issue->issue_type_display }}

Title: {{ $issue->title }}

@if($issue->application) @php $serviceName = 'N/A'; if ($issue->application->service) { $serviceName = is_array($issue->application->service->name) ? ($issue->application->service->name[app()->getLocale()] ?? $issue->application->service->name['en'] ?? current($issue->application->service->name)) : $issue->application->service->name; } @endphp

Related Application: {{ $serviceName }}

@endif
Issue Description

{{ $issue->description }}

@if($issue->has_screenshot)
Attached Screenshot
Issue Screenshot

Click on the image to view in full size

@endif
Admin Actions
@csrf @method('PUT')
@csrf @method('PUT')
Quick Actions
@csrf
Back to List
Assignment
@if($issue->assignedAdmin) @php $adminName = 'N/A'; if ($issue->assignedAdmin) { $adminName = is_array($issue->assignedAdmin->name) ? ($issue->assignedAdmin->name[app()->getLocale()] ?? $issue->assignedAdmin->name['en'] ?? current($issue->assignedAdmin->name)) : $issue->assignedAdmin->name; } @endphp
{{ $adminName }}

{{ $issue->assignedAdmin->email ?? 'N/A' }}

Assigned
@else

Not assigned to any admin

@endif
@if($issue->resolution_details || $issue->resolved_at)
Resolution
@if($issue->resolution_details)
Resolution Details:

{{ $issue->resolution_details }}

@endif @if($issue->resolved_at)
Resolved on: {{ $issue->resolved_at->format('M d, Y g:i A') }}
@endif
@endif
Timeline
Issue Reported

{{ $issue->created_at->format('M d, Y g:i A') }}

@if($issue->assigned_admin_id)
Assigned to Admin

When issue was assigned

@endif @if($issue->admin_notes)
Notes Added

Internal notes updated

@endif @if($issue->resolved_at)
Issue Resolved

{{ $issue->resolved_at->format('M d, Y g:i A') }}

@endif