We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent da853b0 commit dcb12b9Copy full SHA for dcb12b9
box/business_processes/import_bank_statement.rb
@@ -69,7 +69,7 @@ def self.update_meta_data(raw_bank_statement, account)
69
return unless balance # vmk do not have a closing balance and thus cannot update it
70
71
if account.balance_date.blank? || account.balance_date <= balance.date
72
- account.set_balance(balance.date, balance.amount_in_cents)
+ account.set_balance(balance.date, balance.amount_in_cents * balance.sign)
73
end
74
75
0 commit comments