@extends('student.main') @section('title', 'Transkrip - Transkrip Mahasiswa') @section('content')
@if (Auth::user()?->status != 'graduate') @endif
{{--
@php $total_sks = 0; $total_bobot =0; @endphp @forelse ($results as $key => $item) @php $total_sks += $item?->subject_total_sks ?? 0; $total_bobot += $item->weight_value; @endphp @empty @endforelse @if(count($results) > 0) @endif
No Kode Nama Mata Kuliah Smt SKS Grade Nilai Mutu Bobot
{{ $key + 1 }} {{ $item->subject_code }} {{ $item->subject_title }} {{ uc_words($item->subject_class?->subject?->semester ?? "-")}} {{ $item->subject_total_sks }} {{ $item->score_grade }} {{ $item->quality_value }} {{ $item->weight_value }}
Tidak ada nilai yang diumumkan pada semester ini
Total {{ $total_sks }} {{ number_format($total_bobot, 2, '.') }}
Indeks Prestasi Kumulatif {{ $total_bobot == 0 ? 0 : number_format($total_bobot / $total_sks, 2,'.')}}
--}}
I. Nilai Akademik
@php $total_sks = 0; $total_sks_theory = 0; $total_sks_practice = 0; $total_score_theory = 0; $total_score_practice = 0; $total_score = 0; @endphp @forelse ($results as $key => $item) @php $total_sks += ($item['theory']['subject_sks'] + $item['practice']['subject_sks']); $total_sks_theory += $item['theory']['subject_sks']; $total_sks_practice += $item['practice']['subject_sks']; $total_score_theory += $item['theory']['total_score_theory']; $total_score_practice += $item['practice']['total_score_practice']; $total_score += $item['total_score']; @endphp @empty @endforelse @if($results) @endif
No Kode Nama Mata Kuliah SKS Jumlah Nilai Mutu Jumlah (SKS x Nilai)
Teori Praktik Teori Praktik
Huruf Angka Huruf Angka
{{ $key + 1 }} {{ $item['subject_code'] }} {{ $item['subject_title'] }} {{ $item['theory']['subject_sks'] }} {{ $item['practice']['subject_sks'] }} {{ $item['total_sks'] }} {{ $item['theory']['alphabet_score'] }} {{ number_format($item['theory']['total_score_theory'], 2) }} {{ $item['practice']['alphabet_score'] }} {{ number_format($item['practice']['total_score_practice'], 2) }} {{ number_format($item['total_score'], 2) }}
Tidak ada nilai yang diumumkan pada semester ini
Jumlah {{ $total_sks_theory }} {{ $total_sks_practice }} {{ $total_sks }} {{ number_format($total_score_theory, 2) }} {{ number_format($total_score_practice, 2) }} {{ number_format($total_score, 2) }}
Indeks Prestasi Kumulatif (IPS) {{ Auth::user()?->level }} @if($total_score != 0) {{ number_format($total_score / $total_sks, 2) }} @else 0.00 @endif
II. Nilai Kepribadian
@forelse ($scorePersonalities as $key => $item) @empty @endforelse
No Unsur yang Dinilai Huruf Mutu
{{ $key + 1 }} {{ $item->personality?->title }} {{ $item->alpha_score }}
Tidak ada nilai yang diumumkan pada semester ini
@endsection @push('custom-style') @endpush