[Koha-patches] [PATCH] Adding a copynumber column to holds awaiting pickup report
Chris Cormack
chrisc at catalyst.net.nz
Mon Jul 12 00:57:58 CEST 2010
---
circ/waitingreserves.pl | 1 +
.../prog/en/modules/circ/waitingreserves.tmpl | 5 +++++
2 files changed, 6 insertions(+), 0 deletions(-)
diff --git a/circ/waitingreserves.pl b/circ/waitingreserves.pl
index e924bcf..e84339f 100755
--- a/circ/waitingreserves.pl
+++ b/circ/waitingreserves.pl
@@ -128,6 +128,7 @@ foreach my $num (@getreserves) {
$getreserv{'homebranch'} = GetBranchName($gettitle->{'homebranch'});
$getreserv{'holdingbranch'} = $gettitle->{'holdingbranch'};
$getreserv{'itemcallnumber'} = $gettitle->{'itemcallnumber'};
+ $getreserv{'copynumber'} = $gettitle->{'copynumber'};
if ( $gettitle->{'homebranch'} ne $gettitle->{'holdingbranch'} ) {
$getreserv{'dotransfer'} = 1;
}
diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/waitingreserves.tmpl b/koha-tmpl/intranet-tmpl/prog/en/modules/circ/waitingreserves.tmpl
index bbb5dfb..2e2e14b 100644
--- a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/waitingreserves.tmpl
+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/circ/waitingreserves.tmpl
@@ -79,6 +79,7 @@ $.tablesorter.addParser({
<th>Title</th>
<th>Patron</th>
<th>Location</th>
+ <th>Copy Number</th>
<th>Action</th>
</tr></thead>
<tbody><!-- TMPL_LOOP NAME="reserveloop" -->
@@ -97,12 +98,14 @@ $.tablesorter.addParser({
<!-- TMPL_VAR NAME="borrowermail" --></a><!--/TMPL_IF-->
</td>
<td><!-- TMPL_VAR NAME="homebranch" --><br /><!-- TMPL_VAR NAME="itemcallnumber" --></td>
+ <td><!-- TMPL_VAR NAME="copynumber" --></td>
<td>
<form name="cancelReserve" action="waitingreserves.pl" method="post">
<input type="hidden" name="borrowernumber" value="<!-- TMPL_VAR NAME="borrowernum" -->" />
<input type="hidden" name="itemnumber" value="<!-- TMPL_VAR NAME="itemnumber" -->" />
<input type="hidden" name="fbr" value="<!-- TMPL_VAR NAME="holdingbranch" -->" />
<input type="hidden" name="tbr" value="<!-- TMPL_VAR NAME="homebranch" -->" />
+
<!-- TMPL_IF NAME="dotransfer" -->
<input type="submit" value="Cancel hold and return to : <!-- TMPL_VAR NAME="homebranch" -->" />
<!-- TMPL_ELSE -->
@@ -125,6 +128,7 @@ $.tablesorter.addParser({
<th>Title</th>
<th>Patron</th>
<th>Location</th>
+ <th>Copy Number</th>
<th>Action</th>
</tr></thead>
<tbody><!-- TMPL_LOOP NAME="overloop" -->
@@ -149,6 +153,7 @@ $.tablesorter.addParser({
<!-- TMPL_VAR NAME="borrowermail" --></a><!--/TMPL_IF-->
</td>
<td><!-- TMPL_VAR NAME="homebranch" --> <!-- TMPL_VAR NAME="itemcallnumber" --></td>
+ <td><!-- TMPL_VAR NAME="copynumber" --></td>
<td>
<form name="cancelReserve" action="waitingreserves.pl" method="post">
<input type="hidden" name="borrowernumber" value="<!-- TMPL_VAR NAME="borrowernum" -->" />
--
1.6.3.3
More information about the Koha-patches
mailing list