mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-10-15 16:57:09 +00:00
Code cleanup.
This commit is contained in:
@@ -127,8 +127,6 @@ class AvailableBudgetController extends Controller
|
||||
return true;
|
||||
}
|
||||
);
|
||||
|
||||
|
||||
$page = (int)($request->get('page') ?? 1);
|
||||
|
||||
return prefixView('budgets.available-budgets.create-alternative', compact('start', 'end', 'page', 'currencies'));
|
||||
@@ -245,8 +243,6 @@ class AvailableBudgetController extends Controller
|
||||
|
||||
return redirect(route('budgets.index', [$start->format('Y-m-d'), $end->format('Y-m-d')]));
|
||||
}
|
||||
|
||||
|
||||
$this->abRepository->update($availableBudget, ['amount' => $amount]);
|
||||
session()->flash('success', trans('firefly.updated_ab'));
|
||||
|
||||
|
Reference in New Issue
Block a user