mirror of
https://github.com/felipegcoutinho/openmonetis.git
synced 2026-05-09 19:01:47 +00:00
feat(transactions): filtro de contas por tipo dinheiro e sinal + em transferências recebidas
Ao selecionar "Dinheiro" como forma de pagamento, exibe apenas contas do tipo "Dinheiro". Transferências recebidas (amount > 0) passam a exibir sinal + mantendo a cor azul. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -93,7 +93,9 @@ export function PaymentMethodSection({
|
||||
? accountOptions.filter(
|
||||
(option) => option.accountType === "Pré-Pago | VR/VA",
|
||||
)
|
||||
: accountOptions;
|
||||
: formState.paymentMethod === "Dinheiro"
|
||||
? accountOptions.filter((option) => option.accountType === "Dinheiro")
|
||||
: accountOptions;
|
||||
|
||||
const hasSecondaryColumn = isCartaoSelected || showContaSelect;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user