@extends('user.layouts') @section('title', 'Help Center') @section('header') @endsection @section('content')

Help Center

Unread help and support requests

Read Help Center
Unread Requests {{ $helpcentre->count() }}
@foreach($helpcentre as $item) @php $receivedAt = optional($item->created_at) ? $item->created_at->copy()->setTimezone('Asia/Kolkata') : null; @endphp @endforeach
S.NO USER DETAILS AGENT ID SUBJECT CONTENT DATE & TIME ACTION
{{ $loop->iteration }}
{{ optional($item->user)->name ?? 'N/A' }}
User ID: {{ $item->user_id }}
{{ optional($item->user)->agent_code ?? 'N/A' }} {{ $item->subject ?? 'N/A' }}
{{ \Illuminate\Support\Str::limit( $item->content, 70 ) }}
@if($receivedAt)
{{ $receivedAt->format('d-m-Y') }}
{{ $receivedAt->format('h:i A') }}
@else N/A @endif
{{-- ========================================== READ POPUP ========================================== --}} @endsection @section('footer') @endsection