From 5d697f8f8a6330a6822f09188905f6cc131308f1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cau=C3=AA=20Faleiros?= Date: Thu, 27 Aug 2026 14:16:45 -0300 Subject: [PATCH] Consolidate production flow under supplies --- src/components/Layout.tsx | 2 -- src/pages/Supplies.tsx | 7 ++++--- 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/src/components/Layout.tsx b/src/components/Layout.tsx index 4f2f80d..ba422b0 100644 --- a/src/components/Layout.tsx +++ b/src/components/Layout.tsx @@ -81,8 +81,6 @@ const Layout = () => { { name: 'Dados Pendentes', href: '/planning-issues', icon: ClipboardList }, { name: 'Cadastros', href: '/registrations', icon: Tags }, { name: 'Suprimentos', href: '/supplies', icon: Boxes }, - { name: 'Planos de Produção', href: '/production-plans', icon: ClipboardList }, - { name: 'Ordens de Produção', href: '/production-orders', icon: Package }, ], }, { diff --git a/src/pages/Supplies.tsx b/src/pages/Supplies.tsx index 9f7cd72..1f6d954 100644 --- a/src/pages/Supplies.tsx +++ b/src/pages/Supplies.tsx @@ -401,10 +401,11 @@ const SuppliesHub = () => {

Fluxo operacional

Da necessidade de material até a produção acompanhada.

-
+
0 ? '/supplies/purchase-needs?tab=materials&filter=to_buy' : '/supplies/purchase-needs?tab=materials&filter=all'} tone={materialPurchaseNeeds.length > 0 ? 'attention' : 'ready'} meta={materialPurchaseNeeds.length > 0 ? `${formatNumber(materialPurchaseNeeds.length, 0)} materiais para comprar` : 'Materiais cobertos'} /> - - 0 ? 'ready' : 'default'} meta={activeProductionCount > 0 ? `${formatNumber(productionCounts.open, 0)} abertas · ${formatNumber(productionCounts.inProgress, 0)} em andamento` : 'Nenhuma OP em execução'} /> + + + 0 ? 'ready' : 'default'} meta={activeProductionCount > 0 ? `${formatNumber(productionCounts.open, 0)} abertas · ${formatNumber(productionCounts.inProgress, 0)} em andamento` : 'Nenhuma OP em execução'} />