4 [% INCLUDE 'doc-head-open.inc' %]
5 <title>Koha › Serials › Check expiration</title>
6 [% INCLUDE 'doc-head-close.inc' %]
9 <body id="ser_checkexpiration" class="ser">
10 [% INCLUDE 'header.inc' %]
11 [% INCLUDE 'serials-search.inc' %]
13 <div id="breadcrumbs"><a href="/cgi-bin/koha/mainpage.pl">Home</a> › <a href="/cgi-bin/koha/serials/serials-home.pl">Serials</a> › Check expiration </div>
15 <div id="doc3" class="yui-t2">
21 <h1>Check expiration</h1>
23 <form name="f" action="/cgi-bin/koha/serials/checkexpiration.pl" method="post" class="validated">
24 <fieldset class="rows">
25 <legend>Filter results:</legend>
28 <li><label for="title">Title:</label>
29 <input id="title" type="text" name="title" size="15" value="[% title | html %]" /></li>
31 <li><label for="issn">ISSN:</label>
32 <input id="issn" type="text" name="issn" size="15" value="[% issn | html %]" /></li>
33 [% IF can_change_library %]
34 <li><label for="branch">Library:</label>
35 <select id="branch" name="branch">
36 <option value="">All</option>
37 [% PROCESS options_for_libraries libraries => Branches.all( selected => branch ) %]
42 <li><label for="date" class="required">Expiring before:</label>
43 <input id="date" type="text" name="date" size="10" value="[% date | $KohaDates %]" class="required focus datepicker" required="required" />
44 <span class="required">Required</span>
45 <div class="hint">[% INCLUDE 'date-format.inc' %]</div></li>
49 <fieldset class="action"><input type="submit" value="Search" /></fieldset>
52 [% IF ( subscriptions_loop ) %]
54 <b>[% numsubscription %]</b> subscription(s)
56 with title matching <span class="title">[% title | html %]</class>
57 [% IF ( issn ) %]and [% END %]
60 with ISSN matching <b>[% issn | html %]</b>
62 will expire before <b>[% date | $KohaDates %]</b>
68 [% IF can_change_library %]<th>Library</th>[% END %]
70 <th>Nonpublic note</th>
71 <th>Expiration date</th>
74 [% FOREACH subscriptions_loo IN subscriptions_loop %]
77 [% subscriptions_loo.issn %]
79 <td><a href="/cgi-bin/koha/serials/subscription-detail.pl?subscriptionid=[% subscriptions_loo.subscriptionid |url %]">[% IF ( subscriptions_loo.title ) %]
80 [% subscriptions_loo.title |html %]
86 [% IF can_change_library %]<td>
87 [% Branches.GetName( subscriptions_loo.branchcode ) %]
90 [% subscriptions_loo.notes %]
93 [% subscriptions_loo.internalnotes %]
96 [% subscriptions_loo.expirationdate | $KohaDates %]
99 <a href="/cgi-bin/koha/serials/subscription-add.pl?op=modify&subscriptionid=[% subscriptions_loo.subscriptionid %]" class="btn btn-default btn-xs"><i class="fa fa-pencil"></i> Edit</a>
100 <a href="/cgi-bin/koha/serials/subscription-renew.pl?subscriptionid=[% subscriptions_loo.subscriptionid %]" data-subscriptionid="[% subscriptions_loo.subscriptionid %]" class="btn btn-default btn-xs renew_subscription"><i class="fa fa-refresh"></i> Renew</a>
106 <p>No results for your query</p>
113 [% INCLUDE 'serials-menu.inc' %]
117 [% MACRO jsinclude BLOCK %]
118 [% INCLUDE 'calendar.inc' %]
119 <script type="text/javascript" language="JavaScript">
120 $(document).ready(function(){
121 $(".renew_subscription").on("click",function(e){
123 var subscriptionid = $(this).data("subscriptionid");
124 popup( subscriptionid );
127 function popup(subscriptionid) {
128 newin=window.open("subscription-renew.pl?mode=popup&subscriptionid="+subscriptionid,'popup','width=590,height=440,toolbar=false,scrollbars=yes,resize=yes');
133 [% INCLUDE 'intranet-bottom.inc' %]