|
|
|
@ -6,13 +6,33 @@
|
|
|
|
|
</h3>
|
|
|
|
|
<mat-card class="mb-3">
|
|
|
|
|
<mat-card-content>
|
|
|
|
|
<div *ngIf="exchangeRates?.length > 0" class="d-flex my-3">
|
|
|
|
|
<div
|
|
|
|
|
*ngIf="exchangeRates?.length > 0"
|
|
|
|
|
class="align-items-start d-flex my-3"
|
|
|
|
|
>
|
|
|
|
|
<div class="w-50" i18n>Exchange Rates</div>
|
|
|
|
|
<div class="w-50">
|
|
|
|
|
<div *ngFor="let exchangeRate of exchangeRates" class="mb-1">
|
|
|
|
|
1 {{ exchangeRate.label1 }} = {{ exchangeRate.value | number :
|
|
|
|
|
'1.5-5' }} {{ exchangeRate.label2 }}
|
|
|
|
|
</div>
|
|
|
|
|
<table>
|
|
|
|
|
<tr *ngFor="let exchangeRate of exchangeRates">
|
|
|
|
|
<td class="d-flex">
|
|
|
|
|
<gf-value
|
|
|
|
|
[locale]="user?.settings?.locale"
|
|
|
|
|
[precision]="2"
|
|
|
|
|
[value]="1"
|
|
|
|
|
></gf-value>
|
|
|
|
|
</td>
|
|
|
|
|
<td class="pl-1">{{ exchangeRate.label1 }}</td>
|
|
|
|
|
<td class="px-2">=</td>
|
|
|
|
|
<td class="d-flex justify-content-end">
|
|
|
|
|
<gf-value
|
|
|
|
|
[locale]="user?.settings?.locale"
|
|
|
|
|
[precision]="4"
|
|
|
|
|
[value]="exchangeRate.value"
|
|
|
|
|
></gf-value>
|
|
|
|
|
</td>
|
|
|
|
|
<td class="pl-1">{{ exchangeRate.label2 }}</td>
|
|
|
|
|
</tr>
|
|
|
|
|
</table>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="d-flex my-3">
|
|
|
|
|