Skip to content

Commit

Permalink
update(OH2-436): Rename 'Pharmacy' flag to 'Has Pharmacy''
Browse files Browse the repository at this point in the history
  • Loading branch information
SteveGT96 committed Nov 22, 2024
1 parent 6f712f3 commit 2521c9f
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -255,7 +255,7 @@ const WardForm: FC<IWardProps> = ({
<CheckboxField
fieldName={"pharmacy"}
checked={formik.values.pharmacy === "true"}
label={t("ward.pharmacy")}
label={t("ward.hasPharmacy")}
onChange={handleCheckboxChange("pharmacy")}
/>
</div>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ export const WardTable: FunctionComponent<IOwnProps> = ({
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"),
Expand All @@ -48,7 +48,7 @@ export const WardTable: FunctionComponent<IOwnProps> = ({
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" },
Expand Down
1 change: 1 addition & 0 deletions src/resources/i18n/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -1128,6 +1128,7 @@
"nurs": "Nurses",
"docs": "Doctors",
"pharmacy": "Pharmacy",
"hasPharmacy": "Has Pharmacy",
"male": "Male",
"female": "Female",
"telephone": "Telephone",
Expand Down

0 comments on commit 2521c9f

Please sign in to comment.