mirror of https://github.com/ghostfolio/ghostfolio
				
				
			
			You can not select more than 25 topics
			Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
		
		
		
		
		
			
		
			
				
					
					
						
							80 lines
						
					
					
						
							2.2 KiB
						
					
					
				
			
		
		
		
			
			
			
		
		
	
	
							80 lines
						
					
					
						
							2.2 KiB
						
					
					
				| <gf-dialog-header | |
|   mat-dialog-title | |
|   position="center" | |
|   [deviceType]="data.deviceType" | |
|   [title]="name" | |
|   (closeButtonClicked)="onClose()" | |
| ></gf-dialog-header> | |
| 
 | |
| <div class="flex-grow-1" mat-dialog-content> | |
|   <div class="container p-0"> | |
|     <div class="row"> | |
|       <div class="col-12 d-flex justify-content-center mb-3"> | |
|         <gf-value | |
|           size="large" | |
|           [isCurrency]="true" | |
|           [locale]="user?.settings?.locale" | |
|           [unit]="user?.settings?.baseCurrency" | |
|           [value]="valueInBaseCurrency" | |
|         ></gf-value> | |
|       </div> | |
|     </div> | |
| 
 | |
|     <div class="row"> | |
|       <div class="col-6 mb-3"> | |
|         <gf-value | |
|           i18n | |
|           size="medium" | |
|           [isCurrency]="true" | |
|           [locale]="user?.settings?.locale" | |
|           [unit]="currency" | |
|           [value]="balance" | |
|           >Cash Balance</gf-value | |
|         > | |
|       </div> | |
|       <div class="col-6 mb-3"> | |
|         <gf-value | |
|           i18n | |
|           size="medium" | |
|           [isCurrency]="true" | |
|           [locale]="user?.settings?.locale" | |
|           [unit]="currency" | |
|           [value]="equity" | |
|           >Equity</gf-value | |
|         > | |
|       </div> | |
|       <div class="col-6 mb-3"> | |
|         <gf-value i18n size="medium" [value]="transactionCount" | |
|           >Activities</gf-value | |
|         > | |
|       </div> | |
|       <div class="col-6 mb-3"> | |
|         <gf-value i18n size="medium" [value]="platformName">Platform</gf-value> | |
|       </div> | |
|     </div> | |
| 
 | |
|     <div class="row" [ngClass]="{ 'd-none': !orders?.length }"> | |
|       <div class="col mb-3"> | |
|         <div class="h5 mb-0" i18n>Activities</div> | |
|         <gf-activities-table | |
|           [activities]="orders" | |
|           [baseCurrency]="user?.settings?.baseCurrency" | |
|           [deviceType]="data.deviceType" | |
|           [hasPermissionToCreateActivity]="false" | |
|           [hasPermissionToExportActivities]="true" | |
|           [hasPermissionToFilter]="false" | |
|           [hasPermissionToOpenDetails]="false" | |
|           [locale]="user?.settings?.locale" | |
|           [showActions]="false" | |
|           (export)="onExport()" | |
|         ></gf-activities-table> | |
|       </div> | |
|     </div> | |
|   </div> | |
| </div> | |
| 
 | |
| <gf-dialog-footer | |
|   mat-dialog-actions | |
|   [deviceType]="data.deviceType" | |
|   (closeButtonClicked)="onClose()" | |
| ></gf-dialog-footer>
 | |
| 
 |