Browse Source

new PO testing

MergeProblem1
kelvin.yau 4 days ago
parent
commit
691bce388f
3 changed files with 24 additions and 0 deletions
  1. +22
    -0
      src/app/(main)/po/workbench/page.tsx
  2. +1
    -0
      src/components/Breadcrumb/Breadcrumb.tsx
  3. +1
    -0
      src/routes.ts

+ 22
- 0
src/app/(main)/po/workbench/page.tsx View File

@@ -0,0 +1,22 @@
"use client";

import Box from "@mui/material/Box";
import Typography from "@mui/material/Typography";

/**
* Dev / R&D sandbox for Purchase Order. Not listed in NavigationContent — open via /po/workbench only.
* Later: call APIs with clientAuthFetch + NEXT_PUBLIC_API_URL like src/app/(main)/testing/page.tsx.
*/
export default function PoWorkbenchPage() {
return (
<Box sx={{ p: 4 }}>
<Typography variant="h5" gutterBottom fontWeight="bold">
PO Workbench
</Typography>
<Typography color="text.secondary">
Empty page. This route is intentionally omitted from the navigation bar.
</Typography>
</Box>
);
}


+ 1
- 0
src/components/Breadcrumb/Breadcrumb.tsx View File

@@ -38,6 +38,7 @@ const pathToLabelMap: { [path: string]: string } = {
"/do": "Delivery Order",
"/pickOrder": "Pick Order",
"/po": "Purchase Order",
"/po/workbench": "PO Workbench",
"/dashboard": "dashboard",
"/jo": "Job Order",
"/jo/edit": "Edit Job Order",


+ 1
- 0
src/routes.ts View File

@@ -3,6 +3,7 @@ export const PRIVATE_ROUTES = [
"/dashboard",
"/testing",
"/jo/testing",
"/po/workbench",
"/ps",
"/bagPrint",
"/report",


Loading…
Cancel
Save