diff --git a/frontend/app/inventory/page.tsx b/frontend/app/inventory/page.tsx index f1ed07e0..eee0da47 100644 --- a/frontend/app/inventory/page.tsx +++ b/frontend/app/inventory/page.tsx @@ -5,16 +5,17 @@ import { db, Item } from '@/lib/db'; import { inventoryApi } from '@/lib/api'; import PageShell from '@/components/PageShell'; import Scanner from '@/components/Scanner'; +import StatCard from '@/components/StatCard'; import { toast } from 'react-hot-toast'; -import { - Package, - ChevronRight, - ChevronDown, - BarChart3, - Layers, - Plus, - Minus, - Trash2, +import { + Package, + ChevronRight, + ChevronDown, + BarChart3, + Layers, + Plus, + Minus, + Trash2, X, AlertTriangle, Tag, @@ -23,7 +24,8 @@ import { Layout, Printer, Download, - Search + Search, + Box } from 'lucide-react'; import { generateBarcode128, getQRCodeURL } from '@/lib/labels'; import { clsx, type ClassValue } from 'clsx'; @@ -266,21 +268,21 @@ export default function InventoryPage() {
{/* Stats Dashboard */}
-
- -

Categories

-

{stats?.total_categories || categories.length}

-
-
- -

Item Types

-

{stats?.total_items || inventory.length}

-
-
- -

Total Boxes

-

{existingBoxes.length}

-
+ + +
{/* Search */}