Browse Source
			
			
			Feature/handle activities of excluded accounts (#3697)
			
				* Handle activities of excluded accounts
			
			
				pull/3699/head
			
			
		 
		
			
				
					
						 Thomas Kaul
					
					1 year ago
						Thomas Kaul
					
					1 year ago
					
						
							committed by
							
								 GitHub
								GitHub
							
						 
					
				 
				
			 
		 
		
			
				
					
					No known key found for this signature in database
					
						
							GPG Key ID: B5690EEEBB952194
						
					
				
			
		
		
		
	
		
			
				 2 changed files with 
6 additions and 
10 deletions
			 
			
		 
		
			
				- 
					
					
					 
					libs/ui/src/lib/activities-table/activities-table.component.html
				
- 
					
					
					 
					libs/ui/src/lib/activities-table/activities-table.component.ts
				
				
				
					
						
							
								
									
	
		
		
			
				
					|  | @ -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, | 
			
		
	
	
		
		
			
				
					|  | 
 |