@extends('layouts.staff') @section('content')

{{ $page_title }}

All Pending Review @can('application_staff_review') Pending Staff Review @endcan Pending Interview Approved Denied Withdrawn
@foreach ($applications as $application) @php switch ($application->status) { case 1: $border_color = 'border-yellow-600'; $text_color = 'text-yellow-600'; break; case 2: $border_color = 'border-yellow-300'; $text_color = 'text-yellow-300'; break; case 3: $border_color = 'border-blue-600'; $text_color = 'text-blue-600'; break; case 4: $border_color = 'border-green-600'; $text_color = 'text-green-600'; break; case 5: $border_color = 'border-red-600'; $text_color = 'text-red-600'; break; case 6: $border_color = 'border-red-600'; $text_color = 'text-red-600'; break; } @endphp

{{ $application->id }} | {{ $application->user->preferred_name }}

Department: {{ $application->department->name }}

@endforeach @endsection