@extends('backend.layouts.app') @section('head') @endsection @section('content')
{{$exam->title}} ( Learning Competencies )
@php $logo = 'placeholder'; if(\Auth::user()->user_type == 'school' || \Auth::user()->user_type == 'admin'){ $logo = \Auth::user()->school_logo == null ? \Auth::user()->image : $logo; }elseif(\Auth::user()->user_type == 'teacher'){ $logo = \Auth::user()->school->school_logo == null ? \Auth::user()->school->image : $logo; } @endphp
@php $sections = \App\Models\Section::whereIn('id', json_decode($exam->section_id, true))->get(); @endphp @php $hour = floor($exam->duration / 60); $min = $exam->duration % 60; @endphp
Grade {{$exam->grade->name}}
Section@foreach ($sections as $val)
  • {{$val->name}}
@endforeach
Date and Time {{date('d M Y, h:i A', strtotime($exam->date_and_time))}}
Duration{{$hour.': '.$min.'0 Hours'}}
Instruction {{$exam->description}}
@if(!empty($data_sections)) @foreach($data_sections as $key => $value) @endforeach @endif
# SECTIONS NO. OF ITEMS MEAN MEAN % FOR IMPROVEMENT STANDARD LEVEL Action
{{ $loop->iteration }} {{$value['name']}} {{$value['total_ques']}} {{$value['mean']}} {{$value['mean_score']}}% {{$value['for_improvement']}}% {{$value['standard']['grade']}}

Graph Views

@if(!empty($data)) @foreach($data as $key => $result) @endforeach @endif
# Competency Average Score Standard Level
{{ $loop->iteration }} {!! $result['name'] !!} {{$result['score']}}% {{$result['standard']['grade'] ?? 'N/A'}}

Graph Views

@if(!empty($sec_compentencies)) @foreach ($sec_compentencies as $section_name => $compentencies)
{{$section_name}}
@if(!empty($compentencies)) @foreach($compentencies as $key => $compentency) @endforeach @endif
# Competency Score % Standard Level
{{ $loop->iteration }} {{$compentency['name']}} {{$compentency['score']}}% {{$compentency['standard']['grade']}}
{{--
--}}
@endforeach @endif
@endsection @section('script') @endsection