@extends('student.main') @section('title', 'Pengisian KRS') @section('content')
Semester Saat Ini

Semester {{ Auth::user()->level }}

Total SKS

{{ $totalSks }} SKS

Periode Akademik

{{ $latestKrs?->period_title }}

Status

{{ $krsStatusLabel }}

@if (in_array($krsStatus, ['filled', 'waiting']))
Periode pengisian dan pengubahan KRS {{ Auth::user()?->prodi?->title }} belum dibuka/sudah ditutup
@endif @if (!in_array($krsStatus, ['filled', 'waiting'])) @endif @php $total_sks = 0; @endphp @foreach ($subjects as $key => $item) @php $total_sks += ($item->total_sks ?? 0); @endphp @endforeach
No Nama Kelas Jadwal SKS Semester Status
{{ $key + 1 }} {{ $item->code }} - {{ $item->title }} {{ $item->schedule_subject_class }} {{ $item->total_sks ?? 0 }} SKS {{ ucwords(str_replace('_', ' ', $item->semester)) }} -
Total SKS {{ $total_sks }} SKS
@endsection