Bug 7910: Add the ability to renew several subscriptions at once
[koha.git] / koha-tmpl / intranet-tmpl / prog / en / modules / serials / subscription-renew.tt
blob3639e579615b7f584ad3f1455c50ce8a3c67e874
1 [% SET footerjs = 1 %]
2 [% INCLUDE 'doc-head-open.inc' %]
3 [% IF subscription %]
4 <title>Koha &rsaquo; Serials subscription renew #[% subscription.subscriptionid %]</title>
5 [% ELSE %]
6 <title>Koha &rsaquo; Serials subscription renew</title>
7 [% END %]
8 [% INCLUDE 'doc-head-close.inc' %]
9 </head>
11 <body id="ser_subscription-renew" class="ser">
12     <div class="container-fluid">
14 [% IF op == 'renew' %]
15   Subscription renewed.
16   
17 <script type="text/javascript">
18 //<![CDATA[
19   //opener.document.location.reload();
20   window.opener.location.reload(false);
21   self.close();
22   //]]>
23 </script>
24 [% ELSE %]
25       <div id="bd">
26 <form name="f" action="/cgi-bin/koha/serials/subscription-renew.pl" method="post">
27                 <input type="hidden" name="op" value="renew" />
28                 <input type="hidden" name="subscriptionid" value="[% subscription.subscriptionid %]" />
29                 <fieldset class="rows"><legend>Subscription renewal for [% subscription.bibliotitle %]</legend>
30         <ol>
31             <li>
32                 <label for="startdate">Start date: </label>
33                 <input type="text" size="10" id="startdate" name="startdate" value="[% startdate %]" class="datepicker"/>
34                 <div class="hint">[% INCLUDE 'date-format.inc' %]</div>
35             </li>
36                 <li><fieldset>
37                 <legend>Subscription length:</legend>
38                 <ol><li><label for="numberlength">Number of num:</label><input type="text" id="numberlength" name="numberlength" value="[% subscription.numberlength %]" /></li>
39                 <li><label for="weeklength">Number of weeks: </label><input type="text" id="weeklength" name="weeklength" value="[% subscription.weeklength %]" /></li>
40                 <li><label for="monthlength">Number of months: </label><input type="text" id="monthlength" name="monthlength" value="[% subscription.monthlength %]" /></li></ol></fieldset></li>
41                 <li><label for="note">Note for the librarian that will manage your renewal request: </label>
42                 <textarea name="note" id="note" rows="5" cols="50"></textarea></li></ol></fieldset>
43                 <fieldset class="action"><input type="submit" value="Submit" class="button" /></fieldset>
44 </form>
45 [% END %]
47 [% MACRO jsinclude BLOCK %]
48     [% INCLUDE 'calendar.inc' %]
49 [% END %]
51 [% INCLUDE 'intranet-bottom.inc' popup_window=1 %]