Lines 4-13
Link Here
|
4 |
[% USE Price %] |
4 |
[% USE Price %] |
5 |
[% USE ItemTypes %] |
5 |
[% USE ItemTypes %] |
6 |
[% USE AuthorisedValues %] |
6 |
[% USE AuthorisedValues %] |
|
|
7 |
[% USE TablesSettings %] |
7 |
[% INCLUDE 'doc-head-open.inc' %] |
8 |
[% INCLUDE 'doc-head-open.inc' %] |
8 |
<title>Placing a hold › [% IF ( LibraryNameTitle ) %][% LibraryNameTitle | html %][% ELSE %]Koha online[% END %] catalog</title> |
9 |
<title>Placing a hold › [% IF ( LibraryNameTitle ) %][% LibraryNameTitle | html %][% ELSE %]Koha online[% END %] catalog</title> |
9 |
[% INCLUDE 'doc-head-close.inc' %] |
10 |
[% INCLUDE 'doc-head-close.inc' %] |
10 |
[% BLOCK cssinclude %][% END %] |
11 |
[% BLOCK cssinclude %] |
|
|
12 |
[% Asset.css("css/datatables.css") | $raw %] |
13 |
[% END %] |
11 |
</head> |
14 |
</head> |
12 |
|
15 |
|
13 |
[% INCLUDE 'bodytag.inc' bodyid='opac-holds' %] |
16 |
[% INCLUDE 'bodytag.inc' bodyid='opac-holds' %] |
Lines 345-371
Link Here
|
345 |
[% IF bibitemloo.itemholdable %] |
348 |
[% IF bibitemloo.itemholdable %] |
346 |
<table class="copiesrow table table-bordered table-striped" id="copiesrow_[% bibitemloo.biblionumber | html %]"> |
349 |
<table class="copiesrow table table-bordered table-striped" id="copiesrow_[% bibitemloo.biblionumber | html %]"> |
347 |
<caption>Select a specific item:</caption> |
350 |
<caption>Select a specific item:</caption> |
348 |
<tr> |
351 |
<thead> |
349 |
<th>Copy number</th> |
352 |
<tr> |
350 |
[% IF ( item_level_itypes ) %] |
353 |
<th>Copy number</th> |
351 |
<th>Item type</th> |
354 |
[% IF ( item_level_itypes ) %] |
352 |
[% END %] |
355 |
<th>Item type</th> |
353 |
<th>Barcode</th> |
356 |
[% END %] |
354 |
[% UNLESS ( singleBranchMode ) %] |
357 |
<th>Barcode</th> |
355 |
<th>Home library</th> |
358 |
[% UNLESS ( singleBranchMode ) %] |
356 |
<th>Last location</th> |
359 |
<th>Home library</th> |
357 |
[% END %] |
360 |
<th>Last location</th> |
358 |
[% IF ( itemdata_ccode ) %] |
361 |
[% END %] |
359 |
<th>Collection</th> |
362 |
[% IF ( itemdata_ccode ) %] |
360 |
[% END %] |
363 |
<th>Collection</th> |
361 |
<th>Call number</th> |
364 |
[% END %] |
362 |
[% IF ( itemdata_enumchron ) %] |
365 |
<th>Call number</th> |
363 |
<th>Vol info</th> |
366 |
[% IF ( itemdata_enumchron ) %] |
364 |
[% END %] |
367 |
<th>Vol info</th> |
365 |
<th>Notes</th> |
368 |
[% END %] |
366 |
<th>Information</th> |
369 |
<th>Notes</th> |
367 |
</tr> |
370 |
<th>Information</th> |
368 |
|
371 |
</tr> |
|
|
372 |
</thead> |
373 |
</tbody> |
369 |
[% FOREACH itemLoo IN bibitemloo.itemLoop %] |
374 |
[% FOREACH itemLoo IN bibitemloo.itemLoop %] |
370 |
<tr class="[% itemLoo.backgroundcolor | html %]"> |
375 |
<tr class="[% itemLoo.backgroundcolor | html %]"> |
371 |
<td class="copynumber"> |
376 |
<td class="copynumber"> |
Lines 451-456
Link Here
|
451 |
</td> |
456 |
</td> |
452 |
</tr> |
457 |
</tr> |
453 |
[% END # / FOREACH itemLoo IN bibitemloo.itemLoop%] |
458 |
[% END # / FOREACH itemLoo IN bibitemloo.itemLoop%] |
|
|
459 |
</tbody> |
454 |
</table> <!-- / #copiesrow_[% bibitemloo.biblionumber | html %] --> |
460 |
</table> <!-- / #copiesrow_[% bibitemloo.biblionumber | html %] --> |
455 |
[% END # / IF ( bibitemloo.itemholdable )%] |
461 |
[% END # / IF ( bibitemloo.itemholdable )%] |
456 |
</div> <!-- / #hold-options-[% bibitemloo.biblionumber | html %] --> |
462 |
</div> <!-- / #hold-options-[% bibitemloo.biblionumber | html %] --> |
Lines 471-477
Link Here
|
471 |
</div> <!-- / .main --> |
477 |
</div> <!-- / .main --> |
472 |
[% INCLUDE 'opac-bottom.inc' %] |
478 |
[% INCLUDE 'opac-bottom.inc' %] |
473 |
[% BLOCK jsinclude %] |
479 |
[% BLOCK jsinclude %] |
474 |
[% INCLUDE 'calendar.inc' %] |
480 |
[% INCLUDE 'datatables.inc' %] |
|
|
481 |
[% INCLUDE 'columns_settings.inc' %] |
482 |
[% INCLUDE 'calendar.inc' %] |
475 |
<script> |
483 |
<script> |
476 |
// <![CDATA[ |
484 |
// <![CDATA[ |
477 |
var MSG_NO_ITEM_SELECTED = _("Expecting a specific item selection."); |
485 |
var MSG_NO_ITEM_SELECTED = _("Expecting a specific item selection."); |
Lines 489-494
Link Here
|
489 |
} |
497 |
} |
490 |
|
498 |
|
491 |
$(document).ready(function() { |
499 |
$(document).ready(function() { |
|
|
500 |
columns_settings = [% TablesSettings.GetColumns( 'opac', 'biblio-detail', 'reserves_table', 'json' ) | $raw %] |
501 |
KohaTable(".copiesrow", { |
502 |
"dom": 'lrt', |
503 |
"sorting": [[ 1, "asc" ]], |
504 |
"autoWidth": false, |
505 |
"asColumnDefs": [ |
506 |
{ "aTargets": [ 1 ], "sType": "nsb-nse" }, |
507 |
] |
508 |
}, columns_settings ); |
492 |
$("#hold-request-form").preventDoubleFormSubmit(); |
509 |
$("#hold-request-form").preventDoubleFormSubmit(); |
493 |
var copiesRowId = null; |
510 |
var copiesRowId = null; |
494 |
var wasSpecific = false; |
511 |
var wasSpecific = false; |
495 |
- |
|
|