Lines 1-3
Link Here
|
|
|
1 |
[% USE KohaDates %] |
1 |
[% USE AuthorisedValues %] |
2 |
[% USE AuthorisedValues %] |
2 |
|
3 |
|
3 |
[% ShowCourseReserves = 0 %] |
4 |
[% ShowCourseReserves = 0 %] |
Lines 142-147
function verify_images() {
Link Here
|
142 |
table.before(link); |
143 |
table.before(link); |
143 |
deactivate_filters(id); |
144 |
deactivate_filters(id); |
144 |
} |
145 |
} |
|
|
146 |
[% IF AcquisitionDetails %] |
147 |
$("#orders").dataTable($.extend(true, {}, dataTablesDefaults, { |
148 |
'sDom': 't', |
149 |
'bPaginate': false, |
150 |
'bAutoWidth': false, |
151 |
"aaSorting": [[ 2, "desc" ]], |
152 |
"aoColumnDefs": [ |
153 |
{ "aTargets": [ 2, 3 ], "sType": "title-string" } |
154 |
] |
155 |
})); |
156 |
|
157 |
[% END %] |
145 |
}); |
158 |
}); |
146 |
//]]> |
159 |
//]]> |
147 |
</script> |
160 |
</script> |
Lines 370-375
function verify_images() {
Link Here
|
370 |
[% END %] |
383 |
[% END %] |
371 |
[% IF ( MARCNOTES || notes ) %]<li><a href="#description">Descriptions</a></li>[% END %] |
384 |
[% IF ( MARCNOTES || notes ) %]<li><a href="#description">Descriptions</a></li>[% END %] |
372 |
[% IF ( subscriptionsnumber ) %]<li><a href="#subscriptions">Subscriptions</a></li>[% END %] |
385 |
[% IF ( subscriptionsnumber ) %]<li><a href="#subscriptions">Subscriptions</a></li>[% END %] |
|
|
386 |
[% IF AcquisitionDetails %]<li><a href="#acq_details">Acquisition details</a></li>[% END %] |
373 |
[% IF ( FRBRizeEditions ) %][% IF ( XISBNS ) %]<li><a href="#editions">Editions</a></li>[% END %][% END %] |
387 |
[% IF ( FRBRizeEditions ) %][% IF ( XISBNS ) %]<li><a href="#editions">Editions</a></li>[% END %][% END %] |
374 |
[% IF ( LocalCoverImages ) %][% IF ( localimages || CAN_user_tools_upload_local_cover_images ) %]<li><a href="#images">Images</a></li>[% END %][% END %] |
388 |
[% IF ( LocalCoverImages ) %][% IF ( localimages || CAN_user_tools_upload_local_cover_images ) %]<li><a href="#images">Images</a></li>[% END %][% END %] |
375 |
[% IF ( HTML5MediaEnabled ) %][% IF ( HTML5MediaSets ) %]<li><a href="#html5media">Play media</a></li>[% END %][% END %] |
389 |
[% IF ( HTML5MediaEnabled ) %][% IF ( HTML5MediaSets ) %]<li><a href="#html5media">Play media</a></li>[% END %][% END %] |
Lines 677-682
function verify_images() {
Link Here
|
677 |
</div> |
691 |
</div> |
678 |
[% END %] |
692 |
[% END %] |
679 |
|
693 |
|
|
|
694 |
[% IF AcquisitionDetails %] |
695 |
<div id="acq_details"> |
696 |
[% IF orders %] |
697 |
<table id="orders"> |
698 |
<thead> |
699 |
<tr> |
700 |
<th>Basket</th> |
701 |
<th>Ordernumber</th> |
702 |
<th>Creation date</th> |
703 |
<th>Receive date</th> |
704 |
<th>Status</th> |
705 |
<th>Quantity / items</th> |
706 |
</tr> |
707 |
</thead> |
708 |
<tbody> |
709 |
[% FOR order IN orders %] |
710 |
<tr> |
711 |
<td><a href="/cgi-bin/koha/acqui/basket.pl?basketno=[% order.basketno %]">[% order.basketname %]</a></td> |
712 |
<td>[% order.ordernumber %]</td> |
713 |
<td><span title="[% order.creationdate %]">[% order.creationdate | $KohaDates%]</span></td> |
714 |
<td><span title="[% order.datereceived %]">[% order.datereceived | $KohaDates%]</span></td> |
715 |
<td> |
716 |
[% SWITCH order.orderstatus %] |
717 |
[% CASE '0' %]New |
718 |
[% CASE '1' %]Ordered |
719 |
[% CASE '2' %]Partial |
720 |
[% CASE '3' %]Complete |
721 |
[% CASE '4' %]Deleted |
722 |
[% END %] |
723 |
</td> |
724 |
<td> |
725 |
[% order.quantity %] |
726 |
[% IF order.itemnumbers.size > 0 && order.orderstatus != '4' %] |
727 |
( |
728 |
[% FOR itemnumber IN order.itemnumbers %] |
729 |
<a href="/cgi-bin/koha/catalogue/moredetail.pl?biblionumber=[% biblionumber %]#item[% itemnumber %]">[% itemnumber %]</a> |
730 |
[%- UNLESS loop.last %],[% END %] |
731 |
[% END %] |
732 |
) |
733 |
[% END %] |
734 |
</th> |
735 |
</tr> |
736 |
[% END %] |
737 |
</tbody> |
738 |
</table> |
739 |
[% ELSE %] |
740 |
There is no order for this biblio. |
741 |
[% END %] |
742 |
</div> |
743 |
[% END %] |
744 |
|
680 |
[% IF ( FRBRizeEditions ) %][% IF ( XISBNS ) %] |
745 |
[% IF ( FRBRizeEditions ) %][% IF ( XISBNS ) %] |
681 |
<div id="editions"><h4>Editions</h4> |
746 |
<div id="editions"><h4>Editions</h4> |
682 |
<table> |
747 |
<table> |
683 |
- |
|
|