@extends('backend.layouts.app') @section('content')
# | Name | @if(\Auth::user()->user_type == 'admin')School Name | @endifGrade | Section | Status | Action |
---|---|---|---|---|---|---|
{{ ($key+1) + ($exams->currentPage() - 1)*$exams->perPage() }} | {{ $exam->title }} | @if(\Auth::user()->user_type == 'admin'){{ ($exam->school != null) ? $exam->school->name : 'N/A' }} | @endif{{ ($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 |
status ==1) checked @endif>
|