diff --git a/app/components/inventory/LowStockDashboard.vue b/app/components/inventory/LowStockDashboard.vue
new file mode 100644
index 0000000..0d4e9c4
--- /dev/null
+++ b/app/components/inventory/LowStockDashboard.vue
@@ -0,0 +1,110 @@
+
+
+
+
+
+
+
Low Stock Items
+
+
+ {{ lowStockItems.length }}
+
+
+
+
+
+
+
+
{{ item.name }}
+
+
+ {{ item.quantity }}/{{ item.low_stock_threshold }} {{ item.unit?.abbreviation }}
+
+
+ {{ getUrgencyText(item) }}
+
+
+
+
+
+
+ Restock
+
+
+
+
+
+
+ {{ expanded ? 'Show Less' : `Show ${lowStockItems.length - maxDisplay} More` }}
+
+
+
+
+
+
diff --git a/app/pages/index.vue b/app/pages/index.vue
index d71f6e2..9cf9103 100644
--- a/app/pages/index.vue
+++ b/app/pages/index.vue
@@ -83,12 +83,20 @@
@updated="handleItemUpdated"
/>
-
-
+
+
+
+
+
+
@@ -169,4 +177,9 @@ const handleItemUpdated = async (item: any) => {
inventoryListRef.value?.reload()
await loadInventoryData()
}
+
+const handleRestockFromDashboard = (item: any) => {
+ // Open edit modal with the item (user can use Restock button there)
+ editingItem.value = item
+}