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