Lines 1-3
Link Here
|
|
|
1 |
[% USE Asset %] |
1 |
[% SET footerjs = 1 %] |
2 |
[% SET footerjs = 1 %] |
2 |
[% INCLUDE 'doc-head-open.inc' %] |
3 |
[% INCLUDE 'doc-head-open.inc' %] |
3 |
[% IF subscription %] |
4 |
[% IF subscription %] |
Lines 26-31
Link Here
|
26 |
<form name="f" action="/cgi-bin/koha/serials/subscription-renew.pl" method="post"> |
27 |
<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="op" value="renew" /> |
28 |
<input type="hidden" name="subscriptionid" value="[% subscription.subscriptionid %]" /> |
29 |
<input type="hidden" name="subscriptionid" value="[% subscription.subscriptionid %]" /> |
|
|
30 |
<input type="hidden" id="frequency" value="[% subscription.periodicity %]" /> |
31 |
<input type="hidden" id="acqui_date" value="[% subscription.firstacquidate %]" /> |
32 |
<input type="hidden" id="nextacquidate" value="[% nextacquidate %]" /> |
33 |
|
34 |
<input type="hidden" id="to" value="[% enddate %]" /> |
35 |
<input type="hidden" id="subtype" value="[% subtype %]" /> |
36 |
<input type="hidden" id="sublength" value="[% sublength %]" /> |
37 |
<input type="hidden" id="numberingmethod" value="[% numberpattern.numberingmethod %]" /> |
38 |
<input type="hidden" id="lastvalue1" value="[% subscription.lastvalue1 %]" /> |
39 |
<input type="hidden" id="lastvalue2" value="[% subscription.lastvalue2 %]" /> |
40 |
<input type="hidden" id="lastvalue3" value="[% subscription.lastvalue3 %]" /> |
41 |
<input type="hidden" id="add1" value="[% numberpattern.add1 %]" /> |
42 |
<input type="hidden" id="add2" value="[% numberpattern.add2 %]" /> |
43 |
<input type="hidden" id="add3" value="[% numberpattern.add3 %]" /> |
44 |
<input type="hidden" id="every1" value="[% numberpattern.every1 %]" /> |
45 |
<input type="hidden" id="every2" value="[% numberpattern.every2 %]" /> |
46 |
<input type="hidden" id="every3" value="[% numberpattern.every3 %]" /> |
47 |
<input type="hidden" id="innerloop1" value="[% subscription.innerloop1 %]" /> |
48 |
<input type="hidden" id="innerloop2" value="[% subscription.innerloop2 %]" /> |
49 |
<input type="hidden" id="innerloop3" value="[% subscription.innerloop3 %]" /> |
50 |
<input type="hidden" id="setto1" value="[% numberpattern.setto1 %]" /> |
51 |
<input type="hidden" id="setto2" value="[% numberpattern.setto2 %]" /> |
52 |
<input type="hidden" id="setto3" value="[% numberpattern.setto3 %]" /> |
53 |
<input type="hidden" id="numbering1" value="[% numberpattern.numbering1 %]" /> |
54 |
<input type="hidden" id="numbering2" value="[% numberpattern.numbering2 %]" /> |
55 |
<input type="hidden" id="numbering3" value="[% numberpattern.numbering3 %]" /> |
56 |
<input type="hidden" id="whenmorethan1" value="[% numberpattern.whenmorethan1 %]" /> |
57 |
<input type="hidden" id="whenmorethan2" value="[% numberpattern.whenmorethan2 %]" /> |
58 |
<input type="hidden" id="whenmorethan3" value="[% numberpattern.whenmorethan3 %]" /> |
59 |
<input type="hidden" id="locale" value="[% subscription.locale %]" /> |
29 |
<fieldset class="rows"><legend>Subscription renewal for [% subscription.bibliotitle %]</legend> |
60 |
<fieldset class="rows"><legend>Subscription renewal for [% subscription.bibliotitle %]</legend> |
30 |
<ol> |
61 |
<ol> |
31 |
<li> |
62 |
<li> |
Lines 40-53
Link Here
|
40 |
<li><label for="monthlength">Number of months: </label><input type="text" id="monthlength" name="monthlength" value="[% subscription.monthlength %]" /></li></ol></fieldset></li> |
71 |
<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> |
72 |
<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> |
73 |
<textarea name="note" id="note" rows="5" cols="50"></textarea></li></ol></fieldset> |
|
|
74 |
<li id="displayexample"></li> |
43 |
<fieldset class="action"><input type="submit" value="Submit" class="button" /></fieldset> |
75 |
<fieldset class="action"><input type="submit" value="Submit" class="button" /></fieldset> |
|
|
76 |
|
44 |
</form> |
77 |
</form> |
45 |
[% END %] |
78 |
[% END %] |
46 |
|
79 |
|
47 |
[% MACRO jsinclude BLOCK %] |
80 |
[% MACRO jsinclude BLOCK %] |
48 |
[% INCLUDE 'calendar.inc' %] |
81 |
[% INCLUDE 'calendar.inc' %] |
49 |
<script type="text/javascript"> |
82 |
<script type="text/javascript"> |
|
|
83 |
var subscriptionid = "[% subscription.subscriptionid %]"; |
84 |
var irregularity = "[% subscription.irregularity %]"; |
85 |
var more_than_one_serial = "[% more_than_one_serial %]"; |
50 |
$(document).ready(function(){ |
86 |
$(document).ready(function(){ |
|
|
87 |
testPredictionPattern(); |
51 |
$(".close").on("click", function(e){ |
88 |
$(".close").on("click", function(e){ |
52 |
e.preventDefault(); |
89 |
e.preventDefault(); |
53 |
window.opener.location.reload(false); |
90 |
window.opener.location.reload(false); |
Lines 55-60
Link Here
|
55 |
}); |
92 |
}); |
56 |
}); |
93 |
}); |
57 |
</script> |
94 |
</script> |
|
|
95 |
[% Asset.js("js/subscription.js") %] |
96 |
[% Asset.js("js/showpredictionpattern.js") %] |
58 |
[% END %] |
97 |
[% END %] |
59 |
|
98 |
|
60 |
[% INCLUDE 'intranet-bottom.inc' popup_window=1 %] |
99 |
[% INCLUDE 'intranet-bottom.inc' popup_window=1 %] |