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