+
+
{
+ const { data } = await request(
+ routes.downloadResourceRequests,
+ {
+ query: { ...appliedFilters, csv: true },
+ },
+ );
+ return data ?? null;
+ }}
+ filenamePrefix="resource_requests"
+ />
+ }
+ breadcrumbs={false}
+ />
+
+
+
+
updateQuery({ [e.name]: e.value })}
+ placeholder={t("search_resource")}
+ className="w-full md:w-60"
+ />
-
-
+
@@ -282,6 +292,6 @@ export default function ListView() {
showResourceStatus={true}
key={window.location.search}
/>
-
+
);
}
diff --git a/src/components/Shifting/ShiftingBoard.tsx b/src/components/Shifting/ShiftingBoard.tsx
index cd9f4300fd4..068820d3311 100644
--- a/src/components/Shifting/ShiftingBoard.tsx
+++ b/src/components/Shifting/ShiftingBoard.tsx
@@ -124,7 +124,11 @@ export default function BoardView() {
/>
-
+
{t("list_view")}
diff --git a/src/components/Shifting/ShiftingList.tsx b/src/components/Shifting/ShiftingList.tsx
index 3bf071f1cc2..e9051b1449b 100644
--- a/src/components/Shifting/ShiftingList.tsx
+++ b/src/components/Shifting/ShiftingList.tsx
@@ -8,7 +8,7 @@ import { Button } from "@/components/ui/button";
import { ExportButton } from "@/components/Common/Export";
import Loading from "@/components/Common/Loading";
-import Page from "@/components/Common/Page";
+import PageTitle from "@/components/Common/PageTitle";
import SearchInput from "@/components/Form/SearchInput";
import BadgesList from "@/components/Shifting/ShiftingBadges";
import { formatFilter } from "@/components/Shifting/ShiftingCommons";
@@ -49,46 +49,52 @@ export default function ListView() {
});
return (
- {
- const { data } = await request(routes.downloadShiftRequests, {
- query: { ...formatFilter(qParams), csv: true },
- });
- return data ?? null;
- }}
- filenamePrefix="shift_requests"
- />
- }
- breadcrumbs={false}
- options={
- <>
-
+
+
+
+
{
+ const { data } = await request(routes.downloadShiftRequests, {
+ query: { ...formatFilter(qParams), csv: true },
+ });
+ return data ?? null;
+ }}
+ filenamePrefix="shift_requests"
+ />
+ }
+ breadcrumbs={false}
+ />
+
+
+
updateQuery({ [e.name]: e.value })}
+ placeholder={t("search_patient")}
+ className="w-full md:w-60"
+ />
-
- updateQuery({ [e.name]: e.value })}
- placeholder={t("search_patient")}
- />
-
-
-
-
-
+
+
+
{t("board_view")}
advancedFilter.setShow(true)}
/>
- >
- }
- >
+
+
+
@@ -121,6 +127,6 @@ export default function ListView() {
{...advancedFilter}
key={window.location.search}
/>
-
+
);
}