Various fixes for #916

This commit is contained in:
James Cole
2017-10-14 07:58:29 +02:00
parent 70ab42bc43
commit 401ae92a62
4 changed files with 9 additions and 20 deletions

View File

@@ -492,7 +492,7 @@ class BudgetRepository implements BudgetRepositoryInterface
/** @var JournalCollectorInterface $collector */
$collector = app(JournalCollectorInterface::class);
$collector->setUser($this->user);
$collector->setRange($start, $end)->setTypes([TransactionType::WITHDRAWAL])->setBudgets($budgets);
$collector->setRange($start, $end)->setBudgets($budgets)->withBudgetInformation();
if ($accounts->count() > 0) {
$collector->setAccounts($accounts);