|  | @ -123,6 +123,10 @@ export class TransactionsPageComponent implements OnInit { | 
			
		
	
		
		
			
				
					|  |  |     }); |  |  |     }); | 
			
		
	
		
		
			
				
					|  |  |   } |  |  |   } | 
			
		
	
		
		
			
				
					|  |  | 
 |  |  | 
 | 
			
		
	
		
		
			
				
					|  |  |  |  |  |   public onDuplicateTransaction(aTransaction: OrderModel) { | 
			
		
	
		
		
			
				
					|  |  |  |  |  |     this.openCreateTransactionDialog(aTransaction); | 
			
		
	
		
		
			
				
					|  |  |  |  |  |   } | 
			
		
	
		
		
			
				
					|  |  |  |  |  | 
 | 
			
		
	
		
		
			
				
					|  |  |   public openUpdateTransactionDialog({ |  |  |   public openUpdateTransactionDialog({ | 
			
		
	
		
		
			
				
					|  |  |     accountId, |  |  |     accountId, | 
			
		
	
		
		
			
				
					|  |  |     currency, |  |  |     currency, | 
			
		
	
	
		
		
			
				
					|  | @ -175,7 +179,7 @@ export class TransactionsPageComponent implements OnInit { | 
			
		
	
		
		
			
				
					|  |  |     this.unsubscribeSubject.complete(); |  |  |     this.unsubscribeSubject.complete(); | 
			
		
	
		
		
			
				
					|  |  |   } |  |  |   } | 
			
		
	
		
		
			
				
					|  |  | 
 |  |  | 
 | 
			
		
	
		
		
			
				
					
					|  |  |   private openCreateTransactionDialog(): void { |  |  |   private openCreateTransactionDialog(aTransaction?: OrderModel): void { | 
			
				
				
			
		
	
		
		
	
		
		
			
				
					|  |  |     const dialogRef = this.dialog.open(CreateOrUpdateTransactionDialog, { |  |  |     const dialogRef = this.dialog.open(CreateOrUpdateTransactionDialog, { | 
			
		
	
		
		
			
				
					|  |  |       data: { |  |  |       data: { | 
			
		
	
		
		
			
				
					|  |  |         accounts: this.user?.accounts, |  |  |         accounts: this.user?.accounts, | 
			
		
	
	
		
		
			
				
					|  | @ -183,11 +187,11 @@ export class TransactionsPageComponent implements OnInit { | 
			
		
	
		
		
			
				
					|  |  |           accountId: this.user?.accounts.find((account) => { |  |  |           accountId: this.user?.accounts.find((account) => { | 
			
		
	
		
		
			
				
					|  |  |             return account.isDefault; |  |  |             return account.isDefault; | 
			
		
	
		
		
			
				
					|  |  |           })?.id, |  |  |           })?.id, | 
			
		
	
		
		
			
				
					
					|  |  |           currency: null, |  |  |           currency: aTransaction?.currency || null, | 
			
				
				
			
		
	
		
		
	
		
		
			
				
					|  |  |           date: new Date(), |  |  |           date: new Date(), | 
			
		
	
		
		
			
				
					|  |  |           fee: 0, |  |  |           fee: 0, | 
			
		
	
		
		
			
				
					|  |  |           quantity: null, |  |  |           quantity: null, | 
			
		
	
		
		
			
				
					
					|  |  |           symbol: null, |  |  |           symbol: aTransaction?.symbol || null, | 
			
				
				
			
		
	
		
		
	
		
		
			
				
					|  |  |           type: 'BUY', |  |  |           type: 'BUY', | 
			
		
	
		
		
			
				
					|  |  |           unitPrice: null |  |  |           unitPrice: null | 
			
		
	
		
		
			
				
					|  |  |         } |  |  |         } | 
			
		
	
	
		
		
			
				
					|  | 
 |