@extends('backend.layouts.app')
@section('content')
Grade |
{{$exam->grade->name}} |
Section |
@php
$sections = \App\Models\Section::whereIn('id', json_decode($exam->section_id, true))->get();
@endphp
@foreach ($sections as $val)
@endforeach |
Date and Time |
{{date('d M Y, h:i A', strtotime($exam->date_and_time))}} |
Duration |
@php
$hour = floor($exam->duration / 60);
$min = $exam->duration % 60;
@endphp
{{$hour.': '.$min.'0 Hours'}} |
Instruction |
{{$exam->description}} |
# |
COMPETENCY |
@foreach($section_data as $sk=>$sv)
{{$sv}} . Correct % and Standard Level |
@endforeach
@if(!empty($results))
@foreach($results as $k=>$v)
{{ $loop->iteration }} |
{{$v['name']}} |
@foreach($v['sections'] as $sdk=>$sdv)
@php
$grade = get_standard_grade($sdv['score']);
@endphp
{{$sdv['score']}}% |
{{$grade['grade'] ?? 'N/A'}} |
@endforeach
@endforeach
@endif
@endsection
@section('script')
@endsection