2 [% INCLUDE 'doc-head-open.inc' %]
4 [% USE AuthorisedValues %]
5 <title>Koha › Serials [% biblionumber %]</title>
6 [% INCLUDE 'doc-head-close.inc' %]
7 [% INCLUDE 'calendar.inc' %]
8 <link rel="stylesheet" type="text/css" href="[% themelang %]/css/datatables.css" />
9 [% INCLUDE 'datatables.inc' %]
10 <script type="text/javascript">
12 $(document).ready(function() {
13 var osrlt = $("#osrlt").dataTable($.extend(true, {}, dataTablesDefaults, {
14 [% IF ( routing && CAN_user_serials_routing ) %]
16 { "aTargets": [ -1, -2, -3 ], "bSortable": false, "bSearchable": false },
20 { "aTargets": [ -1, -2 ], "bSortable": false, "bSearchable": false },
24 null,{ "sType": "anti-the" },null,null,null,null,{ "sType": "title-string" }
25 [% IF ( routing && CAN_user_serials_routing ) %],null[% END %],null,null
27 "sPaginationType": "four_button"
30 var csrlt = $("#csrlt").dataTable($.extend(true, {}, dataTablesDefaults, {
32 { "aTargets": [ -1, -2 ], "bSortable": false, "bSearchable": false },
35 null,{ "sType": "anti-the" },null,null,null,null,null,null
37 "sPaginationType": "four_button"
40 osrlt.fnAddFilters("filter", 750);
41 csrlt.fnAddFilters("filter", 750);
43 $('#serialstabs').tabs();
44 $("#reopensub").click(function(){
45 return confirm(_("Are you sure you want to reopen this subscription?"));
51 <body id="ser_serials-home" class="ser">
52 [% INCLUDE 'header.inc' %]
53 [% INCLUDE 'serials-search.inc' %]
55 <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>
57 <div id="doc3" class="yui-t2">
61 [% INCLUDE 'serials-toolbar.inc' %]
63 <h2>Serials subscriptions ([% total %] found)</h2>
64 [% UNLESS ( done_searched ) %]
65 <div id="advsearch" style="padding-bottom:3em;">
66 <form action="/cgi-bin/koha/serials/serials-search.pl" method="get">
67 <fieldset class="rows">
68 <legend>Search subscriptions</legend>
71 <label for="issn">ISSN:</label>
72 <input type="text" id="issn" name="ISSN_filter" value="[% ISSN_filter %]" />
75 <label for="title">Title:</label>
76 <input type="text" id="title" name="title_filter" value="[% title_filter %]" />
78 [% IF ( marcflavour == "UNIMARC" ) %]
80 <label for="ean">EAN:</label>
81 <input type="text" id="ean" name="EAN_filter" value="[% EAN_filter %]" />
85 <label for="callnumber">Call number:</label>
86 <input type="text" id="callnumber" name="callnumber_filter" value="[% callnumber_filter %]" />
89 <label for="publisher">Publisher:</label>
90 <input type="text" id="publisher" name="publisher_filter" value="[% publisher_filter %]" />
93 <label for="bookseller">Vendor:</label>
94 <input type="text" id="bookseller" name="bookseller_filter" value="[% bookseller_filter %]" />
97 <label for="branch">Library:</label>
98 <select id="branch" name="branch_filter">
99 <option value="">All</option>
100 [% FOREACH branch IN branches_loop %]
101 [% IF ( branch.selected ) %]
102 <option selected="selected" value="[% branch.branchcode %]">[% branch.branchname %]</option>
104 <option value="[% branch.branchcode %]">[% branch.branchname %]</option>
111 <label for="location">Location:</label>
112 <select name="location_filter">
113 <option value="">All</option>
114 [% FOR loc IN locations %]
115 [% IF loc.selected %]
116 <option value="[% loc.authorised_value %]" selected="selected">[% loc.lib %]</option>
118 <option value="[% loc.authorised_value %]">[% loc.lib %]</option>
125 <label for="to">Expires before:</label>
126 <input type="text" id="to" name="expiration_date_filter" value="[% expiration_date_filter | $KohaDates %]" size="10" maxlength="10" class="datepickerto" />
129 <input type="hidden" name="searched" value="1" />
130 <fieldset class="action">
131 <input type="submit" value="Search" />
137 [% IF ( done_searched ) %]
139 <div id="serialstabs" class="toptabs" style="clear:both;">
140 <ul class="ui-tabs-nav">
141 <li><a href="#opened">Open ([% openedsubscriptions.size || 0 %])</a></li>
142 <li><a href="#closed">Closed ([% closedsubscriptions.size || 0 %])</a></li>
145 [% IF openedsubscriptions %]
155 <th>Expiration date</th>
156 [% IF ( routing && CAN_user_serials_routing ) %]
157 <th>Routing list</th>
165 <td><input type="text" class="filter" data-column_num="0" placeholder="Search ISSN" /></td>
166 <td><input type="text" class="filter" data-column_num="1" placeholder="Search title" /></td>
167 <td><input type="text" class="filter" data-column_num="2" placeholder="Search notes" /></td>
168 <td><input type="text" class="filter" data-column_num="3" placeholder="Search library" /></td>
169 <td><input type="text" class="filter" data-column_num="4" placeholder="Search location" /></td>
170 <td><input type="text" class="filter" data-column_num="5" placeholder="Search callnumber" /></td>
171 <td><input type="text" class="filter" data-column_num="6" placeholder="Search expiration date" /></td>
172 [% IF ( routing && CAN_user_serials_routing ) %]<td></td>[% END %]
178 [% FOREACH subscription IN openedsubscriptions %]
179 [% UNLESS subscription.cannotdisplay %]
182 [% IF ( subscription.issn ) %][% subscription.issn %]
185 <td><a href="/cgi-bin/koha/serials/subscription-detail.pl?subscriptionid=[% subscription.subscriptionid %]" class="button" title="subscription detail">[% subscription.title |html %]</a>
187 <td>[% IF ( subscription.publicnotes ) %][% subscription.publicnotes %][% END %]
188 [% IF ( subscription.internalnotes ) %]([% subscription.internalnotes %])[% END %]
191 [% IF ( subscription.branchcode ) %][% Branches.GetName( subscription.branchcode ) %][% END %]
194 [% IF ( subscription.location ) %][% AuthorisedValues.GetByCode( 'LOC', subscription.location ) %][% END %]
197 [% IF ( subscription.callnumber ) %][% subscription.callnumber %][% END %]
200 [% IF ( subscription.enddate ) %]
201 <span title="[% subscription.enddate %]">[% subscription.enddate | $KohaDates %]</span>
203 <span title="0000-00-00"></span>
206 [% IF ( routing && CAN_user_serials_routing ) %]
208 [% IF ( subscription.cannotedit ) %]
211 [% IF ( subscription.routingedit ) %]
212 <a href="/cgi-bin/koha/serials/routing.pl?subscriptionid=[% subscription.subscriptionid %]">Edit</a>
213 ([% subscription.routingedit %])
215 <a href="/cgi-bin/koha/serials/routing.pl?subscriptionid=[% subscription.subscriptionid %]&op=new">New</a>
220 <td><a href="/cgi-bin/koha/serials/serials-collection.pl?subscriptionid=[% subscription.subscriptionid %]">Issue history</a>
223 [% IF ( CAN_user_serials_receive_serials ) %]
224 <a href="/cgi-bin/koha/serials/serials-edit.pl?subscriptionid=[% subscription.subscriptionid %]&serstatus=1,3,7">Serial receive</a>
233 <div class="dialog message">
234 <p>Your search returned no open subscriptions.</p>
239 [% IF closedsubscriptions %]
255 <td><input type="text" class="filter" data-column_num="0" placeholder="Search ISSN" /></td>
256 <td><input type="text" class="filter" data-column_num="1" placeholder="Search title" /></td>
257 <td><input type="text" class="filter" data-column_num="2" placeholder="Search notes" /></td>
258 <td><input type="text" class="filter" data-column_num="3" placeholder="Search library" /></td>
259 <td><input type="text" class="filter" data-column_num="4" placeholder="Search location" /></td>
260 <td><input type="text" class="filter" data-column_num="5" placeholder="Search callnumber" /></td>
266 [% FOREACH subscription IN closedsubscriptions %]
267 [% UNLESS subscription.cannotdisplay %]
270 [% IF ( subscription.issn ) %]
271 [% subscription.issn %]
275 <a href="/cgi-bin/koha/serials/subscription-detail.pl?subscriptionid=[% subscription.subscriptionid %]" class="button" title="subscription detail">[% subscription.title |html %]</a>
278 [% IF ( subscription.notes ) %][% subscription.notes %][% END %]
279 [% IF ( subscription.internalnotes ) %]([% subscription.internalnotes %])[% END %]
282 [% IF ( subscription.branchcode ) %][% Branches.GetName( subscription.branchcode ) %][% END %]
285 [% IF ( subscription.location ) %][% AuthorisedValues.GetByCode( 'LOC', subscription.location ) %][% END %]
288 [% IF ( subscription.callnumber ) %][% subscription.callnumber %][% END %]
291 [% UNLESS subscription.cannotedit %]
292 <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>
298 <a href="/cgi-bin/koha/serials/serials-collection.pl?subscriptionid=[% subscription.subscriptionid %]">Issue history</a>
306 <div class="dialog message">
307 <p>Your search returned no closed subscriptions.</p>
313 <div class="dialog message">
314 <p>Your search returned no results.</p>
322 [% INCLUDE 'serials-menu.inc' %]
323 [% IF ( done_searched ) %]
325 <form action="/cgi-bin/koha/serials/serials-search.pl" method="get">
326 <fieldset class="brief">
327 <h4>Search subscriptions</h4>
330 <label for="issn">ISSN:</label>
331 <input type="text" id="issn" name="ISSN_filter" value="[% ISSN_filter %]" />
334 <label for="title">Title:</label>
335 <input type="text" id="title" name="title_filter" value="[% title_filter %]" />
337 [% IF ( marcflavour == "UNIMARC" ) %]
339 <label for="ean">EAN:</label>
340 <input type="text" id="ean" name="EAN_filter" value="[% EAN_filter %]" />
344 <label for="callnumber">Call number:</label>
345 <input type="text" id="callnumber" name="callnumber_filter" value="[% callnumber_filter %]" />
348 <label for="publisher">Publisher:</label>
349 <input type="text" id="publisher" name="publisher_filter" value="[% publisher_filter %]" />
352 <label for="bookseller">Vendor:</label>
353 <input type="text" id="bookseller" name="bookseller_filter" value="[% bookseller_filter %]" />
356 <label for="branch">Library:</label>
357 <select id="branch" name="branch_filter">
358 <option value="">All</option>
359 [% FOREACH branch IN branches_loop %]
360 [% IF ( branch.selected ) %]
361 <option selected="selected" value="[% branch.branchcode %]">[% branch.branchname %]</option>
363 <option value="[% branch.branchcode %]">[% branch.branchname %]</option>
370 <label for="location">Location:</label>
371 <select name="location_filter">
372 <option value="">All</option>
373 [% FOR loc IN locations %]
374 [% IF loc.selected %]
375 <option value="[% loc.authorised_value %]" selected="selected">[% loc.lib %]</option>
377 <option value="[% loc.authorised_value %]">[% loc.lib %]</option>
384 <label for="to">Expires before:</label>
385 <input type="text" id="to" name="expiration_date_filter" value="[% expiration_date_filter | $KohaDates %]" size="10" maxlength="10" class="datepickerto" />
389 <input type="hidden" name="searched" value="1" />
390 <fieldset class="action">
391 <input type="submit" value="Search" />
399 [% INCLUDE 'intranet-bottom.inc' %]