Expand services.

This commit is contained in:
James Cole
2018-02-21 18:42:15 +01:00
parent 9f37bf5875
commit 81221038f0
10 changed files with 111 additions and 33 deletions

View File

@@ -139,7 +139,7 @@ class AccountController extends Controller
$type = $account->accountType->type;
$typeName = config('firefly.shortNamesByFullName.' . $type);
$name = $account->name;
$moveTo = $this->repository->find(intval($request->get('move_account_before_delete')));
$moveTo = $this->repository->findNull(intval($request->get('move_account_before_delete')));
$this->repository->destroy($account, $moveTo);