From 0d32ce61cbfc3f00b7c4280d2af222f8cb3f7f05 Mon Sep 17 00:00:00 2001 From: Keannu Bernasol Date: Fri, 5 Jan 2024 19:27:42 +0800 Subject: [PATCH] Added item tally page for technician --- src/App.tsx | 12 + .../Technician/TechnicianLogButtons.tsx | 32 +++ .../EquipmentTallyPage/EquipmentTallyPage.tsx | 216 ++++++++++++++++++ 3 files changed, 260 insertions(+) create mode 100644 src/Pages/EquipmentTallyPage/EquipmentTallyPage.tsx diff --git a/src/App.tsx b/src/App.tsx index bcb12a2..1c9d477 100644 --- a/src/App.tsx +++ b/src/App.tsx @@ -20,6 +20,7 @@ import RestrictedPage from "./Components/RestrictedPage/RestrictedPage"; import TransactionsListPage from "./Pages/TransactionsListPage/TransactionsListPage"; import AddTransactionPage from "./Pages/AddTransactionPage/AddTransactionPage"; import TransactionPage from "./Pages/TransactionPage/TransactionPage"; +import EquipmentInstanceTallyPage from "./Pages/EquipmentTallyPage/EquipmentTallyPage"; const queryClient = new QueryClient(); const router = createHashRouter([ @@ -54,6 +55,17 @@ const router = createHashRouter([ ), errorElement: , }, + { + path: "/view/equipments/tally", + element: ( + <> + + + + + ), + errorElement: , + }, { path: "/view/equipment_instances/filter/:filter_by", element: ( diff --git a/src/Components/DashboardPage/Technician/TechnicianLogButtons.tsx b/src/Components/DashboardPage/Technician/TechnicianLogButtons.tsx index 2b7d4cf..fc52813 100644 --- a/src/Components/DashboardPage/Technician/TechnicianLogButtons.tsx +++ b/src/Components/DashboardPage/Technician/TechnicianLogButtons.tsx @@ -1,6 +1,7 @@ import { Button } from "@mui/material"; import { useNavigate } from "react-router-dom"; import ManageSearchIcon from "@mui/icons-material/ManageSearch"; +import CountertopsIcon from "@mui/icons-material/Countertops"; import styles from "../../../styles"; import { colors } from "../../../styles"; @@ -57,6 +58,37 @@ export default function TechnicianLogButtons() { SKU Logs

+