]> git.evergreen-ils.org Git - Evergreen.git/commit
Use xact_start for due date calc instead of now
authorThomas Berezansky <tsbere@mvlc.org>
Mon, 9 Sep 2013 19:49:47 +0000 (15:49 -0400)
committerDan Wells <dbw2@calvin.edu>
Mon, 10 Nov 2014 21:11:19 +0000 (16:11 -0500)
commit2df5aff9f202b9d2fa0cb5d2d63ccfbd358b5495
treef74f9b472c923d45e9ad9058adf18e79d6a17f7d
parentcaf6c6a1162f248376c14bb0e32461bbe02224a5
Use xact_start for due date calc instead of now

If you don't supply a due date when creating a circulation with the
open-ils.circ.checkout family of calls, the due date is currently
calculated from now().  This code modification changes that so that
if a checkout_date is supplied that is used to calculate the due date
instead of now().

This enables some interesting uses of the open-ils.circ module for
batch circulation in the cases of offline use from a spreadsheet and
not the offline client or in the case of migrating circulations from
another ILS into Evergreen.

Signed-off-by: Thomas Berezansky <tsbere@mvlc.org>
Signed-off-by: Jason Stephenson <jstephenson@mvlc.org>
Signed-off-by: Dan Wells <dbw2@calvin.edu>
Open-ILS/src/perlmods/lib/OpenILS/Application/Circ/Circulate.pm