@extends('admin.layout.app') @section('title', 'Employer Request Details') @php $types = [ 'graduate_verification' => 'Graduate verification', 'recruitment' => 'Recruitment', 'internship' => 'Internship', 'partnership' => 'Partnership', 'job_posting' => 'Job posting', 'other' => 'Other', ]; $status = $employerRequest->status ?? 'pending'; $badgeClass = $status === 'approved' ? 'bg-success' : ($status === 'rejected' ? 'bg-danger' : ($status === 'reviewing' ? 'bg-info' : ($status === 'closed' ? 'bg-secondary' : 'bg-warning text-dark'))); @endphp @section('body')

Employer Request Details

Request No: {{ $employerRequest->request_no }}

@if(session('success'))
{{ session('success') }}
@endif
Organization Information

{{ $employerRequest->organization_name }}

{{ $employerRequest->organization_type ?? '-' }}

{{ $employerRequest->industry ?? '-' }}

@if($employerRequest->website) {{ $employerRequest->website }} @else - @endif

{{ $employerRequest->country ?? '-' }}

{{ $employerRequest->city ?? '-' }}

Request Information

{{ $types[$employerRequest->request_type] ?? ucfirst(str_replace('_', ' ', $employerRequest->request_type)) }}

{{ $employerRequest->student_reference ?? '-' }}

{{ $employerRequest->job_title ?? '-' }}

{{ $employerRequest->positions_available ?? '-' }}

{{ $employerRequest->deadline?->format('Y-m-d') ?? '-' }}

{{ $employerRequest->request_details }}

@if($employerRequest->partnership_interest)

{{ $employerRequest->partnership_interest }}

@endif
@include('online-form._attachments', ['model' => $employerRequest])
Contact Person

{{ $employerRequest->contact_name }}

{{ $employerRequest->contact_position ?? '-' }}

{{ $employerRequest->email }}

{{ $employerRequest->phone }}

Status
Current status {{ ucfirst($status) }}
@csrf @method('PATCH')
Summary
Request No {{ $employerRequest->request_no }}
Submitted {{ $employerRequest->created_at?->format('M d, Y') }}
Reviewed by {{ $employerRequest->reviewer?->name ?? '-' }}
Reviewed at {{ $employerRequest->reviewed_at?->format('Y-m-d H:i') ?? '-' }}
@csrf @method('DELETE')
@endsection