@extends('layouts.panel') @section('content')

Ujian

@include('panel.examinations.parts.info')
@include('panel.examinations.parts.navs')
Hasil Ujian
@foreach ($examination->sections as $section) @endforeach @foreach ($examination->participants as $participant) @php $total_score = 0; @endphp @foreach ($participant->participant_sections as $section) @php $total_score += $section->choices_sum_score; @endphp @endforeach @endforeach
No Tiket Peserta Passing Grade{{ $section->script->title }}Total Skor Status
{{ $participant->ticket->code }}
{{ $participant->user->fullname }}
{{ $participant->user->nis . ' | ' . $participant->user->username . ' | ' . $participant->user->email}}
    @foreach ($section->heading_scores as $score)
  • {{$score->passing_grade}}
  • @endforeach
    @foreach ($section->heading_scores as $score)
  • {{ $score->heading . ' : ' . $score->heading_score}}
  • @endforeach

Total : {{ number_format($section->choices_sum_score) }}
{{ number_format($total_score) }} @php $stat=1; @endphp @foreach ($section->heading_scores as $score) @if ($score->status == 'TL') @php $stat *=0; @endphp @else @php $stat *=1; @endphp @endif @endforeach @php echo $stat ? "Lulus" : "Tidak Lulus"; @endphp
@endsection @push('css') @endpush @push('js') @endpush