6 [% INCLUDE 'doc-head-open.inc' %]
7 <title>Koha › Reports › Serials subscriptions stats</title>
8 [% INCLUDE 'doc-head-close.inc' %]
9 <style type="text/css">
12 [% Asset.css("css/datatables.css") | $raw %]
15 <body id="rep_serials_stats" class="rep">
16 [% INCLUDE 'header.inc' %]
17 [% INCLUDE 'cat-search.inc' %]
19 <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>
21 <div id="doc3" class="yui-t2">
26 <h1>Serials subscriptions</h1>
28 <table id="resulttable">
33 <th>Subscription id</th>
36 <th>Subscription begin</th>
37 <th>Subscription end</th>
38 <th>Expired? / Closed?</th>
43 [% FOREACH data IN datas %]
44 <td><a href="/cgi-bin/koha/acqui/supplier.pl?booksellerid=[% data.aqbooksellerid | html %]">[% data.name | html %]</a></td>
45 <td><a href="/cgi-bin/koha/serials/subscription-detail.pl?subscriptionid=[% data.subscriptionid | html %]">[% data.title | html %]</a></td>
46 <td>[% data.subscriptionid | html %]</td>
47 <td>[% Branches.GetName( data.branchcode ) | html %]</td>
48 <td>[% data.callnumber | html %]</td>
49 <td><span title="[% data.startdate | html %]">[% data.startdate | $KohaDates %]</span></td>
50 <td><span title="[% data.enddate | html %]">[% data.enddate | $KohaDates %]</span></td>
54 [% ELSIF data.expired %]
65 <form method="post" action="/cgi-bin/koha/reports/serials_stats.pl">
67 <fieldset class="rows">
71 <label for="bookseller">
74 <select name="bookseller" id="bookseller">
75 <option value="">Any vendor</option>
76 [% FOREACH bookseller IN booksellers %]
77 <option value="[% bookseller.aqbooksellerid | html %]">[% bookseller.name | html %]</option>
81 <label for="branchcode">
84 <select name="branchcode" id="branchcode">
85 <option value="">Any library</option>
86 [% PROCESS options_for_libraries libraries => Branches.all() %]
91 <label for="expired">Include expired subscriptions: </label>
92 <input type="checkbox" name="expired" id="expired" />
98 <fieldset class="rows">
99 <legend>Output</legend>
102 <label for="outputscreen">To screen into the browser: </label><input type="radio" checked="checked" name="output" id="outputscreen" value="screen" />
105 <label for="outputfile">To a file:</label> <input type="radio" name="output" value="file" id="outputfile" />
106 <label class="inline" for="basename">Named: </label><input type="text" name="basename" id="basename" value="Export" />
107 <label class="inline" for="MIME">Into an application:</label>
108 <select name="MIME" id="MIME" size="1">
109 [% FOREACH value IN CGIextChoice %]
110 <option value="[% value | html %]">[% value | html %]</option>
113 <select name="sep" id="sep" size="1">
114 [% FOREACH value IN CGIsepChoice.values.sort() %]
115 [% IF ( value == CGIsepChoice.default ) %]
116 <option value="[% value | html %]" selected="selected">[% value | html %]</option>
118 <option value="[% value | html %]">[% value | html %]</option>
126 <fieldset class="action">
127 <input type="submit" value="Submit" />
128 <input type="hidden" name="report_name" value="[% report_name | html %]" />
129 <input type="hidden" name="do_it" value="1" />
136 [% INCLUDE 'reports-menu.inc' %]
140 [% MACRO jsinclude BLOCK %]
141 [% INCLUDE 'datatables.inc' %]
142 <script type="text/javascript">
143 $(document).ready(function() {
144 $("#resulttable").dataTable($.extend(true, {}, dataTablesDefaults, {
148 null,{ "sType": "anti-the" },null,null,null,{ "sType": "title-string" },{ "sType": "title-string" },null
155 [% INCLUDE 'intranet-bottom.inc' %]