1 [% INCLUDE 'doc-head-open.inc' %]
2 <title>Koha › Reports › Serials subscriptions stats</title>
3 [% INCLUDE 'doc-head-close.inc' %]
4 <style type="text/css">
7 <link rel="stylesheet" type="text/css" href="/intranet-tmpl/prog/en/css/datatables.css" />
8 <script type="text/javascript" src="/intranet-tmpl/prog/en/lib/jquery/plugins/jquery.dataTables.min.js"></script>
9 [% INCLUDE 'datatables-strings.inc' %]
10 <script type="text/javascript" src="/intranet-tmpl/prog/en/js/datatables.js"></script>
11 <script type="text/javascript">
13 [% IF (dateformat == 'metric') %]dt_add_type_uk_date();[% END %]
14 $(document).ready(function() {
15 $("#resulttable").dataTable($.extend(true, {}, dataTablesDefaults, {
23 <body id="rep_serials_stats" class="rep">
24 [% INCLUDE 'header.inc' %]
25 [% INCLUDE 'cat-search.inc' %]
27 <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>
29 <div id="doc3" class="yui-t2">
34 <h1>Serials subscriptions</h1>
36 <table id="resulttable">
41 <th>Subscription id</th>
44 <th>Subscription begin</th>
45 <th>Subscription end</th>
46 <th>Expired? / Closed?</th>
51 [% FOREACH data IN datas %]
52 <td>[% data.name %]</td>
53 <td>[% data.title |html %]</td>
54 <td>[% data.subscriptionid %]</td>
55 <td>[% data.branchcode %]</td>
56 <td>[% data.callnumber %]</td>
57 <td>[% data.startdate %]</td>
58 <td>[% data.enddate %]</td>
62 [% ELSIF data.expired %]
73 <form method="post" action="/cgi-bin/koha/reports/serials_stats.pl">
75 <fieldset class="rows">
79 <label for="bookseller">
82 <select name="bookseller" id="bookseller">
83 <option value="">Any Vendor</option>
84 [% FOREACH bookseller IN booksellers %]
85 <option value="[% bookseller.aqbooksellerid %]">[% bookseller.name %]</option>
89 <label for="branchcode">
92 <select name="branchcode" id="branchcode">
93 <option value="">Any library</option>
94 [% FOREACH branche IN branches %]
95 [% IF ( branche.selected ) %]
96 <option value="[% branche.value %]" selected="selected">[% branche.branchname %]</option>
98 <option value="[% branche.value %]">[% branche.branchname %]</option>
105 <label for="expired">Include expired subscriptions: </label>
106 <input type="checkbox" name="expired" id="expired" />
112 <fieldset class="rows">
113 <legend>Output</legend>
114 <ol><li><label for="outputscreen">To screen into the browser: </label><input type="radio" checked="checked" name="output" id="outputscreen" value="screen" /> </li>
115 <li><label for="outputfile">To a file:</label> <input type="radio" name="output" value="file" id="outputfile" /> <label class="inline" for="basename">Named: </label><input type="text" name="basename" id="basename" value="Export" />
116 <label class="inline" for="MIME">Into an application</label>[% CGIextChoice %]
117 [% CGIsepChoice %]</li></ol>
120 <fieldset class="action">
121 <input type="submit" value="Submit" />
122 <input type="hidden" name="report_name" value="[% report_name %]" />
123 <input type="hidden" name="do_it" value="1" />
130 [% INCLUDE 'reports-menu.inc' %]
133 [% INCLUDE 'intranet-bottom.inc' %]