Expand edit transaction form.

This commit is contained in:
James Cole
2024-01-06 07:26:03 +01:00
parent bd2ecb13b8
commit 2e0d90c685
20 changed files with 2653 additions and 1886 deletions

View File

@@ -41,12 +41,12 @@ class UserGroupAccount implements BinderInterface
if (auth()->check()) {
/** @var User $user */
$user = auth()->user();
$currency = Account::where('id', (int)$value)
$account = Account::where('id', (int)$value)
->where('user_group_id', $user->user_group_id)
->first()
;
if (null !== $currency) {
return $currency;
if (null !== $account) {
return $account;
}
}