@extends('admin.layout.master') @section('content') @include('flash-message')

{{__('obs.assigned_shift')}}

@if(count($employee_data) >0) {{-- --}} {{-- @include('payroll.includes.printAndExcel') --}} @endif
@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}}
@php $sl =1; @endphp @foreach ($employee_data as $employee) @endforeach
{{__('obs.sl')}} {{__('obs.name')}} {{__('obs.code')}} {{__('obs.designation')}} {{__('obs.start_date')}} {{__('obs.end_date')}} {{__('obs.shift')}} Action
{{$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}}
{{--
--}}
@else @if(request()->get('search') !=null)

{{__('obs.no_data_found')}}

@endif @endif
@include('payroll.shift.edit_assigned_shift') @endsection @section('script') @endsection