@php $tenant = \App\Support\Facades\Tenancy::get(); $brandStyle = $tenant->brand_primary_color ? ":root { --color-brand-600: {$tenant->brand_primary_color}; } .dark { --color-brand-600: {$tenant->brand_primary_color}; }" : null; @endphp
All grades @foreach($classes as $class) {{ $class->name }} @endforeach
@forelse($homework as $item) @empty @endforelse
# Title Class / Section Subject Teacher Due Type Submissions Attachment
{{ $loop->iteration }} {{ $item->title }} {{ $item->schoolClass->name }} · {{ $item->section->name }} {{ $item->subject->name ?? '—' }} {{ $item->teacher->name }} {{ $item->due_date?->format('M j, Y') ?? '—' }} {{ $item->isOnline() ? 'Online' : 'Exercise Book' }} @if($item->isOnline()) {{ $item->submissions->whereNotNull('submitted_at')->count() }} / {{ $item->submissions->count() }} @else — @endif @if($item->attachment_path) @if($item->attachmentIsImage()) @else View @endif @else — @endif
No homework posted yet.