close #772 Fixed: New install will not allow cash account to change currency
This commit is contained in:
parent
20d73a8edb
commit
8cd10cd58f
@ -107,7 +107,7 @@ class Accounts extends Controller
|
||||
'payments' => 'payments',
|
||||
]);
|
||||
|
||||
if ($account->id == setting('general.default_account')) {
|
||||
if (!$request['enabled'] && $account->id == setting('general.default_account')) {
|
||||
$relationships[] = strtolower(trans_choice('general.companies', 1));
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user