Score
@if (session('status'))
@endif
@if (session('success'))
@endif
{{-- @endif --}}
@endsection
List Student
| No | Name | @foreach ($testItem as $itemTest){{ $itemTest->name }} | @endforeachAverage | Grade | Comment For Student | Date Test | Date Time | Action |
|---|---|---|---|---|---|---|---|---|
| {{ $no++ }} | {{ ucwords($itemSValue->name) }} | @foreach ($testItem as $itemTestKey => $itemTestValue) @php $detail = null; if ($average != null) { $detail = DB::table('student_score_details'); $detail = $detail->where('student_score_id', $average->id); $detail = $detail->where('test_item_id', $itemTestValue->id)->first(); } @endphp{{ $detail != null ? $detail->score : '-' }} | @endforeach{{ $average != null ? $average->average_score : '-' }} | {{ $average != null ? Helper::getGrade($average->average_score) : '' }} | {{ $average != null ? $average->comment : '-' }} | {{ $average != null ? $average->date : '-' }} | {{ $average != null ? $average->created_at : '-' }} | @if ($average != null) Edit @else Create @endif |