@extends('backend.layouts.app') @section('content')
Exams Reports
@if(\Auth::user()->user_type == 'admin')
@endif
{{--
--}}
@if(\Auth::user()->user_type == 'admin') @endif @if($exams->isNotEmpty()) @foreach($exams as $key => $exam) @if(\Auth::user()->user_type == 'admin') @endif @endforeach @endif
# NameSchool NameGrade Section Reports
{{ ($key+1) + ($exams->currentPage() - 1)*$exams->perPage() }} {{ $exam->title }}{{ ($exam->school != null) ? $exam->school->name : 'N/A' }}{{ ($exam->grade != null) ? $exam->grade->name : 'N/A' }} @if($exam->section_id != null) @foreach(\App\Models\Section::whereIn('id', json_decode($exam->section_id, true))->get() as $value) {{$value->name}} @endforeach @endif
    @can('grade-level-report')
  • @endcan @can('student-report')
  • @endcan @can('section-level-report')
  • @endcan {{--
  • --}} @can('comparative-results-report')
  • @endcan
    {{ $exams->appends(request()->input())->links() }}
@endsection @section('modal') @include('backend.modals.delete') @endsection @section('script') @endsection