@extends('portal.layouts.app', [ 'class' => '', 'elementActive' => '' ]) @section('title','Interviews') @section('content')

Interviews

{{-- Filter Form --}}
{{-- Interviews Table --}}
@foreach($data as $key => $interview) @endforeach
# Ref Candidate Job Title Company Interview Date Actions
{{ $key + 1 }} {{ $interview->reference ?? 'N/A' }}
@if($interview->status == "pending") {{ $interview->status }} @elseif($interview->status == "passed") {{ $interview->status }} @elseif($interview->status == "failed") {{ $interview->status }} @else {{ $interview->status ?? 'N/A' }} @endif
{{ $interview->application->candidate->user->name ?? 'N/A' }} {{ $interview->application->job->title ?? 'N/A' }} {{ $interview->application->job->company->name ?? 'N/A' }} {{ date('d M Y', strtotime($interview->created_at)) }} @can('delete job interview')
@csrf @method('DELETE')
@endcan
{{-- card-body --}}
@endsection @section('script') @endsection