backend integration started
This commit is contained in:
@@ -7,7 +7,7 @@ import { HStack } from '@astryxdesign/core/HStack';
|
||||
import { Table, type TableColumn } from '@astryxdesign/core/Table';
|
||||
import { Text } from '@astryxdesign/core/Text';
|
||||
import { VStack } from '@astryxdesign/core/VStack';
|
||||
import { IndianRupee, PackageCheck, ShoppingCart, Store, TriangleAlert } from 'lucide-react';
|
||||
import { IndianRupee, ShoppingCart, Store, TriangleAlert } from 'lucide-react';
|
||||
import { DataState } from '@/components/DataState';
|
||||
import { Freshness } from '@/components/Freshness';
|
||||
import { KpiCard } from '@/components/KpiCard';
|
||||
@@ -226,13 +226,13 @@ export function StoreDetailPage() {
|
||||
icon={<TriangleAlert size={15} />}
|
||||
fill={totals.totalOrders ? totals.cancelled / totals.totalOrders : 0}
|
||||
/>
|
||||
<KpiCard
|
||||
label="Catalogue"
|
||||
value={tenant ? 'Linked' : '—'}
|
||||
note="stocked per branch"
|
||||
tone="neutral"
|
||||
icon={<PackageCheck size={15} />}
|
||||
/>
|
||||
{/* No "Catalogue — Linked" tile.
|
||||
|
||||
It read `tenant ? 'Linked' : '—'`, so it said Linked whenever a
|
||||
tenant row came back at all — it described the tenant existing, not
|
||||
the catalogue. `products/getimportedcatalogueproducts` could give a
|
||||
real imported count here; until something calls it, a tile that is
|
||||
always green is worse than no tile. */}
|
||||
</div>
|
||||
|
||||
<VStack gap={1.5}>
|
||||
|
||||
Reference in New Issue
Block a user