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

View file

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

View file

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