1 <!-- TMPL_INCLUDE NAME="doc-head-open.inc" -->
2 <title>Koha › Circulation › Holds › Place a hold on <!-- TMPL_VAR NAME="title" --></title>
3 <!-- TMPL_INCLUDE NAME="doc-head-close.inc" -->
4 <script type="text/javascript">
9 var alreadyreserved = 0;
11 // check if we have checkitem form
12 if (document.form.checkitem){
13 for (i=0;i<document.form.checkitem.length;i++){
14 if (document.form.checkitem[i].checked == true) {
18 // for only one item, check the checkitem without consider the loop checkitem
20 if (document.form.checkitem.checked == true) {
26 if (document.form.request.checked == true){
30 if (document.form.alreadyreserved.value == "1"){
34 if (count_reserv == "0"){
35 msg += ("- Please select an item to place a hold\n");
37 if (count_reserv >= "2"){
38 msg += ("- You may only place a hold on one item at a time\n");
41 if (alreadyreserved > "0"){
42 msg += ("- This patron had already placed a hold on this item\n Please cancel the previous hold first \n");
45 if (msg == "") return(true);
52 $(document).ready(function() {
53 $("#requestany").click(function() {
55 $("input[@name=checkitem]").each(function() {
56 $(this).attr("checked","");
60 $("input[@name=checkitem]").click(function() {
62 $("input[@name=checkitem]").each(function() {
68 $("#requestany").attr("checked","");
70 $("#requestany").attr("checked","checked");
79 <!-- TMPL_INCLUDE NAME="header.inc" -->
80 <!-- TMPL_INCLUDE NAME="circ-search.inc" -->
82 <div id="breadcrumbs"><a href="/cgi-bin/koha/mainpage.pl">Home</a> › <a href="/cgi-bin/koha/catalogue/search.pl">Catalogue</a> › <a href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=<!-- TMPL_VAR NAME="biblionumber" -->"><!-- TMPL_VAR NAME="title" --></a> › Place a hold on <!-- TMPL_VAR NAME="title" --></div>
84 <div id="doc3" class="yui-t2">
89 <!-- TMPL_IF NAME="noitems" -->
91 <strong>Sorry, this biblio has no items attached</strong>
94 <!-- TMPL_IF NAME="messagetransfert" -->
96 <h2>Hold found for (<!-- TMPL_VAR NAME="nextreservtitle" -->), please transfer</h2>
97 <p>Hold placed by : <b> <!-- TMPL_VAR NAME="nextreservsurname" --> <!-- TMPL_VAR NAME="nextreservfirstname" --></b> at : <b> <!-- TMPL_VAR NAME="branchname" --> </b>, Please transfer this item.
99 <form name="cancelReservewithtransfert" action="branchreserves.pl" method="post">
100 <input type="submit" class="button" />
104 <h1>Place a hold on <a href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=<!-- TMPL_VAR NAME="biblionumber" -->"><!-- TMPL_VAR NAME="title" --></a></h1>
106 <!-- TMPL_UNLESS NAME="cardnumber"-->
107 <!-- TMPL_IF NAME="messageborrower" -->
108 <div class="problem">No patron with this name, Please, try another </div>
110 <form action="request.pl?biblionumber=<!-- TMPL_VAR NAME="biblionumber" -->" method="post">
111 <!-- TMPL_UNLESS name="CGIselectborrower" -->
112 <fieldset class="brief">
113 <label for="patron">Patron: </label>
114 <div class="hint">Enter patron card number or partial name:</div>
115 <input type="text" size="20" id="patron" class="focus" name="findborrower" />
116 <input type="hidden" name="biblionumber" value="<!-- TMPL_VAR NAME="biblionumber"-->" />
117 <input type="submit" value="Search" />
120 <!-- TMPL_VAR NAME="CGIselectborrower" -->
121 <input type="hidden" name="biblionumber" value="<!-- TMPL_VAR NAME="biblionumber"-->" />
122 <input type="submit" value="Select" />
123 <!-- /TMPL_UNLESS -->
126 <!-- TMPL_IF NAME="maxreserves" -->
128 <strong>Too many holds</strong>
129 Currently, this patron has too many holds.
133 <!-- TMPL_IF NAME="expiry" -->
136 <strong>Expired account</strong>
137 This patron's account has expired
141 <!-- TMPL_IF NAME="diffbranch" -->
143 <strong>Warning:</strong> Pickup Library is different than Patron's Home Library
147 <!-- TMPL_IF NAME="alreadyreserved" -->
149 <strong>Warning:</strong>
150 This patron already has a hold on this item
154 <!-- TMPL_IF NAME="messageborrower" -->
155 <p class="problem"><strong>Patron not found:</strong> Name or barcode not found. Please try an other </p>
157 <fieldset class="rows left">
158 <legend>Hold details</legend>
159 <form action="placerequest.pl" method="post" onsubmit="return check();" name="form">
161 <input type="hidden" size="10" name="member" value="<!-- TMPL_VAR NAME="cardnumber" -->" />
162 <input type="hidden" name="biblionumber" value="<!-- TMPL_VAR NAME="biblionumber" -->" />
163 <input type="hidden" name="type" value="str8" />
164 <input type="hidden" name="title" value="<!-- TMPL_VAR NAME="title" -->" />
165 <input type="hidden" name="rank-request" value="<!-- TMPL_VAR NAME="fixedRank" -->" />
166 <ol> <li><span class="label">Patron:</span>
167 <!-- TMPL_IF NAME="cardnumber"-->
168 <a href="/cgi-bin/koha/members/moremember.pl?borrowernumber=<!-- TMPL_VAR NAME="borrowernumber" -->"><!-- TMPL_VAR NAME="borrowerfirstname" --> <!-- TMPL_VAR NAME="borrowersurname" --> (<!-- TMPL_VAR NAME="cardnumber" -->)</a>
174 <span class="label">Priority:</span>
175 <strong><!-- TMPL_VAR Name="fixedRank" --></strong>
178 <label for="holdnotes">Notes:</label>
179 <textarea id="holdnotes" name="notes" cols="30" rows="1"></textarea>
182 <label for="pickup">Pickup at:</label>
183 <!-- TMPL_VAR NAME="CGIbranch" -->
186 <li> <label for="requestany">Place a hold on the next available copy </label>
187 <input type="checkbox" id="requestany" name="request" checked="checked" value="Any" />
190 <input type="hidden" name="biblioitem" value="<!-- TMPL_VAR NAME="biblioitemnumber" -->" />
191 <input type="hidden" name="alreadyreserved" value="<!-- TMPL_VAR NAME="alreadyreserved" -->" />
193 <fieldset class="action">
194 <!-- TMPL_IF NAME="cardnumber"-->
195 <input type="submit" value="Place Hold" />
198 <!-- TMPL_LOOP name="bibitemloop" -->
200 <!-- TMPL_UNLESS NAME="item-level_itypes" -->
201 <li><span class="label">Item type:</span> <!-- TMPL_VAR NAME="description" --></li>
202 <!-- /TMPL_UNLESS -->
203 <!-- TMPL_IF NAME="publicationyear" --><li><span class="label">Publication year:</span> <!-- TMPL_VAR NAME="publicationyear" --></li><!-- /TMPL_IF -->
205 <label for="requestspecific">Place a hold on a specific copy</label>
206 <table id="requestspecific">
208 <!-- TMPL_IF NAME="item-level_itypes" -->
213 <th>Home Library</th>
214 <th>Last Location</th>
218 <!-- TMPL_LOOP Name="itemloop" -->
219 <tr class="<!-- TMPL_VAR NAME="backgroundcolor" -->">
221 <!-- TMPL_IF NAME="available" -->
222 <input type="checkbox" name="checkitem" value="<!-- TMPL_VAR NAME="itemnumber" -->" />
224 <input DISABLED type="checkbox" name="checkitem" value="<!-- TMPL_VAR NAME="itemnumber" -->" />
228 <!-- TMPL_IF NAME="item-level_itypes" -->
230 <img src="<!-- TMPL_VAR name="imageurl" -->" alt="<!-- TMPL_VAR NAME="itypename" -->" title="<!-- TMPL_VAR NAME="itypename" -->"/>
235 <!-- TMPL_VAR NAME="barcode" -->
238 <!-- TMPL_VAR NAME="homebranchname" -->
241 <!-- TMPL_VAR NAME="holdingbranchname" -->
244 <!-- TMPL_VAR NAME="itemcallnumber" -->
247 <!-- TMPL_IF Name="onloan" -->
248 <span class="checkedout">Due <!-- TMPL_VAR NAME="onloan" --></span>
251 <!-- TMPL_IF Name="message" -->
252 Unavailable (lost or missing)
255 <!-- TMPL_IF Name="notforloan" -->
256 Not for loan (<!-- TMPL_VAR NAME="notforloanvalue" -->)
258 <!-- TMPL_IF Name="transfertwhen" -->
259 In transit from <!-- TMPL_VAR NAME="transfertfrom" -->,
260 to <!-- TMPL_VAR NAME="transfertto" -->, since <!-- TMPL_VAR NAME="transfertwhen" -->
263 <!-- TMPL_IF NAME="reservedate"-->
264 <!-- TMPL_IF NAME="nocancel" -->
265 Can't be cancelled when item is in transit
267 <!-- TMPL_IF NAME="waitingdate" -->Waiting<!-- TMPL_ELSE -->On hold<!-- /TMPL_IF -->
268 <!-- TMPL_IF NAME="canreservefromotherbranches" -->for <a href="/cgi-bin/koha/members/moremember.pl?borrowernumber=<!-- TMPL_VAR NAME="ReservedForBorrowernumber" -->"><!-- TMPL_VAR NAME="ReservedForFirstname" --> <!-- TMPL_VAR NAME="ReservedForSurname" --></a><!-- /TMPL_IF --> <!-- TMPL_IF NAME="waitingdate" -->at<!-- TMPL_ELSE -->expected at<!-- /TMPL_IF --> <!-- TMPL_VAR NAME="ExpectedAtLibrary" -->
270 <!-- TMPL_IF NAME="waitingdate" --><!-- TMPL_VAR NAME="waitingdate" --><!-- TMPL_ELSE --><!-- TMPL_IF name="reservedate" --><!-- TMPL_VAR NAME="reservedate" --><!-- /TMPL_IF --><!-- /TMPL_IF -->. <a class="info" href="modrequest.pl?CancelBiblioNumber=<!-- TMPL_VAR NAME="biblionumber" -->&CancelBorrowerNumber=<!-- TMPL_VAR NAME="ReservedForBorrowernumber" -->&CancelItemnumber=<!-- TMPL_VAR NAME="itemnumber"-->" onclick="if (window.confirm('Are you sure you want to delete this hold?')) {return true;} else {return false;}">Cancel hold</a>
278 <!-- /TMPL_LOOP --> <!-- itemloop -->
280 <!-- /TMPL_LOOP --> <!-- bibitemloop -->
282 <fieldset class="action">
283 <!-- TMPL_IF NAME="cardnumber"-->
284 <input type="submit" value="Place Hold" />
290 <!-- /TMPL_UNLESS -->
291 <!-- TMPL_UNLESS NAME="cardnumber" -->
292 <!-- TMPL_IF name="reserveloop" -->
293 <form name="T<!-- TMPL_VAR NAME="time" -->" action="modrequest.pl" method="post">
294 <fieldset class="rows left">
295 <legend>Existing holds</legend>
302 <th>Pick up Library</th>
305 <!-- TMPL_LOOP Name="reserveloop" -->
308 <input type="hidden" name="borrowernumber" value="<!-- TMPL_VAR NAME="borrowernumber" -->" />
309 <input type="hidden" name="biblionumber" value="<!-- TMPL_VAR NAME="biblionumber" -->" />
310 <select name="rank-request">
311 <!-- TMPL_IF Name="wait" -->
312 <option value="W" selected="selected">Waiting</option>
314 <!-- TMPL_LOOP Name="optionloop" -->
315 <option value="<!-- TMPL_VAR NAME="num" -->" <!-- TMPL_IF Name="selected" --> selected <!-- /TMPL_IF -->><!-- TMPL_VAR NAME="num" --></option>
317 <option value="del">del</option>
321 <a href="/cgi-bin/koha/members/moremember.pl?borrowernumber=<!-- TMPL_VAR NAME="borrowernumber" -->" ><!-- TMPL_VAR NAME="firstname" --> <!-- TMPL_VAR NAME="surname" --></a>
323 <td><!-- TMPL_VAR NAME="notes" --></td>
324 <td><!-- TMPL_VAR NAME="date" --></td>
326 <!-- TMPL_IF Name="wait" -->
327 <!-- TMPL_IF NAME="atdestination" -->
328 <!-- TMPL_IF name="found" -->
329 Item waiting at <b> <!-- TMPL_VAR NAME="wbrname" --></b> <input type="hidden" name="pickup" value="<!-- TMPL_VAR NAME="wbrcode" -->" />
334 Item being transfered to <b> <!-- TMPL_VAR NAME="wbrname" --></b> <input type="hidden" name="pickup" value="<!-- TMPL_VAR NAME="wbrcode" -->" />
337 <select name="pickup">
338 <!-- TMPL_LOOP Name="branchloop" -->
339 <!-- TMPL_IF Name="selected" -->
340 <option value="<!-- TMPL_VAR NAME="branch" -->" selected="selected">
342 <option value="<!-- TMPL_VAR NAME="branch" -->">
344 <!-- TMPL_VAR NAME="branchname" -->
351 <!-- TMPL_IF Name="wait" -->
352 <a href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=<!-- TMPL_VAR NAME='biblionumber' -->">
353 <!-- TMPL_IF NAME="barcodenumber" -->
354 <!-- TMPL_VAR NAME="barcodenumber" -->
355 <input type="hidden" name="itemnumber" value="<!-- TMPL_VAR NAME="itemnumber" -->" />
361 <!-- TMPL_IF Name="constrainttypea" -->
362 <i>Next available</i>
364 <!-- TMPL_IF Name="constrainttypeo" -->
365 only this type :<b><!-- TMPL_VAR NAME="volumeddesc" --> <!-- TMPL_VAR NAME="itemtype" --></b>
371 <!-- /TMPL_LOOP --> <!-- existing reserveloop -->
373 <fieldset class="action"><input type="submit" name="submit" value="Update hold(s)" /></fieldset>
377 <!-- /TMPL_UNLESS -->
383 <!-- TMPL_INCLUDE NAME="biblio-view-menu.inc" -->
387 <!-- TMPL_INCLUDE NAME="intranet-bottom.inc" -->