@extends('layouts.admin.master') @section('content')
@if(Session::has('deleted'))
{!! Helper::alert('success', Session::get('deleted'), 'block font-15') !!}
@endif
@if(count($applicants) ==0) {!! Helper::empty_table(8) !!} @endif @foreach($applicants as $key => $applicant) @endforeach
# Name Gender Nationality Function Restaurant[s] Created at Module
{{ Helper::indexed($applicants, $key) }} {{ $applicant->kh_name }} {{ $applicant->gender }} {{ $applicant->nationality }} {{ $applicant->function }}
    @foreach($applicant->restaurants as $restaurant)
  • {{ $restaurant->name }}
  • @endforeach
{{ $applicant->created_at->format('d-m-Y') }}
{{ method_field('delete') }} {{ csrf_field() }}
@endsection