@extends('layout') @section('title', 'Trainees') @section('content')

Trainees

@if(!$interns->isEmpty())

@foreach($interns as $intern) @endforeach
First Name Last Name Email Tel Registration Date Actions
{{ $intern->first_name }} {{ $intern->last_name }} {{ $intern->email }} {{ $intern->tel }} {{ date('Y-m-d', strtotime($intern->created_at)) }}
@csrf @method('DELETE') @if (in_array(Auth::user()->role, array('manager', 'admin'))) @endif
First Name Last Name Email Tel Registration Date Actions
@else Create @endif
@endsection @section('js') @endsection()