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 Sharp <csharp@georgialibraries.org>
Wed, 19 Aug 2020 15:33:12 +0000 (11:33 -0400)
commitfd317a5e934c81820927ad1b6cfecefed7d10110
treefb77f1fe26796be755a45f1756adc8ff1a9465d6
parent67f8921f2ff3af426b6497fa31dec33093dd0ccc
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