@extends('backend.layouts.app') @section('head') @endsection @section('content')
@php $logo = 'placeholder'; if (\Auth::user()->user_type == 'school' || \Auth::user()->user_type == 'admin') { $logo = \Auth::user()->school_logo ?? $logo; } elseif (\Auth::user()->user_type == 'teacher' || \Auth::user()->user_type == 'student') { $logo = \Auth::user()->school->school_logo ?? $logo; } @endphp

{{ $student->school->name }}

{{-- --}}
Exam Details

{{$exam->title}}

@php $hour = floor($exam->duration / 60); $min = $exam->duration % 60; @endphp
Grade {{ $exam->grade->name }}
Section Section 1
Date and Time {{ date('d M Y, h:i A', strtotime($exam->date_and_time)) }}
Duration{{ $hour . ': ' . $min . '0 Hours' }}
Instruction:

{!!$exam->description !!}

Answer Board
{!! $current_ques->name !!}
@if($ques_image != null)
@foreach ($ques_image as $img) {{$loop->iteration}} @endforeach
@endif
Question Panel
{!! $ques_panel_html !!}
@endsection @section('modal') @endsection @section('script') @endsection