Refer to correct repositories.

This commit is contained in:
James Cole
2018-07-15 15:45:45 +02:00
parent ac8776aea4
commit 73e32ecdcb
8 changed files with 13 additions and 16 deletions

View File

@@ -24,7 +24,6 @@ declare(strict_types=1);
namespace FireflyIII\Http\Controllers\Transaction;
use ExpandedForm;
use FireflyIII\Http\Controllers\Controller;
use FireflyIII\Http\Requests\BulkEditJournalRequest;
use FireflyIII\Models\TransactionJournal;
@@ -72,7 +71,7 @@ class BulkController extends Controller
// get list of budgets:
/** @var BudgetRepositoryInterface $repository */
$repository = app(BudgetRepositoryInterface::class);
$budgetList = ExpandedForm::makeSelectListWithEmpty($repository->getActiveBudgets());
$budgetList = app('expandedform')->makeSelectListWithEmpty($repository->getActiveBudgets());
// collect some useful meta data for the mass edit:
$journals->each(
function (TransactionJournal $journal) {