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 [% INCLUDE 'header.inc' %]
16 [% INCLUDE 'cat-search.inc' %]
18 <nav id="breadcrumbs" aria-label="Breadcrumb" class="breadcrumb">
21 <a href="/cgi-bin/koha/mainpage.pl">Home</a>
24 <a href="/cgi-bin/koha/reports/reports-home.pl">Reports</a>
27 <a href="#" aria-current="page">
28 Serials subscriptions stats
34 <div class="main container-fluid">
36 <div class="col-sm-10 col-sm-push-2">
39 <h1>Serials subscriptions</h1>
41 <table id="resulttable">
45 <th class="anti-the">Title</th>
46 <th>Subscription ID</th>
49 <th>Subscription begin</th>
50 <th>Subscription end</th>
51 <th>Expired? / Closed?</th>
56 [% FOREACH data IN datas %]
57 <td><a href="/cgi-bin/koha/acqui/supplier.pl?booksellerid=[% data.aqbooksellerid | uri %]">[% data.name | html %]</a></td>
58 <td><a href="/cgi-bin/koha/serials/subscription-detail.pl?subscriptionid=[% data.subscriptionid | uri %]">[% data.title | html %]</a></td>
59 <td>[% data.subscriptionid | html %]</td>
60 <td>[% Branches.GetName( data.branchcode ) | html %]</td>
61 <td>[% data.callnumber | html %]</td>
62 <td data-order="[% data.startdate | html %]">[% data.startdate | $KohaDates %]</td>
63 <td data-order="[% data.enddate | html %]">[% data.enddate | $KohaDates %]</td>
67 [% ELSIF data.expired %]
78 <form method="post" action="/cgi-bin/koha/reports/serials_stats.pl">
80 <fieldset class="rows">
84 <label for="bookseller">
87 <select name="bookseller" id="bookseller">
88 <option value="">Any vendor</option>
89 [% FOREACH bookseller IN booksellers %]
90 <option value="[% bookseller.aqbooksellerid | html %]">[% bookseller.name | html %]</option>
94 <label for="branchcode">
97 <select name="branchcode" id="branchcode">
98 <option value="">Any library</option>
99 [% PROCESS options_for_libraries libraries => Branches.all() %]
104 <label for="expired">Include expired subscriptions: </label>
105 <input type="checkbox" name="expired" id="expired" />
111 <fieldset class="rows">
112 <legend>Output</legend>
115 <label for="outputscreen">To screen into the browser: </label><input type="radio" checked="checked" name="output" id="outputscreen" value="screen" />
118 <label for="outputfile">To a file:</label> <input type="radio" name="output" value="file" id="outputfile" />
119 <label class="inline" for="basename">Named: </label><input type="text" name="basename" id="basename" value="Export" />
120 <label class="inline" for="MIME">Into an application:</label>
121 <select name="MIME" id="MIME">
122 [% FOREACH value IN CGIextChoice %]
123 <option value="[% value | html %]">[% value | html %]</option>
126 <select name="sep" id="sep">
127 [% FOREACH value IN CGIsepChoice.values.sort() %]
128 [% IF ( value == CGIsepChoice.default ) %]
129 <option value="[% value | html %]" selected="selected">[% value | html %]</option>
131 <option value="[% value | html %]">[% value | html %]</option>
139 <fieldset class="action">
140 <input type="submit" value="Submit" />
141 <input type="hidden" name="report_name" value="[% report_name | html %]" />
142 <input type="hidden" name="do_it" value="1" />
148 </div> <!-- /.col-sm-10.col-sm-push-2 -->
150 <div class="col-sm-2 col-sm-pull-10">
152 [% INCLUDE 'reports-menu.inc' %]
154 </div> <!-- /.col-sm-2.col-sm-pull-10 -->
155 </div> <!-- /.row -->
157 [% MACRO jsinclude BLOCK %]
158 [% INCLUDE 'datatables.inc' %]
160 $(document).ready(function() {
161 $("#resulttable").dataTable($.extend(true, {}, dataTablesDefaults, {
168 [% INCLUDE 'intranet-bottom.inc' %]