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

Date Wise Group Attendance Report

@if (count($errors) > 0)
    @foreach ($errors->all() as $error)
  • {{ $error }}
  • @endforeach
@endif
@include('payroll.includes.printAndExcel')

Attendance For the Month Of @if(!empty($start_date)){{date('d-m-Y',strtotime($start_date))}} to {{date('d-m-Y',strtotime($end_date))}}@endif

@for($i=strtotime($start_date); $i<=strtotime($end_date);$i += 86400) @endfor @for($i=strtotime($start_date); $i<=strtotime($end_date);$i += 86400) @endfor @if(!empty($group_attendance)) @foreach($group_attendance as $key=>$val) @foreach($val as $attdn_val) @endforeach @endforeach @endif
Date{{date('d-M',$i)}}
In Out
{{$key}} @if(!empty($attdn_val['in_time'])){{$attdn_val['in_time']}}@else{{'-'}}@endif @if(!empty($attdn_val['out_time'])){{$attdn_val['out_time']}}@else{{'-'}}@endif
@endsection