mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-02-25 18:45:27 -06:00
This fixes #484.
This commit is contained in:
parent
46c26a64d8
commit
9e1a69217d
@ -133,8 +133,8 @@ class ReportController extends Controller
|
|||||||
|
|
||||||
$budget->name = strval(trans('firefly.leftUnbalanced'));
|
$budget->name = strval(trans('firefly.leftUnbalanced'));
|
||||||
$journals = $journals->filter(
|
$journals = $journals->filter(
|
||||||
function (TransactionJournal $journal) {
|
function (Transaction $transaction) {
|
||||||
$tags = $journal->tags()->where('tagMode', 'balancingAct')->count();
|
$tags = $transaction->transactionJournal->tags()->where('tagMode', 'balancingAct')->count();
|
||||||
if ($tags === 0) {
|
if ($tags === 0) {
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user