Minor fixes:

* min value allowed on input (was 1, now is 0.0001)
* Number filter with 4 decimals
This commit is contained in:
Gustavo Cortez 2014-06-25 15:24:11 -03:00
commit b221bb16d4

View file

@ -688,7 +688,7 @@
<div class="small-9 columns">
<input type="number" id="amount" ng-disabled="loading"
name="amount" placeholder="Amount" ng-model="amount"
min="1" max="10000000000" enough-amount required
min="0.0001" max="10000000000" enough-amount required
autocomplete="off"
>
</div>
@ -702,13 +702,13 @@
Total amount for this transaction:
</small>
<div class="totalAmount">
<b>{{amount + defaultFee |number}}</b> {{$root.unitName}}
<b>{{amount + defaultFee |number:4}}</b> {{$root.unitName}}
<small>
{{ ((amount + defaultFee) * unitToBtc) |number}} BTC
{{ ((amount + defaultFee) * unitToBtc) |number:4}} BTC
</small>
</div>
<small>
Including fee of {{defaultFee|number}} {{$root.unitName}}
Including fee of {{defaultFee |number:4}} {{$root.unitName}}
</small>
</div>
</div>