2 [% INCLUDE 'doc-head-open.inc' %]
4 <title>Koha › Serials subscription renew #[% subscription.subscriptionid | html %]</title>
6 <title>Koha › Serials subscription renew</title>
8 [% INCLUDE 'doc-head-close.inc' %]
11 <body id="ser_subscription-renew" class="ser">
12 <div class="container-fluid">
14 [% INCLUDE 'blocking_errors.inc' %]
16 [% IF op == 'renew' OR op =='multi_renew' %]
17 [% IF op == 'renew' %]
18 <span>Subscription renewed.<span>
20 <span>Subscriptions renewed.<span>
23 <div id="closewindow">
24 <a class="btn btn-default btn-default close" href="#">Close</a>
28 <form name="f" action="/cgi-bin/koha/serials/subscription-renew.pl" method="post">
29 <input type="hidden" name="op" value="renew" />
30 <input type="hidden" name="subscriptionid" value="[% subscription.subscriptionid | html %]" />
31 <fieldset class="rows"><legend>Subscription renewal for [% subscription.bibliotitle | html %]</legend>
34 <label for="startdate">Start date: </label>
35 <input type="text" size="10" id="startdate" name="startdate" value="[% startdate | html %]" class="datepicker"/>
36 <div class="hint">[% INCLUDE 'date-format.inc' %]</div>
39 <legend>Subscription length:</legend>
40 <ol><li><label for="numberlength">Number of num:</label><input type="text" id="numberlength" name="numberlength" value="[% subscription.numberlength | html %]" /></li>
41 <li><label for="weeklength">Number of weeks: </label><input type="text" id="weeklength" name="weeklength" value="[% subscription.weeklength | html %]" /></li>
42 <li><label for="monthlength">Number of months: </label><input type="text" id="monthlength" name="monthlength" value="[% subscription.monthlength | html %]" /></li></ol></fieldset></li>
44 <li><label for="branchcode">Library:</label>
45 <select name="branchcode" id="branchcode" style="width: 20em;">
46 [% UNLESS ( Independentbranches ) %]
47 <option value="">None</option>
49 [% IF CAN_user_serials_superserials %]
50 [% FOREACH library IN libraries %]
51 <option value="[% library.branchcode | html %]"> [% library.branchname | html %] </option>
54 </select> (select a library)
57 <li><label for="note">Note for the librarian that will manage your renewal request: </label>
58 <textarea name="note" id="note" rows="5" cols="50"></textarea></li></ol></fieldset>
59 <fieldset class="action"><input type="submit" value="Submit" class="button" /></fieldset>
63 [% MACRO jsinclude BLOCK %]
64 [% INCLUDE 'calendar.inc' %]
65 <script type="text/javascript">
66 $(document).ready(function(){
67 $(".close").on("click", function(e){
69 window.opener.location.reload(false);
76 [% INCLUDE 'intranet-bottom.inc' popup_window=1 %]