Day Detail

{{ $att->person_name }} — {{ $att->attendance_date->format('d M Y') }}

← Back
@foreach([['Check In',$att->check_in_time??'—','#dcfce7','#166534'],['Check Out',$att->check_out_time??'—','#fee2e2','#991b1b'],['Total Hours',$att->worked_duration,'#eff6ff','#1e40af']] as $s)
{{ $s[1] }}
{{ $s[0] }}
@endforeach
Action Logs ({{ $att->logs->count() }})
@forelse($att->logs->sortBy('action_time') as $log) @php $ac=['check_in'=>['#dcfce7','#166534','↑'],'check_out'=>['#fee2e2','#991b1b','↓'],'manual_edit'=>['#fef9c3','#854d0e','✎']]; $c=$ac[$log->action]??['#f1f5f9','#475569','•']; @endphp
{{ $c[2] }}
{{ ucfirst(str_replace('_',' ',$log->action)) }}
{{ $log->action_time }}
@if($log->ip_address) IP: {{ $log->ip_address }}   @endif @if($log->performedBy) by {{ $log->performedBy->name }} @endif @if($log->notes) · {{ $log->notes }} @endif
@empty
No action logs.
@endforelse