mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2026-01-07 06:31:22 +00:00
Various improvs to the report generator.
This commit is contained in:
@@ -210,10 +210,9 @@ class PopupReport implements PopupReportInterface
|
||||
|
||||
// set report accounts + the request accounts:
|
||||
//$set = $attributes['accounts'] ?? new Collection;
|
||||
$set = new Collection;
|
||||
$set->push($account);
|
||||
//$set->push($account);
|
||||
|
||||
$collector->setBothAccounts($set)
|
||||
$collector->setDestinationAccounts(new Collection([$account]))
|
||||
->setRange($attributes['startDate'], $attributes['endDate'])
|
||||
->withAccountInformation()
|
||||
->withBudgetInformation()
|
||||
@@ -223,7 +222,6 @@ class PopupReport implements PopupReportInterface
|
||||
if (null !== $currency) {
|
||||
$collector->setCurrency($currency);
|
||||
}
|
||||
|
||||
return $collector->getExtractedJournals();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user