|
Lines 124-130
Link Here
|
| 124 |
|
124 |
|
| 125 |
<fieldset class="rows"> |
125 |
<fieldset class="rows"> |
| 126 |
<legend>Place article request from [% biblio.title | html %] for [% patron.firstname | html %] [% patron.surname | html %] ( [% patron.cardnumber | html %] )</legend> |
126 |
<legend>Place article request from [% biblio.title | html %] for [% patron.firstname | html %] [% patron.surname | html %] ( [% patron.cardnumber | html %] )</legend> |
| 127 |
<ul> |
127 |
<ol> |
| 128 |
<li> |
128 |
<li> |
| 129 |
<label for="title">Title:</label> |
129 |
<label for="title">Title:</label> |
| 130 |
<input type="text" name="title" id="title" size="50"/> |
130 |
<input type="text" name="title" id="title" size="50"/> |
|
Lines 190-256
Link Here
|
| 190 |
[% END %] |
190 |
[% END %] |
| 191 |
</select> |
191 |
</select> |
| 192 |
</li> |
192 |
</li> |
| 193 |
</ul> |
193 |
</ol> |
| 194 |
</fieldset> |
194 |
</fieldset> |
| 195 |
|
195 |
|
| 196 |
[% SET article_request_type = biblio.article_request_type( patron ) %] |
196 |
[% SET article_request_type = biblio.article_request_type( patron ) %] |
| 197 |
[% IF article_request_type != 'bib_only' %] |
197 |
[% IF article_request_type != 'bib_only' %] |
| 198 |
<table id="current-requests-table" class="ar-table table table-bordered table-striped"> |
198 |
<div class="page-section"> |
| 199 |
<caption>Select item:</caption> |
199 |
<table id="current-requests-table" class="ar-table table table-bordered table-striped"> |
| 200 |
<thead> |
200 |
<caption>Select item:</caption> |
| 201 |
<tr> |
201 |
<thead> |
| 202 |
<th> </th> |
202 |
<tr> |
| 203 |
<th>Item type</th> |
203 |
<th> </th> |
| 204 |
<th>Barcode</th> |
204 |
<th>Item type</th> |
| 205 |
<th>Home library</th> |
205 |
<th>Barcode</th> |
| 206 |
<th>Call number</th> |
206 |
<th>Home library</th> |
| 207 |
<th>Enumeration</th> |
207 |
<th>Call number</th> |
| 208 |
</tr> |
208 |
<th>Enumeration</th> |
| 209 |
</thead> |
209 |
</tr> |
| 210 |
|
210 |
</thead> |
| 211 |
<tbody> |
211 |
|
| 212 |
[% FOREACH item IN biblio.items %] |
212 |
<tbody> |
| 213 |
[% IF item.can_article_request( patron ) %] |
213 |
[% FOREACH item IN biblio.items %] |
|
|
214 |
[% IF item.can_article_request( patron ) %] |
| 215 |
<tr> |
| 216 |
<td> |
| 217 |
[% IF article_request_type == 'item_only' && !checked %] |
| 218 |
[% SET checked = 1 %] |
| 219 |
<input type="radio" name="itemnumber" value="[% item.itemnumber | html %]" checked="checked" /> |
| 220 |
[% ELSE %] |
| 221 |
<input type="radio" name="itemnumber" value="[% item.itemnumber | html %]" /> |
| 222 |
[% END %] |
| 223 |
</td> |
| 224 |
<td> |
| 225 |
[% ItemTypes.GetDescription( item.itype ) | html %] |
| 226 |
</td> |
| 227 |
<td> |
| 228 |
[% item.barcode | html %] |
| 229 |
</td> |
| 230 |
<td> |
| 231 |
[% Branches.GetName( item.homebranch ) | html %] |
| 232 |
</td> |
| 233 |
<td> |
| 234 |
[% item.itemcallnumber | html %] |
| 235 |
</td> |
| 236 |
<td> |
| 237 |
[% item.enumchron | html %] |
| 238 |
</td> |
| 239 |
</tr> |
| 240 |
[% END %] |
| 241 |
[% END %] |
| 242 |
|
| 243 |
[% IF article_request_type != 'item_only' %] |
| 214 |
<tr> |
244 |
<tr> |
| 215 |
<td> |
245 |
<td> |
| 216 |
[% IF article_request_type == 'item_only' && !checked %] |
246 |
<input type="radio" name="itemnumber" value="" checked="checked"/> |
| 217 |
[% SET checked = 1 %] |
|
|
| 218 |
<input type="radio" name="itemnumber" value="[% item.itemnumber | html %]" checked="checked" /> |
| 219 |
[% ELSE %] |
| 220 |
<input type="radio" name="itemnumber" value="[% item.itemnumber | html %]" /> |
| 221 |
[% END %] |
| 222 |
</td> |
247 |
</td> |
| 223 |
<td> |
248 |
<td colspan="5"> |
| 224 |
[% ItemTypes.GetDescription( item.itype ) | html %] |
249 |
Any item |
| 225 |
</td> |
|
|
| 226 |
<td> |
| 227 |
[% item.barcode | html %] |
| 228 |
</td> |
| 229 |
<td> |
| 230 |
[% Branches.GetName( item.homebranch ) | html %] |
| 231 |
</td> |
| 232 |
<td> |
| 233 |
[% item.itemcallnumber | html %] |
| 234 |
</td> |
| 235 |
<td> |
| 236 |
[% item.enumchron | html %] |
| 237 |
</td> |
250 |
</td> |
| 238 |
</tr> |
251 |
</tr> |
| 239 |
[% END %] |
252 |
[% END %] |
| 240 |
[% END %] |
253 |
</tbody> |
| 241 |
|
254 |
</table> |
| 242 |
[% IF article_request_type != 'item_only' %] |
255 |
</div><!-- /.page-section --> |
| 243 |
<tr> |
|
|
| 244 |
<td> |
| 245 |
<input type="radio" name="itemnumber" value="" checked="checked"/> |
| 246 |
</td> |
| 247 |
<td colspan="5"> |
| 248 |
Any item |
| 249 |
</td> |
| 250 |
</tr> |
| 251 |
[% END %] |
| 252 |
</tbody> |
| 253 |
</table> |
| 254 |
[% END %] |
256 |
[% END %] |
| 255 |
|
257 |
|
| 256 |
<p> |
258 |
<p> |
| 257 |
- |
|
|