mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2026-10-12 16:32:04 -05:00
More tight report thing [skip ci]
This commit is contained in:
1 parent
04dee404c0
commit
8c1ae76c7a
1 file changed
+1
-2
@@ -140,8 +140,7 @@ class ReportHelper implements ReportHelperInterface
|
||||
$object = new Expense;
|
||||
/** @var AccountRepositoryInterface $repos */
|
||||
$repos = app(AccountRepositoryInterface::class);
|
||||
$types = [TransactionType::WITHDRAWAL, TransactionType::TRANSFER];
|
||||
$journals = $repos->journalsInPeriod($accounts, $types, $start, $end);
|
||||
$journals = $repos->expensesInPeriod($accounts, $start, $end);
|
||||
|
||||
/** @var TransactionJournal $entry */
|
||||
foreach ($journals as $entry) {
|
||||
|
||||
Reference in new issue
Block a user