@extends('layouts.default', ['appTopMenu' => true])
@section('title', 'Employee Details')
@push('head')
@endpush
@section('content')
@if(!empty($employeeList))
@if(count($employeeList)>0)
|
|
ID |
Name |
E-Mail |
Mobile |
Post |
Section |
From Date |
|
@foreach($employeeList as $item)
@if(empty($item->to_date) || $item->to_date=='')
{{$loop->iteration}} |
@if(!empty($item->imageName))
@if(file_exists( public_path().'/images/'.$item->imageName ))
@endif
@endif
|
{{$item->emp_id}} |
{{$item->name}} |
{{$item->email}} |
{{$item->mobile}} |
{{$item->post_name}} |
{{$item->section_name}} |
{{ (!empty($item->from_date)) ? date('d/m/Y',strtotime($item->from_date)) : '' }} |
|
@endif
@endforeach
@endif
@endif
@endsection
@push('scripts')
@endpush