From: Bill Erickson Date: Wed, 13 Jan 2016 19:34:50 +0000 (-0800) Subject: JBAS-1129 Cross-port patron reg set-expire-date X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=a73acf86472dc5280039d7e5cbe3e113e3237a61;p=working%2FEvergreen.git JBAS-1129 Cross-port patron reg set-expire-date Copying to KCLS template. Originally: commit 6807a06a11d309e94dbc5e286e45a5fdd3eaecab Author: Jeff Godin 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 Signed-off-by: Ben Shum Signed-off-by: Bill Erickson --- diff --git a/KCLS/openils/var/templates_kcls/actor/user/register_table.tt2 b/KCLS/openils/var/templates_kcls/actor/user/register_table.tt2 index ca90cb4570..e744f0eb71 100644 --- a/KCLS/openils/var/templates_kcls/actor/user/register_table.tt2 +++ b/KCLS/openils/var/templates_kcls/actor/user/register_table.tt2 @@ -57,7 +57,12 @@ - + + + + + +