+
-
+
{{ label }}
+
+ :
+
-
- :
+
diff --git a/app/pages/(features)/treatment-report/[id]/edit.vue b/app/pages/(features)/treatment-report/[id]/edit.vue
new file mode 100644
index 00000000..c9dd8686
--- /dev/null
+++ b/app/pages/(features)/treatment-report/[id]/edit.vue
@@ -0,0 +1,46 @@
+
+
+
+
+
+
+
+
+
diff --git a/app/pages/(features)/treatment-report/[id]/index.vue b/app/pages/(features)/treatment-report/[id]/index.vue
new file mode 100644
index 00000000..43f5f6c3
--- /dev/null
+++ b/app/pages/(features)/treatment-report/[id]/index.vue
@@ -0,0 +1,44 @@
+
+
+
+
+
+
+
+
diff --git a/app/pages/(features)/treatment-report/add.vue b/app/pages/(features)/treatment-report/add.vue
index 072a1af3..e29a77cf 100644
--- a/app/pages/(features)/treatment-report/add.vue
+++ b/app/pages/(features)/treatment-report/add.vue
@@ -6,7 +6,7 @@ import { PAGE_PERMISSIONS } from '~/lib/page-permission'
definePageMeta({
middleware: ['rbac'],
roles: ['doctor', 'nurse', 'admisi', 'pharmacy', 'billing', 'management'],
- title: 'Tambah Laporan',
+ title: 'Tambah Laporan Tindakan',
contentFrame: 'cf-container-2xl',
})
diff --git a/app/schemas/treatment-report.schema.ts b/app/schemas/treatment-report.schema.ts
index 02d60820..02b0076a 100644
--- a/app/schemas/treatment-report.schema.ts
+++ b/app/schemas/treatment-report.schema.ts
@@ -7,7 +7,6 @@ const isoDateTime = z
const date = new Date(val)
return !isNaN(date.getTime())
}, 'Format tanggal / waktu tidak valid')
- .transform((val) => new Date(val).toISOString())
const positiveInt = z.coerce.number().int().nonnegative()
@@ -34,7 +33,7 @@ const OperatorTeamSchema = z.object({
})
const ProcedureSchema = z.object({
- id: z.number().int().optional(),
+ id: z.number().int(),
name: z.string().min(1),
code: z.string().min(1),
})