Permalink
Browse files

Now use one column for deposits and withdrawals.

  • Loading branch information...
1 parent 7eacd3a commit cb49b4f91466db32f6c7bc8e89c7b1383a830806 @pauldowman committed Jul 31, 2010
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/account_base.rb
View
@@ -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"),

0 comments on commit cb49b4f

Please sign in to comment.