Lines 1-3
Link Here
|
|
|
1 |
[% USE KohaDates %] |
1 |
[% USE AuthorisedValues %] |
2 |
[% USE AuthorisedValues %] |
2 |
|
3 |
|
3 |
[% ShowCourseReserves = 0 %] |
4 |
[% ShowCourseReserves = 0 %] |
Lines 168-173
function verify_images() {
Link Here
|
168 |
table.before(link); |
169 |
table.before(link); |
169 |
deactivate_filters(id); |
170 |
deactivate_filters(id); |
170 |
} |
171 |
} |
|
|
172 |
[% IF AcquisitionDetails %] |
173 |
$("#orders").dataTable($.extend(true, {}, dataTablesDefaults, { |
174 |
'sDom': 't', |
175 |
'bPaginate': false, |
176 |
'bAutoWidth': false, |
177 |
"aaSorting": [[ 2, "desc" ]], |
178 |
"aoColumnDefs": [ |
179 |
{ "aTargets": [ 2, 3 ], "sType": "title-string" } |
180 |
] |
181 |
})); |
182 |
|
183 |
[% END %] |
171 |
}); |
184 |
}); |
172 |
//]]> |
185 |
//]]> |
173 |
</script> |
186 |
</script> |
Lines 396-401
function verify_images() {
Link Here
|
396 |
[% END %] |
409 |
[% END %] |
397 |
[% IF ( MARCNOTES || notes ) %]<li><a href="#description">Descriptions</a></li>[% END %] |
410 |
[% IF ( MARCNOTES || notes ) %]<li><a href="#description">Descriptions</a></li>[% END %] |
398 |
[% IF ( subscriptionsnumber ) %]<li><a href="#subscriptions">Subscriptions</a></li>[% END %] |
411 |
[% IF ( subscriptionsnumber ) %]<li><a href="#subscriptions">Subscriptions</a></li>[% END %] |
|
|
412 |
[% IF AcquisitionDetails %]<li><a href="#acq_details">Acquisition details</a></li>[% END %] |
399 |
[% IF ( FRBRizeEditions ) %][% IF ( XISBNS ) %]<li><a href="#editions">Editions</a></li>[% END %][% END %] |
413 |
[% IF ( FRBRizeEditions ) %][% IF ( XISBNS ) %]<li><a href="#editions">Editions</a></li>[% END %][% END %] |
400 |
[% IF ( LocalCoverImages ) %][% IF ( localimages || CAN_user_tools_upload_local_cover_images ) %]<li><a href="#images">Images</a></li>[% END %][% END %] |
414 |
[% IF ( LocalCoverImages ) %][% IF ( localimages || CAN_user_tools_upload_local_cover_images ) %]<li><a href="#images">Images</a></li>[% END %][% END %] |
401 |
[% IF ( HTML5MediaEnabled ) %][% IF ( HTML5MediaSets ) %]<li><a href="#html5media">Play media</a></li>[% END %][% END %] |
415 |
[% IF ( HTML5MediaEnabled ) %][% IF ( HTML5MediaSets ) %]<li><a href="#html5media">Play media</a></li>[% END %][% END %] |
Lines 703-708
function verify_images() {
Link Here
|
703 |
</div> |
717 |
</div> |
704 |
[% END %] |
718 |
[% END %] |
705 |
|
719 |
|
|
|
720 |
[% IF AcquisitionDetails %] |
721 |
<div id="acq_details"> |
722 |
[% IF orders %] |
723 |
<table id="orders"> |
724 |
<thead> |
725 |
<tr> |
726 |
<th>Basket</th> |
727 |
<th>Ordernumber</th> |
728 |
<th>Creation date</th> |
729 |
<th>Receive date</th> |
730 |
<th>Status</th> |
731 |
<th>Quantity / items</th> |
732 |
</tr> |
733 |
</thead> |
734 |
<tbody> |
735 |
[% FOR order IN orders %] |
736 |
<tr> |
737 |
<td><a href="/cgi-bin/koha/acqui/basket.pl?basketno=[% order.basketno %]">[% order.basketname %]</a></td> |
738 |
<td>[% order.ordernumber %]</td> |
739 |
<td><span title="[% order.creationdate %]">[% order.creationdate | $KohaDates%]</span></td> |
740 |
<td><span title="[% order.datereceived %]">[% order.datereceived | $KohaDates%]</span></td> |
741 |
<td> |
742 |
[% SWITCH order.orderstatus %] |
743 |
[% CASE '0' %]New |
744 |
[% CASE '1' %]Ordered |
745 |
[% CASE '2' %]Partial |
746 |
[% CASE '3' %]Complete |
747 |
[% CASE '4' %]Deleted |
748 |
[% END %] |
749 |
</td> |
750 |
<td> |
751 |
[% order.quantity %] |
752 |
[% IF order.itemnumbers.size > 0 && order.orderstatus != '4' %] |
753 |
( |
754 |
[% FOR itemnumber IN order.itemnumbers %] |
755 |
<a href="/cgi-bin/koha/catalogue/moredetail.pl?biblionumber=[% biblionumber %]#item[% itemnumber %]">[% itemnumber %]</a> |
756 |
[%- UNLESS loop.last %],[% END %] |
757 |
[% END %] |
758 |
) |
759 |
[% END %] |
760 |
</th> |
761 |
</tr> |
762 |
[% END %] |
763 |
</tbody> |
764 |
</table> |
765 |
[% ELSE %] |
766 |
There is no order for this biblio. |
767 |
[% END %] |
768 |
</div> |
769 |
[% END %] |
770 |
|
706 |
[% IF ( FRBRizeEditions ) %][% IF ( XISBNS ) %] |
771 |
[% IF ( FRBRizeEditions ) %][% IF ( XISBNS ) %] |
707 |
<div id="editions"><h4>Editions</h4> |
772 |
<div id="editions"><h4>Editions</h4> |
708 |
<table> |
773 |
<table> |
709 |
- |
|
|