Improve the dahboard with the weather info
This commit is contained in:
@@ -20,6 +20,7 @@ import OrdersPage from '../pages/orders/OrdersPage';
|
||||
import InventoryPage from '../pages/inventory/InventoryPage';
|
||||
import SalesPage from '../pages/sales/SalesPage';
|
||||
import RecipesPage from '../pages/recipes/RecipesPage';
|
||||
import POSPage from '../pages/pos/POSPage';
|
||||
|
||||
// Analytics Hub Pages
|
||||
import AnalyticsLayout from '../components/layout/AnalyticsLayout';
|
||||
@@ -177,10 +178,27 @@ export const router = createBrowserRouter([
|
||||
{
|
||||
path: 'customer-orders',
|
||||
element: <SalesPage view="customer-orders" />
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
path: 'pos',
|
||||
children: [
|
||||
{
|
||||
index: true,
|
||||
element: <POSPage />
|
||||
},
|
||||
{
|
||||
path: 'pos-integration',
|
||||
element: <SalesPage view="pos-integration" />
|
||||
path: 'integrations',
|
||||
element: <POSPage view="integrations" />
|
||||
},
|
||||
{
|
||||
path: 'sync-status',
|
||||
element: <POSPage view="sync-status" />
|
||||
},
|
||||
{
|
||||
path: 'transactions',
|
||||
element: <POSPage view="transactions" />
|
||||
}
|
||||
]
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user