]> git.evergreen-ils.org Git - Evergreen.git/commit
LP#1552778: add timepicker to webstaff checkout page
authorGalen Charlton <gmc@equinoxinitiative.org>
Fri, 21 Sep 2018 18:58:47 +0000 (14:58 -0400)
committerKathy Lussier <klussier@masslnc.org>
Mon, 24 Sep 2018 18:41:04 +0000 (14:41 -0400)
commit6fbbcca096402e099f90702e5f79a98b80bc69a2
tree66cf53c77bee311b13776d6bd1fac6d7e93078db
parentb1c3b925764f6d8bf7cfe8b9f9c9a4ebe4c09d04
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>
Open-ILS/src/templates/staff/circ/patron/t_checkout.tt2