Change Zcash value format to 8 decimals instead of 6

This commit is contained in:
Rene V. Vergara A. 2022-07-22 16:08:45 -05:00
parent cbcf35b5a7
commit b291265b5b
3 changed files with 6 additions and 13 deletions

View file

@ -27,7 +27,7 @@
<img class="icon"
src="/assets/zec_rv.png"
height="16px">
{{(item.cost/zecPrice) | number: '1.06'}}
{{(item.cost/zecPrice) | number: '1.08'}}
[{{item.cost | number: '1.02' | currency: getCurrency() }}]
</div>
<p class="price"
@ -49,13 +49,6 @@
</button>
</td>
<td align="right">
<!--
<button class="btn">
<fa-icon [icon]="getIcon(order)" >
</fa-icon>
</button>
-->
<button mat-raised-button
color="primary"
class="buttons-class-cart"

View file

@ -13,7 +13,7 @@
<div class="totalsHdrDetail">
<img src="/assets/zec_rv.png"
style="height: 16px !important;
margin-bottom: -2px;">{{todayTotal | number: '1.06'}}
margin-bottom: -2px;">{{todayTotal | number: '1.08'}}
</div>
</td>
<td width="40%" >
@ -21,7 +21,7 @@
<div class="totalsHdrDetail">
<img src="/assets/zec_rv.png"
style="height: 16px !important;
margin-bottom: -2px;">{{total | number: '1.06'}}
margin-bottom: -2px;">{{total | number: '1.08'}}
</div>
</td>
<td width="10%"></td>
@ -37,7 +37,7 @@
<img src="/assets/zec_rv.png"
style="height: 16px;
margin-bottom: -2px;"
>{{order.totalZec | number: '1.06'}}
>{{order.totalZec | number: '1.08'}}
</div>
</mat-panel-title>
<mat-panel-description>
@ -67,7 +67,7 @@
<td align="right"
width="50%">
<img class="icon" src="/assets/zec_rv.png"
>{{ order.totalZec | number: '1.06'}}
>{{ order.totalZec | number: '1.08'}}
</td>
</tr>
<tr style="font-family: Roboto Mono;

View file

@ -13,7 +13,7 @@
<td align="right"
width="50%">
<img class="icon" src="/assets/zec_rv.png"
>{{(total/price) | number: '1.0-6'}}
>{{(total/price) | number: '1.08'}}
</td>
</tr>
<tr class="newOrderTitle2">