Moved another method.

This commit is contained in:
James Cole
2016-10-10 06:49:50 +02:00
parent a866d13b75
commit 85dc7f3643
3 changed files with 1 additions and 28 deletions

View File

@@ -127,7 +127,7 @@ class AccountController extends Controller
$what = config('firefly.shortNamesByFullName')[$account->accountType->type];
$subTitle = trans('firefly.edit_' . $what . '_account', ['name' => $account->name]);
$subTitleIcon = config('firefly.subIconsByIdentifier.' . $what);
$openingBalance = $repository->openingBalanceTransaction($account);
$openingBalance = $account->openingBalanceTransaction($account);
// put previous url in session if not redirect from store (not "return_to_edit").
if (session('accounts.edit.fromUpdate') !== true) {