http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=13255

--- Comment #1 from Owen Leonard <[email protected]> ---
Tying the on-site checkout due date to the template doesn't look like it can
work if the SpecifyDueDate preference is turned off. circulation.pl won't even
consider the date which gets passed if SpecifyDueDate is off:

circulation.pl line 160:

my $duedatespec_allow = C4::Context->preference('SpecifyDueDate');
if($duedatespec_allow){
    if ($duedatespec) {
        if ($duedatespec =~ C4::Dates->regexp('syspref')) {
                $datedue = dt_from_string($duedatespec);

Because of this it's probably better to calculate the custom due date for
on-site checkouts in circulation.pl based on the onsite_checkout checkbox
value.

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
[email protected]
http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to