LP#1741072 Volcopy editor deposit amount format repairs
authorBill Erickson <berickxx@gmail.com>
Mon, 8 Jan 2018 15:37:17 +0000 (10:37 -0500)
committerGalen Charlton <gmc@equinoxinitiative.org>
Thu, 11 Jan 2018 15:22:04 +0000 (10:22 -0500)
Use the new str-to-float formatter for deposit amount, consistent with
the other currency fields.

Signed-off-by: Bill Erickson <berickxx@gmail.com>
Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
Open-ILS/src/templates/staff/cat/volcopy/t_attr_edit.tt2

index 8b61610..5b9181e 100644 (file)
                     </div>
                 </div>
                 <div class="col-md-6" ng-class="{'bg-success': working.deposit_amount !== undefined}">
-                    <input class="form-control" ng-disabled="!defaults.attributes.deposit_amount" string-to-number ng-model="working.deposit_amount" type="number" step="0.01"/>
+                    <input class="form-control" ng-disabled="!defaults.attributes.deposit_amount" str-to-float ng-model="working.deposit_amount" type="number" step="0.01"/>
                 </div>
             </div>