Minor modification to allow "backdated" checkouts to expired patrons. user/dyrcona/lp1222242-backdate-checkout-for-expired-patron
authorJason Stephenson <jstephenson@mvlc.org>
Sat, 7 Sep 2013 17:05:39 +0000 (13:05 -0400)
committerJason Stephenson <jstephenson@mvlc.org>
Sat, 7 Sep 2013 20:31:52 +0000 (16:31 -0400)
commit2b08cb073221fe9c5c04099f50410888c4906f39
tree2ace7bcab2973bba8f1b30a63e5e474f67c1bc08
parentdc7ec6cfb60d66150ad43d4157a63ea739667217
Minor modification to allow "backdated" checkouts to expired patrons.

We add a $checkout_time variable to mk_env in Circulate.pm.  Then, we
check if the args include a checkout_time parameter.  If so we use
that when checking if the patron's account has expired.  If not we use
CORE::time to check for expiration.

Signed-off-by: Jason Stephenson <jstephenson@mvlc.org>
Open-ILS/src/perlmods/lib/OpenILS/Application/Circ/Circulate.pm