Lines 1-3
Link Here
|
|
|
1 |
[% USE KohaDates %] |
1 |
[% INCLUDE 'doc-head-open.inc' %] |
2 |
[% INCLUDE 'doc-head-open.inc' %] |
2 |
[% INCLUDE 'greybox.inc' %] |
3 |
[% INCLUDE 'greybox.inc' %] |
3 |
<title>Koha › Catalog › |
4 |
<title>Koha › Catalog › |
Lines 117-122
function verify_images() {
Link Here
|
117 |
table.before(link); |
118 |
table.before(link); |
118 |
deactivate_filters(id); |
119 |
deactivate_filters(id); |
119 |
} |
120 |
} |
|
|
121 |
[% IF AcquisitionDetails %] |
122 |
$("#orders").dataTable($.extend(true, {}, dataTablesDefaults, { |
123 |
'sDom': 't', |
124 |
'bPaginate': false, |
125 |
'bAutoWidth': false, |
126 |
"aaSorting": [[ 2, "desc" ]], |
127 |
"aoColumnDefs": [ |
128 |
{ "aTargets": [ 2, 3 ], "sType": "title-string" } |
129 |
] |
130 |
})); |
131 |
|
132 |
[% END %] |
120 |
}); |
133 |
}); |
121 |
//]]> |
134 |
//]]> |
122 |
</script> |
135 |
</script> |
Lines 345-350
function verify_images() {
Link Here
|
345 |
[% END %] |
358 |
[% END %] |
346 |
<li><a href="#description">Descriptions</a></li> |
359 |
<li><a href="#description">Descriptions</a></li> |
347 |
[% IF ( subscriptionsnumber ) %]<li><a href="#subscriptions">Subscriptions</a></li>[% END %] |
360 |
[% IF ( subscriptionsnumber ) %]<li><a href="#subscriptions">Subscriptions</a></li>[% END %] |
|
|
361 |
[% IF AcquisitionDetails %]<li><a href="#acq_details">Acquisition details</a></li>[% END %] |
348 |
[% IF ( FRBRizeEditions ) %][% IF ( XISBNS ) %]<li><a href="#editions">Editions</a></li>[% END %][% END %] |
362 |
[% IF ( FRBRizeEditions ) %][% IF ( XISBNS ) %]<li><a href="#editions">Editions</a></li>[% END %][% END %] |
349 |
[% IF ( LocalCoverImages ) %][% IF ( localimages || CAN_user_tools_upload_local_cover_images ) %]<li><a href="#images">Images</a></li>[% END %][% END %] |
363 |
[% IF ( LocalCoverImages ) %][% IF ( localimages || CAN_user_tools_upload_local_cover_images ) %]<li><a href="#images">Images</a></li>[% END %][% END %] |
350 |
[% IF ( HTML5MediaEnabled ) %][% IF ( HTML5MediaSets ) %]<li><a href="#html5media">Play media</a></li>[% END %][% END %] |
364 |
[% IF ( HTML5MediaEnabled ) %][% IF ( HTML5MediaSets ) %]<li><a href="#html5media">Play media</a></li>[% END %][% END %] |
Lines 629-634
function verify_images() {
Link Here
|
629 |
</div> |
643 |
</div> |
630 |
[% END %] |
644 |
[% END %] |
631 |
|
645 |
|
|
|
646 |
[% IF AcquisitionDetails %] |
647 |
<div id="acq_details"> |
648 |
[% IF orders %] |
649 |
<table id="orders"> |
650 |
<thead> |
651 |
<tr> |
652 |
<th>Basket</th> |
653 |
<th>Ordernumber</th> |
654 |
<th>Creation date</th> |
655 |
<th>Receive date</th> |
656 |
<th>Status</th> |
657 |
<th>Quantity / items</th> |
658 |
</tr> |
659 |
</thead> |
660 |
<tbody> |
661 |
[% FOR order IN orders %] |
662 |
<tr> |
663 |
<td><a href="/cgi-bin/koha/acqui/basket.pl?basketno=[% order.basketno %]">[% order.basketname %]</a></td> |
664 |
<td>[% order.ordernumber %]</td> |
665 |
<td><span title="[% order.creationdate %]">[% order.creationdate | $KohaDates%]</span></td> |
666 |
<td><span title="[% order.datereceived %]">[% order.datereceived | $KohaDates%]</span></td> |
667 |
<td> |
668 |
[% SWITCH order.orderstatus %] |
669 |
[% CASE '0' %]New |
670 |
[% CASE '1' %]Ordered |
671 |
[% CASE '2' %]Partial |
672 |
[% CASE '3' %]Complete |
673 |
[% CASE '4' %]Deleted |
674 |
[% END %] |
675 |
</td> |
676 |
<td> |
677 |
[% order.quantity %] |
678 |
[% IF order.itemnumbers.size > 0 && order.orderstatus != '4' %] |
679 |
( |
680 |
[% FOR itemnumber IN order.itemnumbers %] |
681 |
<a href="/cgi-bin/koha/catalogue/moredetail.pl?biblionumber=[% biblionumber %]#item[% itemnumber %]">[% itemnumber %]</a> |
682 |
[%- UNLESS loop.last %],[% END %] |
683 |
[% END %] |
684 |
) |
685 |
[% END %] |
686 |
</th> |
687 |
</tr> |
688 |
[% END %] |
689 |
</tbody> |
690 |
</table> |
691 |
[% ELSE %] |
692 |
There is no order for this biblio. |
693 |
[% END %] |
694 |
</div> |
695 |
[% END %] |
696 |
|
632 |
[% IF ( FRBRizeEditions ) %][% IF ( XISBNS ) %] |
697 |
[% IF ( FRBRizeEditions ) %][% IF ( XISBNS ) %] |
633 |
<div id="editions"><h4>Editions</h4> |
698 |
<div id="editions"><h4>Editions</h4> |
634 |
<table> |
699 |
<table> |
635 |
- |
|
|