Experimental fix for issue #109.

This commit is contained in:
James Cole
2015-09-13 07:32:39 +02:00
parent 3699a7ba9a
commit b3333cc2d3
2 changed files with 2 additions and 2 deletions

View File

@@ -40,7 +40,7 @@ class ComponentRepository
if ($shared === true) { // shared is true: always ignore transfers between accounts!
$sum = $object->transactionjournals()->transactionTypes(['Withdrawal'])->before($end)->after($start)
->get(['transaction_journals.*'])->sum('amount');
->get(['transaction_journals.*'])->sum('actual_amount');
} else {
// do something else, SEE budgets.
// get all journals in this month where the asset account is NOT shared.