Adds filters to every fiat values

This commit is contained in:
Gustavo Maximiliano Cortez 2015-09-10 16:19:07 -03:00
commit 1f975dc283
No known key found for this signature in database
GPG key ID: 15EDAD8D9F2EB1AF
8 changed files with 50 additions and 46 deletions

View file

@ -18,7 +18,7 @@
ng-style="{'background-color':color}" translate>Bought</span>
<span class="label tu gray radius" ng-show="tx.type == 'SELL'" translate>Sold</span>
<div class="size-42">
{{tx.subtotal}} {{tx.currency}}
{{tx.subtotal|currency:'':2}} {{tx.currency}}
</div>
<div class="size-12 text-gray">
<span class="text-success" ng-if="tx.status == 'COMPLETE'">Completed</span>
@ -32,28 +32,30 @@
<ul class="no-bullet size-14 m0">
<li ng-show="tx.transactionDate" class="line-b p10 oh">
<span class="text-gray" translate>Date</span>:
<span class="text-gray" translate>Date</span>
<span class="right">{{tx.transactionDate | amCalendar}}</span>
</li>
<li ng-show="tx.price" class="line-b p10 oh">
<span class="text-gray" translate>Price</span>:
<span class="right">${{tx.price}} {{tx.currency}}</span>
<span class="text-gray" translate>Exchange rate</span>
<span class="right">{{tx.price|currency:'':2}} {{tx.currency}}/BTC</span>
</li>
</ul>
<h4 class="title m0">&nbsp;</h4>
<ul class="no-bullet size-14 m0">
<li ng-show="tx.subtotal" class="line-b p10 oh">
<span class="text-gray" translate>Subtotal</span>:
<span class="right">${{tx.subtotal}} {{tx.currency}}</span>
<span class="text-gray" translate>Subtotal</span>
<span class="right">{{tx.subtotal|currency:'':2}} {{tx.currency}}</span>
</li>
<li ng-show="tx.fees" class="line-b p10 oh">
<span class="text-gray" translate>Fees</span>:
<span class="right">${{tx.fees}} {{tx.currency}}</span>
<span class="text-gray" translate>Fees</span>
<span class="right">{{tx.fees|currency:'':2}} {{tx.currency}}</span>
</li>
<li ng-show="tx.total" class="line-b p10 oh">
<span class="text-gray" translate>Total</span>:
<span class="right">${{tx.total}} {{tx.currency}}</span>
<li ng-show="tx.total" class="line-b p10 oh text-bold">
<span class="text-gray" translate>Total</span>
<span class="right">{{tx.total|currency:'':2}} {{tx.currency}}</span>
</li>
</ul>
<div class="extra-margin-bottom"></div>