Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Now use one column for deposits and withdrawals.

  • Loading branch information...
commit cb49b4f91466db32f6c7bc8e89c7b1383a830806 1 parent 7eacd3a
@pauldowman authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  lib/account_base.rb
View
2  lib/account_base.rb
@@ -47,7 +47,7 @@ def txns
txns = @ofx_txns.collect do |t|
{
"accountname" => self.name,
- (t.amount.to_f >= 0 ? "deposit" : "withdrawal") => t.amount.to_f.abs,
+ "amount" => t.amount.to_f,
"chequenumber" => t.check_number,
"date" => t.date.strftime("%Y-%m-%d"),
"date2" => t.date.strftime("%Y-%m-%d"),
Please sign in to comment.
Something went wrong with that request. Please try again.