5 [% INCLUDE 'doc-head-open.inc' %]
6 <title>Koha › Serials [% biblionumber %]</title>
7 <link rel="stylesheet" type="text/css" href="[% interface %]/[% theme %]/css/datatables_[% KOHA_VERSION %].css" />
8 [% INCLUDE 'doc-head-close.inc' %]
11 <body id="acq_newordersubscription" class="acq">
12 [% INCLUDE 'header.inc' %]
13 [% INCLUDE 'acquisitions-search.inc' %]
15 <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>
17 <div id="doc3" class="yui-t2">
21 <h2>Serials subscriptions</h2>
22 [% IF (done_searched) %]
23 <label for="show_only_renewed">
24 <input type="checkbox" style="vertical-align: middle;" id="show_only_renewed" />
32 <th class="anti-the">Title</th>
37 <th class="title-string">Expiration date</th>
38 <th class="NoSort"></th>
42 [% FOREACH sub IN subs_loop %]
43 <tr data-reneweddate="[% sub.reneweddate %]" >
44 <td>[% sub.issn %]</td>
45 <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 %]
47 [% END %][% IF (sub.unititle) %], [% sub.unititle %][% END %]</a>
49 <td>[% IF (sub.publicnotes) %][% sub.publicnotes %][% END %]
50 [% IF (sub.internalnotes) %]([% sub.internalnotes %])[% END %]
53 [% IF (sub.vendorname) %][% sub.vendorname %][% END %]
56 [% IF (sub.branchcode) %][% Branches.GetName( sub.branchcode ) %][% END %]
59 [% IF (sub.callnumber) %][% sub.callnumber %][% END %]
62 [% IF (sub.enddate) %]
63 <span title="[% sub.enddate %]">[% sub.enddate | $KohaDates %]</span>
65 <span title="0000-00-00"></span>
69 [% IF (sub.alreadyOnOrder) %]
70 Outstanding order (only one order per subscription is allowed)
71 [% ELSIF not sub.aqbooksellerid || booksellerid == sub.aqbooksellerid%]
72 <a href="/cgi-bin/koha/acqui/neworderempty.pl?booksellerid=[% booksellerid %]&basketno=[% basketno %]&biblionumber=[% sub.biblionumber %]&subscriptionid=[% sub.subscriptionid %]" title="Order this one">
76 <a title="This subscription depends on another supplier" style="cursor:help">Cannot be ordered</a>
84 <p>Sorry, there is no result for your search.</p>
87 <p>Use the search form on the left to find subscriptions.</p>
93 [% INCLUDE 'subscriptions-search.inc' %]
94 [% INCLUDE 'acquisitions-menu.inc' %]
98 [% MACRO jsinclude BLOCK %]
99 <script type="text/javascript" src="[% interface %]/[% theme %]/js/acquisitions-menu_[% KOHA_VERSION %].js"></script>
100 [% INCLUDE 'datatables.inc' %]
101 <script type="text/javascript">
102 function updateRowsVisibility(show_only_renewed) {
103 if ( show_only_renewed ) {
104 $("#srlt [data-reneweddate='']").hide();
106 $("#srlt > tbody > tr").show();
110 $(document).ready(function() {
111 $("#srlt").dataTable($.extend(true, {}, dataTablesDefaults, {
113 { "bSortable": false, "bSearchable": false, 'aTargets': [ 'NoSort' ] },
114 { "sType": "anti-the", "aTargets" : [ "anti-the" ] },
115 { "sType": "title-string", "aTargets" : [ "title-string" ] }
117 "sPaginationType": "four_button"
120 $("#show_only_renewed").click(function(){
121 updateRowsVisibility( $(this).is(":checked") );
123 $("#show_only_renewed").prop('checked', false);
124 updateRowsVisibility(false);
126 $("#advsearch_form").show();
131 [% INCLUDE 'intranet-bottom.inc' %]