@extends('layouts.app') @section('title', 'Mark 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 / Attendance / Mark Attendance @endsection @section('navbar-right')
5
@endsection @section('content')

Mark Staff Attendance

Bulk-mark attendance for all active staff
Back
@foreach(['success','error'] as $msg) @if(session($msg))
{{ session($msg) }}
@endif @endforeach
@csrf {{-- Date Selector --}}
Today {{-- Quick mark all buttons --}}
{{-- Attendance Table --}}
{{ $staffList->count() }} Active Staff Members
@forelse($staffList as $member) @php $existing_att = $existing->get($member->id); @endphp @empty @endforelse
Staff Member Dept Status Check-In Check-Out Notes
{{ $member->full_name }}
{{ $member->staff_number }}
{{ $member->department ?? '—' }}
No active staff found. Add staff.
@if($staffList->isNotEmpty()) @endif
@endsection @section('custom-scripts') @endsection