{{-- Sample weekly timetable used by the Scheduling and portal mockups. --}} @php $ttRows = [ ['7:30 AM', '8:30 AM', '60 min', [ ['c5', 'Flag Ceremony', 'Room 101', ''], ['c1', 'Effective Comm.', '1 hr · Room 101', 'M. Santos'], ['c3', 'General Math', '1 hr · Room 101', 'J. Reyes'], ['c1', 'Effective Comm.', '1 hr · Room 101', 'M. Santos'], ['c3', 'General Math', '1 hr · Room 101', 'J. Reyes'], ]], ['8:30 AM', '9:30 AM', '60 min', [ ['c4', 'General Science', '1 hr · Science Lab', 'A. Cruz'], ['c3', 'General Math', '1 hr · Room 101', 'J. Reyes'], null, ['c4', 'General Science', '1 hr · Science Lab', 'A. Cruz'], ['c6', 'Life & Career', '1 hr · Room 101', 'C. Mendoza'], ]], 'Recess', ['9:45 AM', '10:45 AM', '60 min', [ ['c6', 'Life & Career', '1 hr · Room 101', 'C. Mendoza'], null, ['c4', 'General Science', '1 hr · Science Lab', 'A. Cruz'], null, ['c2', 'PE and Health', '1 hr · Gym', 'R. Garcia'], ]], ]; @endphp
| Start | End | Mon | Tue | Wed | Thu | Fri |
|---|---|---|---|---|---|---|
| 9:30 | 9:45 | {{ $row }} | ||||
| {{ $row[0] }}{{ $row[2] }} | {{ $row[1] }} | @foreach ($row[3] as $cell)
@if ($cell)
{{ $cell[1] }}{{ $cell[2] }}@if ($cell[3])
@else
{{ $cell[3] }}@endif Available
@endif
|
@endforeach
||||