@extends('admin.master') @section('content') @section('title','Employee Training List')
@yield('title')
@if(session()->has('success'))
 {{ session()->get('success') }}
@endif @if(session()->has('error'))
 {{ session()->get('error') }}
@endif
{!! $sl=null !!} @foreach($results AS $value) @endforeach
S/L Employee Name Training Type Subject Training Duration Action
{!! ++$sl !!} @if(isset($value->employee->first_name)) {!! $value->employee->first_name !!} {!! $value->employee->last_name !!} @endif @if(isset($value->trainingType->training_type_name)) {!! $value->trainingType->training_type_name !!} @endif {{$value->subject}} {!! dateConvertDBtoForm($value->start_date) !!} To {!! dateConvertDBtoForm($value->end_date) !!}
@endsection