diff --git a/src/pages/Supplies.tsx b/src/pages/Supplies.tsx index 09b977d..fb2437d 100644 --- a/src/pages/Supplies.tsx +++ b/src/pages/Supplies.tsx @@ -16,7 +16,6 @@ import { Ruler, Search, Scissors, - ShoppingCart, Truck, Warehouse, } from 'lucide-react'; @@ -25,7 +24,6 @@ type InventoryTab = 'dashboard' | 'balance' | 'receipts' | 'inventory' | 'moveme const pageClassName = 'mx-auto flex w-full max-w-7xl flex-col gap-6'; const panelClassName = 'rounded-2xl border border-dark-border bg-dark-card shadow-sm'; -const mutedPanelClassName = 'rounded-2xl border border-dark-border bg-dark-card/70 shadow-sm'; const buttonClassName = 'inline-flex h-10 items-center justify-center gap-2 rounded-lg border border-dark-border bg-dark-input px-3 text-sm font-bold text-dark-text transition-colors hover:border-brand-primary cursor-pointer'; const inputClassName = 'h-10 w-full rounded-lg border border-dark-border bg-dark-input px-3 text-sm font-semibold text-dark-text outline-none placeholder:text-dark-muted focus:border-brand-primary'; const emptyStateClassName = 'flex min-h-[190px] flex-col items-center justify-center gap-2 px-4 py-10 text-center'; @@ -74,44 +72,24 @@ const ModuleCard = ({ description, icon: Icon, to, - disabled, }: { title: string; description: string; icon: typeof Package; - to?: string; - disabled?: boolean; + to: string; }) => { - const content = ( - <> + return ( +

{title}

- {disabled ? ( - Em breve - ) : ( - - )} +

{description}

- - ); - - if (disabled || !to) { - return ( -
- {content} -
- ); - } - - return ( - - {content} ); }; @@ -123,10 +101,7 @@ const SuppliesHub = () => ( - - - ); @@ -145,21 +120,12 @@ const StatGrid = () => ( const InventoryDashboard = () => (
-
-

Por categoria de material

-
- {[ - { title: 'Malha / Tecido', icon: Ruler }, - { title: 'Botões / Acessórios', icon: Warehouse }, - ].map(item => ( -
- -

{item.title}

-

Em breve

-

Aguardando cadastro

- Não configurado -
- ))} +
+

Por categoria de material

+
+ +

Nenhuma categoria com saldo

+

Registre entradas para agrupar o estoque por tipo de material.

@@ -309,13 +275,8 @@ const FabricPlanningScreen = () => (
-
-
-

Planos de malha

-

Entrada operacional preparada para a próxima etapa do módulo.

-
- Em preparação -
+

Planos de malha

+

Fila de matéria-prima para compra, recebimento e abastecimento do corte.

Nenhum plano de malha cadastrado