|
Lines 113-120
$(document).ready(function() {
Link Here
|
| 113 |
<th>Library</th> |
113 |
<th>Library</th> |
| 114 |
<th>Call number</th> |
114 |
<th>Call number</th> |
| 115 |
<th>Notes</th> |
115 |
<th>Notes</th> |
| 116 |
[% IF ( routing && CAN_user_serials_routing ) %]<th>Routing</th>[% END %] |
116 |
<th> </th> |
| 117 |
<th>Renew</th> |
|
|
| 118 |
</tr> |
117 |
</tr> |
| 119 |
[% FOREACH subscription IN subscriptions %] |
118 |
[% FOREACH subscription IN subscriptions %] |
| 120 |
<tr> |
119 |
<tr> |
|
Lines 132-159
$(document).ready(function() {
Link Here
|
| 132 |
<br /> Subscription closed |
131 |
<br /> Subscription closed |
| 133 |
[% END %] |
132 |
[% END %] |
| 134 |
</td> |
133 |
</td> |
| 135 |
[% IF ( routing && CAN_user_serials_routing ) %] |
134 |
[% IF ( subscription.abouttoexpire ) || ( subscription.subscriptionexpired ) %]<td class="problem">[% ELSE %]<td>[% END %] |
| 136 |
<td> |
135 |
[% UNLESS subscription.closed %] |
| 137 |
[% UNLESS subscription.closed %] |
136 |
[% IF ( routing && CAN_user_serials_routing ) %] |
| 138 |
[% IF ( subscription.hasRouting ) %] |
137 |
[% IF ( subscription.hasRouting ) %] |
| 139 |
<a href="/cgi-bin/koha/serials/routing.pl?subscriptionid=[% subscription.subscriptionid %]">Edit routing list</a> |
138 |
<a class="btn btn-mini" href="/cgi-bin/koha/serials/routing.pl?subscriptionid=[% subscription.subscriptionid %]"><i class="fa fa-pencil"></i> Edit routing list</a> |
| 140 |
[% ELSE %] |
139 |
[% ELSE %] |
| 141 |
<a href="/cgi-bin/koha/serials/routing.pl?subscriptionid=[% subscription.subscriptionid %]&op=new">Create routing list</a> |
140 |
<a class="btn btn-mini" href="/cgi-bin/koha/serials/routing.pl?subscriptionid=[% subscription.subscriptionid %]&op=new"><i class="fa fa-plus"></i> Create routing list</a> |
| 142 |
[% END %] |
141 |
[% END %] |
| 143 |
[% END %] |
142 |
[% END %] |
| 144 |
</td> |
143 |
[% IF ( subscription.abouttoexpire ) %]<a class="btn btn-mini" href="/cgi-bin/koha/serials/subscription-renew.pl?subscriptionid=[% subscription.subscriptionid %]" onclick="popup([% subscription.subscriptionid %]); return false;"><i class="fa fa-refresh"></i> Renew</a> |
| 145 |
[% END %] |
|
|
| 146 |
[% UNLESS subscription.closed %] |
| 147 |
[% IF ( subscription.abouttoexpire ) %]<td class="problem"> <a href="/cgi-bin/koha/serials/subscription-renew.pl?subscriptionid=[% subscription.subscriptionid %]" onclick="popup([% subscription.subscriptionid %]); return false;">Renew</a></td> |
| 148 |
[% ELSE %] |
144 |
[% ELSE %] |
| 149 |
[% IF ( subscription.subscriptionexpired ) %]<td class="problem"> <a href="/cgi-bin/koha/serials/subscription-renew.pl?subscriptionid=[% subscription.subscriptionid %]" onclick="popup([% subscription.subscriptionid %]); return false;">Renew</a></td> |
145 |
[% IF ( subscription.subscriptionexpired ) %]<a class="btn btn-mini" href="/cgi-bin/koha/serials/subscription-renew.pl?subscriptionid=[% subscription.subscriptionid %]" onclick="popup([% subscription.subscriptionid %]); return false;"><i class="fa fa-refresh"></i> Renew</a> |
| 150 |
[% ELSE %] |
146 |
[% ELSE %] |
| 151 |
<td> </td> |
147 |
|
| 152 |
[% END %] |
148 |
[% END %] |
| 153 |
[% END %] |
149 |
[% END %] |
| 154 |
[% ELSE %] |
150 |
[% ELSE %] |
| 155 |
<td> </td> |
151 |
|
| 156 |
[% END %] |
152 |
[% END %] |
|
|
153 |
</td> |
| 157 |
</tr> |
154 |
</tr> |
| 158 |
[% END %] |
155 |
[% END %] |
| 159 |
[% IF ( subscr ) %] |
156 |
[% IF ( subscr ) %] |
|
Lines 304-310
$(document).ready(function() {
Link Here
|
| 304 |
</td> |
301 |
</td> |
| 305 |
[% IF ( routing ) %] |
302 |
[% IF ( routing ) %] |
| 306 |
<td> |
303 |
<td> |
| 307 |
<a href="" onclick="print_slip([% serial.subscriptionid |html %], '[% serial.serialseq.replace("'", "\\'") |html %] ([% serial.publisheddate | $KohaDates %])'); return false" >Print list</a> |
304 |
<a href="" onclick="print_slip([% serial.subscriptionid |html %], '[% serial.serialseq.replace("'", "\\'") |html %] ([% serial.publisheddate | $KohaDates %])'); return false" class="btn btn-mini"><i class="fa fa-print"></i> Print list</a> |
| 308 |
</td> |
305 |
</td> |
| 309 |
[% END %] |
306 |
[% END %] |
| 310 |
</tr> |
307 |
</tr> |
| 311 |
- |
|
|