mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-09-20 11:19:16 +00:00
Fix #6059
This commit is contained in:
@@ -132,6 +132,7 @@ class CreateController extends Controller
|
|||||||
public function createFromJournal(Request $request, TransactionJournal $journal)
|
public function createFromJournal(Request $request, TransactionJournal $journal)
|
||||||
{
|
{
|
||||||
$budgets = app('expandedform')->makeSelectListWithEmpty($this->budgetRepos->getActiveBudgets());
|
$budgets = app('expandedform')->makeSelectListWithEmpty($this->budgetRepos->getActiveBudgets());
|
||||||
|
$bills = app('expandedform')->makeSelectListWithEmpty($this->billRepository->getActiveBills());
|
||||||
$defaultCurrency = app('amount')->getDefaultCurrency();
|
$defaultCurrency = app('amount')->getDefaultCurrency();
|
||||||
$tomorrow = today(config('app.timezone'));
|
$tomorrow = today(config('app.timezone'));
|
||||||
$oldRepetitionType = $request->old('repetition_type');
|
$oldRepetitionType = $request->old('repetition_type');
|
||||||
@@ -213,7 +214,7 @@ class CreateController extends Controller
|
|||||||
|
|
||||||
return view(
|
return view(
|
||||||
'recurring.create',
|
'recurring.create',
|
||||||
compact('tomorrow', 'oldRepetitionType', 'weekendResponses', 'preFilled', 'repetitionEnds', 'defaultCurrency', 'budgets')
|
compact('tomorrow', 'oldRepetitionType', 'bills', 'weekendResponses', 'preFilled', 'repetitionEnds', 'defaultCurrency', 'budgets')
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user