memberentryC.tmpl:add test to modify link name
[koha.git] / koha-tmpl / intranet-tmpl / prog / en / request.tmpl
1 <!-- TMPL_INCLUDE NAME="doc-head-open.inc" -->Catalogue: Add Reserve for <!-- TMPL_VAR Name="title" --><!-- TMPL_INCLUDE NAME="doc-head-close.inc" -->
2
3
4 <form action="placerequest.pl" method="post" id="mainform">
5
6 <input type="hidden" name="biblio" value="<!-- TMPL_VAR Name="bib" -->" />
7 <input type="hidden" name="type" value="str8" />
8 <input type="hidden" name="title" value="<!-- TMPL_VAR Name="title" -->" />
9
10 <h3>Add Reserve for
11 <a href="/cgi-bin/koha/detail.pl?bib=<!-- TMPL_VAR Name="bib" -->"><!-- TMPL_VAR Name="title" --></a>
12 <!-- TMPL_VAR Name="author" --></h3>
13
14         <table>
15                 <tr><th scope="row">Rank</th><td>
16 <select name="rank-request">
17                         <!-- TMPL_LOOP Name="optionloop" -->
18                                 <option value="<!-- TMPL_VAR Name="num" -->"<!-- TMPL_IF Name="selected" --> selected="selected"<!-- /TMPL_IF -->>
19                                         <!-- TMPL_VAR Name="num" -->
20                                 </option>
21                         <!-- /TMPL_LOOP -->
22                         </select>
23                         </td></tr>
24
25                 <!-- Hide from NPL --><tr><th scope="row"><label for="notes">Notes</label></th><td><input type="text" size="20" name="notes" id="notes"></tr><!-- /Hide from NPL -->
26                 <tr><th scope="row"><label for="date">Date</label></th><td><!-- TMPL_VAR name="date" --></td></tr>
27                 <tr><th scope="row"><label for="pickup">Pickup</label></th><td><!-- TMPL_VAR name="CGIbranch" --></td></tr>
28                 <tr><th scope="row">Request</th><td><input type="checkbox" name="request" id="request" value="any"><label for="request">Next Available</label>, (or choose from list below)</tr>
29                 <tr><th scope="row"><label for="member">Card Number</label> <a href="/cgi-bin/koha/members/members-home.pl?quicksearch=1" onclick="PopWin(this, 'newwin', 300, 400); return false;">(Quick Search)</a></th><td><input type="text" size="10" name="member" id="member" /></td></tr>
30         </table>
31
32
33 <table>
34 <tr>
35         <!-- Hide from NPL --><th>Reserve</th><!-- /Hide from NPL -->
36         <th>Item Type</th>
37         <th>Call Number</th>
38         <!-- Hide from NPL --><th>Volume</th><!-- /Hide from NPL -->
39         <!-- Hide from NPL --><th>Pubdate</th><!-- /Hide from NPL -->
40         <th>Copies</th>
41 </tr>
42
43 <!-- TMPL_LOOP Name="bibitemloop" -->
44         <tr>
45                 <!-- Hide from NPL --><td>
46                         <!-- TMPL_IF Name="itemlost" -->
47                                 Cannot be selected
48                         <!-- TMPL_ELSE -->
49                                 <input type="checkbox" name="reqbib" value=<!-- TMPL_VAR Name="biblioitemnumber" -->>
50                                 <input type="hidden" name="biblioitem" value=<!-- TMPL_VAR Name="biblioitemnumber" -->>
51                         <!-- /TMPL_IF -->
52                 </td><!-- /Hide from NPL -->
53                 <td>
54                         <!-- TMPL_VAR Name="description" -->
55                 </td>
56                 <td>
57                         <!-- TMPL_IF NAME="class" --><!-- TMPL_VAR Name="class" --><!-- TMPL_ELSE -->&nbsp;<!-- /TMPL_IF -->
58                 </td>
59                 <!-- Hide from NPL --><td>
60                         <!-- TMPL_IF NAME="volumedesc" --><!-- TMPL_VAR Name="volumeddesc" --><!-- TMPL_ELSE -->&nbsp;<!-- /TMPL_IF -->
61                 </td><!-- /Hide from NPL -->
62                 <!-- Hide from NPL --><td>
63                         <!-- TMPL_IF NAME="publicationyear" --><!-- TMPL_VAR Name="publicationyear" --><!-- TMPL_ELSE -->&nbsp;<!-- /TMPL_IF -->
64                 </td><!-- /Hide from NPL -->
65                 <td><ul>
66                         <!-- TMPL_LOOP Name="barcodeloop" -->
67                                 <li><!-- TMPL_VAR Name="barcode" --> <!-- TMPL_VAR Name="message" --></li>
68                         <!-- /TMPL_LOOP -->
69                         </ul>
70                 </td>
71         </tr>
72 <!-- /TMPL_LOOP -->
73 </table>
74
75 <input type="submit" name="submit"  value="Place New Request"  onclick="this.value='Please wait...'; this.disabled=true;" />
76 </form>
77 <!-- TMPL_IF NAME="reserveloop" -->
78 <form name="T<!-- TMPL_VAR Name="time" -->" action="modrequest.pl" method="post">
79 <h3>Modify Existing Requests</h3>
80 <div class="table"><table>
81         <tr>
82                 <th>Rank</th>
83                 <th>Patron</th>
84                 <th>Notes</th>
85                 <th>Date</th>
86                 <th>Pickup Location</th>
87                 <!-- Hide from NPL --><th>Request</th><!-- /Hide from NPL -->
88         </tr>
89
90         <!-- TMPL_LOOP Name="reserveloop" -->
91                 <tr>
92                         <td>
93                         <input type="hidden" name="borrowernumber" value="<!-- TMPL_VAR Name="borrowernumber" -->" />
94                         <input type="hidden" name="biblio" value="<!-- TMPL_VAR Name="biblionumber" -->" />
95                         <select name="rank-request">
96                                 <!-- TMPL_IF Name="wait" -->
97                                         <option value="W" selected="selected">Consigned</option>
98                                 <!-- /TMPL_IF -->
99                                 <!-- TMPL_LOOP Name="optionloop" -->
100                                         <option value="<!-- TMPL_VAR Name="num" -->"<!-- TMPL_IF Name="selected" --> selected="selected"<!-- /TMPL_IF -->>
101                                                 <!-- TMPL_VAR Name="num" -->
102                                         </option>
103                                 <!-- /TMPL_LOOP -->
104                                 <option value="del">Del</option>
105                         </select></td>
106                         <td>
107                         <a href="/cgi-bin/koha/members/moremember.pl?bornum=<!-- TMPL_VAR Name="borrowernumber" -->"><!-- TMPL_VAR Name="firstname" --> <!-- TMPL_VAR Name="surname" --></a>
108                         </td>
109                         <td><!-- TMPL_IF NAME="notes" --><!-- TMPL_VAR Name="notes" --><!-- TMPL_ELSE -->&nbsp;<!-- /TMPL_IF --></td>
110                         <td><!-- TMPL_VAR Name="date" --></td>
111                         <td><!-- TMPL_IF Name="wait" -->
112                                 <input type="hidden" name="pickup" value="<!-- TMPL_VAR Name="wbrcode" -->" />
113                                 <!-- TMPL_IF NAME="atdestination" -->
114                                 <strong>Waiting</strong> at <!-- TMPL_VAR Name="wbrcode" -->
115                                 <!-- TMPL_ELSE -->
116                                 In transit from <!-- TMPL_VAR NAME="holdingbranch" --> to <!-- TMPL_VAR Name="wbrcode" -->
117                                 <!-- /TMPL_IF -->
118                                 
119                                 <!-- TMPL_ELSE -->
120                                         <select name="pickup">
121                                                 <!-- TMPL_LOOP Name="branchloop" -->
122                                                         <option value="<!-- TMPL_VAR Name="branch" -->"<!-- TMPL_IF Name="selected" --> selected="selected"<!-- /TMPL_IF -->>
123                                                                 <!-- TMPL_VAR Name="branchname" -->
124                                                         </option>
125                                                 <!-- /TMPL_LOOP -->
126                                         </select>
127                                 <!-- /TMPL_IF -->
128                         </td>
129 <!-- Hide from NPL --><td>
130                                 <!-- TMPL_IF Name="wait" -->
131                                         <a href="/cgi-bin/koha/detail.pl?bib=<!-- TMPL_VAR Name=''biblionumber" --> &amp;type=intra">
132                                                 <!-- TMPL_VAR Name="barcode" -->
133                                         </a>
134                                 <!-- TMPL_ELSE -->
135                                         <!-- TMPL_IF Name="constrainttypea" -->
136                                                 Next Available
137                                         <!-- TMPL_ELSE -->
138                                                 <!-- TMPL_IF Name="constrainttypeo" -->
139                                                         This type only : <!-- TMPL_VAR Name="volumeddesc" --> <!-- TMPL_VAR Name="itemtype" -->
140                                                 <!-- /TMPL_IF -->
141                                         <!-- /TMPL_IF -->
142                                 <!-- /TMPL_IF -->
143
144                         </td><!-- /Hide from NPL -->
145                 </tr>
146         <!-- /TMPL_LOOP -->
147 </table>
148 <p>Delete a request by selecting "del" from the rank list.</p>
149 <p><input type="submit" name="submit"  value="Update List" /></p>
150 </form><!-- /TMPL_IF -->
151
152 <!-- TMPL_INCLUDE Name="intranet-bottom.inc" -->