Firefly III: a personal finances manager
PHP accountingbudgetbudgetingbudgetscash-flowcashflowcredit-carddockerexpensesfinancefinancesfinanciallinuxmoneypaycheckpersonal-financephpphp7
Rename "native" to "primary".
James Cole65a926874bdc
diff --git a/app/Transformers/UserGroupTransformer.php b/app/Transformers/UserGroupTransformer.phpindex 8ba47228ba..885da183a6 100644--- a/app/Transformers/UserGroupTransformer.php+++ b/app/Transformers/UserGroupTransformer.php@@ -114,11 +114,11 @@ class UserGroupTransformer extends AbstractTransformer'in_use' => $this->inUse[$userGroup->id] ?? false,'can_see_members' => $this->membershipsVisible[$userGroup->id] ?? false,'title' => $userGroup->title,- 'native_currency_id' => (string) $currency->id,- 'native_currency_name' => $currency->name,- 'native_currency_code' => $currency->code,- 'native_currency_symbol' => $currency->symbol,- 'native_currency_decimal_places' => $currency->decimal_places,+ 'primary_currency_id' => (string) $currency->id,+ 'primary_currency_name' => $currency->name,+ 'primary_currency_code' => $currency->code,+ 'primary_currency_symbol' => $currency->symbol,+ 'primary_currency_decimal_places' => $currency->decimal_places,'members' => array_values($this->memberships[$userGroup->id] ?? []),];// if the user has a specific role in this group, then collect the memberships.