Bugzilla – Attachment 5879 Details for
Bug 3385
Add checkout date and renewal date to display list of checked out items
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Proposed fix
0001-Fix-for-Bug-3385-Add-checkout-date-and-renewal-date-.patch (text/plain), 2.68 KB, created by
Owen Leonard
on 2011-10-13 18:48:32 UTC
(
hide
)
Description:
Proposed fix
Filename:
MIME Type:
Creator:
Owen Leonard
Created:
2011-10-13 18:48:32 UTC
Size:
2.68 KB
patch
obsolete
>From 07a2950d3f238fe4047a1817d08a935c6f259f64 Mon Sep 17 00:00:00 2001 >From: Owen Leonard <oleonard@myacpl.org> >Date: Thu, 13 Oct 2011 14:44:18 -0400 >Subject: [PATCH] Fix for Bug 3385 - Add checkout date and renewal date to display list of checked out items >Content-Type: text/plain; charset="utf-8" > >This patch doesn't fix the origial request to add the renewal date >to the list of checked out items, but follows the other bug commenter's >suggestion that the information be added to the item details page >(moredetail.pl). > >The other part of this request, to add the checkout date, has already >been fixed by another patch. >--- > C4/Items.pm | 1 + > .../prog/en/modules/catalogue/moredetail.tt | 2 +- > 2 files changed, 2 insertions(+), 1 deletions(-) > >diff --git a/C4/Items.pm b/C4/Items.pm >index 23eb1eb..65b3d02 100644 >--- a/C4/Items.pm >+++ b/C4/Items.pm >@@ -1207,6 +1207,7 @@ sub GetItemsInfo { > $data->{cardnumber} = $idata->{cardnumber}; > $data->{surname} = $idata->{surname}; > $data->{firstname} = $idata->{firstname}; >+ $data->{lastreneweddate} = $idata->{lastreneweddate}; > $datedue = $idata->{'date_due'}; > if (C4::Context->preference("IndependantBranches")){ > my $userenv = C4::Context->userenv; >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/moredetail.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/moredetail.tt >index 86c8a3f..44142de 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/moredetail.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/moredetail.tt >@@ -67,7 +67,7 @@ > > <ol class="bibliodetails"> > <li><span class="label">Current Location:</span> [% ITEM_DAT.holdingbranchname %] </li> >- <li><span class="label">Checkout Status:</span> [% IF ( ITEM_DAT.issue ) %]Checked out to <a href="/cgi-bin/koha/members/moremember.pl?borrowernumber=[% ITEM_DAT.borrowernumber %]">[% ITEM_DAT.cardnumber %]</a>, Due back on [% ITEM_DAT.datedue %][% ELSE %]Not Checked out [% END %]</li> >+ <li><span class="label">Checkout Status:</span> [% IF ( ITEM_DAT.issue ) %]Checked out to <a href="/cgi-bin/koha/members/moremember.pl?borrowernumber=[% ITEM_DAT.borrowernumber %]">[% ITEM_DAT.cardnumber %]</a>[% IF ( ITEM_DAT.lastreneweddate ) %], Last renewed [% ITEM_DAT.lastreneweddate %][% END %], Due back on [% ITEM_DAT.datedue %][% ELSE %]Not Checked out [% END %]</li> > <li><span class="label">Current Renewals:</span> [% ITEM_DAT.renewals %] </li> > [% IF ( ITEM_DAT.itemlostloop ) %] > <li><span class="label">Lost Status:</span> >-- >1.7.3 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 3385
:
5879
|
5890
|
6344
|
6549