Feature/handle activities of excluded accounts (#3697)
* Handle activities of excluded accounts
This commit is contained in:
@@ -466,11 +466,9 @@
|
|||||||
[ngClass]="{
|
[ngClass]="{
|
||||||
'cursor-pointer':
|
'cursor-pointer':
|
||||||
hasPermissionToOpenDetails &&
|
hasPermissionToOpenDetails &&
|
||||||
!row.isDraft &&
|
row.Account?.isExcluded !== true &&
|
||||||
row.type !== 'FEE' &&
|
row.isDraft === false &&
|
||||||
row.type !== 'INTEREST' &&
|
['BUY', 'DIVIDEND', 'SELL'].includes(row.type)
|
||||||
row.type !== 'ITEM' &&
|
|
||||||
row.type !== 'LIABILITY'
|
|
||||||
}"
|
}"
|
||||||
(click)="onClickActivity(row)"
|
(click)="onClickActivity(row)"
|
||||||
></tr>
|
></tr>
|
||||||
|
@@ -199,11 +199,9 @@ export class GfActivitiesTableComponent
|
|||||||
}
|
}
|
||||||
} else if (
|
} else if (
|
||||||
this.hasPermissionToOpenDetails &&
|
this.hasPermissionToOpenDetails &&
|
||||||
!activity.isDraft &&
|
activity.Account?.isExcluded !== true &&
|
||||||
activity.type !== 'FEE' &&
|
activity.isDraft === false &&
|
||||||
activity.type !== 'INTEREST' &&
|
['BUY', 'DIVIDEND', 'SELL'].includes(activity.type)
|
||||||
activity.type !== 'ITEM' &&
|
|
||||||
activity.type !== 'LIABILITY'
|
|
||||||
) {
|
) {
|
||||||
this.onOpenPositionDialog({
|
this.onOpenPositionDialog({
|
||||||
dataSource: activity.SymbolProfile.dataSource,
|
dataSource: activity.SymbolProfile.dataSource,
|
||||||
|
Reference in New Issue
Block a user