@extends('layouts.app') @section('title', $objective->exists ? 'Ubah Tujuan Pembelajaran' : 'Tambah Tujuan Pembelajaran') @section('content')
@csrf @if($objective->exists) @method('PUT') @endif
Mata Pelajaran: {{ $subjects->firstWhere('id', old('subject_id', $objective->subject_id))?->name ?? '-' }}
Kelas: {{ $classrooms->firstWhere('id', old('classroom_id', $objective->classroom_id))?->name ?? '-' }}
Tahun Ajaran: {{ old('tahun_ajaran', $objective->academic_year) }}
Semester: {{ old('semester', $objective->semester) === '2' ? '2 (Genap)' : '1 (Ganjil)' }}

Deskripsi TP tertinggi & terendah menjadi Capaian Kompetensi otomatis di rapor.

Batal
@endsection