From 2820b5cab8950b8a8322e0169336364e60b9173e Mon Sep 17 00:00:00 2001 From: Owen Leonard Date: Wed, 19 May 2010 09:35:04 -0400 Subject: [PATCH] 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. --- catalogue/issuehistory.pl | 1 + .../prog/en/modules/catalogue/issuehistory.tmpl | 44 ++++++++----------- 2 files changed, 20 insertions(+), 25 deletions(-) diff --git a/catalogue/issuehistory.pl b/catalogue/issuehistory.pl index a6f12c3..0d774ea 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 7ca6c61..6acb4a2 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 libraryCheckout 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.

-- 1.7.0.4