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}`)}