From 34a75e64f6e7253fd9a32892242f951e0994616d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cau=C3=AA=20Faleiros?= Date: Wed, 8 Jul 2026 14:43:18 -0300 Subject: [PATCH] Link replenishment groups to group details --- src/pages/Replenishment.tsx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/pages/Replenishment.tsx b/src/pages/Replenishment.tsx index e28a3d2..07141ad 100644 --- a/src/pages/Replenishment.tsx +++ b/src/pages/Replenishment.tsx @@ -7,7 +7,7 @@ import RefreshStatus from '../components/RefreshStatus'; import { buildOpenProductionByProductId } from '../analytics/cutting'; import type { DateRange, ProductAnalyticsItem, ProductionOrderItem } from '../types'; import { exportToCSV, fetchProductAnalytics, fetchProductionOrders } from '../dataService'; -import { parseProductName, sortProductSizes } from '../productParsing'; +import { encodeProductGroupKey, parseProductName, sortProductSizes } from '../productParsing'; type ReplenishmentStatus = 'need' | 'covered' | 'no_sales' | 'no_stock'; type ReplenishmentFilter = 'all' | ReplenishmentStatus; @@ -568,10 +568,10 @@ const Replenishment = () => { {formatDays(row.daysOfCover)} - {viewMode === 'group' ? 'Ver lĂ­der' : 'Ver produto'} + {viewMode === 'group' ? 'Ver grupo' : 'Ver produto'}