4 [% INCLUDE 'doc-head-open.inc' %]
5 <title>Koha › Reports › Serials subscriptions stats</title>
6 [% INCLUDE 'doc-head-close.inc' %]
7 <style type="text/css">
10 <link rel="stylesheet" type="text/css" href="[% interface %]/[% theme %]/css/datatables_[% KOHA_VERSION %].css" />
13 <body id="rep_serials_stats" class="rep">
14 [% INCLUDE 'header.inc' %]
15 [% INCLUDE 'cat-search.inc' %]
17 <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>
19 <div id="doc3" class="yui-t2">
24 <h1>Serials subscriptions</h1>
26 <table id="resulttable">
31 <th>Subscription id</th>
34 <th>Subscription begin</th>
35 <th>Subscription end</th>
36 <th>Expired? / Closed?</th>
41 [% FOREACH data IN datas %]
42 <td><a href="/cgi-bin/koha/acqui/supplier.pl?booksellerid=[% data.aqbooksellerid %]">[% data.name %]</a></td>
43 <td><a href="/cgi-bin/koha/serials/subscription-detail.pl?subscriptionid=[% data.subscriptionid %]">[% data.title |html %]</a></td>
44 <td>[% data.subscriptionid %]</td>
45 <td>[% Branches.GetName( data.branchcode ) %]</td>
46 <td>[% data.callnumber %]</td>
47 <td><span title="[% data.startdate %]">[% data.startdate | $KohaDates %]</span></td>
48 <td><span title="[% data.enddate %]">[% data.enddate | $KohaDates %]</span></td>
52 [% ELSIF data.expired %]
63 <form method="post" action="/cgi-bin/koha/reports/serials_stats.pl">
65 <fieldset class="rows">
69 <label for="bookseller">
72 <select name="bookseller" id="bookseller">
73 <option value="">Any vendor</option>
74 [% FOREACH bookseller IN booksellers %]
75 <option value="[% bookseller.aqbooksellerid %]">[% bookseller.name %]</option>
79 <label for="branchcode">
82 <select name="branchcode" id="branchcode">
83 <option value="">Any library</option>
84 [% PROCESS options_for_libraries libraries => Branches.all() %]
89 <label for="expired">Include expired subscriptions: </label>
90 <input type="checkbox" name="expired" id="expired" />
96 <fieldset class="rows">
97 <legend>Output</legend>
100 <label for="outputscreen">To screen into the browser: </label><input type="radio" checked="checked" name="output" id="outputscreen" value="screen" />
103 <label for="outputfile">To a file:</label> <input type="radio" name="output" value="file" id="outputfile" />
104 <label class="inline" for="basename">Named: </label><input type="text" name="basename" id="basename" value="Export" />
105 <label class="inline" for="MIME">Into an application:</label>
106 <select name="MIME" id="MIME" size="1">
107 [% FOREACH value IN CGIextChoice %]
108 <option value="[% value %]">[% value %]</option>
111 <select name="sep" id="sep" size="1">
112 [% FOREACH value IN CGIsepChoice.values.sort() %]
113 [% IF ( value == CGIsepChoice.default ) %]
114 <option value="[% value %]" selected="selected">[% value %]</option>
116 <option value="[% value %]">[% value %]</option>
124 <fieldset class="action">
125 <input type="submit" value="Submit" />
126 <input type="hidden" name="report_name" value="[% report_name %]" />
127 <input type="hidden" name="do_it" value="1" />
134 [% INCLUDE 'reports-menu.inc' %]
138 [% MACRO jsinclude BLOCK %]
139 [% INCLUDE 'datatables.inc' %]
140 <script type="text/javascript">
141 $(document).ready(function() {
142 $("#resulttable").dataTable($.extend(true, {}, dataTablesDefaults, {
146 null,{ "sType": "anti-the" },null,null,null,{ "sType": "title-string" },{ "sType": "title-string" },null
153 [% INCLUDE 'intranet-bottom.inc' %]