6 [% INCLUDE 'doc-head-open.inc' %]
7 <title>Serials subscriptions stats › Reports › Koha</title>
8 [% INCLUDE 'doc-head-close.inc' %]
14 <body id="rep_serials_stats" class="rep">
15 [% WRAPPER 'header.inc' %]
16 [% INCLUDE 'cat-search.inc' %]
19 [% WRAPPER 'sub-header.inc' %]
20 <nav id="breadcrumbs" aria-label="Breadcrumb" class="breadcrumb">
23 <a href="/cgi-bin/koha/mainpage.pl">Home</a>
26 <a href="/cgi-bin/koha/reports/reports-home.pl">Reports</a>
29 <a href="#" aria-current="page">
30 Serials subscriptions stats
37 <div class="main container-fluid">
39 <div class="col-sm-10 col-sm-push-2">
42 <h1>Serials subscriptions</h1>
44 <table id="resulttable">
48 <th class="anti-the">Title</th>
49 <th>Subscription ID</th>
52 <th>Subscription begin</th>
53 <th>Subscription end</th>
54 <th>Expired? / Closed?</th>
58 [% FOREACH data IN datas %]
60 <td><a href="/cgi-bin/koha/acqui/supplier.pl?booksellerid=[% data.aqbooksellerid | uri %]">[% data.name | html %]</a></td>
61 <td><a href="/cgi-bin/koha/serials/subscription-detail.pl?subscriptionid=[% data.subscriptionid | uri %]">[% data.title | html %]</a></td>
62 <td>[% data.subscriptionid | html %]</td>
63 <td>[% Branches.GetName( data.branchcode ) | html %]</td>
64 <td>[% data.callnumber | html %]</td>
65 <td data-order="[% data.startdate | html %]">[% data.startdate | $KohaDates %]</td>
66 <td data-order="[% data.enddate | html %]">[% data.enddate | $KohaDates %]</td>
70 [% ELSIF data.expired %]
81 <form method="post" action="/cgi-bin/koha/reports/serials_stats.pl">
83 <fieldset class="rows">
87 <label for="bookseller">
90 <select name="bookseller" id="bookseller">
91 <option value="">Any vendor</option>
92 [% FOREACH bookseller IN booksellers %]
93 <option value="[% bookseller.aqbooksellerid | html %]">[% bookseller.name | html %]</option>
97 <label for="branchcode">
100 <select name="branchcode" id="branchcode">
101 <option value="">Any library</option>
102 [% PROCESS options_for_libraries libraries => Branches.all() %]
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">
125 [% FOREACH value IN CGIextChoice %]
126 <option value="[% value | html %]">[% value | html %]</option>
129 <select name="sep" id="sep">
130 [% FOREACH value IN CGIsepChoice.values.sort() %]
131 [% IF ( value == CGIsepChoice.default ) %]
132 <option value="[% value | html %]" selected="selected">[% value | html %]</option>
134 <option value="[% value | html %]">[% value | html %]</option>
142 <fieldset class="action">
143 <input type="submit" class="btn btn-primary" value="Submit" />
144 <input type="hidden" name="report_name" value="[% report_name | html %]" />
145 <input type="hidden" name="do_it" value="1" />
151 </div> <!-- /.col-sm-10.col-sm-push-2 -->
153 <div class="col-sm-2 col-sm-pull-10">
155 [% INCLUDE 'reports-menu.inc' %]
157 </div> <!-- /.col-sm-2.col-sm-pull-10 -->
158 </div> <!-- /.row -->
160 [% MACRO jsinclude BLOCK %]
161 [% INCLUDE 'datatables.inc' %]
163 $(document).ready(function() {
164 $("#resulttable").dataTable($.extend(true, {}, dataTablesDefaults, {
171 [% INCLUDE 'intranet-bottom.inc' %]