JBAS-1129 Cross-port patron reg set-expire-date
authorBill Erickson <berickxx@gmail.com>
Wed, 13 Jan 2016 19:34:50 +0000 (11:34 -0800)
committerBill Erickson <berickxx@gmail.com>
Thu, 21 Mar 2019 19:46:23 +0000 (15:46 -0400)
commita73acf86472dc5280039d7e5cbe3e113e3237a61
treec3b63703c98ef9beede856d47fdc9aba8bec29e5
parent8edb4660002bc478f2a202eb64910cba0341098b
JBAS-1129 Cross-port patron reg set-expire-date

Copying to KCLS template.

Originally:

commit 6807a06a11d309e94dbc5e286e45a5fdd3eaecab
Author: Jeff Godin <jgodin@tadl.org>
Date:   Wed Oct 30 15:42:15 2013 -0400

    Add button to update expire date field

    When updating/renewing a patron (expired or not), it would be
    convenient to have a means of populating the expire date field with
    a value of perm_interval + today. Currently, staff are required to
    manually enter a date, or could toggle the profile from one profile
    then back to the desired profile, but this is not ideal.

    This commit adds a new button next to the expire date, which when
    activated will re-calculate the date based on the current profile's
    perm_interval and today's date.

    This is similar to how the expire date is populated when creating a
    new user, or when changing the profile group. A button is used here
    so that the updating of the expire date is an intentional process,
    not one that happens upon any edit.

Signed-off-by: Jeff Godin <jgodin@tadl.org>
Signed-off-by: Ben Shum <bshum@biblio.org>
Signed-off-by: Bill Erickson <berickxx@gmail.com>
KCLS/openils/var/templates_kcls/actor/user/register_table.tt2