6 [% INCLUDE 'doc-head-open.inc' %]
7 <title>Koha › Reports › Serials subscriptions stats</title>
8 [% INCLUDE 'doc-head-close.inc' %]
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 class="main container-fluid">
22 <div class="col-sm-10 col-sm-push-2">
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 | uri %]">[% data.name | html %]</a></td>
44 <td><a href="/cgi-bin/koha/serials/subscription-detail.pl?subscriptionid=[% data.subscriptionid | uri %]">[% data.title | html %]</a></td>
45 <td>[% data.subscriptionid | html %]</td>
46 <td>[% Branches.GetName( data.branchcode ) | html %]</td>
47 <td>[% data.callnumber | html %]</td>
48 <td><span title="[% data.startdate | html %]">[% data.startdate | $KohaDates %]</span></td>
49 <td><span title="[% data.enddate | html %]">[% 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 | html %]">[% bookseller.name | html %]</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 | html %]">[% value | html %]</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 | html %]" selected="selected">[% value | html %]</option>
117 <option value="[% value | html %]">[% value | html %]</option>
125 <fieldset class="action">
126 <input type="submit" value="Submit" />
127 <input type="hidden" name="report_name" value="[% report_name | html %]" />
128 <input type="hidden" name="do_it" value="1" />
134 </div> <!-- /.col-sm-10.col-sm-push-2 -->
136 <div class="col-sm-2 col-sm-pull-10">
138 [% INCLUDE 'reports-menu.inc' %]
140 </div> <!-- /.col-sm-2.col-sm-pull-10 -->
141 </div> <!-- /.row -->
143 [% MACRO jsinclude BLOCK %]
144 [% INCLUDE 'datatables.inc' %]
146 $(document).ready(function() {
147 $("#resulttable").dataTable($.extend(true, {}, dataTablesDefaults, {
151 null,{ "sType": "anti-the" },null,null,null,{ "sType": "title-string" },{ "sType": "title-string" },null
158 [% INCLUDE 'intranet-bottom.inc' %]