@if(count($employee_data) >0)
Assigned Shift For The Month OF {{carbon()->parse($month)->format("F -Y")}} |
| {{__('obs.department')}}: {{$employee_data->first()->emp_info->fetch_department ? $employee_data->first()->emp_info->fetch_department->name : null}} |
| {{__('obs.sl')}} |
{{__('obs.name')}} |
{{__('obs.code')}} |
{{__('obs.designation')}} |
{{__('obs.start_date')}} |
{{__('obs.end_date')}} |
{{__('obs.shift')}} |
Action |
@php
$sl =1;
@endphp
@foreach ($employee_data as $employee)
| {{$sl++}} |
{{$employee->emp_info->emp_name}} |
{{$employee->emp_info->emp_code}} |
{{ $employee->emp_info->fetch_designation ? $employee->emp_info->fetch_designation->name : null}} |
{{carbon()->parse($employee->start_date)->format('d-m-Y')}} |
{{carbon()->parse($employee->end_date)->format('d-m-Y')}} |
{{$employee->fetch_shift_info_data->name}} |
|
@endforeach
{{--
--}}
@else
@if(request()->get('search') !=null)
{{__('obs.no_data_found')}}
@endif
@endif