@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; $statusColors = ['draft' => 'slate', 'scheduled' => 'amber', 'results_published' => 'green']; @endphp
@include('tenant.coaching._errors')
@forelse($tests as $test) @empty @endforelse
Date Test Batches Mode Marks Appeared Status
{{ $test->test_date->format('d M Y') }} {{ $test->title }}

{{ $test->course?->name }}{{ $test->syllabus ? ' · '.$test->syllabus : '' }}

{{ $test->batches->pluck('name')->implode(', ') }} {{ $test->isOnline() ? 'Online MCQ' : 'Offline' }} {{ (float) $test->total_marks }} {{ $test->appeared_count }} {{ $test->statusLabel() }}
No tests yet.
{{ $tests->links() }}
@include('tenant.coaching.tests._form', ['test' => null])