Browse Source

Change features to general availability

* Fees on account level
* Interest on account level
* Search for a holding
pull/2525/head
Thomas 2 years ago
parent
commit
0405785fcb
  1. 8
      apps/api/src/app/user/user.service.ts
  2. 10
      apps/client/src/app/pages/portfolio/activities/create-or-update-activity-dialog/create-or-update-activity-dialog.html

8
apps/api/src/app/user/user.service.ts

@ -164,10 +164,10 @@ export class UserService {
let currentPermissions = getPermissions(user.role); let currentPermissions = getPermissions(user.role);
if (!(user.Settings.settings as UserSettings).isExperimentalFeatures) { if (!(user.Settings.settings as UserSettings).isExperimentalFeatures) {
currentPermissions = without( // currentPermissions = without(
currentPermissions, // currentPermissions,
permissions.accessAssistant // permissions.xyz
); // );
} }
if (this.configurationService.get('ENABLE_FEATURE_SUBSCRIPTION')) { if (this.configurationService.get('ENABLE_FEATURE_SUBSCRIPTION')) {

10
apps/client/src/app/pages/portfolio/activities/create-or-update-activity-dialog/create-or-update-activity-dialog.html

@ -21,10 +21,7 @@
>Stocks, ETFs, bonds, cryptocurrencies, commodities</small >Stocks, ETFs, bonds, cryptocurrencies, commodities</small
> >
</mat-option> </mat-option>
<mat-option <mat-option value="FEE">
*ngIf="data.user?.settings?.isExperimentalFeatures"
value="FEE"
>
<span><b>{{ typesTranslationMap['FEE'] }}</b></span> <span><b>{{ typesTranslationMap['FEE'] }}</b></span>
<small class="d-block line-height-1 text-muted text-nowrap" i18n <small class="d-block line-height-1 text-muted text-nowrap" i18n
>One-time fee, annual account fees</small >One-time fee, annual account fees</small
@ -36,10 +33,7 @@
>Distribution of corporate earnings</small >Distribution of corporate earnings</small
> >
</mat-option> </mat-option>
<mat-option <mat-option value="INTEREST">
*ngIf="data.user?.settings?.isExperimentalFeatures"
value="INTEREST"
>
<span><b>{{ typesTranslationMap['INTEREST'] }}</b></span> <span><b>{{ typesTranslationMap['INTEREST'] }}</b></span>
<small class="d-block line-height-1 text-muted text-nowrap" i18n <small class="d-block line-height-1 text-muted text-nowrap" i18n
>Revenue for lending out money</small >Revenue for lending out money</small

Loading…
Cancel
Save