ae1745e329ead4b0a4383d438e08baa928730658
[koha-ffzg.git] / koha-tmpl / opac-tmpl / prog / en / modules / opac-reserve.tmpl
1 <!-- TMPL_INCLUDE NAME="doc-head-open.inc" --><!-- TMPL_VAR NAME="LibraryNameTitle" --> Catalog -- Reserving <!-- TMPL_VAR NAME="title" --> for <!-- TMPL_LOOP NAME="USER_INFO" --><!-- TMPL_VAR NAME="firstname" --> <!-- TMPL_VAR NAME="surname" --><!-- /TMPL_LOOP -->
2 <!-- TMPL_INCLUDE NAME="doc-head-close.inc" -->
3
4 <!--TMPL_INCLUDE NAME="masthead.inc" -->
5 <!--TMPL_INCLUDE NAME="navigation.inc" -->
6
7 <!-- TMPL_IF NAME="message" -->
8     <!-- TMPL_IF NAME="GNA" -->
9     <p class="problem">
10         <strong>Sorry</strong>, you cannot place reserves because the library doesn't have up-to-date <a href="/cgi-bin/koha/opac-userdetails.pl">contact information</a> on file.
11     </p>
12     <p class="problem">Please contact your librarian, or use the <a href="/cgi-bin/koha/opac-userupdate.pl">online update form</a> to submit current information (<em>Please note:</em> there may be a delay in restoring your account if you submit online)
13     </p>
14     <!-- /TMPL_IF -->
15     <!-- TMPL_IF NAME="lost" -->
16     <p class="problem">
17         <strong>Sorry</strong>, you cannot place reserves because your library card has been marked as lost or stolen.
18     </p>
19     <p class="problem">
20         If this is an error, please take your card to the circulation desk at your local library and the error will be corrected.
21     </p>
22     <!-- /TMPL_IF -->
23     <!-- TMPL_IF NAME="debarred" -->
24     <p class="error">
25         <strong>Sorry</strong>, you cannot place reserves because your account has been frozen.
26     </p>
27     <p class="problem">Usually the reason for freezing an account is old overdues or damage fees.   If <a href="/cgi-bin/koha/opac-user.pl">your account page</a> shows your account to be clear, please consult a librarian.
28     </p>
29     <!-- /TMPL_IF -->
30     <!-- TMPL_IF NAME="too_much_oweing" -->
31     <p class="problem">
32         Sorry, you cannot make reserves because you owe <!-- TMPL_VAR NAME="too_much_oweing" -->.
33     </p>
34     <!-- /TMPL_IF -->
35     <!-- TMPL_IF NAME="too_many_reserves" -->
36         <p class="error">Sorry, you cannot make more than <!-- TMPL_VAR NAME="too_many_reserves" --> reserves.
37         </p>
38         <!-- /TMPL_IF -->
39     <!-- TMPL_IF NAME="already_reserved" -->
40     <p class="problem">
41         You already have a reserve placed on this item.
42         <form action="/cgi-bin/koha/opac-detail.pl" method="post">
43             <input type="hidden" name="biblionumber" value="<!-- TMPL_VAR NAME="biblionumber" -->" />
44             <input type="submit" class="icon back" value="Return to Item Detail Screen" />
45         </form>
46     </p>
47     <!-- /TMPL_IF -->
48     <!-- TMPL_IF NAME="no_items_selected" -->
49     <p class="problem">
50         You must select at least one item.
51     </p>
52     <!-- /TMPL_IF -->
53     <!-- TMPL_IF NAME="no_branch_selected" -->
54     <p class="error">
55         You must select a branch for pickup!
56     </p>
57     <!-- /TMPL_IF -->
58 </div>
59 <!-- /TMPL_IF -->
60
61 <!-- TMPL_IF NAME="select_item_types" -->
62     <!-- The first time round you select which bibitems you want -->
63     <form action="/cgi-bin/koha/opac-reserve.pl" method="post">
64         <input type="hidden" name="item_types_selected" value="1">
65         <input type="hidden" name="biblionumber" value="<!-- TMPL_VAR NAME="biblionumber" -->">
66         <h2>Reservation Details</h2>
67         <div class="form">
68             <h3>Reserving: <span class="title"><!-- TMPL_VAR NAME="title" -->, <!-- TMPL_IF NAME="author" --> (<!-- TMPL_VAR NAME="author" -->)<!-- /TMPL_IF --></h3>
69             <p>For <!-- TMPL_LOOP NAME="USER_INFO" --><!-- TMPL_VAR NAME="firstname" --> <!-- TMPL_VAR NAME="surname" --> (<!-- TMPL_VAR NAME="cardnumber" -->)<!-- /TMPL_LOOP --></p>
70             
71         <!-- TMPL_LOOP name="bibitemloop" -->    
72             <p><span class="label">Item type:</span> <!-- TMPL_VAR NAME="description" --></p>
73             <!-- TMPL_IF NAME="publicationyear" --><p><span class="label">Publication year:</span> <!-- TMPL_VAR NAME="publicationyear" --></p><!-- /TMPL_IF -->
74             <table>
75             <tr>
76                 <th>Barcode</th>
77                 <th>Home Library</th>
78                 <th>Holding Library</th>
79                 <th>Call number</th>
80                 <th>Information</th>
81                 <th>Cancel a Reserve</th>
82             </tr>
83             <!-- TMPL_LOOP Name="itemloop" -->
84                 <tr class="<!-- TMPL_VAR NAME="backgroundcolor" -->">
85                     <td>
86                             <!-- TMPL_VAR NAME="barcode" --> 
87                     </td>
88                     <td>
89                     <!-- TMPL_VAR NAME="homebranch" -->
90                     </td>
91                     <td>
92                     <!-- TMPL_VAR NAME="holdingbranch" -->
93                     </td>
94                     <td>
95                     <!-- TMPL_VAR NAME="itemcallnumber" -->
96                     </td>
97                     <td>
98                 <!-- TMPL_IF Name="date_due" -->
99                     <span class="checkedout">Due <!-- TMPL_VAR NAME="date_due" --></span>
100                 <!-- /TMPL_IF -->
101             
102                 <!-- TMPL_IF NAME="available" -->
103                     <label>Hold this item 
104                         <input type="checkbox" name="checkitem" value="<!-- TMPL_VAR NAME="itemnumber" -->" />
105                 </label>     
106                 
107                 <!-- /TMPL_IF -->
108                     
109                 <!-- TMPL_IF name="reservedate" -->
110                     Item on hold since <!-- TMPL_VAR NAME="reservedate" -->
111                 <!-- /TMPL_IF -->
112             
113                 <!-- TMPL_IF Name="message" -->
114                     Cant' be selected (lost or long overdue)
115                 <!-- /TMPL_IF -->
116             
117                 <!-- TMPL_IF Name="notforloan" -->
118                     This item is not for loan (<!-- TMPL_VAR NAME="notforloanvalue" -->)
119                 <!-- /TMPL_IF -->
120             
121                 <!-- TMPL_IF Name="transfertwhen" -->
122                     Item in transit from <!-- TMPL_VAR NAME="transfertfrom" -->,
123                     to <!-- TMPL_VAR NAME="transfertto" -->, on <!-- TMPL_VAR NAME="transfertwhen" -->
124                 <!-- /TMPL_IF -->
125                     </td>
126                     <td>
127                     <!-- TMPL_IF NAME="reservedate"-->
128                                 Item on hold
129                     <!-- TMPL_ELSE -->
130                             No holds
131                     <!-- /TMPL_IF -->
132                     </td>
133                 </tr>
134             <!-- /TMPL_LOOP --> <!-- itemloop -->
135         </table>
136         <p> <label for="requestany" style="float: none; width: auto; padding-left : 1em;">Hold next available copy </label>
137             <input type="checkbox" id="requestany" name="request" checked="checked" value="Any" />
138         </p>
139         <input type="hidden" name="biblioitem" value="<!-- TMPL_VAR NAME="biblioitemnumber" -->" />
140         <!-- /TMPL_LOOP --> <!-- bibitemloop -->
141         <p>Pick up from:<select name="branch" id="branch">
142                     <!-- TMPL_LOOP NAME="CGIbranch" -->
143                         <!-- TMPL_IF name="selected" -->
144                             <option value="<!-- TMPL_VAR NAME="value" -->" selected="selected"><!-- TMPL_VAR NAME="branch" --></option>
145                         <!-- TMPL_ELSE -->
146                             <option value="<!-- TMPL_VAR NAME="value" -->"><!-- TMPL_VAR NAME="branch" --></option>
147                         <!-- /TMPL_IF -->
148                     <!-- /TMPL_LOOP -->
149             </select>
150         </p>
151         <input type="submit" value="Place Hold" />
152         <input type="hidden" name="all" value="1"/></p>
153         <input type="hidden" name="place_reserve" value="1"/>
154         </form>
155     <!-- end of the first form -->
156 <!-- /TMPL_IF -->
157
158 <!-- TMPL_IF NAME="item_types_selected" -->
159 <!-- if the bibitems have already been selected -->
160 <form action="/cgi-bin/koha/opac-reserve.pl" method="post">
161 <input type="hidden" name="place_reserve" value="1">
162 <input type="hidden" name="biblionumber" value="<!-- TMPL_VAR NAME="biblionumber" -->"><h3>Confirm Reservation</h3>
163 <div class="details">
164     <table>
165         <tr><th>Title: </th><td><span class="title"><!-- TMPL_VAR NAME="title" --></span></td></tr>
166
167 <!-- TMPL_IF NAME="all" -->
168         <tr><th>Item Type: </th><td>Any<input type="hidden" name="all" value="1"></td></tr>
169 <!-- TMPL_ELSE -->
170         <tr><th>Item Types: </th><td><!-- TMPL_LOOP NAME="TYPES" -->
171 <input type="hidden" name="itemtype" value="<!-- TMPL_VAR NAME="itemtype" -->"><!-- TMPL_VAR NAME="description" -->;
172 <!-- /TMPL_LOOP --></td></tr>
173
174 <!-- /TMPL_IF -->
175         <tr><th>Pick up From: </th><td><!-- TMPL_VAR NAME="branchname" --><input type="hidden" name="branch" value="<!-- TMPL_VAR NAME="branch" -->"></td></tr>
176 </table>
177 </div>
178 <p><input type="submit" value="Finish and Place Reservation" class="submit" onclick="this.value='Please wait...'; this.disabled=true; this.form.submit();"></p>
179
180 </FORM>
181
182 <!-- /TMPL_IF -->
183 <!-- TMPL_INCLUDE NAME="opac-bottom.inc"-->