3 [% INCLUDE 'doc-head-open.inc' %]
4 <title>Koha › Serials › Check expiration</title>
5 [% INCLUDE 'doc-head-close.inc' %]
6 [% INCLUDE 'calendar.inc' %]
7 <script type="text/javascript" language="JavaScript">
9 $(document).ready(function(){
10 $(".renew_subscription").on("click",function(e){
12 var subscriptionid = $(this).data("subscriptionid");
13 popup( subscriptionid );
16 function popup(subscriptionid) {
17 newin=window.open("subscription-renew.pl?mode=popup&subscriptionid="+subscriptionid,'popup','width=590,height=440,toolbar=false,scrollbars=yes,resize=yes');
22 <!-- End of additions -->
24 <body id="ser_checkexpiration" class="ser">
25 [% INCLUDE 'header.inc' %]
26 [% INCLUDE 'serials-search.inc' %]
28 <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>
30 <div id="doc3" class="yui-t2">
36 <h1>Check expiration</h1>
38 <form name="f" action="/cgi-bin/koha/serials/checkexpiration.pl" method="post" class="validated">
39 <fieldset class="rows">
40 <legend>Filter results:</legend>
43 <li><label for="title">Title:</label>
44 <input id="title" type="text" name="title" size="15" value="[% title | html %]" /></li>
46 <li><label for="issn">ISSN:</label>
47 <input id="issn" type="text" name="issn" size="15" value="[% issn | html %]" /></li>
48 [% IF can_change_library %]
49 <li><label for="branch">Library:</label>
50 <select id="branch" name="branch">
51 <option value="">All</option>
52 [% PROCESS options_for_libraries libraries => Branches.all( selected => branch ) %]
57 <li><label for="date" class="required">Expiring before:</label>
58 <input id="date" type="text" name="date" size="10" value="[% date | $KohaDates %]" class="required focus datepicker" required="required" />
59 <span class="required">Required</span>
60 <div class="hint">[% INCLUDE 'date-format.inc' %]</div></li>
64 <fieldset class="action"><input type="submit" value="Search" /></fieldset>
67 [% IF ( subscriptions_loop ) %]
69 <b>[% numsubscription %]</b> subscription(s)
71 with title matching <span class="title">[% title | html %]</class>
72 [% IF ( issn ) %]and [% END %]
75 with ISSN matching <b>[% issn | html %]</b>
77 will expire before <b>[% date | $KohaDates %]</b>
83 [% IF can_change_library %]<th>Library</th>[% END %]
85 <th>Nonpublic note</th>
86 <th>Expiration date</th>
89 [% FOREACH subscriptions_loo IN subscriptions_loop %]
92 [% subscriptions_loo.issn %]
94 <td><a href="/cgi-bin/koha/serials/subscription-detail.pl?subscriptionid=[% subscriptions_loo.subscriptionid |url %]">[% IF ( subscriptions_loo.title ) %]
95 [% subscriptions_loo.title |html %]
101 [% IF can_change_library %]<td>
102 [% Branches.GetName( subscriptions_loo.branchcode ) %]
105 [% subscriptions_loo.notes %]
108 [% subscriptions_loo.internalnotes %]
111 [% subscriptions_loo.expirationdate | $KohaDates %]
114 <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>
115 <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>
121 <p>No results for your query</p>
128 [% INCLUDE 'serials-menu.inc' %]
131 [% INCLUDE 'intranet-bottom.inc' %]