@extends('layouts.app') @section('title', 'Plotting: ' . $class->class_name) @section('content')
← Kembali ke daftar kelas

Plotting Mapel — {{ $class->class_name }}

@if ($class->waliKelas)

Wali Kelas: {{ $class->waliKelas->name }}

@endif
@if ($errors->any())
@endif @php $general = $subjects->where('type', \App\Models\Subject::TYPE_GENERAL); $quran = $subjects->where('type', \App\Models\Subject::TYPE_QURAN); @endphp
@csrf @method('PUT') {{-- Search --}}
@if ($general->isNotEmpty())

Mapel Umum

@foreach ($general as $subject) @php $selected = $current[$subject->id] ?? []; $count = count($selected); @endphp
@endforeach
@endif @if ($quran->isNotEmpty())

Mapel Quran (Halqah)

@foreach ($quran as $subject) @php $selected = $current[$subject->id] ?? []; $count = count($selected); @endphp
@endforeach
@endif @if ($subjects->isEmpty())
Belum ada mata pelajaran. Buat terlebih dulu di menu Manajemen Mapel.
@endif
Batal
@endsection