@extends('layouts.admin') @section('title', 'Application Details') @section('breadcrumbs') @endsection @section('content')

Application Details

{{ $application->application_number }}

Back to List
Application Information
Application Number: {{ $application->application_number }}
Status: {{ ucfirst($application->status) }}
Submitted Date: {{ $application->submitted_at->format('F d, Y h:i A') }}
Position Applied: {{ $application->advertisement->title ?? 'N/A' }}
Department: {{ $application->advertisement->department->name ?? 'N/A' }}
Applicant Name: {{ $application->personalInformation->first_name ?? 'N/A' }} {{ $application->personalInformation->last_name ?? '' }}
Email: {{ $application->user->email }}
Phone: {{ $application->personalInformation->phone ?? 'N/A' }}
Category: {{ $application->personalInformation->category ?? 'N/A' }}
Undertaking Accepted: @if($application->undertaking_accepted_at) {{ $application->undertaking_accepted_at->format('M d, Y h:i A') }} @else Not Accepted @endif
Reset History
@if($resetHistory->count() > 0) @foreach($resetHistory as $reset)
Reset #{{ $loop->iteration }} {{ $reset->created_at->format('M d, Y') }}

Admin: {{ $reset->admin->name }}

Reason: {{ $reset->reason }}

Notification: @if($reset->notify_applicant) Sent @else Not Sent @endif

@endforeach @else

No reset history found

@endif
@endsection @section('scripts') @endsection