4 [% INCLUDE 'doc-head-open.inc' %]
5 <title>Koha › Serials [% biblionumber %]</title>
6 <link rel="stylesheet" type="text/css" href="[% interface %]/[% theme %]/css/datatables.css" />
7 [% INCLUDE 'doc-head-close.inc' %]
8 [% INCLUDE 'datatables.inc' %]
9 <script type="text/javascript">
11 function updateRowsVisibility(show_only_renewed) {
12 if ( show_only_renewed ) {
13 $("#srlt [data-reneweddate='']").hide();
15 $("#srlt > tbody > tr").show();
19 $(document).ready(function() {
20 $("#srlt").dataTable($.extend(true, {}, dataTablesDefaults, {
22 { "bSortable": false, "bSearchable": false, 'aTargets': [ 'NoSort' ] },
23 { "sType": "anti-the", "aTargets" : [ "anti-the" ] },
24 { "sType": "title-string", "aTargets" : [ "title-string" ] }
26 "sPaginationType": "four_button"
29 $("#show_only_renewed").click(function(){
30 updateRowsVisibility( $(this).is(":checked") );
32 $("#show_only_renewed").prop('checked', false);
33 updateRowsVisibility(false);
35 $("#advsearch_form").show();
40 <body id="acq_newordersubscription" class="acq">
41 [% INCLUDE 'header.inc' %]
42 [% INCLUDE 'acquisitions-search.inc' %]
44 <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?supplierid=[% supplierid %]">[% booksellername %]</a> › <a href="/cgi-bin/koha/acqui/basket.pl?basketno=[% basketno %]">Shopping Basket [% basketno %]</a> › Add order from a subscription</div>
46 <div id="doc3" class="yui-t2">
50 <h2>Serials subscriptions</h2>
51 [% IF (done_searched) %]
52 <label for="show_only_renewed">
53 <input type="checkbox" style="vertical-align: middle;" id="show_only_renewed" />
61 <th class="anti-the">Title</th>
65 <th class="title-string">Expiration date</th>
66 <th class="NoSort"></th>
70 [% FOREACH sub IN subs_loop %]
71 <tr data-reneweddate="[% sub.reneweddate %]" >
72 <td>[% sub.issn %]</td>
73 <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 %]
75 [% END %][% IF (sub.unititle) %], [% sub.unititle %][% END %]</a>
77 <td>[% IF (sub.publicnotes) %][% sub.publicnotes %][% END %]
78 [% IF (sub.internalnotes) %]([% sub.internalnotes %])[% END %]
81 [% IF (sub.branchcode) %][% Branches.GetName( sub.branchcode ) %][% END %]
84 [% IF (sub.callnumber) %][% sub.callnumber %][% END %]
87 [% IF (sub.enddate) %]
88 <span title="[% sub.enddate %]">[% sub.enddate | $KohaDates %]</span>
90 <span title="0000-00-00"></span>
94 [% IF (sub.alreadyOnOrder) %]
95 Outstanding order (only one order per subscription is allowed)
96 [% ELSIF not sub.aqbooksellerid || booksellerid == sub.aqbooksellerid%]
97 <a href="/cgi-bin/koha/acqui/neworderempty.pl?booksellerid=[% booksellerid %]&basketno=[% basketno %]&biblionumber=[% sub.biblionumber %]&subscriptionid=[% sub.subscriptionid %]" title="Order this one">
101 <a title="This subscription depends on another supplier" style="cursor:help">Cannot be ordered</a>
109 <p>Sorry, there is no result for your search.</p>
112 <p>Use the search form on the left to find subscriptions.</p>
118 [% INCLUDE 'subscriptions-search.inc' %]
119 [% INCLUDE 'acquisitions-menu.inc' %]
122 [% INCLUDE 'intranet-bottom.inc' %]