feat(kesehatan): refactor ringkasan kesehatan to auto-derived stats
- Add IbuHamil and Balita models to schema.prisma - Implement IbuHamil and Balita API modules (CRUD) - Implement /stats endpoint for aggregated health KPIs - Refactor ringkasan-kesehatan admin page to dashboard-style UI - Update sidebar with Ibu Hamil and Balita entries - Fix type errors and icon exports in admin UI - Bump version to 0.1.52
This commit is contained in:
@@ -171,6 +171,16 @@ export const devBar = [
|
||||
id: "Kesehatan_8",
|
||||
name: "Ringkasan Kesehatan",
|
||||
path: "/admin/kesehatan/ringkasan-kesehatan"
|
||||
},
|
||||
{
|
||||
id: "Kesehatan_9",
|
||||
name: "Ibu Hamil",
|
||||
path: "/admin/kesehatan/ibu-hamil"
|
||||
},
|
||||
{
|
||||
id: "Kesehatan_10",
|
||||
name: "Balita",
|
||||
path: "/admin/kesehatan/balita"
|
||||
}
|
||||
]
|
||||
},
|
||||
@@ -612,6 +622,16 @@ export const navBar = [
|
||||
id: "Kesehatan_8",
|
||||
name: "Ringkasan Kesehatan",
|
||||
path: "/admin/kesehatan/ringkasan-kesehatan"
|
||||
},
|
||||
{
|
||||
id: "Kesehatan_9",
|
||||
name: "Ibu Hamil",
|
||||
path: "/admin/kesehatan/ibu-hamil"
|
||||
},
|
||||
{
|
||||
id: "Kesehatan_10",
|
||||
name: "Balita",
|
||||
path: "/admin/kesehatan/balita"
|
||||
}
|
||||
]
|
||||
},
|
||||
@@ -1287,6 +1307,16 @@ export const role2 = [
|
||||
id: "Kesehatan_8",
|
||||
name: "Ringkasan Kesehatan",
|
||||
path: "/admin/kesehatan/ringkasan-kesehatan"
|
||||
},
|
||||
{
|
||||
id: "Kesehatan_9",
|
||||
name: "Ibu Hamil",
|
||||
path: "/admin/kesehatan/ibu-hamil"
|
||||
},
|
||||
{
|
||||
id: "Kesehatan_10",
|
||||
name: "Balita",
|
||||
path: "/admin/kesehatan/balita"
|
||||
}
|
||||
]
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user