Firefly III: a personal finances manager
PHP accountingbudgetbudgetingbudgetscash-flowcashflowcredit-carddockerexpensesfinancefinancesfinanciallinuxmoneypaycheckpersonal-financephpphp7
Add missing link to user group in currency exchange rate #11982
James Cole7004c9aaf56e
diff --git a/app/Models/CurrencyExchangeRate.php b/app/Models/CurrencyExchangeRate.phpindex 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{