diff --git a/public/locale/en.json b/public/locale/en.json index 794d07c5993..5df70ced084 100644 --- a/public/locale/en.json +++ b/public/locale/en.json @@ -1072,6 +1072,7 @@ "immunisation-records": "Immunisation", "in_consultation": "In-Consultation", "inactive": "Inactive", + "incoming": "Incoming", "incomplete_patient_details_warning": "Patient details are incomplete. Please update the details before proceeding.", "inconsistent_dosage_units_error": "Dosage units must be same", "indian_mobile": "Indian Mobile", @@ -1439,6 +1440,7 @@ "otp_verification_error": "Failed to verify OTP. Please try again later.", "otp_verification_success": "OTP has been verified successfully.", "out_of_range_error": "Value must be between {{ start }} and {{ end }}.", + "outgoing": "Outgoing", "overview": "Overview", "oxygen_information": "Oxygen Information", "packages": "Packages", diff --git a/src/Routers/routes/ResourceRoutes.tsx b/src/Routers/routes/ResourceRoutes.tsx index 74d96ba622b..56172198879 100644 --- a/src/Routers/routes/ResourceRoutes.tsx +++ b/src/Routers/routes/ResourceRoutes.tsx @@ -5,9 +5,15 @@ import ResourceList from "@/components/Resource/ResourceList"; import { AppRoutes } from "@/Routers/AppRouter"; const ResourceRoutes: AppRoutes = { - "/resource": () => , - "/resource/:id": ({ id }) => , - "/resource/:id/update": ({ id }) => , + "/facility/:facilityId/resource": ({ facilityId }) => ( + + ), + "/facility/:facilityId/resource/:id": ({ facilityId, id }) => ( + + ), + "/facility/:facilityId/resource/:id/update": ({ facilityId, id }) => ( + + ), }; export default ResourceRoutes; diff --git a/src/components/Patient/PatientDetailsTab/ResourceRequests.tsx b/src/components/Patient/PatientDetailsTab/ResourceRequests.tsx index 0df4ec5b404..19c2cfe6586 100644 --- a/src/components/Patient/PatientDetailsTab/ResourceRequests.tsx +++ b/src/components/Patient/PatientDetailsTab/ResourceRequests.tsx @@ -112,7 +112,11 @@ export const ResourceRequests = (props: PatientProps) => {