@extends('layouts.app') @section('title', __('Training')) @section('content')

{{ __('Training') }}

@can('training.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 ($record->result === 'passed') @if ($record->recruitment?->fingerprint) {{ __('Fingerprint') }} @else {{ __('Next: Fingerprint') }} @endif @elseif ($record->result === 'pending') @can('training.edit')
@csrf
@csrf
@endcan @endif {{ __('View') }} @can('training.edit') {{ __('Edit') }} @endcan
{{ __('No records found.') }}
{{ $records->links() }}

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

@endsection