Lines 42-47
$(document).ready(function() {
Link Here
|
42 |
$(':radio', this).attr('checked', 'true') |
42 |
$(':radio', this).attr('checked', 'true') |
43 |
} |
43 |
} |
44 |
}); |
44 |
}); |
|
|
45 |
var my_table = $("#requestspecific").dataTable($.extend(true, {}, dataTablesDefaults, { |
46 |
'bPaginate': false, |
47 |
'bInfo': false, |
48 |
"bAutoWidth": false, |
49 |
})); |
50 |
|
51 |
//Override fieldset styling for dataTables search box |
52 |
$("div.top.pager").css("margin-left","1em"); |
53 |
$(".dataTables_filter label").css({ |
54 |
"width":"auto", |
55 |
"margin-right":"0em" |
56 |
}); |
45 |
|
57 |
|
46 |
}); |
58 |
}); |
47 |
|
59 |
|
Lines 431-511
function checkMultiHold() {
Link Here
|
431 |
|
443 |
|
432 |
<table id="requestspecific"> |
444 |
<table id="requestspecific"> |
433 |
<caption>Place a hold on a specific item</caption> |
445 |
<caption>Place a hold on a specific item</caption> |
434 |
<tr> |
446 |
<thead> |
435 |
<th>Hold</th> |
447 |
<tr> |
436 |
[% IF ( item_level_itypes ) %] |
448 |
<th>Hold</th> |
437 |
<th>Item type</th> |
449 |
[% IF ( item_level_itypes ) %] |
438 |
[% END %] |
450 |
<th>Item type</th> |
439 |
<th>Barcode</th> |
451 |
[% END %] |
440 |
<th>Home library</th> |
452 |
<th>Barcode</th> |
441 |
<th>Last location</th> |
453 |
<th>Home library</th> |
442 |
<th>Call no.</th> |
454 |
<th>Last location</th> |
443 |
<th>Copy number</th> |
455 |
<th>Call no.</th> |
444 |
[% IF itemdata_enumchron %] |
456 |
<th>Copy number</th> |
445 |
<th>Vol no.</th> |
457 |
[% IF itemdata_enumchron %] |
446 |
[% END %] |
458 |
<th>Vol no.</th> |
447 |
<th>Information</th> |
459 |
[% END %] |
448 |
</tr> |
460 |
<th>Information</th> |
449 |
[% FOREACH itemloo IN bibitemloo.itemloop %] |
461 |
</tr> |
450 |
[% UNLESS ( itemloo.hide ) %] |
462 |
</thead> |
451 |
<tr class="[% itemloo.backgroundcolor %]"> |
463 |
<tbody> |
452 |
<td> |
464 |
[% FOREACH itemloo IN bibitemloo.itemloop %] |
453 |
[% IF ( itemloo.available ) %] |
465 |
[% UNLESS ( itemloo.hide ) %] |
454 |
<input type="radio" name="checkitem" value="[% itemloo.itemnumber %]" /> |
466 |
<tr class="[% itemloo.backgroundcolor %]"> |
455 |
[% ELSIF ( itemloo.override ) %] |
467 |
<td> |
456 |
<input type="radio" name="checkitem" class="needsoverride" value="[% itemloo.itemnumber %]" /> |
468 |
[% IF ( itemloo.available ) %] |
457 |
<img src="/intranet-tmpl/[% theme %]/img/famfamfam/silk/error.png" alt="Requires override of hold policy" /> |
469 |
<input type="radio" name="checkitem" value="[% itemloo.itemnumber %]" /> |
458 |
[% ELSE %] |
470 |
[% ELSIF ( itemloo.override ) %] |
459 |
<input disabled="disabled" type="radio" name="checkitem" value="[% itemloo.itemnumber %]" /> |
471 |
<input type="radio" name="checkitem" class="needsoverride" value="[% itemloo.itemnumber %]" /> |
460 |
<img src="/intranet-tmpl/[% theme %]/img/famfamfam/silk/cross.png" alt="Cannot be put on hold" /> |
472 |
<img src="/intranet-tmpl/[% theme %]/img/famfamfam/silk/error.png" alt="Requires override of hold policy" /> |
461 |
[% END %] |
473 |
[% ELSE %] |
462 |
</td> |
474 |
<input disabled="disabled" type="radio" name="checkitem" value="[% itemloo.itemnumber %]" /> |
463 |
[% IF ( item_level_itypes ) %] |
475 |
<img src="/intranet-tmpl/[% theme %]/img/famfamfam/silk/cross.png" alt="Cannot be put on hold" /> |
464 |
<td> |
476 |
[% END %] |
|
|
477 |
</td> |
478 |
[% IF ( item_level_itypes ) %] |
479 |
<td> |
465 |
[% UNLESS ( noItemTypeImages ) %] |
480 |
[% UNLESS ( noItemTypeImages ) %] |
466 |
[% IF ( itemloo.imageurl ) %]<img src="[% itemloo.imageurl %]" alt="" /> <br /> [% END %] |
481 |
[% IF ( itemloo.imageurl ) %]<img src="[% itemloo.imageurl %]" alt="" /> <br /> [% END %] |
467 |
[% END %] |
482 |
[% END %] |
468 |
[% itemloo.itypename %] |
483 |
[% itemloo.itypename %] |
469 |
</td> |
484 |
</td> |
470 |
[% END %] |
485 |
[% END %] |
471 |
|
486 |
|
472 |
<td> |
487 |
<td> |
473 |
[% itemloo.barcode %] |
488 |
[% itemloo.barcode %] |
474 |
</td> |
489 |
</td> |
475 |
<td> |
490 |
<td> |
476 |
[% itemloo.homebranchname %] |
491 |
[% itemloo.homebranchname %] |
477 |
</td> |
492 |
</td> |
478 |
<td> |
493 |
<td> |
479 |
[% itemloo.holdingbranchname %] |
494 |
[% itemloo.holdingbranchname %] |
480 |
</td> |
495 |
</td> |
481 |
<td> |
496 |
<td> |
482 |
[% itemloo.itemcallnumber %] |
497 |
[% itemloo.itemcallnumber %] |
483 |
</td> |
498 |
</td> |
484 |
<td>[% IF ( itemloo.copynumber ) %][% itemloo.copynumber %][% ELSE %] [% END %]</td> |
499 |
<td> |
485 |
[% IF itemdata_enumchron %] |
500 |
[% IF ( itemloo.copynumber ) %][% itemloo.copynumber %][% ELSE %] [% END %] |
486 |
<td> |
501 |
</td> |
487 |
[% itemloo.enumchron %] |
502 |
[% IF itemdata_enumchron %] |
488 |
</td> |
503 |
<td> |
489 |
[% END %] |
504 |
[% itemloo.enumchron %] |
490 |
<td> |
505 |
</td> |
|
|
506 |
[% END %] |
507 |
<td> |
491 |
[% IF ( itemloo.onloan ) %] |
508 |
[% IF ( itemloo.onloan ) %] |
492 |
<span class="checkedout">Due [% itemloo.date_due %]</span> |
509 |
<span class="checkedout">Due [% itemloo.date_due %]</span> |
493 |
[% ELSE %] |
510 |
[% ELSE %] |
494 |
[% IF ( itemloo.transfertwhen ) %] |
511 |
[% IF ( itemloo.transfertwhen ) %] |
495 |
In transit from [% itemloo.transfertfrom %], |
512 |
In transit from [% itemloo.transfertfrom %], |
496 |
to [% itemloo.transfertto %], since [% itemloo.transfertwhen %] |
513 |
to [% itemloo.transfertto %], since [% itemloo.transfertwhen %] |
497 |
[% END %] |
514 |
[% END %] |
498 |
[% END %] |
515 |
[% END %] |
499 |
|
516 |
|
500 |
[% IF ( itemloo.message ) %] |
517 |
[% IF ( itemloo.message ) %] |
501 |
Unavailable (lost or missing) |
518 |
Unavailable (lost or missing) |
502 |
[% END %] |
519 |
[% END %] |
503 |
|
520 |
|
504 |
[% IF ( itemloo.notforloan ) %] |
521 |
[% IF ( itemloo.notforloan ) %] |
505 |
Not for loan ([% itemloo.notforloanvalue %]) |
522 |
Not for loan ([% itemloo.notforloanvalue %]) |
506 |
[% END %] |
523 |
[% END %] |
507 |
|
524 |
|
508 |
[% IF ( itemloo.reservedate ) %] |
525 |
[% IF ( itemloo.reservedate ) %] |
509 |
[% IF ( itemloo.nocancel ) %] |
526 |
[% IF ( itemloo.nocancel ) %] |
510 |
Can't be cancelled when item is in transit |
527 |
Can't be cancelled when item is in transit |
511 |
[% ELSE %] |
528 |
[% ELSE %] |
Lines 515-527
function checkMultiHold() {
Link Here
|
515 |
[% IF ( itemloo.waitingdate ) %][% itemloo.waitingdate | $KohaDates %][% ELSE %][% IF ( itemloo.reservedate ) %][% itemloo.reservedate %][% END %][% END %]. <a class="info" href="modrequest.pl?CancelBiblioNumber=[% itemloo.biblionumber %]&CancelBorrowerNumber=[% itemloo.ReservedForBorrowernumber %]&CancelItemnumber=[% itemloo.itemnumber %]" onclick="return confirmDelete(MSG_CONFIRM_DELETE_HOLD);">Cancel hold</a> |
532 |
[% IF ( itemloo.waitingdate ) %][% itemloo.waitingdate | $KohaDates %][% ELSE %][% IF ( itemloo.reservedate ) %][% itemloo.reservedate %][% END %][% END %]. <a class="info" href="modrequest.pl?CancelBiblioNumber=[% itemloo.biblionumber %]&CancelBorrowerNumber=[% itemloo.ReservedForBorrowernumber %]&CancelItemnumber=[% itemloo.itemnumber %]" onclick="return confirmDelete(MSG_CONFIRM_DELETE_HOLD);">Cancel hold</a> |
516 |
|
533 |
|
517 |
[% END %] |
534 |
[% END %] |
518 |
[% ELSE %] |
535 |
[% ELSE %] |
519 |
Not on hold |
536 |
Not on hold |
520 |
[% END %] |
537 |
[% END %] |
521 |
</td> |
538 |
</td> |
522 |
</tr> |
539 |
</tr> |
523 |
[% END %] <!--UNLESS item hide--> |
540 |
[% END %] <!--UNLESS item hide--> |
524 |
[% END %] <!-- itemloop --> |
541 |
[% END %] <!-- itemloop --> |
|
|
542 |
</tbody> |
525 |
</table> |
543 |
</table> |
526 |
[% IF ( bibitemloo.hiddencount ) %] |
544 |
[% IF ( bibitemloo.hiddencount ) %] |
527 |
<form> |
545 |
<form> |
528 |
- |
|
|