Koha-clms/catalogue
Galen Charlton 2d048e474e bug 3049: display correct due date of renewed loans
The intranet item display provided by moredetail.pl
would display the original due date of the item, and
would thus be incorrect if the item had been renewed
and got a different due date.

The incorrect date was coming from items.onloan,
which AddIssue() sets to the due date.  This patch
fixes the bug in two ways:

[1] AddRenewal() now updates items.onloan with the
    correct due date.
[2] Two templates were updated to display the
    due date from (indirectly) issues.date_due
    instead of items.onloan, thus making it less
    likely that the wrong value will be displayed.

This patch does *not* update items.onloan to reflect
the correct due date.

Signed-off-by: Galen Charlton <galen.charlton@liblime.com>
Signed-off-by: Henri-Damien LAURENT <henridamien.laurent@biblibre.com>
2009-05-26 21:15:09 +02:00
..
ISBDdetail.pl bug 2615: remove unneeded 'require Exporter' 2008-10-28 22:09:32 +01:00
MARCdetail.pl BUG-1503: fixes broken matching for 'hidden' values. 2009-05-26 21:15:04 +02:00
cardview.pl bug 2615: remove unneeded 'require Exporter' 2008-10-28 22:09:32 +01:00
detail.pl Block warning on detail.pl. 2009-01-27 12:19:48 +01:00
detailprint.pl bug 2615: remove unneeded 'require Exporter' 2008-10-28 22:09:32 +01:00
dictionary.pl cataloge subdir (and cataloguing) - Dates.pm integration and warnings fixes. 2007-12-04 18:21:11 -06:00
export.pl bug 2615: remove unneeded 'require Exporter' 2008-10-28 22:09:32 +01:00
issuehistory.pl bug 2615: remove unneeded 'require Exporter' 2008-10-28 22:09:32 +01:00
moredetail.pl bug 3049: display correct due date of renewed loans 2009-05-26 21:15:09 +02:00
search.pl remove incomplete bib bulk editing code 2009-05-26 21:15:08 +02:00
showmarc.pl remove superfluous retrieval of $ENV{'REMOTE_USER'} 2009-05-26 21:14:52 +02:00
suggest.pl bug 2615: remove unneeded 'require Exporter' 2008-10-28 22:09:32 +01:00
updateitem.pl Update longoverdue.pl cron job to manage setting lost values. 2008-08-10 15:54:29 -05:00