]> git.evergreen-ils.org Git - working/Evergreen.git/commit
LP#1776757: (follow-up) keep input for amount as type "number"
authorGalen Charlton <gmc@equinoxinitiative.org>
Tue, 28 Jul 2020 14:43:25 +0000 (10:43 -0400)
committerChris Burton <cburton@nflibrary.ca>
Thu, 10 Sep 2020 16:01:35 +0000 (12:01 -0400)
commitab0685928349b399c1a5a157f01e7c8ea14a3c7a
treee9e57a7718f534febad95277e4a51d105c683c04
parent200e79300bd38078b13ea7485aa9209e8df2aae9
LP#1776757: (follow-up) keep input for amount as type "number"

Doing this preserves the form validation that ensures that
the user cannot submit the form with a non-numeric amount.

This does lose forcing the display of default amounts such as
"1.50" to two decimal places, but I'm figuring that form validation
takes priority pending a longer-term solution such as a custom
value validator or using ng-currency.

Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
Open-ILS/src/templates/staff/circ/share/t_bill_patron_dialog.tt2
Open-ILS/web/js/ui/default/staff/circ/services/billing.js