This commit is contained in:
James Cole
2016-09-29 19:17:24 +02:00
parent 4252a3e53b
commit d8586c8043

View File

@@ -48,7 +48,7 @@ class SetBudget implements ActionInterface
public function act(TransactionJournal $journal): bool
{
/** @var BudgetRepositoryInterface $repository */
$repository = app(BudgetRepositoryInterface::class);
$repository = app(BudgetRepositoryInterface::class, [$journal->user]);
$search = $this->action->action_value;
$budgets = $repository->getActiveBudgets();
$budget = $budgets->filter(