| Employee Code |
{{$staff_details->id}} |
Designation |
{{$staff_details->designation->name}} |
| Employee Name |
{{$staff_details->user->name}} |
Warehouse/Branch |
{{$staff_details->warehouse->name}} |
@if($start_date!=null && $end_date!=null)
Attendance History Report
On {{$start_date}}{{__(' to ')}}{{$end_date}}
@else
Attendance History Report
On {{$staff_details->joing_date}}{{__(' to ')}}{{date('Y-m-d')}}
@endif
| Sl |
Emp_code |
Emp_name |
Time |
Flag |
@foreach ($attendance as $i => $atten)
| {{date('d-m-Y(l)',strtotime($i))}} |
@foreach($atten as $key=> $test)
@php $user=User::where('id',$test->user_id)->first();@endphp
| {{$key+1}} |
Emp-100{{$user->staff->id}} |
{{$user->name}} |
{{date('h:i a',strtotime(explode(' ',$test['timestamp'])[1]))}} |
@if($key%2==0)
{{__('In Time')}}
@else
{{__('Out Time')}}
@endif
|
@endforeach
@endforeach
{{-- {{$salesData->links()}}--}}
@if($show!=null)
@endif