LP 985957 Prevent hold activation date being in the past
authorSuzanne Paterno <paterno@noblenet.org>
Tue, 6 Aug 2019 14:25:05 +0000 (10:25 -0400)
committerJason Etheridge <jason@EquinoxInitiative.org>
Mon, 21 Oct 2019 13:39:00 +0000 (09:39 -0400)
commit5dadc54f88e5ef3771664bded5312fb5d9131c4f
tree10adb53b3e0e117f25cc2c8c89b7deaa4f9c2683
parent332588c6c8ef7e19d45ad8036d23303272db5c74
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