mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-09-18 18:44:16 +00:00
Corrected the field used for bug #109
This commit is contained in:
@@ -40,7 +40,7 @@ class ComponentRepository
|
|||||||
|
|
||||||
if ($shared === true) { // shared is true: always ignore transfers between accounts!
|
if ($shared === true) { // shared is true: always ignore transfers between accounts!
|
||||||
$sum = $object->transactionjournals()->transactionTypes(['Withdrawal'])->before($end)->after($start)
|
$sum = $object->transactionjournals()->transactionTypes(['Withdrawal'])->before($end)->after($start)
|
||||||
->get(['transaction_journals.*'])->sum('actual_amount');
|
->get(['transaction_journals.*'])->sum('correct_amount');
|
||||||
} else {
|
} else {
|
||||||
// do something else, SEE budgets.
|
// do something else, SEE budgets.
|
||||||
// get all journals in this month where the asset account is NOT shared.
|
// get all journals in this month where the asset account is NOT shared.
|
||||||
|
Reference in New Issue
Block a user