Koha/koha-tmpl/intranet-tmpl/prog
Martin Renvoize a6d77fb428 Bug 27967: Add min attribute to borraccount modals
This patch adds a min attribute to the form fields of the borrower
account page modals to prevent negative values being entered
inappropriately.

Test plan
1/ Trigger the refund modal from the borrower account page.
2/ Attempt to enter a negative value for the amount to refund and note
with the patch applied you face a validation error (without the patch,
upon submission of a negative value you will be faced with a server side
error)
3/ Trigger the discount modal from the borrower account page.
4/ Attempt to enter a negative value for the amount to discount and note
with the patch applied you face a validation error (without the patch,
upon submission of a negative value you will be faced with a server side
error)
5/ Signoff

Signed-off-by: Owen Leonard <oleonard@myacpl.org>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
2021-03-18 15:03:29 +01:00
..
css Bug 27737: (follow-up) Minimal CSS changes to avoid regressions 2021-03-16 12:04:02 +01:00
en Bug 27967: Add min attribute to borraccount modals 2021-03-18 15:03:29 +01:00
img Bug 23148: Replace Bridge icons with transparent PNG files 2020-07-20 16:16:37 +02:00
js Bug 27930: Move _escape_* from acqui/parcel.tt to js/staff-global.js 2021-03-11 16:30:56 +01:00
pdf Bug 5016: Fix some translation issues with English PDF order templates 2020-02-19 11:26:41 +00:00
sound