2 [% INCLUDE 'doc-head-open.inc' %]
4 [% USE AuthorisedValues %]
5 <title>Koha › Serials [% biblionumber %]</title>
6 <link rel="stylesheet" type="text/css" href="[% themelang %]/css/datatables.css" />
7 [% INCLUDE 'doc-head-close.inc' %]
8 [% INCLUDE 'calendar.inc' %]
9 <script type="text/javascript" src="[% themelang %]/lib/jquery/plugins/jquery.dataTables.min.js"></script>
10 [% INCLUDE 'datatables-strings.inc' %]
11 <script type="text/javascript" src="[% themelang %]/js/datatables.js"></script>
12 <script type="text/javascript">
14 $(document).ready(function() {
15 [% IF (dateformat == 'metric') %]
16 dt_add_type_uk_date();
18 var osrlt = $("#osrlt").dataTable($.extend(true, {}, dataTablesDefaults, {
21 { "aTargets": [ -1, -2, -3 ], "bSortable": false, "bSearchable": false },
23 "sPaginationType": "four_button"
26 var csrlt = $("#csrlt").dataTable($.extend(true, {}, dataTablesDefaults, {
28 { "aTargets": [ -1, -2 ], "bSortable": false, "bSearchable": false },
30 "sPaginationType": "four_button"
33 osrlt.fnAddFilters("filter", 750);
34 csrlt.fnAddFilters("filter", 750);
36 $('#serialstabs').tabs();
37 $("#reopensub").click(function(){
38 return confirm(_("Are you sure you want to reopen this subscription?"));
44 <body id="ser_serials-home" class="ser">
45 [% INCLUDE 'header.inc' %]
46 [% INCLUDE 'serials-search.inc' %]
48 <div id="breadcrumbs"><a href="/cgi-bin/koha/mainpage.pl">Home</a> › [% IF ( done_searched ) %]<a href="/cgi-bin/koha/serials/serials-home.pl">Serials</a> › Search results[% ELSE %]Serials [% END %] </div>
50 <div id="doc3" class="yui-t2">
54 [% INCLUDE 'serials-toolbar.inc' %]
56 <h2>Serials subscriptions ([% total %] found)</h2>
57 [% UNLESS ( done_searched ) %]
58 <div id="advsearch" style="padding-bottom:3em;">
59 <form action="/cgi-bin/koha/serials/serials-search.pl" method="get">
60 <fieldset class="rows">
61 <legend>Search subscriptions</legend>
64 <label for="issn">ISSN:</label>
65 <input type="text" id="issn" name="ISSN_filter" value="[% ISSN_filter %]" />
68 <label for="title">Title:</label>
69 <input type="text" id="title" name="title_filter" value="[% title_filter %]" />
71 [% IF ( marcflavour == "UNIMARC" ) %]
73 <label for="ean">EAN:</label>
74 <input type="text" id="ean" name="EAN_filter" value="[% EAN_filter %]" />
78 <label for="callnumber">Call number:</label>
79 <input type="text" id="callnumber" name="callnumber_filter" value="[% callnumber_filter %]" />
82 <label for="publisher">Publisher:</label>
83 <input type="text" id="publisher" name="publisher_filter" value="[% publisher_filter %]" />
86 <label for="bookseller">Vendor:</label>
87 <input type="text" id="bookseller" name="bookseller_filter" value="[% bookseller_filter %]" />
90 <label for="branch">Library:</label>
91 <select id="branch" name="branch_filter">
92 <option value="">All</option>
93 [% FOREACH branch IN branches_loop %]
94 [% IF ( branch.selected ) %]
95 <option selected="selected" value="[% branch.branchcode %]">[% branch.branchname %]</option>
97 <option value="[% branch.branchcode %]">[% branch.branchname %]</option>
104 <label for="location">Location:</label>
105 <select name="location_filter">
106 <option value="">All</option>
107 [% FOR loc IN locations %]
108 [% IF loc.selected %]
109 <option value="[% loc.authorised_value %]" selected="selected">[% loc.lib %]</option>
111 <option value="[% loc.authorised_value %]">[% loc.lib %]</option>
118 <label for="to">Expires before:</label>
119 <input type="text" id="to" name="expiration_date_filter" value="[% expiration_date_filter | $KohaDates %]" size="10" maxlength="10" class="datepickerto" />
122 <input type="hidden" name="searched" value="1" />
123 <fieldset class="action">
124 <input type="submit" value="Search" />
130 [% IF ( done_searched ) %]
132 <div id="serialstabs" class="toptabs" style="clear:both;">
133 <ul class="ui-tabs-nav">
134 <li><a href="#opened">Open ([% openedsubscriptions.size || 0 %])</a></li>
135 <li><a href="#closed">Closed ([% closedsubscriptions.size || 0 %])</a></li>
138 [% IF openedsubscriptions %]
148 <th>Expiration date</th>
149 [% IF ( routing && CAN_user_serials_routing ) %]
150 <th>Routing list</th>
158 <td><input type="text" class="filter" data-column_num="0" placeholder="Search ISSN" /></td>
159 <td><input type="text" class="filter" data-column_num="1" placeholder="Search title" /></td>
160 <td><input type="text" class="filter" data-column_num="2" placeholder="Search notes" /></td>
161 <td><input type="text" class="filter" data-column_num="3" placeholder="Search library" /></td>
162 <td><input type="text" class="filter" data-column_num="4" placeholder="Search location" /></td>
163 <td><input type="text" class="filter" data-column_num="5" placeholder="Search callnumber" /></td>
164 <td><input type="text" class="filter" data-column_num="6" placeholder="Search expiration date" /></td>
165 [% IF ( routing && CAN_user_serials_routing ) %]<td></td>[% END %]
171 [% FOREACH subscription IN openedsubscriptions %]
172 [% UNLESS subscription.cannotdisplay %]
175 [% IF ( subscription.issn ) %][% subscription.issn %]
178 <td><a href="/cgi-bin/koha/serials/subscription-detail.pl?subscriptionid=[% subscription.subscriptionid %]" class="button" title="subscription detail">[% subscription.title |html %]</a>
180 <td>[% IF ( subscription.publicnotes ) %][% subscription.publicnotes %][% END %]
181 [% IF ( subscription.internalnotes ) %]([% subscription.internalnotes %])[% END %]
184 [% IF ( subscription.branchcode ) %][% Branches.GetName( subscription.branchcode ) %][% END %]
187 [% IF ( subscription.location ) %][% AuthorisedValues.GetByCode( 'LOC', subscription.location ) %][% END %]
190 [% IF ( subscription.callnumber ) %][% subscription.callnumber %][% END %]
193 [% IF ( subscription.enddate ) %][% subscription.enddate | $KohaDates %][% END %]
195 [% IF ( routing && CAN_user_serials_routing ) %]
197 [% IF ( subscription.cannotedit ) %]
200 [% IF ( subscription.routingedit ) %]
201 <a href="/cgi-bin/koha/serials/routing.pl?subscriptionid=[% subscription.subscriptionid %]">Edit</a>
202 ([% subscription.routingedit %])
204 <a href="/cgi-bin/koha/serials/routing.pl?subscriptionid=[% subscription.subscriptionid %]&op=new">New</a>
209 <td><a href="/cgi-bin/koha/serials/serials-collection.pl?subscriptionid=[% subscription.subscriptionid %]">Issue history</a>
212 [% IF ( CAN_user_serials_receive_serials ) %]
213 <a href="/cgi-bin/koha/serials/serials-edit.pl?subscriptionid=[% subscription.subscriptionid %]&serstatus=1,3,7">Serial receive</a>
222 <div class="dialog message">
223 <p>Your search returned no open subscriptions.</p>
228 [% IF closedsubscriptions %]
244 <td><input type="text" class="filter" data-column_num="0" placeholder="Search ISSN" /></td>
245 <td><input type="text" class="filter" data-column_num="1" placeholder="Search title" /></td>
246 <td><input type="text" class="filter" data-column_num="2" placeholder="Search notes" /></td>
247 <td><input type="text" class="filter" data-column_num="3" placeholder="Search library" /></td>
248 <td><input type="text" class="filter" data-column_num="4" placeholder="Search location" /></td>
249 <td><input type="text" class="filter" data-column_num="5" placeholder="Search callnumber" /></td>
255 [% FOREACH subscription IN closedsubscriptions %]
256 [% UNLESS subscription.cannotdisplay %]
259 [% IF ( subscription.issn ) %]
260 [% subscription.issn %]
264 <a href="/cgi-bin/koha/serials/subscription-detail.pl?subscriptionid=[% subscription.subscriptionid %]" class="button" title="subscription detail">[% subscription.title |html %]</a>
267 [% IF ( subscription.notes ) %][% subscription.notes %][% END %]
268 [% IF ( subscription.internalnotes ) %]([% subscription.internalnotes %])[% END %]
271 [% IF ( subscription.branchcode ) %][% Branches.GetName( subscription.branchcode ) %][% END %]
274 [% IF ( subscription.location ) %][% AuthorisedValues.GetByCode( 'LOC', subscription.location ) %][% END %]
277 [% IF ( subscription.callnumber ) %][% subscription.callnumber %][% END %]
280 [% UNLESS subscription.cannotedit %]
281 <a href="/cgi-bin/koha/serials/serials-search.pl?subscriptionid=[% subscription.subscriptionid %]&op=reopen&routing=[% subscription.routing %]&searched=1&title_filter=[% title_filter %]&ISSN_filter=[% ISSN_filter %]&EAN_filter=[% EAN_filter %]&published_filter=[% publisher_filter %]&bookseller_filter=[% bookseller_filter %]&branch_filter=[% branch_filter %]" id="reopensub">Reopen</a>
287 <a href="/cgi-bin/koha/serials/serials-collection.pl?subscriptionid=[% subscription.subscriptionid %]">Issue history</a>
295 <div class="dialog message">
296 <p>Your search returned no closed subscriptions.</p>
302 <div class="dialog message">
303 <p>Your search returned no results.</p>
311 [% INCLUDE 'serials-menu.inc' %]
312 [% IF ( done_searched ) %]
314 <form action="/cgi-bin/koha/serials/serials-search.pl" method="get">
315 <fieldset class="brief">
316 <h4>Search subscriptions</h4>
319 <label for="issn">ISSN:</label>
320 <input type="text" id="issn" name="ISSN_filter" value="[% ISSN_filter %]" />
323 <label for="title">Title:</label>
324 <input type="text" id="title" name="title_filter" value="[% title_filter %]" />
326 [% IF ( marcflavour == "UNIMARC" ) %]
328 <label for="ean">EAN:</label>
329 <input type="text" id="ean" name="EAN_filter" value="[% EAN_filter %]" />
333 <label for="callnumber">Call number:</label>
334 <input type="text" id="callnumber" name="callnumber_filter" value="[% callnumber_filter %]" />
337 <label for="publisher">Publisher:</label>
338 <input type="text" id="publisher" name="publisher_filter" value="[% publisher_filter %]" />
341 <label for="bookseller">Vendor:</label>
342 <input type="text" id="bookseller" name="bookseller_filter" value="[% bookseller_filter %]" />
345 <label for="branch">Library:</label>
346 <select id="branch" name="branch_filter">
347 <option value="">All</option>
348 [% FOREACH branch IN branches_loop %]
349 [% IF ( branch.selected ) %]
350 <option selected="selected" value="[% branch.branchcode %]">[% branch.branchname %]</option>
352 <option value="[% branch.branchcode %]">[% branch.branchname %]</option>
359 <label for="location">Location:</label>
360 <select name="location_filter">
361 <option value="">All</option>
362 [% FOR loc IN locations %]
363 [% IF loc.selected %]
364 <option value="[% loc.authorised_value %]" selected="selected">[% loc.lib %]</option>
366 <option value="[% loc.authorised_value %]">[% loc.lib %]</option>
373 <label for="to">Expires before:</label>
374 <input type="text" id="to" name="expiration_date_filter" value="[% expiration_date_filter | $KohaDates %]" size="10" maxlength="10" class="datepickerto" />
378 <input type="hidden" name="searched" value="1" />
379 <fieldset class="action">
380 <input type="submit" value="Search" />
388 [% INCLUDE 'intranet-bottom.inc' %]