From 2f7449a7d94eb077fdb575e691e63f3e7da131ac Mon Sep 17 00:00:00 2001 From: Bill Erickson <berickxx@gmail.com> Date: Mon, 8 Jan 2018 10:37:17 -0500 Subject: [PATCH] LP#1741072 Volcopy editor deposit amount format repairs 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 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Open-ILS/src/templates/staff/cat/volcopy/t_attr_edit.tt2 b/Open-ILS/src/templates/staff/cat/volcopy/t_attr_edit.tt2 index 8b61610f17..5b9181e5d5 100644 --- a/Open-ILS/src/templates/staff/cat/volcopy/t_attr_edit.tt2 +++ b/Open-ILS/src/templates/staff/cat/volcopy/t_attr_edit.tt2 @@ -320,7 +320,7 @@ </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> -- 2.11.0