diff --git a/app/Models/CurrencyExchangeRate.php b/app/Models/CurrencyExchangeRate.php index 0f38be4ab7..1b78fced38 100644 --- a/app/Models/CurrencyExchangeRate.php +++ b/app/Models/CurrencyExchangeRate.php @@ -58,6 +58,10 @@ class CurrencyExchangeRate extends Model { return $this->belongsTo(User::class); } + public function userGroup(): BelongsTo + { + return $this->belongsTo(UserGroup::class); + } protected function casts(): array {