Tambah peran Dosen MK/RPS+MK, komponen penilaian baku, dan bantu isi RPS
- Peran dosen dipecah jadi dosen_mk (nilai & portofolio saja, RPS baca-only) dan dosen_rps_mk (bisa edit RPS juga); migrasi otomatis dari skema lama. - Rekap Bobot Penilaian RPS pakai 6 komponen teknik asesmen baku prodi; total wajib tepat 100%, komponen individual boleh dikosongkan. - Dropdown & daftar Sub-CPMK tak lagi terpotong teksnya. - Bagian F (Rencana Mingguan): tombol "Isi Otomatis" per baris (termasuk usulan Bobot) yang muncul setelah Sub-CPMK dipilih, plus panel contoh teks bantu per kolom. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
This commit is contained in:
@@ -218,7 +218,10 @@ def build_rps(d: dict) -> bytes:
|
||||
r.bold = True
|
||||
r.font.size = Pt(11)
|
||||
|
||||
komponen = d.get("komponen", [])
|
||||
komponen = [
|
||||
k for k in d.get("komponen", [])
|
||||
if k.get("subs") or str(k.get("bobot") or "").strip() not in ("", "0", "0.0")
|
||||
]
|
||||
tk = doc.add_table(rows=1 + max(len(komponen), 1), cols=4)
|
||||
_grid_borders(tk)
|
||||
for ci, judul in enumerate(
|
||||
|
||||
Reference in New Issue
Block a user