@extends('layouts.training_centre_layout') @section('content') @php $addRoute = route('training-centre.trainers.create'); @endphp @php $button = ' Add New'; @endphp
@if ($trainers->count() > 0) @foreach ($trainers as $trainer)
{{ $trainer->experience }} Years
@if ($trainer->photo) Trainer Photo @else @endif
{{ $trainer->name }}

{{ date('d M, Y', strtotime($trainer->dob)) }}

Experience
{{ $trainer->experience }} Years
@if ($trainer->experience_certificate_path) View Certificate @endif
Education
{{ $trainer->higher_qualification }}
@if ($trainer->higher_qualification_certificate_path) View Certificate @endif
NISD Certificate
@if ($trainer->nisd_certificate_path) View Certificate @else
No document available
@endif
TOT Certificate
@if ($trainer->tot_certificate_path) View Certificate @else
No document available
@endif
TOA Certificate
@if ($trainer->toa_certificate_path) View Certificate @else
No document available
@endif
@endforeach @else

No trainers are available.

@endif
@endsection @section('pages-scripts') @endsection