From e33883dee25749f08a50f423a464082f6c3c0b98 Mon Sep 17 00:00:00 2001 From: Alan Pearce Date: Tue, 7 Apr 2015 16:38:32 +0100 Subject: Fix incorrect budget transaction amounts --- src/Command/ConvertCommand.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/Command/ConvertCommand.php b/src/Command/ConvertCommand.php index 1b379d0..ca2bcc4 100644 --- a/src/Command/ConvertCommand.php +++ b/src/Command/ConvertCommand.php @@ -95,7 +95,7 @@ function toLedger (Generator $transactions) { do { $posting = new LedgerPosting; $posting->currency = $txn->currency; - $posting->amount = $txn->in - $txn->out; + $posting->amount = $txn->in; $posting->account = array_merge(['Funds'], $txn->category); if ($posting->amount !== 0.00) { $lTxn->postings[] = $posting; -- cgit 1.4.1