5 [% INCLUDE 'doc-head-open.inc' %]
6 <title>Koha › Reports › Serials subscriptions stats</title>
7 [% INCLUDE 'doc-head-close.inc' %]
8 <style type="text/css">
11 [% Asset.css("css/datatables.css") %]
14 <body id="rep_serials_stats" class="rep">
15 [% INCLUDE 'header.inc' %]
16 [% INCLUDE 'cat-search.inc' %]
18 <div id="breadcrumbs"><a href="/cgi-bin/koha/mainpage.pl">Home</a> › <a href="/cgi-bin/koha/reports/reports-home.pl">Reports</a> › Serials subscriptions stats</div>
20 <div id="doc3" class="yui-t2">
25 <h1>Serials subscriptions</h1>
27 <table id="resulttable">
32 <th>Subscription id</th>
35 <th>Subscription begin</th>
36 <th>Subscription end</th>
37 <th>Expired? / Closed?</th>
42 [% FOREACH data IN datas %]
43 <td><a href="/cgi-bin/koha/acqui/supplier.pl?booksellerid=[% data.aqbooksellerid %]">[% data.name %]</a></td>
44 <td><a href="/cgi-bin/koha/serials/subscription-detail.pl?subscriptionid=[% data.subscriptionid %]">[% data.title |html %]</a></td>
45 <td>[% data.subscriptionid %]</td>
46 <td>[% Branches.GetName( data.branchcode ) %]</td>
47 <td>[% data.callnumber %]</td>
48 <td><span title="[% data.startdate %]">[% data.startdate | $KohaDates %]</span></td>
49 <td><span title="[% data.enddate %]">[% data.enddate | $KohaDates %]</span></td>
53 [% ELSIF data.expired %]
64 <form method="post" action="/cgi-bin/koha/reports/serials_stats.pl">
66 <fieldset class="rows">
70 <label for="bookseller">
73 <select name="bookseller" id="bookseller">
74 <option value="">Any vendor</option>
75 [% FOREACH bookseller IN booksellers %]
76 <option value="[% bookseller.aqbooksellerid %]">[% bookseller.name %]</option>
80 <label for="branchcode">
83 <select name="branchcode" id="branchcode">
84 <option value="">Any library</option>
85 [% PROCESS options_for_libraries libraries => Branches.all() %]
90 <label for="expired">Include expired subscriptions: </label>
91 <input type="checkbox" name="expired" id="expired" />
97 <fieldset class="rows">
98 <legend>Output</legend>
101 <label for="outputscreen">To screen into the browser: </label><input type="radio" checked="checked" name="output" id="outputscreen" value="screen" />
104 <label for="outputfile">To a file:</label> <input type="radio" name="output" value="file" id="outputfile" />
105 <label class="inline" for="basename">Named: </label><input type="text" name="basename" id="basename" value="Export" />
106 <label class="inline" for="MIME">Into an application:</label>
107 <select name="MIME" id="MIME" size="1">
108 [% FOREACH value IN CGIextChoice %]
109 <option value="[% value %]">[% value %]</option>
112 <select name="sep" id="sep" size="1">
113 [% FOREACH value IN CGIsepChoice.values.sort() %]
114 [% IF ( value == CGIsepChoice.default ) %]
115 <option value="[% value %]" selected="selected">[% value %]</option>
117 <option value="[% value %]">[% value %]</option>
125 <fieldset class="action">
126 <input type="submit" value="Submit" />
127 <input type="hidden" name="report_name" value="[% report_name %]" />
128 <input type="hidden" name="do_it" value="1" />
135 [% INCLUDE 'reports-menu.inc' %]
139 [% MACRO jsinclude BLOCK %]
140 [% INCLUDE 'datatables.inc' %]
141 <script type="text/javascript">
142 $(document).ready(function() {
143 $("#resulttable").dataTable($.extend(true, {}, dataTablesDefaults, {
147 null,{ "sType": "anti-the" },null,null,null,{ "sType": "title-string" },{ "sType": "title-string" },null
154 [% INCLUDE 'intranet-bottom.inc' %]