Lines 8-19
Link Here
|
8 |
[% INCLUDE 'calendar.inc' %] |
8 |
[% INCLUDE 'calendar.inc' %] |
9 |
<script language="JavaScript" type="text/javascript"> |
9 |
<script language="JavaScript" type="text/javascript"> |
10 |
//<![CDATA[ |
10 |
//<![CDATA[ |
11 |
function generateReceive() { |
11 |
$(document).ready(function() { |
12 |
var subscriptionid = document.getElementsByName("subscriptionid")[0].value; |
12 |
$('#multi_receiving').on('show', function () { |
13 |
if(nbissues=prompt(_("How many issues do you want to receive ?"))){ |
13 |
$(this).find(".modal-body").html($(".serials_multi_receiving")[0].outerHTML); |
14 |
document.location = 'serials-collection.pl?op=gennext&subscriptionid='+subscriptionid+'&nbissues='+nbissues; |
14 |
}); |
15 |
} |
15 |
}); |
16 |
} |
16 |
|
17 |
function popup(subscriptionid) { |
17 |
function popup(subscriptionid) { |
18 |
window.open("subscription-renew.pl?subscriptionid="+subscriptionid,"subscription_renewal",'width=700,height=400,toolbar=false,scrollbars=yes'); |
18 |
window.open("subscription-renew.pl?subscriptionid="+subscriptionid,"subscription_renewal",'width=700,height=400,toolbar=false,scrollbars=yes'); |
19 |
} |
19 |
} |
Lines 91-96
$(document).ready(function() {
Link Here
|
91 |
<div id="yui-main"> |
91 |
<div id="yui-main"> |
92 |
<div class="yui-b"> |
92 |
<div class="yui-b"> |
93 |
|
93 |
|
|
|
94 |
[% INCLUDE 'modals/serials_multi_receiving.inc' %] |
95 |
|
94 |
<h1>Serial edition <i>[% bibliotitle %]</i> |
96 |
<h1>Serial edition <i>[% bibliotitle %]</i> |
95 |
[% IF location %] ([% AuthorisedValues.GetByCode('LOC', location) %])[% END %] |
97 |
[% IF location %] ([% AuthorisedValues.GetByCode('LOC', location) %])[% END %] |
96 |
[% IF ( callnumber ) %] callnumber: [% callnumber %][% END %]</h1> |
98 |
[% IF ( callnumber ) %] callnumber: [% callnumber %][% END %]</h1> |
Lines 423-430
$(document).ready(function() {
Link Here
|
423 |
|
425 |
|
424 |
</table> |
426 |
</table> |
425 |
<fieldset class="action"> |
427 |
<fieldset class="action"> |
426 |
<input type="submit" value="Save" class="button" accesskey="w" /> |
428 |
<div class="btn-group"><input type="submit" value="Save" class="btn btn-default btn-sm" accesskey="w" /></div> |
427 |
[% UNLESS ( serialsadditems ) %] <input type="button" onclick="javascript:generateReceive()" value="Multi receiving">[% END %] |
429 |
[% UNLESS ( serialsadditems ) %] |
|
|
430 |
<div class="btn-group"><a href="#multi_receiving" role="button" class="btn btn-default btn-sm" data-toggle="modal"><i class="fa fa-plus"></i> Multi receiving</a></div> |
431 |
[% END %] |
432 |
|
428 |
</fieldset> |
433 |
</fieldset> |
429 |
</form> |
434 |
</form> |
430 |
|
435 |
|