From cd57dc62436c3d13534396c51d38cc40f571dde5 Mon Sep 17 00:00:00 2001 From: Khafid Prayoga Date: Mon, 24 Nov 2025 12:03:53 +0700 Subject: [PATCH] refactor(patient): rename entry component to add and clean up form error props Remove FormErrors type imports and error props from all form components Move content from entry.vue to add.vue with updated title styling --- app/components/app/patient/entry-form.vue | 23 -- .../person-address/entry-form-relative.vue | 10 +- .../app/person-address/entry-form.vue | 5 - .../app/person-contact/entry-form.vue | 2 - .../app/person-relative/entry-form.vue | 6 - .../app/person/family-parents-form.vue | 5 - app/components/content/patient/add.vue | 323 +++++++++++++++++- app/components/content/patient/entry.vue | 309 ----------------- app/pages/(features)/client/patient/add.vue | 2 +- 9 files changed, 320 insertions(+), 365 deletions(-) delete mode 100644 app/components/content/patient/entry.vue diff --git a/app/components/app/patient/entry-form.vue b/app/components/app/patient/entry-form.vue index 55efeadb..f6f347a2 100644 --- a/app/components/app/patient/entry-form.vue +++ b/app/components/app/patient/entry-form.vue @@ -1,5 +1,4 @@ + + + diff --git a/app/components/content/patient/entry.vue b/app/components/content/patient/entry.vue deleted file mode 100644 index 2eed6df5..00000000 --- a/app/components/content/patient/entry.vue +++ /dev/null @@ -1,309 +0,0 @@ - - - - - diff --git a/app/pages/(features)/client/patient/add.vue b/app/pages/(features)/client/patient/add.vue index ca4615e2..63efdefd 100644 --- a/app/pages/(features)/client/patient/add.vue +++ b/app/pages/(features)/client/patient/add.vue @@ -34,7 +34,7 @@ const callbackUrl = route.query['return-path'] as string | undefined