@extends('layouts.app') @section('title', __('Selection & Grading')) @section('content')

{{ __('Selection & Grading') }}

@can('selection.create') {{ __('New Record') }} @endcan
{{-- Pipeline Status Tabs --}}
@forelse($records as $record) @empty @endforelse
{{ __('Tracking') }} {{ __('Candidate') }} {{ __('Status') }} {{ __('Updated') }} {{ __('Actions') }}
{{ $record->recruitment?->tracking_number ?? '—' }} {{ $record->recruitment?->passportHolder?->full_name ?? '—' }} {{ $record->updated_at?->format('Y-m-d') }} @if (in_array($record->status, ['approved', 'selected'], true)) @if ($record->recruitment?->delegation) {{ __('Delegation') }} @else {{ __('Next: Delegation') }} @endif @elseif ($record->status === 'pending') @can('selection.edit')
@csrf
@csrf
@endcan @endif {{ __('View') }} @can('selection.edit') {{ __('Edit') }} @endcan
{{ __('No records found.') }}
{{ $records->links() }}

{{ __(':count records', ['count' => $records->total()]) }}

@endsection