From d0a474a9af3b4c8e76ebaf8e01694df87f55fdda Mon Sep 17 00:00:00 2001 From: Owen Leonard Date: Wed, 19 May 2010 09:35:04 -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. --- 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..13b0e07 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.

-- 1.7.0.4