@extends('layouts.app') @section('title', 'Staff Attendance | Institution Axis') @section('sidebar-menu') @include('schooladmin.partials.sidebar') @endsection @section('sidebar-footer')

{{ auth()->user()->school?->name ?? 'Institution Axis' }}

@endsection @section('breadcrumb') Home / Staff / Attendance @endsection @section('navbar-right')
5
@endsection @section('content')

Staff Attendance

View attendance records by date
Mark Attendance Monthly Report
@foreach(['success','error'] as $msg) @if(session($msg))
{{ session($msg) }}
@endif @endforeach {{-- Date filter --}}
Records for {{ \Carbon\Carbon::parse($date)->format('d F Y') }}
{{ $records->total() }} records
@forelse($records as $record) @empty @endforelse
#Staff MemberStaff No.StatusCheck-InCheck-OutNotes
{{ $loop->iteration }}
{{ $record->staffProfile->full_name }}
{{ $record->staffProfile->staff_number }} {{ $record->status_label }} {{ $record->check_in_time ?? '—' }} {{ $record->check_out_time ?? '—' }} {{ $record->notes ?? '—' }}
No attendance records for this date. Mark now.
@if($records->hasPages()) @endif
@endsection