1 [% INCLUDE 'doc-head-open.inc' %]
2 <title>Koha › Serials › Check expiration</title>
3 [% INCLUDE 'doc-head-close.inc' %]
4 [% INCLUDE 'calendar.inc' %]
5 <script type="text/javascript" language="JavaScript">
9 * This function checks the form before submit
11 function CheckForm(form){
16 alert(_("You must enter a date!"));
17 document.f.date.focus();
22 function popup(subscriptionid) {
23 newin=window.open("subscription-renew.pl?mode=popup&subscriptionid="+subscriptionid,'popup','width=590,height=440,toolbar=false,scrollbars=yes,resize=yes');
28 <!-- End of additions -->
30 <body id="ser_checkexpiration" class="ser">
31 [% INCLUDE 'header.inc' %]
32 [% INCLUDE 'serials-search.inc' %]
34 <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>
36 <div id="doc3" class="yui-t2">
42 <h1>Check expiration</h1>
44 <form name="f" action="/cgi-bin/koha/serials/checkexpiration.pl" method="post" onsubmit="return CheckForm(this);">
45 <fieldset class="rows">
46 <legend>Filter results :</legend>
49 <li><label for="title">Title:</label>
50 <input id="title" type="text" name="title" size="15" value="[% title %]" /></li>
52 <li><label for="issn">ISSN:</label>
53 <input id="issn" type="text" name="issn" size="15" value="[% issn %]" /></li>
54 [% IF (branches_loop.size) %]
55 <li><label for="branch">Branch:</label>
56 <select id="branch" name="branch">
57 <option value="">All</option>
58 [% FOREACH branch IN branches_loop %]
59 [% IF branch.selected %]
60 <option selected="selected" value="[% branch.branchcode %]">
62 <option value="[% branch.branchcode %]">
64 [% branch.branchname %]
71 <li><label for="date" class="required" title="Required field">Expiring before:</label>
72 <input id="date" type="text" name="date" size="10" value="[% date %]" class="focus datepicker" />
73 <span class="required">Required</span>
74 <div class="hint">[% INCLUDE 'date-format.inc' %]</div></li>
78 <fieldset class="action"><input type="submit" value="Search" /></fieldset>
81 [% IF ( subscriptions_loop ) %]
83 <b>[% numsubscription %]</b> subscription(s)
85 with title matching <span class="title">[% title %]</class>
86 [% IF ( issn ) %]and [% END %]
89 with ISSN matching <b>[% issn %]</b>
91 will expire before <b>[% date %]</b>
98 <th>Nonpublic note</th>
99 <th>Expiration date</th>
100 <th colspan="2"> </th>
102 [% FOREACH subscriptions_loo IN subscriptions_loop %]
103 [% IF ( subscriptions_loo.toogle ) %]
104 <tr class="highlight">
109 [% subscriptions_loo.issn %]
111 <td><a href="/cgi-bin/koha/serials/subscription-detail.pl?subscriptionid=[% subscriptions_loo.subscriptionid |url %]">[% IF ( subscriptions_loo.title ) %]
112 [% subscriptions_loo.title |html %]
119 [% subscriptions_loo.notes %]
122 [% subscriptions_loo.internalnotes %]
125 [% subscriptions_loo.expirationdate %]
127 <td><a href="/cgi-bin/koha/serials/subscription-add.pl?op=modify&subscriptionid=[% subscriptions_loo.subscriptionid %]">Edit</a></td>
128 <td><a href="/cgi-bin/koha/serials/subscription-renew.pl?subscriptionid=[% subscriptions_loo.subscriptionid %]" onclick="popup([% subscriptions_loo.subscriptionid %]); return false;">Renew</a></td>
133 <p>No results for your query</p>
140 [% INCLUDE 'serials-menu.inc' %]
143 [% INCLUDE 'intranet-bottom.inc' %]