@extends('portal.layouts.app', [ 'class' => '', 'elementActive' => '' ]) @section('title', 'Selected Candidates') @section('css') @endsection @section('content')
| # | Candidate | Job | Passport | Good Conduct | Offer Letter | Medical | MOFA | Attestation |
|---|---|---|---|---|---|---|---|---|
| {{ $index + 1 }} | {{ $item->application->candidate->user->name }} | {{ $item->application->job->title }} | {{-- Passport --}}@if($item->application->candidate->passport_number) @else @endif | {{-- Good Conduct --}}@if($documents->firstWhere('type', 'good_conduct')) @else @endif | {{-- Offer Letter --}}@if($documents->firstWhere('type', 'offer_letter')) @else @endif | {{-- Medical --}}@if($documents->firstWhere('type', 'medical')) @else @endif | {{-- MOFA --}}@if($documents->firstWhere('type', 'mofa')) @else @endif | {{-- Attestation --}}@if($documents->firstWhere('type', 'attestation')) @else @endif |