Owen Leonard
9319ab3254
Also correcting display of itemtype based on item-level_itype preference Signed-off-by: Nicole Engard <nengard@bywatersolutions.com> Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz>
167 lines
9 KiB
Cheetah
167 lines
9 KiB
Cheetah
<!-- TMPL_INCLUDE NAME="doc-head-open.inc" -->
|
|
<title>Koha › Circulation › Holds awaiting pickup</title>
|
|
<!-- TMPL_INCLUDE NAME="doc-head-close.inc" -->
|
|
<script type="text/javascript" src="<!-- TMPL_VAR name="themelang" -->/lib/jquery/plugins/jquery.tablesorter.min.js"></script>
|
|
<script type="text/javascript" language="JavaScript">
|
|
//<![CDATA[
|
|
$.tablesorter.addParser({
|
|
id: 'articles',
|
|
is: function(s) {return false; },
|
|
format: function(s) { return s.toLowerCase().replace(/^(the|an|a) /,''); },
|
|
type: 'text'
|
|
});
|
|
$(document).ready(function() {
|
|
$('#resultlist > ul').tabs();
|
|
$("th a").hide();
|
|
$.tablesorter.defaults.widgets = ['zebra'];
|
|
$("#holdst,#holdso").tablesorter({<!-- TMPL_IF EXPR="dateformat eq 'metric'" -->
|
|
dateFormat: 'uk',<!-- /TMPL_IF -->
|
|
sortList: [[3,0]],
|
|
headers: { 1:{sorter:'articles'},3: { sorter: 'articles' },4:{sorter:false}}
|
|
});
|
|
});
|
|
//]]>
|
|
</script>
|
|
</head>
|
|
<body>
|
|
<!-- TMPL_INCLUDE NAME="header.inc" -->
|
|
<!-- TMPL_INCLUDE NAME="circ-search.inc" -->
|
|
|
|
<div id="breadcrumbs"><a href="/cgi-bin/koha/mainpage.pl">Home</a>
|
|
› <a href="/cgi-bin/koha/circ/circulation-home.pl">Circulation</a>
|
|
› <a href="/cgi-bin/koha/circ/waitingreserves.pl">Holds awaiting pickup</a>
|
|
</div>
|
|
|
|
<div id="doc" class="yui-t7">
|
|
|
|
<div id="bd">
|
|
<div id="yui-main">
|
|
<div class="yui-g">
|
|
|
|
<h2>Holds awaiting pickup for your library on: <!-- TMPL_VAR NAME="show_date" -->
|
|
<!-- TMPL_IF NAME="all_branches_link" -->
|
|
<span style="margin-left:20px"><a href="<!-- TMPL_VAR NAME="all_branches_link" -->">
|
|
View all branches</a></span>
|
|
<!-- /TMPL_IF -->
|
|
</h2>
|
|
<!-- TMPL_IF NAME="messagetransfert" -->
|
|
<div>
|
|
<h2>Hold find for (<!-- TMPL_VAR NAME="nextreservtitle" -->), must be transferred</h2>
|
|
<p>This hold placed by : <b> <!-- TMPL_VAR NAME="nextreservsurname" --> <!-- TMPL_VAR NAME="nextreservfirstname" --></b> at the library : <b> <!-- TMPL_VAR NAME="branchname" --> </b>, Please transfer this hold.
|
|
</p>
|
|
<form name="cancelReservewithtransfert" action="waitingreserves.pl" method="post">
|
|
<input type="submit" class="button" />
|
|
</form>
|
|
</div>
|
|
<!-- /TMPL_IF -->
|
|
<!-- TMPL_IF NAME="waiting" -->
|
|
<div id="bloc25">
|
|
<h2>This hold is waiting</h2>
|
|
<p>This hold (<!-- TMPL_VAR NAME="nextreservtitle" -->) was placed by <b> : <!-- TMPL_VAR NAME="nextreservsurname" --> <!-- TMPL_VAR NAME="nextreservfirstname" --></b>,
|
|
Please retain this hold.
|
|
</p>
|
|
<form name="cancelReservewithwaiting" action="waitingreserves.pl" method="post">
|
|
<input type="submit" />
|
|
</form>
|
|
</div>
|
|
<!-- /TMPL_IF -->
|
|
<!-- TMPL_UNLESS NAME="message" -->
|
|
<div id="resultlist" class="toptabs">
|
|
<ul>
|
|
<li><a href="/cgi-bin/koha/circ/waitingreserves.pl#holdswaiting"><!-- TMPL_VAR NAME="reservecount" --> Hold(s) waiting</a></li>
|
|
<li><a href="/cgi-bin/koha/circ/waitingreserves.pl#holdsover"><!-- TMPL_VAR NAME="overcount" --> Hold(s) over</a></li>
|
|
</ul>
|
|
<div id="holdswaiting">
|
|
<!-- TMPL_IF NAME="reserveloop" -->
|
|
<table id="holdst">
|
|
<thead><tr>
|
|
<th>Available since</th>
|
|
<th>Title</th>
|
|
<th>Patron</th>
|
|
<th>Location</th>
|
|
<th>Action</th>
|
|
</tr></thead>
|
|
<tbody><!-- TMPL_LOOP NAME="reserveloop" -->
|
|
<tr>
|
|
<td><p><!-- TMPL_VAR NAME="waitingdate" --></p></td>
|
|
<td><!-- TMPL_INCLUDE NAME="biblio-default-view.inc" -->
|
|
<!-- TMPL_VAR NAME="title" escape="html" --> <!-- TMPL_VAR NAME="subtitle" ESCAPE="html" -->
|
|
</a>
|
|
(<b><!-- TMPL_VAR NAME="itemtype" --></b>)
|
|
<br />Barcode: <!-- TMPL_VAR NAME="barcode" -->
|
|
</td>
|
|
<td><a href="/cgi-bin/koha/members/moremember.pl?borrowernumber=<!--TMPL_VAR Name="borrowernum"-->"><!-- TMPL_VAR NAME="borrowername" -->, <!-- TMPL_VAR NAME="borrowerfirstname" --></a><br /><!-- TMPL_VAR NAME="borrowerphone" --><br />
|
|
<!-- TMPL_IF NAME="borrowermail" --><a href="mailto:<!-- TMPL_VAR NAME="email" -->?subject=Reservation: <!-- TMPL_VAR NAME="title" -->">
|
|
<!-- TMPL_VAR NAME="borrowermail" --></a><!--/TMPL_IF-->
|
|
</td>
|
|
<td><!-- TMPL_VAR NAME="homebranch" --><br /><!-- TMPL_VAR NAME="itemcallnumber" --></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 -->
|
|
<input type="submit" value="Cancel hold" />
|
|
<!-- /TMPL_IF -->
|
|
</form>
|
|
</td>
|
|
</tr>
|
|
<!-- /TMPL_LOOP --></tbody>
|
|
</table>
|
|
<!-- TMPL_ELSE -->
|
|
<div class="dialog message">No holds found.</div>
|
|
<!-- /TMPL_IF -->
|
|
</div>
|
|
<div id="holdsover">
|
|
<p>Holds listed here have been awaiting pickup for more than <!-- TMPL_VAR NAME="ReservesMaxPickUpDelay" --> days.</p>
|
|
<!-- TMPL_IF NAME="overloop" -->
|
|
<table id="holdso">
|
|
<thead><tr>
|
|
<th>Available since</th>
|
|
<th>Title</th>
|
|
<th>Patron</th>
|
|
<th>Location</th>
|
|
<th>Action</th>
|
|
</tr></thead>
|
|
<tbody><!-- TMPL_LOOP NAME="overloop" -->
|
|
<tr>
|
|
<td><p><!-- TMPL_VAR NAME="waitingdate" --></p></td>
|
|
<td><!-- TMPL_INCLUDE NAME="biblio-default-view.inc" --><!-- TMPL_VAR NAME="title" escape="html" --> <!-- TMPL_VAR NAME="subtitle" ESCAPE="html" -->
|
|
</a>
|
|
<!-- TMPL_UNLESS NAME="item_level_itypes" --><!-- TMPL_IF NAME="itemtype" --> (<b><!-- TMPL_VAR NAME="itemtype" --></b>)<!-- /TMPL_IF --><!-- /TMPL_UNLESS -->
|
|
<br />Barcode: <!-- TMPL_VAR NAME="barcode" -->
|
|
</td>
|
|
<td><a href="/cgi-bin/koha/members/moremember.pl?borrowernumber=<!--TMPL_VAR Name="borrowernum"-->"><!-- TMPL_VAR NAME="borrowername" -->, <!-- TMPL_VAR NAME="borrowerfirstname" --></a><br /><!-- TMPL_VAR NAME="borrowerphone" --><br />
|
|
<!-- TMPL_IF NAME="borrowermail" --><a href="mailto:<!-- TMPL_VAR NAME="email" -->?subject=Reservation: <!-- TMPL_VAR NAME="title" ESCAPE="url" -->">
|
|
<!-- TMPL_VAR NAME="borrowermail" --></a><!--/TMPL_IF-->
|
|
</td>
|
|
<td><!-- TMPL_VAR NAME="homebranch" --> <!-- TMPL_VAR NAME="itemcallnumber" --></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 -->
|
|
<input type="submit" value="Cancel hold" />
|
|
<!-- /TMPL_IF -->
|
|
</form>
|
|
</td>
|
|
</tr>
|
|
<!-- /TMPL_LOOP --></tbody>
|
|
</table>
|
|
<!-- TMPL_ELSE -->
|
|
<div class="dialog message">No holds found.</div>
|
|
<!-- /TMPL_IF -->
|
|
</div>
|
|
</div>
|
|
<!-- /TMPL_UNLESS -->
|
|
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<!-- TMPL_INCLUDE NAME="intranet-bottom.inc" -->
|