@extends('admin.layout.master') @section('content') @include('flash-message')
{{__('obs.monthly')}} {{__('obs.manual')}} {{__('obs.attendance')}}
{{--
--}}
@if(count($employees)>0)
@csrf @foreach ($leave_types as $leave_type) @endforeach @php $i=1; @endphp @foreach ($employees as $employee) @php $manual_attendance = $employee->manual_attendance->where('month',$month)->where('year',$year)->first() @endphp @foreach ($leave_types as $leave_type) @php // dd($leave_type->leaveTaken->where('emp_id',$employee->id)->where('posting_type',2)->first()); $leave_taken = $leave_type->leaveTaken->where('emp_id',$employee->id)->where('posting_type',2)->where('month',$month)->where('year',$year)->first(); @endphp @endforeach @php $ot_day_adjust = $employee->day_replaces->where('type',2)->where('month',$month)->where('year',$year)->first(); @endphp @endforeach
#{{__('obs.sl')}} {{__('obs.name')}}|{{__('obs.code')}} {{__('obs.designation')}} {{__('obs.salary')}} {{__('obs.days')}} {{__('obs.absent')}} {{__('obs.late')}} {{__('obs.early')}} {{__('obs.ot')}} {{__('obs.hour')}} {{__('obs.ot')}} {{__('obs.day')}} {{__('obs.night')}} {{__('obs.shift')}}{{$leave_type->name}}{{__('obs.ot')}} {{__('obs.adjust')}}
{{$i++}} {{$employee->emp_name}} -{{$employee->emp_code}} {{$employee->fetch_designation ? $employee->fetch_designation->name : null }}
{{-- --}}
@endif
@endsection @section('script') @endsection