@extends('admin.layout.app') @section('title', 'Employer Requests') @php $statusColors = ['all' => 'primary', 'pending' => 'warning', 'reviewing' => 'info', 'approved' => 'success', 'closed' => 'secondary']; $types = [ 'graduate_verification' => 'Graduate verification', 'recruitment' => 'Recruitment', 'internship' => 'Internship', 'partnership' => 'Partnership', 'job_posting' => 'Job posting', 'other' => 'Other', ]; @endphp @section('body')
@foreach(['all' => 'All', 'pending' => 'Pending', 'reviewing' => 'Reviewing', 'approved' => 'Approved', 'closed' => 'Closed'] as $key => $label) @endforeach

Employer Requests

Review graduate verification, recruitment, internships, job postings, and partnership requests.

Public portal
Reset
@if(session('success'))
{{ session('success') }}
@endif
@forelse($requests as $item) @php($status = $item->status ?? 'pending') @php($badgeClass = $status === 'approved' ? 'bg-success' : ($status === 'rejected' ? 'bg-danger' : ($status === 'reviewing' ? 'bg-info' : ($status === 'closed' ? 'bg-secondary' : 'bg-warning text-dark')))) @empty @endforelse
Request Organization Contact Type Status Date Actions
{{ $item->request_no }}
{{ $item->organization_name }}
{{ $item->industry ?? $item->organization_type ?? '-' }}
{{ $item->contact_name }}
{{ $item->email }}
{{ $types[$item->request_type] ?? ucfirst(str_replace('_', ' ', $item->request_type)) }} {{ ucfirst($status) }}
{{ $item->created_at?->format('Y-m-d') }}
{{ $item->created_at?->format('H:i') }}
@csrf @method('DELETE')
No employer requests found
@if($requests->hasPages()) @endif
@endsection