Biometric Time & Attendance
ZKTeco, BioTime, generic API/webhook, file, and manual attendance readiness.Human Resource
@if(session('success'))
{{session('success')}}
@endif @if($errors->any())
{{$errors->first()}}
@endif
@if(session('device_api_key'))
Device integration key for device #{{session('device_id')}}{{session('device_api_key')}}
Copy it now. Send punches to {{url('/api/attendance/punches')}} with header X-Device-Key. @endif
@foreach(['attendance'=>'Attendance','summary'=>'Daily Summary','devices'=>'Devices & Mappings'] as $k=>$v)
{{$v}}@endforeach @if(auth()->user()->hasPermission('attendance.manual'))
@endif
@if(auth()->user()->hasPermission('attendance.manual'))
@if($errors->any() && old('punch_time')!==null)@endif
@endif
@if(in_array($tab,['attendance','summary']))
@endif
@if(auth()->user()->hasPermission('attendance.devices'))
Database Sync Installer@endif
@if(auth()->user()->hasPermission('attendance.mappings'))
@endif
@if(auth()->user()->hasPermission('attendance.sync'))
@endif
@include('attendance.action_dialogs')
Present Records{{$summary['present']}}
Late Records{{$summary['late']}}
Unmatched Punches{{$summary['unmatched']}}
Active Devices{{$summary['devices']}}
@if($tab==='summary')
| Phone | National ID | Name | Branch | Department | Date | Check-In | Check-Out | Hrs | Late | OT | Status | Comment | Type | More |
@forelse($days as $d)| {{$d->user?->phone?:'-'}} | {{$d->user?->id_number?:'-'}} | {{$d->user?->name}} | {{$d->branch?->name}} | {{$d->user?->department?->name?:'-'}} | {{$d->work_date->format('Y-m-d')}} | {{$d->first_in?->format('H:i')?:'-'}} | {{$d->last_out?->format('H:i')?:'-'}} | {{number_format($d->worked_minutes/60,2)}} | {{$d->late_minutes}} min | {{$d->overtime_minutes}} min | {{$d->status}} | {{$d->comment?:'-'}} | {{$d->source}} | Edit |
@empty| No attendance records for this period. |
@endforelse
{{$days->links()}}
@elseif($tab==='attendance')
| Time | Database Key | National ID | Name | Device | Branch | Type | Verify Mode | Matched |
@foreach($punches as $p)| {{$p->punch_time->format('Y-m-d H:i:s')}} | {{$p->device_user_id}} | {{$p->id_number?:'-'}} | {{$p->user?->name??''}} | {{$p->device?->name}} | {{$p->branch?->name}} | {{$p->punch_type}} | {{$p->verify_mode?:'-'}} | {{$p->user_id?'Yes':'No'}} |
@endforeach
{{$punches->links()}}
@else
| Device | Vendor | Connection | Branch | Serial / IP | Last Sync | Status | Action |
@foreach($devices as $d)| {{$d->name}} | {{$d->vendor}} | {{$d->connection_type}} | {{$d->branch?->name}} | {{$d->device_serial?:$d->ip_address?:'-'}} | {{$d->last_sync_at?->format('Y-m-d H:i')?:'Never'}} | {{$d->status}} | @if(in_array($d->connection_type,['api','database']) && auth()->user()->hasPermission('attendance.sync'))@endif @if(auth()->user()->hasPermission('attendance.mappings'))@endif |
@endforeach
@endif
@endsection