diff --git a/src/components/producao/ApontamentoDiarioChart.tsx b/src/components/producao/ApontamentoDiarioChart.tsx index 1ed3d09..d09a318 100644 --- a/src/components/producao/ApontamentoDiarioChart.tsx +++ b/src/components/producao/ApontamentoDiarioChart.tsx @@ -319,7 +319,7 @@ export const ApontamentoDiarioChart = () => { > {alturaPixels > 20 && ( - {Math.round(ofData.peso).toLocaleString('pt-BR')} Kg + {Math.round(ofData.peso).toLocaleString('pt-BR')} )} diff --git a/src/components/producao/RelatorioPecasProcessoModal.tsx b/src/components/producao/RelatorioPecasProcessoModal.tsx index 1226fe0..f6f7139 100644 --- a/src/components/producao/RelatorioPecasProcessoModal.tsx +++ b/src/components/producao/RelatorioPecasProcessoModal.tsx @@ -47,14 +47,8 @@ export const RelatorioPecasProcessoModal: React.FC - - Relatório de Peças por Processo - + + Relatório de Peças por Processo diff --git a/src/hooks/useRelatorioPecasProcesso.tsx b/src/hooks/useRelatorioPecasProcesso.tsx index ecb12b7..0379fa9 100644 --- a/src/hooks/useRelatorioPecasProcesso.tsx +++ b/src/hooks/useRelatorioPecasProcesso.tsx @@ -94,7 +94,7 @@ export const useRelatorioPecasProcesso = (ofNumber: string) => { peca_id, processo_id, quantidade_produzida, - processos_fabricacao!inner(nome) + processos_fabricacao!apontamentos_producao_processo_id_fkey(nome) `) .eq('of_number', ofNumber) .in('peca_id', pecaIds);