LP 985957 Prevent hold activation date being in the past collab/phasefx/lp985957
authorSuzanne Paterno <paterno@noblenet.org>
Tue, 6 Aug 2019 14:25:05 +0000 (10:25 -0400)
committerJason Etheridge <jason@EquinoxInitiative.org>
Tue, 8 Oct 2019 02:45:01 +0000 (22:45 -0400)
commit05f45dc1b1fb3e345a9c48eb1c164fe97836fe50
tree133087db858bc1f0ade1b5d94975f26e3c4b190b
parent313c9237666ddd9f23a0968558776e6426d14a59
LP 985957 Prevent hold activation date being in the past

Created a new JS function isValidDate. Checks that the date is in the future, is a valid date within the month/year given. Also makes sure the date is in the proper format D/m/Y.

Signed-off-by: Jason Etheridge <jason@EquinoxInitiative.org>
Open-ILS/src/templates/opac/i18n_strings.tt2
Open-ILS/web/js/ui/default/opac/holds-validation.js