Add missing link to user group in currency exchange rate #11982

This commit is contained in:
James Cole
2026-03-20 07:14:10 +01:00
parent 1893a33d84
commit 7004c9aaf5
+4
View File
@@ -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
{