Format amount.

This commit is contained in:
Sander Dorigo 2014-11-08 11:37:55 +01:00
parent fe05d218fc
commit 7895d7f5d0
2 changed files with 2 additions and 2 deletions

View File

@ -12,7 +12,7 @@
</p>
<div class="input-group">
<div class="input-group-addon"></div>
<input step="any" class="form-control" id="amount" autocomplete="off" name="amount" max="{{$maxAmount}}" type="number">
<input step="any" class="form-control" id="amount" autocomplete="off" name="amount" max="{{round($maxAmount,2)}}" type="number">
</div>
</div>
<div class="modal-footer">

View File

@ -12,7 +12,7 @@
</p>
<div class="input-group">
<div class="input-group-addon"></div>
<input step="any" class="form-control" id="amount" autocomplete="off" name="amount" max="{{$piggybank->currentRelevantRep()->currentamount}}" type="number">
<input step="any" class="form-control" id="amount" autocomplete="off" name="amount" max="{{round($piggybank->currentRelevantRep()->currentamount,2)}}" type="number">
</div>
</div>
<div class="modal-footer">