Owen Leonard
bfe6dc88d2
Many templates have instances where the path to the prog template is hard-coded. Now that interface and theme template variables are available everywhere these paths should be corrected to use them. Image paths corrected: - 'Patron image missing' image on circulation pages - 'Locked' icon on fund planning page - Tag and subfield edit icons on the authority, biblio editor, and batch item modification pages (Clone tag, delete tag, clone subfield, delete subfield, move subfield) - 'Loading' icon when importing frameworks Audio file paths corrected: - Sounds for circulation.pl and returns.pl Paths to DataTables assets corrected on: - Transfers to receive report - Holds queue report - Holds awaiting pickup report - Patron detail page (moremember.pl) - Patron circulation history - Update child to adult patron page - Process offline circulations - Catalog by item type report - Serials statistics wizard - Serial claims page - Koha news - Notices - Batch patron modifications Path to progress bar assets corrected on: - Process offline circulations page - Progressbar include file - Stage MARC imports - Manage MARC imports - Local cover image upload Other image paths: - "Approved" checkmark image on tags review page - Table sort icons on lists page - Feed icon on OPAC search result page - "Loading" image for OPAC plain MARC view Path to ratings JavaScript on OPAC detail and results pages Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com> Checked all the pages modified by this patch, no problems noted Signed-off-by: Jonathan Druart <jonathan.druart@biblibre.com> Signed-off-by: Galen Charlton <gmc@esilibrary.com>
192 lines
9.6 KiB
Text
192 lines
9.6 KiB
Text
[% INCLUDE 'doc-head-open.inc' %]
|
|
<title>Koha › Circulation › Holds awaiting pickup</title>
|
|
[% INCLUDE 'doc-head-close.inc' %]
|
|
<link rel="stylesheet" type="text/css" href="[% interface %]/[% theme %]/en/css/datatables.css" />
|
|
<script type="text/javascript" src="[% interface %]/[% theme %]/en/lib/jquery/plugins/jquery.dataTables.min.js"></script>
|
|
[% INCLUDE 'datatables-strings.inc' %]
|
|
<script type="text/javascript" src="[% interface %]/[% theme %]/en/js/datatables.js"></script>
|
|
<script type="text/javascript">
|
|
//<![CDATA[
|
|
[% IF (dateformat == 'metric') %]
|
|
dt_add_type_uk_date();
|
|
[% END %]
|
|
$(document).ready(function() {
|
|
$('#resultlist').tabs();
|
|
$("th a").hide();
|
|
$("#holdst,#holdso").dataTable($.extend(true, {}, dataTablesDefaults, {
|
|
"aoColumnDefs": [
|
|
{ "aTargets": [ -1 ], "bSortable": false, "bSearchable": false },
|
|
],
|
|
"aLengthMenu": [[10, 20, 50, 100, -1], [10, 20, 50, 100, "All"]],
|
|
"iDisplayLength": 20,
|
|
"sPaginationType": "four_button"
|
|
}));
|
|
});
|
|
//]]>
|
|
</script>
|
|
</head>
|
|
<body id="circ_waitingreserves" class="circ">
|
|
[% INCLUDE 'header.inc' %]
|
|
[% INCLUDE '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="doc3" class="yui-t7">
|
|
|
|
<div id="bd">
|
|
<div id="yui-main">
|
|
<div class="yui-g">
|
|
|
|
<h2>Holds awaiting pickup for your library on: [% show_date %]
|
|
[% IF ( all_branches_link ) %]
|
|
<span style="margin-left:20px"><a href="[% all_branches_link %]">
|
|
View all libraries</a></span>
|
|
[% END %]
|
|
</h2>
|
|
[% IF ( cancel_result ) %]
|
|
[% FOREACH cancel_result %]
|
|
[% IF ( messagetransfert ) %]
|
|
<div class="dialog message">
|
|
<h2>This item is on hold for pick-up at [% branchname %]</h2>
|
|
<p><strong>[% nextreservtitle %]</strong> is on hold for <strong> [% nextreservsurname %], [% nextreservfirstname %]</strong>.
|
|
Please retain this item and check it in to process the hold.
|
|
</p>
|
|
<form name="cancelReservewithtransfert" action="waitingreserves.pl" method="post">
|
|
<input type="submit" class="submit" value="OK" />
|
|
</form>
|
|
</div>
|
|
[% END %]
|
|
[% IF ( waiting ) %]
|
|
<div class="dialog message">
|
|
<h2>This item is on hold for pick-up at your library</h2>
|
|
<p><strong>[% nextreservtitle %]</strong> is on hold for <strong>[% nextreservsurname %], [% nextreservfirstname %]</strong>.
|
|
Please retain this item and check it in to process the hold.
|
|
</p>
|
|
<form name="cancelReservewithwaiting" action="waitingreserves.pl" method="post">
|
|
<input type="submit" class="submit" value="OK"/>
|
|
</form>
|
|
</div>
|
|
[% END %]
|
|
[% END %]
|
|
[% ELSE %]
|
|
<div id="resultlist" class="toptabs">
|
|
<ul>
|
|
<li><a href="#holdswaiting">[% reservecount %] Hold(s) waiting</a></li>
|
|
<li><a href="#holdsover">[% overcount %] Hold(s) over</a></li>
|
|
</ul>
|
|
<div id="holdswaiting">
|
|
[% IF ( reserveloop ) %]
|
|
<table id="holdst">
|
|
<thead><tr>
|
|
<th>Available since</th>
|
|
<th>Title</th>
|
|
<th>Patron</th>
|
|
<th>Location</th>
|
|
<th>Copy number</th>
|
|
<th>Enumeration</th>
|
|
<th>Action</th>
|
|
</tr></thead>
|
|
<tbody>[% FOREACH reserveloo IN reserveloop %]
|
|
<tr>
|
|
<td><p>[% reserveloo.waitingdate %]</p></td>
|
|
<td>[% INCLUDE 'biblio-default-view.inc' biblionumber = reserveloo.biblionumber %]
|
|
[% reserveloo.title |html %] [% reserveloo.subtitle |html %]
|
|
</a>
|
|
(<b>[% reserveloo.itemtype %]</b>)
|
|
<br />Barcode: [% reserveloo.barcode %]
|
|
</td>
|
|
<td><a href="/cgi-bin/koha/members/moremember.pl?borrowernumber=[% reserveloo.borrowernum %]">[% reserveloo.borrowername %], [% reserveloo.borrowerfirstname %]</a><br />[% reserveloo.borrowerphone %]<br />
|
|
[% IF ( reserveloo.borrowermail ) %]<a href="mailto:[% reserveloo.email %]?subject=Reservation: [% reserveloo.title %]">
|
|
[% reserveloo.borrowermail %]</a>[% END %]
|
|
</td>
|
|
<td>[% reserveloo.homebranch %]<br />[% reserveloo.itemcallnumber %]</td>
|
|
<td>[% reserveloo.copynumber %]</td>
|
|
<td>[% reserveloo.enumchron %]</td>
|
|
<td>
|
|
<form name="cancelReserve" action="waitingreserves.pl" method="post">
|
|
<input type="hidden" name="borrowernumber" value="[% reserveloo.borrowernum %]" />
|
|
<input type="hidden" name="itemnumber" value="[% reserveloo.itemnumber %]" />
|
|
<input type="hidden" name="fbr" value="[% reserveloo.holdingbranch %]" />
|
|
<input type="hidden" name="tbr" value="[% reserveloo.homebranch %]" />
|
|
[% IF ( reserveloo.dotransfer ) %]
|
|
<input type="submit" value="Cancel hold and return to : [% reserveloo.branchname %]" />
|
|
[% ELSE %]
|
|
<input type="submit" value="Cancel hold" />
|
|
[% END %]
|
|
</form>
|
|
</td>
|
|
</tr>
|
|
[% END %]</tbody>
|
|
</table>
|
|
[% ELSE %]
|
|
<div class="dialog message">No holds found.</div>
|
|
[% END %]
|
|
</div>
|
|
<div id="holdsover">
|
|
<p>Holds listed here have been awaiting pickup for more than [% ReservesMaxPickUpDelay %] days.</p>
|
|
[% IF ( overloop ) %]
|
|
<p>
|
|
<form name="cancelAllReserve" action="waitingreserves.pl" method="post">
|
|
<input type="hidden" name="cancelall" value="1" />
|
|
<input type="hidden" name="allbranches" value="[% allbranches %]" />
|
|
<input type="submit" value="Cancel [% IF TransferWhenCancelAllWaitingHolds %]and Transfer [% END %]All" />
|
|
</form>
|
|
[% UNLESS TransferWhenCancelAllWaitingHolds %]
|
|
Only items that need not be transferred will be cancelled (TransferWhenCancelAllWaitingHolds sypref)
|
|
[% END %]
|
|
</p>
|
|
<br/>
|
|
<table id="holdso">
|
|
<thead><tr>
|
|
<th>Available since</th>
|
|
<th>Title</th>
|
|
<th>Patron</th>
|
|
<th>Location</th>
|
|
<th>Copy number</th>
|
|
<th>Enumeration</th>
|
|
<th>Action</th>
|
|
</tr></thead>
|
|
<tbody>[% FOREACH overloo IN overloop %]
|
|
<tr>
|
|
<td><p>[% overloo.waitingdate %]</p></td>
|
|
<td>[% INCLUDE 'biblio-default-view.inc' biblionumber = overloo.biblionumber %][% overloo.title |html %] [% overloo.subtitle |html %]
|
|
</a>
|
|
[% UNLESS ( item_level_itypes ) %][% IF ( overloo.itemtype ) %] (<b>[% overloo.itemtype %]</b>)[% END %][% END %]
|
|
<br />Barcode: [% overloo.barcode %]
|
|
</td>
|
|
<td><a href="/cgi-bin/koha/members/moremember.pl?borrowernumber=[% overloo.borrowernum %]">[% overloo.borrowername %], [% overloo.borrowerfirstname %]</a><br />[% overloo.borrowerphone %]<br />
|
|
[% IF ( overloo.borrowermail ) %]<a href="mailto:[% overloo.email %]?subject=Reservation: [% overloo.title |url %]">
|
|
[% overloo.borrowermail %]</a>[% END %]
|
|
</td>
|
|
<td>[% overloo.homebranch %] [% overloo.itemcallnumber %]</td>
|
|
<td>[% overloo.copynumber %]</td>
|
|
<td>[% overloo.enumchron %]</td>
|
|
<td><form name="cancelReserve" action="waitingreserves.pl" method="post">
|
|
<input type="hidden" name="borrowernumber" value="[% overloo.borrowernum %]" />
|
|
<input type="hidden" name="itemnumber" value="[% overloo.itemnumber %]" />
|
|
<input type="hidden" name="fbr" value="[% overloo.holdingbranch %]" />
|
|
<input type="hidden" name="tbr" value="[% overloo.homebranch %]" />
|
|
[% IF ( overloo.dotransfer ) %]
|
|
<input type="submit" value="Cancel hold and return to : [% overloo.branchname %]" />
|
|
[% ELSE %]
|
|
<input type="submit" value="Cancel hold" />
|
|
[% END %]
|
|
</form>
|
|
</td>
|
|
</tr>
|
|
[% END %]</tbody>
|
|
</table>
|
|
[% ELSE %]
|
|
<div class="dialog message">No holds found.</div>
|
|
[% END %]
|
|
</div>
|
|
</div>
|
|
[% END %]
|
|
|
|
</div>
|
|
</div>
|
|
</div>
|
|
[% INCLUDE 'intranet-bottom.inc' %]
|