Partial implementation of administration aware account auto complete

This commit is contained in:
James Cole
2023-03-25 11:32:33 +01:00
parent 7668a854f7
commit 0386d5e09f
14 changed files with 1025 additions and 161 deletions

View File

@@ -63,4 +63,14 @@ class UserGroup extends Model
{
return $this->hasMany(GroupMembership::class);
}
/**
* Link to accounts.
*
* @return HasMany
*/
public function accounts(): HasMany
{
return $this->hasMany(Account::class);
}
}