diff --git a/app/components/inventory/ExpiryDashboard.vue b/app/components/inventory/ExpiryDashboard.vue new file mode 100644 index 0000000..88d639a --- /dev/null +++ b/app/components/inventory/ExpiryDashboard.vue @@ -0,0 +1,130 @@ + + + + + + + Items Expiring Soon + + + {{ expiringItems.length }} + + + + + + + + {{ item.name }} + + + {{ getExpiryText(item) }} + + + {{ item.quantity }} {{ item.unit?.abbreviation }} + + + + + + + + + {{ expanded ? 'Show Less' : `Show ${expiringItems.length - maxDisplay} More` }} + + + + + +
{{ item.name }}