From ef97c46604beaf900533a8fa382c0ab2d220bcf2 Mon Sep 17 00:00:00 2001 From: Owen Leonard Date: Wed, 19 May 2010 09:46:12 -0400 Subject: [PATCH] Corrected: Fix for Bug 4529, columns on circ history all screwy - fix formatting of last renew date - Add table zebra striping - Other markup structure changes - Revised template assumes that issues.branchcode == checkout library and displays that value instead of issues.issuingbranch (which is always empty, see Bug 2806) issues.branchcode seems to reflect the item's holding branch *after* having been updated as part of the checkout transaction. Signed-off-by: Galen Charlton --- catalogue/issuehistory.pl | 1 + .../en/modules/catalogue/issuehistory.tmpl | 44 ++++++++----------- 2 files changed, 20 insertions(+), 25 deletions(-) diff --git a/catalogue/issuehistory.pl b/catalogue/issuehistory.pl index a6f12c37c8..0d774eac18 100755 --- a/catalogue/issuehistory.pl +++ b/catalogue/issuehistory.pl @@ -67,6 +67,7 @@ foreach (@$issues){ $_->{date_due} = format_date($_->{date_due}); $_->{issuedate} = format_date($_->{issuedate}); $_->{returndate} = format_date($_->{returndate}); + $_->{lastreneweddate} = format_date($_->{lastreneweddate}); } $template->param( total => scalar @$issues, diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/issuehistory.tmpl b/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/issuehistory.tmpl index 7ca6c610be..13b0e07e99 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/issuehistory.tmpl +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/issuehistory.tmpl @@ -15,29 +15,26 @@
-

Checkout history for ()

+

Checkout history for

+

by

-

Has been checked out times

+

Checked out times

- + - - + - + + - - + - + +
Patron BarcodeLibraryIssuing libraryChecked out from Renewed Checkout on Due date Checkin on
- - -   -
">, &itemnumber="> @@ -49,20 +46,16 @@   - - -   - - YES
- - - last on: + Yes, last on: - - NO + No +
+ + +   @@ -76,10 +69,11 @@
-

- () has never been checked out.

+

+ , by has never been checked out.

-- 2.20.1