From 891df889ec42124fa754ea7369bc526e0433664b Mon Sep 17 00:00:00 2001 From: marcoitaloesp-ai Date: Tue, 16 Dec 2025 16:57:17 +0000 Subject: [PATCH] =?UTF-8?q?v1.43.12=20-=20FIX:=20Badge=20de=20D=C3=A9bito?= =?UTF-8?q?=20em=20vermelho=20nas=20transa=C3=A7=C3=B5es=20recorrentes?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- CHANGELOG.md | 12 ++++++++++++ VERSION | 2 +- frontend/src/pages/RecurringTransactions.jsx | 4 ++-- 3 files changed, 15 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index cfc6558..5d78283 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,18 @@ O formato segue [Keep a Changelog](https://keepachangelog.com/pt-BR/). Este projeto adota [Versionamento Semântico](https://semver.org/pt-BR/). +## [1.43.12] - 2025-12-16 + +### Fixed +- **Transações Recorrentes - Badge de Tipo** + - Badge de "Débito" agora aparece em vermelho (`bg-danger`) ✅ + - Badge de "Crédito" continua em verde (`bg-success`) ✅ + - Problema: Código comparava `template.type === 'expense'` mas banco usa 'debit'/'credit' + - Solução: Corrigido para `template.type === 'debit'` + - Aplicado em: + * Cards mobile + * Tabela desktop + ## [1.43.11] - 2025-12-16 ### Added diff --git a/VERSION b/VERSION index 340ce21..3b1654c 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -1.43.11 +1.43.12 diff --git a/frontend/src/pages/RecurringTransactions.jsx b/frontend/src/pages/RecurringTransactions.jsx index f60ac21..d1212d9 100644 --- a/frontend/src/pages/RecurringTransactions.jsx +++ b/frontend/src/pages/RecurringTransactions.jsx @@ -419,7 +419,7 @@ const RecurringTransactions = () => { {t(`recurring.frequencies.${template.frequency}`, template.frequency)} {template.frequency_interval > 1 && ` (x${template.frequency_interval})`} - + {t(`transactions.${template.type}`)} {(template.pending_instances_count || 0) > 0 && ( @@ -500,7 +500,7 @@ const RecurringTransactions = () => { )} - + {t(`transactions.${template.type}`)}