Skip to content
This repository was archived by the owner on May 16, 2019. It is now read-only.

Commit 28e8514

Browse files
committed
transactions
1 parent b7169b3 commit 28e8514

File tree

1 file changed

+10
-10
lines changed

1 file changed

+10
-10
lines changed

js/templates/transactionModal.html

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -130,10 +130,10 @@ <h3 class="txt-bright"><%= polyglot.t('CheckExchanges') %> </h3>
130130
<% if(ob.dispute_resolution){ %>
131131
<div class="flexRow txt-center rowTop10 borderTop custCol-border pad10Top">
132132
<div class="flexExpand">
133-
<%= polyglot.t('transactions.BuyerPayout') %> <%= ob.dispute_resolution.resolution.buyer_payout.toFixed(8) || 0 %> BTC
133+
<%= polyglot.t('transactions.BuyerPayout') %> <%= ob.intlNumFormat(ob.dispute_resolution.resolution.buyer_payout, 8) || 0 %> BTC
134134
</div>
135135
<div class="flexExpand">
136-
<%= polyglot.t('transactions.SellerPayout') %> <%= ob.dispute_resolution.resolution.vendor_payout.toFixed(8) || 0 %> BTC
136+
<%= polyglot.t('transactions.SellerPayout') %> <%= ob.intlNumFormat(ob.dispute_resolution.resolution.vendor_payout, 8) || 0 %> BTC
137137
</div>
138138
</div>
139139
<% } %>
@@ -615,9 +615,9 @@ <h3 class="txt-bright"><%= polyglot.t('CheckExchanges') %> </h3>
615615
<div class="txt-unleaded">
616616
<div class="marginTop12 marginBottom4 fontSize14">
617617
<% if(ob.displayUnitPrice){ %>
618-
<strong><span class="noWrap"><%= ob.displayUnitPriceBTC.toFixed(8) %> BTC</span> (<%= ob.displayUnitPrice %>)</strong>
618+
<strong><span class="noWrap"><%= ob.intlNumFormat(ob.displayUnitPriceBTC, 8) %> BTC</span> (<%= ob.displayUnitPrice %>)</strong>
619619
<% } else if(ob.displayUnitPriceBTC){ %>
620-
<strong><%= ob.displayUnitPriceBTC.toFixed(8) %> BTC</strong>
620+
<strong><%= ob.intlNumFormat(ob.displayUnitPriceBTC, 8) %> BTC</strong>
621621
<% } %>*
622622
</div>
623623
<div class="noOverflow fontSize13 txt-fade">
@@ -655,9 +655,9 @@ <h3 class="txt-bright"><%= polyglot.t('CheckExchanges') %> </h3>
655655
<div class="flexCol-5">
656656
<div class="txt-unleaded fontSize14 textOpacity1 marginTop12">
657657
<% if(ob.displayShippingPrice){ %>
658-
<strong><%= ob.displayShippingPriceBTC.toFixed(8) %> BTC <span class="noWrap">(<%= ob.displayShippingPrice %>)</span></strong>
658+
<strong><%= ob.intlNumFormat(ob.displayShippingPriceBTC, 8) %> BTC <span class="noWrap">(<%= ob.displayShippingPrice %>)</span></strong>
659659
<% } else if(ob.displayShippingPriceBTC){ %>
660-
<strong><%= ob.displayShippingPriceBTC.toFixed(8) %> BTC</strong>
660+
<strong><%= ob.intlNumFormat(ob.displayShippingPriceBTC, 8) %> BTC</strong>
661661
<% } else { %>
662662
<strong><%= polyglot.t('Free') %></strong>
663663
<% } %>
@@ -704,9 +704,9 @@ <h3 class="txt-bright"><%= polyglot.t('CheckExchanges') %> </h3>
704704
</div>
705705
<div class="flexCol-5 alignRight">
706706
<% if(ob.displayTotalPrice){ %>
707-
<strong><span class="noWrap"><%= ob.buyer_order.order.payment.amount.toFixed(8) %> BTC</span> (<%= ob.displayTotalPrice %>)</strong>
707+
<strong><span class="noWrap"><%= ob.intlNumFormat(ob.buyer_order.order.payment.amount, 8) %> BTC</span> (<%= ob.displayTotalPrice %>)</strong>
708708
<% } else if(ob.buyer_order.order.payment.amount){ %>
709-
<strong><%= ob.buyer_order.order.payment.amount.toFixed(8) %> BTC</strong>
709+
<strong><%= ob.intlNumFormat(ob.buyer_order.order.payment.amount, 8) %> BTC</strong>
710710
<% } else { %>
711711
<strong><%= polyglot.t('Free') %></strong>
712712
<% } %>
@@ -1059,10 +1059,10 @@ <h3 class="txt-bright"><%= polyglot.t('CheckExchanges') %> </h3>
10591059
<div class="fieldItem fontSize11">
10601060
<%= polyglot.t('transactions.TotalInTransaction') %>
10611061
<strong>
1062-
<%= (ob.buyer_order.order.payment.amount - ob.buyer_order.order.payment.amount * ob.displayModerator.feeDecimal).toFixed(8) %> BTC
1062+
<%= ob.intlNumFormat(ob.buyer_order.order.payment.amount - ob.buyer_order.order.payment.amount * ob.displayModerator.feeDecimal, 8) %> BTC
10631063
</strong>
10641064
<div class="pull-right">
1065-
<%= polyglot.t('transactions.YouEarn') %> <%= (ob.buyer_order.order.payment.amount * ob.displayModerator.feeDecimal).toFixed(8) %> BTC
1065+
<%= polyglot.t('transactions.YouEarn') %> <%= ob.intlNumFormat(ob.buyer_order.order.payment.amount * ob.displayModerator.feeDecimal, 8) %> BTC
10661066
</div>
10671067
</div>
10681068
</div>

0 commit comments

Comments
 (0)