From 2521c9f8dd67ec9dca7c8da324d4a3b72b41b17b Mon Sep 17 00:00:00 2001 From: SteveGT96 Date: Fri, 22 Nov 2024 16:56:41 +0100 Subject: [PATCH] update(OH2-436): Rename 'Pharmacy' flag to 'Has Pharmacy'' --- src/components/accessories/admin/wards/wardForm/WardForm.tsx | 2 +- .../accessories/admin/wards/wardTable/WardTable.tsx | 4 ++-- src/resources/i18n/en.json | 1 + 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/src/components/accessories/admin/wards/wardForm/WardForm.tsx b/src/components/accessories/admin/wards/wardForm/WardForm.tsx index f1773af1a..82a332213 100644 --- a/src/components/accessories/admin/wards/wardForm/WardForm.tsx +++ b/src/components/accessories/admin/wards/wardForm/WardForm.tsx @@ -255,7 +255,7 @@ const WardForm: FC = ({ diff --git a/src/components/accessories/admin/wards/wardTable/WardTable.tsx b/src/components/accessories/admin/wards/wardTable/WardTable.tsx index 5871cb9da..2606c45fc 100644 --- a/src/components/accessories/admin/wards/wardTable/WardTable.tsx +++ b/src/components/accessories/admin/wards/wardTable/WardTable.tsx @@ -36,7 +36,7 @@ export const WardTable: FunctionComponent = ({ opd: t("ward.opd"), male: t("ward.male"), female: t("ward.female"), - pharmacy: t("ward.pharmacy"), + pharmacy: t("ward.hasPharmacy"), beds: t("ward.beds"), nurs: t("ward.nurs"), docs: t("ward.docs"), @@ -48,7 +48,7 @@ export const WardTable: FunctionComponent = ({ const order = ["code", "description", "beds", "nurs", "docs"]; const filters: TFilterField[] = [ - { key: "pharmacy", label: t("ward.pharmacy"), type: "boolean" }, + { key: "pharmacy", label: t("ward.hasPharmacy"), type: "boolean" }, { key: "male", label: t("ward.male"), type: "boolean" }, { key: "female", label: t("ward.female"), type: "boolean" }, { key: "opd", label: t("ward.opd"), type: "boolean" }, diff --git a/src/resources/i18n/en.json b/src/resources/i18n/en.json index 66646540d..bfdba9d71 100644 --- a/src/resources/i18n/en.json +++ b/src/resources/i18n/en.json @@ -1128,6 +1128,7 @@ "nurs": "Nurses", "docs": "Doctors", "pharmacy": "Pharmacy", + "hasPharmacy": "Has Pharmacy", "male": "Male", "female": "Female", "telephone": "Telephone",