@extends('user.layouts') @section('title', 'Help Request') @section('header') @endsection @section('content') @php $userName = optional($help->user)->name ?? 'N/A'; $initial = $userName !== 'N/A' ? strtoupper( substr( trim($userName), 0, 1 ) ) : 'U'; @endphp
{{-- HEADER --}}

Help Request

View complete support request details

Back to Help Center
{{-- DETAIL CARD --}}
{{-- USER HEADER --}}
{{ $initial }}
{{ $userName }}
Help Request #{{ $help->id }}
{{-- DETAILS --}}
{{-- USER ID --}}
User ID
{{ $help->user_id ?? 'N/A' }}
{{-- AGENT ID --}}
Agent ID
{{ optional($help->user)->agent_code ?? 'N/A' }}
{{-- CREATED DATE --}}
Created Date
@if($help->created_at) {{ $help->created_at->format('d-m-Y') }} @else N/A @endif
{{-- CREATED TIME --}}
Created Time
@if($help->created_at) {{ $help->created_at->format('h:i A') }} @else N/A @endif
{{-- SUBJECT --}}

{{ $help->subject ?? 'N/A' }}

{{-- MESSAGE --}}

{{ $help->content ?? 'N/A' }}

@endsection