Add routes for OrderItems and Shipments in InventoryRoutes
- Introduced new routes for OrderItems and OrderItemInfo components. - Added routes for Shipments and ShipmentInfo components to enhance inventory management functionality.
This commit is contained in:
parent
f24bc27e2c
commit
8b481a9617
@ -9,6 +9,10 @@ import StockAudits from '../components/Dashboard/Inventory/StockAudits.jsx'
|
|||||||
import StockAuditInfo from '../components/Dashboard/Inventory/StockAudits/StockAuditInfo.jsx'
|
import StockAuditInfo from '../components/Dashboard/Inventory/StockAudits/StockAuditInfo.jsx'
|
||||||
import PurchaseOrders from '../components/Dashboard/Inventory/PurchaseOrders.jsx'
|
import PurchaseOrders from '../components/Dashboard/Inventory/PurchaseOrders.jsx'
|
||||||
import PurchaseOrderInfo from '../components/Dashboard/Inventory/PurchaseOrders/PurchaseOrderInfo.jsx'
|
import PurchaseOrderInfo from '../components/Dashboard/Inventory/PurchaseOrders/PurchaseOrderInfo.jsx'
|
||||||
|
import OrderItems from '../components/Dashboard/Inventory/OrderItems.jsx'
|
||||||
|
import OrderItemInfo from '../components/Dashboard/Inventory/OrderItems/OrderItemInfo.jsx'
|
||||||
|
import Shipments from '../components/Dashboard/Inventory/Shipments.jsx'
|
||||||
|
import ShipmentInfo from '../components/Dashboard/Inventory/Shipments/ShipmentInfo.jsx'
|
||||||
|
|
||||||
const InventoryRoutes = [
|
const InventoryRoutes = [
|
||||||
<Route
|
<Route
|
||||||
@ -55,6 +59,22 @@ const InventoryRoutes = [
|
|||||||
key='purchaseorders-info'
|
key='purchaseorders-info'
|
||||||
path='inventory/purchaseorders/info'
|
path='inventory/purchaseorders/info'
|
||||||
element={<PurchaseOrderInfo />}
|
element={<PurchaseOrderInfo />}
|
||||||
|
/>,
|
||||||
|
<Route
|
||||||
|
key='orderitems'
|
||||||
|
path='inventory/orderitems'
|
||||||
|
element={<OrderItems />}
|
||||||
|
/>,
|
||||||
|
<Route
|
||||||
|
key='orderitems-info'
|
||||||
|
path='inventory/orderitems/info'
|
||||||
|
element={<OrderItemInfo />}
|
||||||
|
/>,
|
||||||
|
<Route key='shipments' path='inventory/shipments' element={<Shipments />} />,
|
||||||
|
<Route
|
||||||
|
key='shipments-info'
|
||||||
|
path='inventory/shipments/info'
|
||||||
|
element={<ShipmentInfo />}
|
||||||
/>
|
/>
|
||||||
]
|
]
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user