6 [% INCLUDE 'doc-head-open.inc' %]
7 <title>Koha › Serials [% biblionumber %]</title>
8 [% Asset.css("css/datatables.css") %]
9 [% INCLUDE 'doc-head-close.inc' %]
12 <body id="acq_newordersubscription" class="acq">
13 [% INCLUDE 'header.inc' %]
14 [% INCLUDE 'acquisitions-search.inc' %]
16 <div id="breadcrumbs"><a href="/cgi-bin/koha/mainpage.pl">Home</a> › <a href="/cgi-bin/koha/acqui/acqui-home.pl">Acquisitions</a> › <a href="/cgi-bin/koha/acqui/supplier.pl?booksellerid=[% booksellerid %]">[% booksellername %]</a> › <a href="/cgi-bin/koha/acqui/basket.pl?basketno=[% basketno %]">Basket [% basketno %]</a> › Add order from a subscription</div>
18 <div id="doc3" class="yui-t2">
22 <h2>Serials subscriptions</h2>
23 [% IF (done_searched) %]
24 <label for="show_only_renewed">
25 <input type="checkbox" style="vertical-align: middle;" id="show_only_renewed" />
33 <th class="anti-the">Title</th>
38 <th class="title-string">Expiration date</th>
39 <th class="NoSort"></th>
43 [% FOREACH sub IN subs_loop %]
44 <tr data-reneweddate="[% sub.reneweddate %]" >
45 <td>[% sub.issn %]</td>
46 <td><a href="/cgi-bin/koha/serials/subscription-detail.pl?subscriptionid=[% sub.subscriptionid %]" class="button" title="subscription detail">[% IF (sub.title) %][% sub.title |html %][% ELSE %]
48 [% END %][% IF (sub.unititle) %], [% sub.unititle %][% END %]</a>
50 <td>[% IF (sub.publicnotes) %][% sub.publicnotes %][% END %]
51 [% IF (sub.internalnotes) %]([% sub.internalnotes %])[% END %]
54 [% IF (sub.vendorname) %][% sub.vendorname %][% END %]
57 [% IF (sub.branchcode) %][% Branches.GetName( sub.branchcode ) %][% END %]
60 [% IF (sub.callnumber) %][% sub.callnumber %][% END %]
63 [% IF (sub.enddate) %]
64 <span title="[% sub.enddate %]">[% sub.enddate | $KohaDates %]</span>
66 <span title="0000-00-00"></span>
70 [% IF (sub.alreadyOnOrder) %]
71 Outstanding order (only one order per subscription is allowed)
72 [% ELSIF not sub.aqbooksellerid || booksellerid == sub.aqbooksellerid%]
73 <a href="/cgi-bin/koha/acqui/neworderempty.pl?booksellerid=[% booksellerid %]&basketno=[% basketno %]&biblionumber=[% sub.biblionumber %]&from_subscriptionid=[% sub.subscriptionid %]" title="Order this one">
77 <a title="This subscription depends on another supplier" style="cursor:help">Cannot be ordered</a>
85 <p>Sorry, there is no result for your search.</p>
88 <p>Use the search form on the left to find subscriptions.</p>
94 [% INCLUDE 'subscriptions-search.inc' %]
95 [% INCLUDE 'acquisitions-menu.inc' %]
99 [% MACRO jsinclude BLOCK %]
100 [% Asset.js("js/acquisitions-menu.js") %]
101 [% INCLUDE 'datatables.inc' %]
102 <script type="text/javascript">
103 function updateRowsVisibility(show_only_renewed) {
104 if ( show_only_renewed ) {
105 $("#srlt [data-reneweddate='']").hide();
107 $("#srlt > tbody > tr").show();
111 $(document).ready(function() {
112 $("#srlt").dataTable($.extend(true, {}, dataTablesDefaults, {
114 { "bSortable": false, "bSearchable": false, 'aTargets': [ 'NoSort' ] },
115 { "sType": "anti-the", "aTargets" : [ "anti-the" ] },
116 { "sType": "title-string", "aTargets" : [ "title-string" ] }
118 "sPaginationType": "four_button"
121 $("#show_only_renewed").click(function(){
122 updateRowsVisibility( $(this).is(":checked") );
124 $("#show_only_renewed").prop('checked', false);
125 updateRowsVisibility(false);
127 $("#advsearch_form").show();
132 [% INCLUDE 'intranet-bottom.inc' %]