dispatch testing

This commit is contained in:
2026-07-20 18:54:09 +05:30
parent 6b154997fb
commit 407574d62a
11 changed files with 663 additions and 518 deletions

View File

@@ -595,26 +595,22 @@ export default function App() {
? (summaryQ.data?.tenantname ? `${summaryQ.data.tenantname} Admin` : 'Admin Console')
: currentSection === 'inventory'
? 'Products'
: currentSection === 'catalogue'
? 'Global Catalogue'
: currentSection === 'dispatch'
? 'Console'
: currentSection.charAt(0).toUpperCase() + currentSection.slice(1),
: currentSection === 'dispatch'
? 'Console'
: currentSection.charAt(0).toUpperCase() + currentSection.slice(1),
icon: currentSection === 'dashboard'
? LayoutDashboard
: currentSection === 'inventory'
? Layers
: currentSection === 'catalogue'
? Box
: currentSection === 'stores'
? Store
: currentSection === 'reports'
? TrendingUp
: currentSection === 'settings'
? Settings
: currentSection === 'dispatch'
? Truck
: undefined
: currentSection === 'stores'
? Store
: currentSection === 'reports'
? TrendingUp
: currentSection === 'settings'
? Settings
: currentSection === 'dispatch'
? Truck
: undefined
}}
/>
@@ -657,12 +653,7 @@ export default function App() {
/>
} />
<Route path="catalogue" element={
<CatalogueBrowser
tenantid={tenantId}
locationid={FIESTA_PRIMARY_LOCATION_ID}
/>
} />
<Route path="catalogue" element={<Navigate to="/admin/inventory" replace />} />
<Route path="reports" element={
<ReportsView