@extends('layouts.app') @section('title', 'Staff Attendance Report') @section('content')
Daily present/absent grid for the whole staff over a date range
| Staff | @foreach ($dates as $d){{ \Carbon\Carbon::parse($d)->format('d/m') }} | @endforeachDays |
|---|---|---|
| {{ $s->full_name }} ยท {{ $s->role }} | @foreach ($dates as $d) @php $v = $map[$s->id][$d] ?? '-'; @endphp{{ $v }} | @endforeach{{ $t['present'] }}/{{ $t['days'] }} |