Fix create admin & progress bar persentase

This commit is contained in:
2025-11-18 17:23:38 +08:00
parent 2608a5ffdd
commit b3c169a2d4
4 changed files with 18 additions and 18 deletions

View File

@@ -66,8 +66,8 @@ export default async function apbdesCreate(context: Context) {
selisih: item.selisih,
persentase: item.persentase,
level: item.level,
tipe: item.tipe, // ✅ sertakan, biar null
apbdesId: apbdes.id,
// Note: tipe field is not included as it doesn't exist in the model
};
return prisma.aPBDesItem.create({