QC User & Admin Responsive : Menu Kesehatan - Ekonomi

This commit is contained in:
2025-10-03 10:17:06 +08:00
parent 8a6d8ed8db
commit f7fd9be255
55 changed files with 754 additions and 372 deletions

View File

@@ -23,6 +23,7 @@ export default async function kontakDaruratKeamananFindMany(context: Context) {
try {
const [data, total] = await Promise.all([
prisma.kontakDaruratKeamanan.findMany({
where,
include: {
kontakItems: {
include: {

View File

@@ -25,6 +25,7 @@ export default async function kontakItemFindMany(context: Context) {
skip,
take: limit,
orderBy: { createdAt: "desc" },
where,
}),
prisma.kontakItem.count({ where }),
]);