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>
55 <li><label for="date" class="required" title="Required field">Expiring before:</label>
56 <input id="date" type="text" name="date" size="10" value="[% date %]" class="focus" />
57 <img src="[% themelang %]/lib/calendar/cal.gif" alt="Show Calendar" border="0" id="openCalendar" style="cursor: pointer;" />
58 <script type="text/javascript">
61 button : "openCalendar",
63 ifFormat : "[% DHTMLcalendar_dateformat %]"
66 </script> <span class="required">Required</span>
67 <div class="hint">[% INCLUDE 'date-format.inc' %]</div></li>
71 <fieldset class="action"><input type="submit" value="Search" /></fieldset>
74 [% IF ( subscriptions_loop ) %]
76 <b>[% numsubscription %]</b> subscription(s)
78 with title matching <span class="title">[% title %]</class>
79 [% IF ( issn ) %]and [% END %]
82 with ISSN matching <b>[% issn %]</b>
84 will expire before <b>[% date %]</b>
91 <th>Expiration date</th>
92 <th colspan="2"> </th>
94 [% FOREACH subscriptions_loo IN subscriptions_loop %]
95 [% IF ( subscriptions_loo.toogle ) %]
96 <tr class="highlight">
101 [% subscriptions_loo.issn %]
103 <td><a href="/cgi-bin/koha/serials/subscription-detail.pl?subscriptionid=[% subscriptions_loo.subscriptionid |url %]">[% IF ( subscriptions_loo.title ) %]
104 [% subscriptions_loo.title |html %]
111 [% subscriptions_loo.notes %]
114 [% subscriptions_loo.expirationdate %]
116 <td><a href="/cgi-bin/koha/serials/subscription-add.pl?op=mod&subscriptionid=[% subscriptions_loo.subscriptionid %]">Edit</a></td>
117 <td><a href="/cgi-bin/koha/serials/subscription-renew.pl?subscriptionid=[% subscriptions_loo.subscriptionid %]" onclick="popup([% subscriptions_loo.subscriptionid %]); return false;">Renew</a></td>
122 <p>No results for your query</p>
129 [% INCLUDE 'serials-menu.inc' %]
132 [% INCLUDE 'intranet-bottom.inc' %]