mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-10-19 02:52:44 +00:00
Various code cleanup.
This commit is contained in:
@@ -128,6 +128,7 @@ class ConvertController extends Controller
|
||||
* @param TransactionJournal $journal
|
||||
*
|
||||
* @return \Illuminate\Http\RedirectResponse|\Illuminate\Routing\Redirector
|
||||
*
|
||||
* @throws FireflyException
|
||||
* @throws FireflyException
|
||||
*/
|
||||
|
@@ -257,7 +257,7 @@ class SingleController extends Controller
|
||||
$assetAccounts = $this->groupedAccountList();
|
||||
$budgetList = ExpandedForm::makeSelectListWithEmpty($this->budgets->getBudgets());
|
||||
|
||||
if ($journal->transactionType->type === TransactionType::RECONCILIATION) {
|
||||
if (TransactionType::RECONCILIATION === $journal->transactionType->type) {
|
||||
return redirect(route('accounts.reconcile.edit', [$journal->id]));
|
||||
}
|
||||
|
||||
|
@@ -116,7 +116,6 @@ class SplitController extends Controller
|
||||
$accountArray[$account->id]['currency_id'] = intval($account->getMeta('currency_id'));
|
||||
}
|
||||
|
||||
|
||||
// put previous url in session if not redirect from store (not "return_to_edit").
|
||||
if (true !== session('transactions.edit-split.fromUpdate')) {
|
||||
$this->rememberPreviousUri('transactions.edit-split.uri');
|
||||
|
Reference in New Issue
Block a user