Improve the dahboard with the weather info

This commit is contained in:
Urtzi Alfaro
2025-08-18 13:36:37 +02:00
parent 355c0080cc
commit afca94dadd
12 changed files with 747 additions and 302 deletions

View File

@@ -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" />
}
]
},