|
|
@ -107,18 +107,6 @@ |
|
|
|
<mat-datepicker #date disabled="false"></mat-datepicker> |
|
|
|
</mat-form-field> |
|
|
|
</div> |
|
|
|
<div> |
|
|
|
<mat-form-field appearance="outline" class="w-100"> |
|
|
|
<mat-label i18n>Fee</mat-label> |
|
|
|
<input |
|
|
|
matInput |
|
|
|
name="fee" |
|
|
|
required |
|
|
|
type="number" |
|
|
|
[(ngModel)]="data.transaction.fee" |
|
|
|
/> |
|
|
|
</mat-form-field> |
|
|
|
</div> |
|
|
|
<div> |
|
|
|
<mat-form-field appearance="outline" class="w-100"> |
|
|
|
<mat-label i18n>Quantity</mat-label> |
|
|
@ -141,6 +129,7 @@ |
|
|
|
type="number" |
|
|
|
[(ngModel)]="data.transaction.unitPrice" |
|
|
|
/> |
|
|
|
<span class="ml-2" matSuffix>{{ data.transaction.currency }}</span> |
|
|
|
<button |
|
|
|
*ngIf="currentMarketPrice && (data.transaction.type === 'BUY' || data.transaction.type === 'SELL')" |
|
|
|
mat-icon-button |
|
|
@ -152,6 +141,19 @@ |
|
|
|
</button> |
|
|
|
</mat-form-field> |
|
|
|
</div> |
|
|
|
<div> |
|
|
|
<mat-form-field appearance="outline" class="w-100"> |
|
|
|
<mat-label i18n>Fee</mat-label> |
|
|
|
<input |
|
|
|
matInput |
|
|
|
name="fee" |
|
|
|
required |
|
|
|
type="number" |
|
|
|
[(ngModel)]="data.transaction.fee" |
|
|
|
/> |
|
|
|
<span class="ml-2" matSuffix>{{ data.transaction.currency }}</span> |
|
|
|
</mat-form-field> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
<div class="d-flex" mat-dialog-actions> |
|
|
|
<gf-value |
|
|
|