tweak display of issuing library on staff reading history
authorGalen Charlton <gmcharlt@gmail.com>
Wed, 7 Apr 2010 14:54:08 +0000 (10:54 -0400)
committerGalen Charlton <gmcharlt@gmail.com>
Wed, 7 Apr 2010 14:57:47 +0000 (10:57 -0400)
Following idea in patch submitted by Kyle Hall on 1 April 2010,
use issues.branchcode instead of issues.issuingbranch to set
displayed issuing library.  Also tweaked wording.

Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
koha-tmpl/intranet-tmpl/prog/en/modules/members/readingrec.tmpl
members/readingrec.pl

index d24a3a6..aa1bf22 100644 (file)
@@ -33,8 +33,8 @@
        <th>Call No.</th>
        <th>Barcode</th>
        <th>Number of Renewals</th>
-       <th>Issue date</th>
-       <th>Issuing branch</th>
+       <th>Checked out on</th>
+       <th>Checked out from</th>
        <th>Date Due</th>
        <th>
                <a href="readingrec.pl?borrowernumber=<!-- TMPL_VAR name="borrowernumber" -->&amp;order=returndate%20DESC&amp;limit=<!-- TMPL_VAR name="limit" -->">Return Date</a>
index 6c45619..bd6ca82 100755 (executable)
@@ -84,7 +84,7 @@ foreach my $issue (@{$issues}){
        $line{date_due}        = format_date($issue->{'date_due'});
        $line{returndate}      = format_date($issue->{'returndate'});
        $line{issuedate}       = format_date($issue->{'issuedate'});
-       $line{issuingbranch}   = GetBranchName($issue->{'issuingbranch'});
+       $line{issuingbranch}   = GetBranchName($issue->{'branchcode'});
        $line{renewals}        = $issue->{'renewals'};
        $line{barcode}         = $issue->{'barcode'};
        $line{volumeddesc}     = $issue->{'volumeddesc'};