LP#1552778: add timepicker to webstaff checkout page
authorGalen Charlton <gmc@equinoxinitiative.org>
Fri, 21 Sep 2018 18:58:47 +0000 (14:58 -0400)
committerDan Wells <dbw2@calvin.edu>
Wed, 3 Apr 2019 15:12:23 +0000 (11:12 -0400)
commit5a97270f80cbdd7857b3af13b9faa77c38ca22a6
tree5a928d0ac59961eadb2f0c6d6943db68ddf91f35
parentc21002647b107dfed06a31641d3340835edb5169
LP#1552778: add timepicker to webstaff checkout page

This patch adds a timepicker to go along with the datepicker
if the operator invokes the option to set a specific due
date.

To test
-------
[1] Arrange circ policies to have both hourly and daily loans.
[2] Apply the patch.
[3] Check out an item for an hourly loan. Verify that the
    due date and time is per policy.
[4] Check out an item for a daily loan. Verify that the
    due date is per policy.
[5] Check out an item for an hourly loan, but set a specific
    due date and time. Verify that the due date and time matches
    the selected value.
[6] Check out an item for a daily loan, but set a specific
    due date. Verify that the due date matches the selected
    value; note that any time component is ignored since
    for daily loans the time gets normalized to 23:59.

Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
Signed-off-by: Kathy Lussier <klussier@masslnc.org>
Signed-off-by: Dan Wells <dbw2@calvin.edu>
Open-ILS/src/templates/staff/circ/patron/t_checkout.tt2