@extends('admin.layout.master') @section('content')

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

@include('payroll.includes.printAndExcel')
@if(count($employees) >0)
@php($i=1) @foreach ($employees->chunk(25) as $chunk_data)

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

{{$chunk_data->first()->fetch_department->name}}

@foreach ($chunk_data as $data) {{-- @dd($data) --}} @endforeach
{{__('obs.sl')}} {{__('obs.id_number')}} {{__('obs.name')}} {{__('obs.designation')}} {{__('obs.join_date')}} {{__('obs.basic')}} {{__('obs.gross')}} {{__('obs.schedule')}} {{__('obs.shift')}}
{{$i++}} {{$data->emp_code}} {{$data->emp_name}} {{$data->fetch_designation->name}} {{$data->joining_date ? date('d-m-Y',strtotime($data->joining_date)) : null}} {{number_format($data->basic_salary)}} {{number_format($data->gross_salary)}} {{$data->employee_schedule->name}} {{$data->fetch_shift_info_data->name}}
@endforeach
@else @if(request()->get('search') !=null)

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

@endif @endif @endsection @section('script') @endsection