Add bill / category and budget info

This commit is contained in:
James Cole
2019-09-05 19:04:58 +02:00
parent 3fb13b870f
commit 5d192ad4c2
2 changed files with 11 additions and 4 deletions

View File

@@ -116,7 +116,8 @@ class MonthReportGenerator implements ReportGeneratorInterface
/** @var GroupCollectorInterface $collector */
$collector = app(GroupCollectorInterface::class);
$collector->setAccounts(new Collection([$account]))->setRange($this->start, $this->end)->withAccountInformation();
$collector->setAccounts(new Collection([$account]))->setRange($this->start, $this->end)->withAccountInformation()
->withBudgetInformation()->withCategoryInformation()->withBillInformation();
$journals = $collector->getExtractedJournals();
$journals = array_reverse($journals, true);