Line 0
Link Here
|
|
|
1 |
[% INCLUDE 'doc-head-open.inc' %] |
2 |
[% USE KohaDates %] |
3 |
<title>Koha › Serials [% biblionumber %]</title> |
4 |
<link rel="stylesheet" type="text/css" href="[% themelang %]/css/datatables.css" /> |
5 |
[% INCLUDE 'doc-head-close.inc' %] |
6 |
<script type="text/javascript" src="[% themelang %]/lib/jquery/plugins/jquery.dataTables.min.js"></script> |
7 |
[% INCLUDE 'datatables-strings.inc' %] |
8 |
<script type="text/javascript" src="[% themelang %]/js/datatables.js"></script> |
9 |
<script type="text/javascript"> |
10 |
//<![CDATA[ |
11 |
$(document).ready(function() { |
12 |
var srlt = $("#srlt").dataTable($.extend(true, {}, dataTablesDefaults, { |
13 |
"aoColumnDefs": [ |
14 |
{ "aTargets": [ -1, -2, -3 ], "bSortable": false, "bSearchable": false }, |
15 |
], |
16 |
"sPaginationType": "four_button" |
17 |
} ) ); |
18 |
|
19 |
srlt.fnAddFilters("filter", 750); |
20 |
}); |
21 |
//]]> |
22 |
</script> |
23 |
</head> |
24 |
<body id="ser_serials-home" class="ser"> |
25 |
[% INCLUDE 'header.inc' %] |
26 |
[% INCLUDE 'serials-search.inc' %] |
27 |
|
28 |
<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> |
29 |
|
30 |
<div id="doc3" class="yui-t2"> |
31 |
<div id="bd"> |
32 |
<div id="yui-main"> |
33 |
<div class="yui-b"> |
34 |
[% INCLUDE 'serials-toolbar.inc' %] |
35 |
|
36 |
<h2>Serials subscriptions</h2> |
37 |
|
38 |
<div id="advsearch"> |
39 |
<form action="/cgi-bin/koha/serials/serials-search.pl" method="get"> |
40 |
<fieldset class="brief"> |
41 |
[% IF ( done_searched ) %] |
42 |
<div onclick="$('#advsearch_form').slideToggle(400);" style="width:100%;"> |
43 |
<a id="unfold_advsearch" style="cursor:pointer">Advanced search</a> |
44 |
</div> |
45 |
<div id="advsearch_form" style="display:none"> |
46 |
[% ELSE %] |
47 |
<div> |
48 |
[% END %] |
49 |
<ol> |
50 |
<li> |
51 |
<label for="issn">ISSN:</label> |
52 |
<input type="text" id="issn" name="ISSN_filter" value="[% ISSN_filter %]" /> |
53 |
</li> |
54 |
<li> |
55 |
<label for="title">Title:</label> |
56 |
<input type="text" id="title" name="title_filter" value="[% title_filter %]" /> |
57 |
</li> |
58 |
<li> |
59 |
<label for="ean">EAN:</label> |
60 |
<input type="text" id="ean" name="EAN_filter" value="[% EAN_filter %]" /> |
61 |
</li> |
62 |
<li> |
63 |
<label for="publisher">Publisher:</label> |
64 |
<input type="text" id="publisher" name="publisher_filter" value="[% publisher_filter %]" /> |
65 |
</li> |
66 |
<li> |
67 |
<label for="bookseller">Bookseller:</label> |
68 |
<input type="text" id="bookseller" name="bookseller_filter" value="[% bookseller_filter %]" /> |
69 |
</li> |
70 |
<li> |
71 |
<label for="branch">Branch:</label> |
72 |
<select id="branch" name="branch_filter"> |
73 |
<option value="">All</option> |
74 |
[% FOREACH branch IN branches_loop %] |
75 |
[% IF ( branch.selected ) %] |
76 |
<option selected="selected" value="[% branch.branchcode %]">[% branch.branchname %]</option> |
77 |
[% ELSE %] |
78 |
<option value="[% branch.branchcode %]">[% branch.branchname %]</option> |
79 |
[% END %] |
80 |
[% END %] |
81 |
</select> |
82 |
</li> |
83 |
</ol> |
84 |
<input type="hidden" name="searched" value="1" /> |
85 |
<fieldset class="action"> |
86 |
<input type="submit" value="Search" /> |
87 |
</fieldset> |
88 |
</div> |
89 |
</fieldset> |
90 |
</form> |
91 |
</div> |
92 |
|
93 |
[% IF ( done_searched ) %] |
94 |
[% IF ( subscriptions ) %] |
95 |
<table id="srlt"> |
96 |
<thead> |
97 |
<tr> |
98 |
<th>ISSN</th> |
99 |
<th>Title</th> |
100 |
<th> Notes </th> |
101 |
<th>Library</th> |
102 |
<th>Call number</th> |
103 |
<th>Expiration date</th> |
104 |
[% IF ( routing && CAN_user_serials_routing ) %] |
105 |
<th>Routing list</th> |
106 |
[% END %] |
107 |
<th> </th> |
108 |
<th> </th> |
109 |
</tr> |
110 |
</thead> |
111 |
<tfoot> |
112 |
<tr> |
113 |
<td><input type="text" class="filter" data-column_num="0" placeholder="Search ISSN" /></td> |
114 |
<td><input type="text" class="filter" data-column_num="1" placeholder="Search title" /></td> |
115 |
<td><input type="text" class="filter" data-column_num="2" placeholder="Search notes" /></td> |
116 |
<td><input type="text" class="filter" data-column_num="3" placeholder="Search library" /></td> |
117 |
<td><input type="text" class="filter" data-column_num="4" placeholder="Search callnumber" /></td> |
118 |
<td><input type="text" class="filter" data-column_num="5" placeholder="Search expiration date" /></td> |
119 |
[% IF ( routing && CAN_user_serials_routing ) %]<td></td>[% END %] |
120 |
<td></td> |
121 |
<td></td> |
122 |
</tr> |
123 |
</tfoot> |
124 |
<tbody> |
125 |
[% FOREACH subscription IN subscriptions %] |
126 |
<tr> |
127 |
<td> |
128 |
[% IF ( subscription.issn ) %][% subscription.issn %] |
129 |
[% END %] |
130 |
</td> |
131 |
<td><a href="/cgi-bin/koha/serials/subscription-detail.pl?subscriptionid=[% subscription.subscriptionid %]" class="button" title="subscription detail">[% subscription.title |html %]</a> |
132 |
</td> |
133 |
<td>[% IF ( subscription.notes ) %][% subscription.notes %][% END %] |
134 |
[% IF ( subscription.internalnotes ) %]([% subscription.internalnotes %])[% END %] |
135 |
</td> |
136 |
<td> |
137 |
[% IF ( subscription.branchname ) %][% subscription.branchname %][% END %] |
138 |
</td> |
139 |
<td> |
140 |
[% IF ( subscription.callnumber ) %][% subscription.callnumber %][% END %] |
141 |
</td> |
142 |
<td> |
143 |
[% IF ( subscription.enddate ) %][% subscription.enddate | $KohaDates %][% END %] |
144 |
</td> |
145 |
[% IF ( routing && CAN_user_serials_routing ) %] |
146 |
<td> |
147 |
[% IF ( subscription.cannotedit ) %] |
148 |
|
149 |
[% ELSE %] |
150 |
[% IF ( subscription.routingedit ) %] |
151 |
<a href="/cgi-bin/koha/serials/routing.pl?subscriptionid=[% subscription.subscriptionid %]">Edit</a> |
152 |
([% subscription.routingedit %]) |
153 |
[% ELSE %] |
154 |
<a href="/cgi-bin/koha/serials/routing.pl?subscriptionid=[% subscription.subscriptionid %]&op=new">New</a> |
155 |
[% END %] |
156 |
[% END %] |
157 |
</td> |
158 |
[% END %] |
159 |
<td><a href="/cgi-bin/koha/serials/serials-collection.pl?subscriptionid=[% subscription.subscriptionid %]">Issue history</a> |
160 |
</td> |
161 |
<td> |
162 |
[% IF ( subscription.cannotedit ) %] |
163 |
|
164 |
[% ELSE %] |
165 |
[% IF ( CAN_user_serials_receive_serials ) %]<a href="/cgi-bin/koha/serials/serials-edit.pl?subscriptionid=[% subscription.subscriptionid %]&serstatus=1,3,7">Serial receive</a>[% END %] |
166 |
[% END %] |
167 |
</td> |
168 |
</tr> |
169 |
[% END %] |
170 |
</tbody> |
171 |
</table> |
172 |
[% ELSE %] |
173 |
There is no subscription for your search. |
174 |
[% END %] |
175 |
[% END %] |
176 |
</div> |
177 |
</div> |
178 |
|
179 |
<div class="yui-b"> |
180 |
[% INCLUDE 'serials-menu.inc' %] |
181 |
</div> |
182 |
</div> |
183 |
[% INCLUDE 'intranet-bottom.inc' %] |