Skip to content

Commit

Permalink
expired on to Time of death
Browse files Browse the repository at this point in the history
  • Loading branch information
modamaan committed Mar 6, 2025
1 parent 7f524c3 commit 08852be
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion public/locale/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -1085,7 +1085,6 @@
"expiration_date": "Expiration Date",
"expiration_date_must_be_after_manufacture_date": "Expiration date must be after manufacture date",
"expired": "Expired",
"expired_on": "Expired On",
"expires": "Expires",
"expires_on": "Expires On",
"export": "Export",
Expand Down Expand Up @@ -2325,6 +2324,7 @@
"this_will_permanently_remove_the_session_and_cannot_be_undone": "This will permanently remove the session and cannot be undone",
"thread_already_exists": "Thread with this title already exists",
"time": "Time",
"time_of_death": "Time of death",
"time_slot": "Time Slot",
"title": "Title",
"title_of_request": "Title of Request",
Expand Down
2 changes: 1 addition & 1 deletion src/components/Patient/PatientHome.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ export const PatientHome = (props: {
className="border-2 border-red-700 bg-red-100 text-red-800 hover:bg-red-200 hover:text-red-900"
>
<h3 className="text-sm font-medium">
{t("expired_on")}
{t("time_of_death")}
{": "}
{dayjs(patientData.death_datetime).format(
"DD MMM YYYY, hh:mm A",
Expand Down
4 changes: 2 additions & 2 deletions src/components/Patient/PatientInfoCard.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ export default function PatientInfoCard(props: PatientInfoCardProps) {
className="border-2 border-red-700 bg-red-100 text-red-800 hover:bg-red-200 hover:text-red-900"
>
<h3 className="text-sm font-medium">
{t("expired_on")}
{t("time_of_death")}
{": "}
{dayjs(patient.death_datetime).format(
"DD MMM YYYY, hh:mm A",
Expand Down Expand Up @@ -179,7 +179,7 @@ export default function PatientInfoCard(props: PatientInfoCardProps) {
className="border-2 border-red-700 bg-red-100 text-red-800 hover:bg-red-200 hover:text-red-900"
>
<h3 className="text-sm font-medium">
{t("expired_on")}
{t("time_of_death")}
{": "}
{dayjs(patient.death_datetime).format(
"DD MMM YYYY, hh:mm A",
Expand Down

0 comments on commit 08852be

Please sign in to comment.