@extends('layouts.admin.layout') @section('content')

Review Help Request

@include('partials.message')
{{-- Request details --}}
Submitted By {{ $help->user->FullName ?? $help->user->name ?? '—' }}
Contact Details {{ $help->contact_details ?? '—' }}
Title {{ $help->title }}
Description {{ $help->description }}
Submitted {{ $help->created_at->diffForHumans() }} — {{ $help->created_at->format('d M Y, g:i a') }}
Current Status {{ $help->status }}
@if($help->status === 'pending') {{-- Review form --}}
@csrf
@error('status')

{{ $message }}

@enderror
@error('expired_at')

{{ $message }}

@enderror
@error('comments')

{{ $message }}

@enderror
Cancel
@else

This request has already been {{ $help->status === 'approve' ? 'approved' : $help->status }}.

@endif
@endsection