fix: removido kg do interior da barra, correcao de foreign keys no relatorio de pecas e multiplos botoes fechar na modal

This commit is contained in:
2026-09-02 19:40:42 +00:00
parent cf0c6cd657
commit 4fe116a9c0
3 changed files with 4 additions and 10 deletions
@@ -319,7 +319,7 @@ export const ApontamentoDiarioChart = () => {
>
{alturaPixels > 20 && (
<span className="transform rotate-90 whitespace-nowrap">
{Math.round(ofData.peso).toLocaleString('pt-BR')} Kg
{Math.round(ofData.peso).toLocaleString('pt-BR')}
</span>
)}
</div>
@@ -47,14 +47,8 @@ export const RelatorioPecasProcessoModal: React.FC<RelatorioPecasProcessoModalPr
<Dialog open={isOpen} onOpenChange={onClose}>
<DialogContent className="max-w-6xl max-h-[90vh] overflow-y-auto bg-card border-border">
<DialogHeader>
<DialogTitle className="flex items-center justify-between text-card-foreground">
<span>Relatório de Peças por Processo</span>
<button
onClick={onClose}
className="rounded-sm opacity-70 ring-offset-background transition-opacity hover:opacity-100 focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2"
>
<X className="h-4 w-4" />
</button>
<DialogTitle className="text-card-foreground">
Relatório de Peças por Processo
</DialogTitle>
</DialogHeader>