@extends('layouts.app') @section('content') @php $hasFilters = ($filters['q'] ?? '') !== '' || ($filters['subject_id'] ?? '') !== '' || ($filters['school_id'] ?? '') !== '' || ($filters['grade'] ?? '') !== '' || ($filters['lang'] ?? '') !== '' || ($filters['year'] ?? '') !== '' || ($filters['active'] ?? '') !== ''; @endphp
| {{ __('app.admin.exams.table.id') }} | {{ __('app.admin.exams.table.title') }} | {{ __('app.admin.exams.table.subject') }} | {{ __('app.admin.exams.table.school') }} | {{ __('app.admin.exams.table.grade') }} | {{ __('app.admin.exams.table.lang') }} | {{ __('app.admin.exams.table.year') }} | {{ __('app.admin.exams.table.date') }} | {{ __('app.admin.exams.table.type') }} | #Q | {{ __('app.admin.exams.table.active') }} | {{ __('app.admin.exams.actions.actions') }} |
|---|---|---|---|---|---|---|---|---|---|---|---|
| #{{ $e->id }} | {{ $e->title }} | {{ $e->subject?->name ?? '—' }} | {{ $e->school?->name ?? '—' }} | {{ $e->grade ?? '—' }} | {{ strtoupper($e->question_language) }} | {{ $e->year ?? '—' }} | {{ $e->exam_date?->format('Y-m-d') ?? '—' }} | {{ $e->type ?? '—' }} | {{ $e->num_questions }} | @if($e->is_active) {{ __('app.common.yes') }} @else {{ __('app.common.no') }} @endif | |
| {{ __('app.admin.exams.empty') }} | |||||||||||