@extends('layouts.examiner') @section('title', 'Attendance') @section('content')
| Name | {{ trim("{$candidate->surname} {$candidate->firstname} {$candidate->othernames}") }} |
|---|---|
| Reg No | {{ $candidate->reg_no }} |
| Department | {{ optional($candidate->department)->name ?? '—' }} |
| Programme | {{ optional($candidate->programme)->name ?? '—' }} |
| Degree | {{ optional($candidate->degree)->name ?? '—' }} |
| Venue | {{ $schedule->venue ?? '—' }} |
| Exam Time | {{ $schedule->time ?? '—' }} |
| Exam Status |
@if($examStatus === 'Finished')
{{ $examStatus }}
@elseif($examStatus === 'Currently Logged In')
{{ $examStatus }}
@else
{{ $examStatus }}
@endif
@if($exam)
Start: {{ $exam->started_at ? \Carbon\Carbon::parse($exam->started_at)->format('H:i:s') : '—' }} | Stop: {{ $exam->stopped_at ? \Carbon\Carbon::parse($exam->stopped_at)->format('H:i:s') : '—' }} @endif |
| # | Reg No | Name | Department | Time | Checked By | |
|---|---|---|---|---|---|---|
| {{ $attendance->firstItem() + $loop->index }} | {{ $att->reg_no }} | {{ $att->name }} | {{ $att->department }} | {{ $att->time ? \Carbon\Carbon::parse($att->time)->format('H:i:s') : '—' }} | {{ $att->checked_by }} | |
| No attendance records yet. | ||||||