@extends('layouts.portal')
@section('title', $batch->course?->title ?? 'Batch')
@section('subtitle', $batch->batch_code.' · '.ucfirst($batch->mode).($batch->schedule ? ' · '.$batch->schedule : ''))
@section('actions')
| # | Date & time | Class | Status | Attendance | Actions |
|---|---|---|---|---|---|
| {{ $loop->iteration }} | {{ $local->format('D, d M Y') }} {{ $local->format('g:i A') }} · {{ $minutes }} min |
{{ $s->displayTitle() }}@if($s->topic) {{ $s->topic }} @endif @if($s->meeting_url)@endif |
@if($s->taken_at){{ $s->present_count }} of {{ $roster->count() }} present@elseif($s->status === 'cancelled')n/a@elseMark attendance@endif |
@unless($s->taken_at)
@endunless
|
| Learner | Enrollment | Payment | Attendance | P / L / A / E |
|---|---|---|---|---|
{{ $e->user?->initials() }}@if($e->user){{ $e->user->name }}@endif |
@if($r && $pct !== null)
{{ rtrim(rtrim(number_format($pct, 1), '0'), '.') }}%
@else{{ $r ? 'No registers yet' : 'Not attending' }}@endif
|
@if($r){{ $r['present'] }} / {{ $r['late'] }} / {{ $r['absent'] }} / {{ $r['excused'] }}@else—@endif |
All active learners are marked completed and a certificate is issued and emailed to each one whose attendance is at least {{ $min }}%. The batch status becomes Completed.