@extends('layouts/contentNavbarLayout') @section('title', 'Review Delete Request') @section('content')

Review Delete Request

Back to Details
@if($deleteRequest->status !== 'pending')
This request has already been reviewed and cannot be modified.
@endif
@csrf @method('PUT')
Request Details
@if($deleteRequest->employee->department)
@endif

{{ $deleteRequest->reason }}

Requested on {{ $deleteRequest->created_at->format('F d, Y \a\t h:i A') }} ({{ $deleteRequest->created_at->diffForHumans() }})
Review Decision
@error('status')
{{ $message }}
@enderror @if($deleteRequest->status !== 'pending') @endif
Warning: If accepted, the employee account will be permanently soft-deleted.
@error('admin_response')
{{ $message }}
@enderror
This response will be recorded for internal tracking purposes.
@if($deleteRequest->admin_response && $deleteRequest->status !== 'pending')
Previous Response

{{ $deleteRequest->admin_response }}


Reviewed by {{ $deleteRequest->reviewedBy->name ?? 'Unknown Admin' }} on {{ $deleteRequest->reviewed_at ? $deleteRequest->reviewed_at->format('F d, Y \a\t h:i A') : 'Unknown date' }}
@endif @if($deleteRequest->status === 'pending')
Cancel
@else
This request has already been reviewed and cannot be modified.
@endif
Employee Information
{{ strtoupper(substr($deleteRequest->employee->name ?? 'N', 0, 1)) }}
{{ $deleteRequest->employee->name ?? 'N/A' }}
Employee
Email {{ $deleteRequest->employee->email ?? 'N/A' }}
@if($deleteRequest->employee->phone)
Phone {{ $deleteRequest->employee->phone }}
@endif
Company {{ $deleteRequest->employee->company->name ?? 'N/A' }}
@endsection