3 [% INCLUDE 'doc-head-open.inc' %]
4 <title>Koha › Reports › Serials subscriptions stats</title>
5 [% INCLUDE 'doc-head-close.inc' %]
6 <style type="text/css">
9 <link rel="stylesheet" type="text/css" href="[% interface %]/[% theme %]/css/datatables.css" />
10 [% INCLUDE 'datatables.inc' %]
11 <script type="text/javascript">
13 $(document).ready(function() {
14 $("#resulttable").dataTable($.extend(true, {}, dataTablesDefaults, {
18 null,{ "sType": "anti-the" },null,null,null,{ "sType": "title-string" },{ "sType": "title-string" },null
25 <body id="rep_serials_stats" class="rep">
26 [% INCLUDE 'header.inc' %]
27 [% INCLUDE 'cat-search.inc' %]
29 <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>
31 <div id="doc3" class="yui-t2">
36 <h1>Serials subscriptions</h1>
38 <table id="resulttable">
43 <th>Subscription id</th>
46 <th>Subscription begin</th>
47 <th>Subscription end</th>
48 <th>Expired? / Closed?</th>
53 [% FOREACH data IN datas %]
54 <td><a href="/cgi-bin/koha/acqui/supplier.pl?booksellerid=[% data.aqbooksellerid %]">[% data.name %]</a></td>
55 <td><a href="/cgi-bin/koha/serials/subscription-detail.pl?subscriptionid=[% data.subscriptionid %]">[% data.title |html %]</a></td>
56 <td>[% data.subscriptionid %]</td>
57 <td>[% Branches.GetName( data.branchcode ) %]</td>
58 <td>[% data.callnumber %]</td>
59 <td><span title="[% data.startdate %]">[% data.startdate | $KohaDates %]</span></td>
60 <td><span title="[% data.enddate %]">[% data.enddate | $KohaDates %]</span></td>
64 [% ELSIF data.expired %]
75 <form method="post" action="/cgi-bin/koha/reports/serials_stats.pl">
77 <fieldset class="rows">
81 <label for="bookseller">
84 <select name="bookseller" id="bookseller">
85 <option value="">Any vendor</option>
86 [% FOREACH bookseller IN booksellers %]
87 <option value="[% bookseller.aqbooksellerid %]">[% bookseller.name %]</option>
91 <label for="branchcode">
94 <select name="branchcode" id="branchcode">
95 <option value="">Any library</option>
96 [% FOREACH branche IN branches %]
97 [% IF ( branche.selected ) %]
98 <option value="[% branche.value %]" selected="selected">[% branche.branchname %]</option>
100 <option value="[% branche.value %]">[% branche.branchname %]</option>
107 <label for="expired">Include expired subscriptions: </label>
108 <input type="checkbox" name="expired" id="expired" />
114 <fieldset class="rows">
115 <legend>Output</legend>
118 <label for="outputscreen">To screen into the browser: </label><input type="radio" checked="checked" name="output" id="outputscreen" value="screen" />
121 <label for="outputfile">To a file:</label> <input type="radio" name="output" value="file" id="outputfile" />
122 <label class="inline" for="basename">Named: </label><input type="text" name="basename" id="basename" value="Export" />
123 <label class="inline" for="MIME">Into an application:</label>
124 <select name="MIME" id="MIME" size="1">
125 [% FOREACH value IN CGIextChoice %]
126 <option value="[% value %]">[% value %]</option>
129 <select name="sep" id="sep" size="1">
130 [% FOREACH value IN CGIsepChoice.values.sort() %]
131 [% IF ( value == CGIsepChoice.default ) %]
132 <option value="[% value %]" selected="selected">[% value %]</option>
134 <option value="[% value %]">[% value %]</option>
142 <fieldset class="action">
143 <input type="submit" value="Submit" />
144 <input type="hidden" name="report_name" value="[% report_name %]" />
145 <input type="hidden" name="do_it" value="1" />
152 [% INCLUDE 'reports-menu.inc' %]
155 [% INCLUDE 'intranet-bottom.inc' %]