]> git.koha-community.org Git - koha.git/blob - koha-tmpl/opac-tmpl/prog/en/opac-reserve.tmpl
Merge branch 'master' of /home/jmf/repos/koha-rm-root.git/
[koha.git] / koha-tmpl / opac-tmpl / prog / en / 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 <table>
69    <tr><th>Reserving: </th><td><span class="title"><!-- TMPL_VAR NAME="title" --></span><!-- TMPL_IF NAME="author" --> (<!-- TMPL_VAR NAME="author" -->)<!-- /TMPL_IF --></td></tr>
70     <tr><th>For:</th><td><!-- TMPL_LOOP NAME="USER_INFO" --><!-- TMPL_VAR NAME="firstname" --> <!-- TMPL_VAR NAME="surname" --> (<!-- TMPL_VAR NAME="cardnumber" -->)<!-- /TMPL_LOOP --></td></tr>
71
72     <tr><th>Pick up from:</th><td><select name="branch" id="branch">
73         <option>-- Please choose your branch --</option>
74         <!-- TMPL_LOOP NAME="CGIbranch" --><option value="<!-- TMPL_VAR NAME="value" -->"><!-- TMPL_VAR NAME="branch" --></option><!-- /TMPL_LOOP -->
75 </select></td></tr>
76 </table>
77
78 <!-- TMPL_IF NAME="onlyone" -->
79 <!-- If there is only one type -->
80
81 <p><input type="submit" class="submit" value="Next &gt;&gt;">
82 <input type="hidden" name="all" value="1"></p>
83 </form>
84
85 <!-- TMPL_ELSE -->
86 <!-- If there is more than one type -->
87
88     <h4>Choose Either...</h4>
89         <p>
90             <input id="checknextavailable" type="checkbox" name="all" value="next-available">
91             <label for="checknextavailable">Next Available Copy (any format)</label>
92         </p>
93     <h4>
94      ...Or Choose Acceptable Formats
95     </h4>
96
97 <!-- TMPL_LOOP NAME="TYPE_ROWS" -->
98 <ul><!-- TMPL_LOOP NAME="ROW" -->
99 <li><input type="checkbox" name="itemtype" value="<!-- TMPL_VAR NAME="itemtype" -->" class="checkbox"><!-- TMPL_VAR NAME="description" --></li>
100 <!-- /TMPL_LOOP -->
101 </ul><!-- /TMPL_LOOP -->
102 <!-- <table>
103     <tr>
104     <th>Number of Copies</th><th>Requests already received for this title</th> <th>Items curently on issue, due back</th></tr>
105     <td><!-- TMPL_VAR NAME="itemcount" --></td>
106     <td><!-- TMPL_VAR NAME="reservecount" --></td>
107      <td><!-- TMPL_LOOP NAME="ITEMS" --><!-- TMPL_VAR NAME="date_due" -->, <!-- /TMPL_LOOP --></td>
108 </table> -->
109 </div>
110 <p><input type="submit" class="submit" value="Confirm Reservation &gt;&gt;"></p>
111 </form>
112 <!-- /TMPL_IF -->
113
114 <!-- end of the first form -->
115 <!-- /TMPL_IF -->
116
117 <!-- TMPL_IF NAME="item_types_selected" -->
118 <!-- if the bibitems have already been selected -->
119 <form action="/cgi-bin/koha/opac-reserve.pl" method="post">
120 <input type="hidden" name="place_reserve" value="1">
121 <input type="hidden" name="biblionumber" value="<!-- TMPL_VAR NAME="biblionumber" -->"><h3>Confirm Reservation</h3>
122 <div class="details">
123     <table>
124         <tr><th>Title: </th><td><span class="title"><!-- TMPL_VAR NAME="title" --></span></td></tr>
125
126 <!-- TMPL_IF NAME="all" -->
127         <tr><th>Item Type: </th><td>Any<input type="hidden" name="all" value="1"></td></tr>
128 <!-- TMPL_ELSE -->
129         <tr><th>Item Types: </th><td><!-- TMPL_LOOP NAME="TYPES" -->
130 <input type="hidden" name="itemtype" value="<!-- TMPL_VAR NAME="itemtype" -->"><!-- TMPL_VAR NAME="description" -->;
131 <!-- /TMPL_LOOP --></td></tr>
132
133 <!-- /TMPL_IF -->
134         <tr><th>Pick up From: </th><td><!-- TMPL_VAR NAME="branchname" --><input type="hidden" name="branch" value="<!-- TMPL_VAR NAME="branch" -->"></td></tr>
135 </table>
136 </div>
137 <p><input type="submit" value="Finish and Place Reservation" class="submit" onclick="this.value='Please wait...'; this.disabled=true; this.form.submit();"></p>
138
139 </FORM>
140
141 <!-- /TMPL_IF -->
142 <!-- TMPL_INCLUDE NAME="opac-bottom.inc"-->