From 5987b7173d5314a6ccf72849bf604e212b6054ae Mon Sep 17 00:00:00 2001 From: Matt Date: Fri, 17 Jan 2025 21:46:46 -0500 Subject: [PATCH] Update topreplenishproducts component --- .../src/components/dashboard/TopReplenishProducts.tsx | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/inventory/src/components/dashboard/TopReplenishProducts.tsx b/inventory/src/components/dashboard/TopReplenishProducts.tsx index ad8afd5..9597596 100644 --- a/inventory/src/components/dashboard/TopReplenishProducts.tsx +++ b/inventory/src/components/dashboard/TopReplenishProducts.tsx @@ -13,7 +13,6 @@ interface ReplenishProduct { replenish_qty: number replenish_cost: number replenish_retail: number - days_until_stockout: number | null } export function TopReplenishProducts() { @@ -39,10 +38,10 @@ export function TopReplenishProducts() { Product - Current + Stock Replenish Cost - Days + Retail @@ -64,7 +63,7 @@ export function TopReplenishProducts() { {formatCurrency(product.replenish_cost)} - {product.days_until_stockout ?? "N/A"} + {formatCurrency(product.replenish_retail)} ))}