@extends('layouts.page') @section('subtitle') @endsection @section('content') {!! Form::open(['url' => route('employee_attendance.report'), 'method' => 'get' ]) !!}
{{ EasyForm::setNoRows() }}
{!! EasyForm::date('from', null, $from, ['id' => 'from', 'required'=>'true'])!!}
{!! EasyForm::date('to', null, $to, ['id' => 'to'])!!}
{!! EasyForm::select('months', null, $months, AppHelper::lastMonths(), ['onchange'=>'updateDates(this)'])!!}
{!! EasyForm::select('entity', null, old('entity', request()->entity), AppHelper::options('entities_with_bit'))!!}
{!! EasyForm::select('department', null, old('department', request()->department), AppHelper::options('departments'))!!}
HO {!! Form::checkbox('isho', 1, request()->isho ? true : '',['class' => 'me-5']) !!} ZO {!! Form::checkbox('iszo', 1, request()->iszo ? true : '') !!}
{!! Form::close() !!}
@foreach ($report as $id => $val)
Warning: Undefined variable $val in /var/www/html/pruthvi/resources/views/employee_attendance/report.blade.php on line 101

Warning: Trying to access array offset on null in /var/www/html/pruthvi/resources/views/employee_attendance/report.blade.php on line 101

Warning: Undefined variable $val in /var/www/html/pruthvi/resources/views/employee_attendance/report.blade.php on line 102

Warning: Trying to access array offset on null in /var/www/html/pruthvi/resources/views/employee_attendance/report.blade.php on line 102

Warning: Undefined variable $val in /var/www/html/pruthvi/resources/views/employee_attendance/report.blade.php on line 103

Warning: Trying to access array offset on null in /var/www/html/pruthvi/resources/views/employee_attendance/report.blade.php on line 103

Warning: Undefined variable $val in /var/www/html/pruthvi/resources/views/employee_attendance/report.blade.php on line 104

Warning: Trying to access array offset on null in /var/www/html/pruthvi/resources/views/employee_attendance/report.blade.php on line 104
@endforeach
Sno Employee Entity Department Present Invalid Absent Travel
{!! $sno ++ !!} {{ $val['name'] }} {{ $val['entity'] }} {{ AppHelper::dropdown($val['department'], 'departments') }} {{ AppHelper::numberUS($val['Present']) }} {{ AppHelper::numberUS($val['Invalid']) }} {{ AppHelper::numberUS($val['Absent']) }} {{ AppHelper::numberUS($val['Travel']) }}
Total {{ AppHelper::numberUS($totals['Present']) }} {{ AppHelper::numberUS($totals['Invalid']) }} {{ AppHelper::numberUS($totals['Absent']) }} {{ AppHelper::numberUS($totals['Travel']) }}
Print
@endsection