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 [% WRAPPER breadcrumbs %]
21 [% WRAPPER breadcrumb_item %]
22 <a href="/cgi-bin/koha/reports/reports-home.pl">Reports</a>
25 [% WRAPPER breadcrumb_item %]
26 <a href="/cgi-bin/koha/reports/serials_stats.pl">Serials subscriptions stats</a>
28 [% WRAPPER breadcrumb_item bc_active= 1 %]
32 [% WRAPPER breadcrumb_item bc_active= 1 %]
33 <span>Serials subscriptions stats</span>
36 [% END #/ WRAPPER breadcrumbs %]
37 [% END #/ WRAPPER sub-header.inc %]
39 <div class="main container-fluid">
41 <div class="col-sm-10 col-sm-push-2">
44 <h1>Serials subscriptions</h1>
46 <table id="resulttable">
50 <th class="anti-the">Title</th>
51 <th>Subscription ID</th>
54 <th>Subscription begin</th>
55 <th>Subscription end</th>
56 <th>Expired? / Closed?</th>
60 [% FOREACH data IN datas %]
62 <td><a href="/cgi-bin/koha/acqui/supplier.pl?booksellerid=[% data.aqbooksellerid | uri %]">[% data.name | html %]</a></td>
63 <td><a href="/cgi-bin/koha/serials/subscription-detail.pl?subscriptionid=[% data.subscriptionid | uri %]">[% data.title | html %]</a></td>
64 <td>[% data.subscriptionid | html %]</td>
65 <td>[% Branches.GetName( data.branchcode ) | html %]</td>
66 <td>[% data.callnumber | html %]</td>
67 <td data-order="[% data.startdate | html %]">[% data.startdate | $KohaDates %]</td>
68 <td data-order="[% data.enddate | html %]">[% data.enddate | $KohaDates %]</td>
72 [% ELSIF data.expired %]
83 <form method="post" action="/cgi-bin/koha/reports/serials_stats.pl">
85 <fieldset class="rows">
89 <label for="bookseller">
92 <select name="bookseller" id="bookseller">
93 <option value="">Any vendor</option>
94 [% FOREACH bookseller IN booksellers %]
95 <option value="[% bookseller.aqbooksellerid | html %]">[% bookseller.name | html %]</option>
99 <label for="branchcode">
102 <select name="branchcode" id="branchcode">
103 <option value="">Any library</option>
104 [% PROCESS options_for_libraries libraries => Branches.all() %]
109 <label for="expired">Include expired subscriptions: </label>
110 <input type="checkbox" name="expired" id="expired" />
116 <fieldset class="rows">
117 <legend>Output</legend>
120 <label for="outputscreen">To screen into the browser: </label><input type="radio" checked="checked" name="output" id="outputscreen" value="screen" />
123 <label for="outputfile">To a file:</label> <input type="radio" name="output" value="file" id="outputfile" />
124 <label class="inline" for="basename">Named: </label><input type="text" name="basename" id="basename" value="Export" />
125 <label class="inline" for="MIME">Into an application:</label>
126 <select name="MIME" id="MIME">
127 [% FOREACH value IN CGIextChoice %]
128 <option value="[% value | html %]">[% value | html %]</option>
131 <select name="sep" id="sep">
132 [% FOREACH value IN CGIsepChoice.values.sort() %]
133 [% IF ( value == CGIsepChoice.default ) %]
134 <option value="[% value | html %]" selected="selected">[% value | html %]</option>
136 <option value="[% value | html %]">[% value | html %]</option>
144 <fieldset class="action">
145 <input type="submit" class="btn btn-primary" value="Submit" />
146 <input type="hidden" name="report_name" value="[% report_name | html %]" />
147 <input type="hidden" name="do_it" value="1" />
153 </div> <!-- /.col-sm-10.col-sm-push-2 -->
155 <div class="col-sm-2 col-sm-pull-10">
157 [% INCLUDE 'reports-menu.inc' %]
159 </div> <!-- /.col-sm-2.col-sm-pull-10 -->
160 </div> <!-- /.row -->
162 [% MACRO jsinclude BLOCK %]
163 [% INCLUDE 'datatables.inc' %]
165 $(document).ready(function() {
166 $("#resulttable").dataTable($.extend(true, {}, dataTablesDefaults, {
173 [% INCLUDE 'intranet-bottom.inc' %]