Lines 39-44
Link Here
|
39 |
|
39 |
|
40 |
[% INCLUDE 'modals/serials_skip_issues.inc' %] |
40 |
[% INCLUDE 'modals/serials_skip_issues.inc' %] |
41 |
|
41 |
|
|
|
42 |
[% INCLUDE 'modals/generate_next.inc' %] |
43 |
|
44 |
|
42 |
[% UNLESS ( popup ) %] |
45 |
[% UNLESS ( popup ) %] |
43 |
[% INCLUDE 'serials-toolbar.inc' %] |
46 |
[% INCLUDE 'serials-toolbar.inc' %] |
44 |
|
47 |
|
Lines 182-188
Link Here
|
182 |
<div class="btn-group"><input type="submit" value="Edit serials" class="btn btn-primary btn-sm" /></div> |
185 |
<div class="btn-group"><input type="submit" value="Edit serials" class="btn btn-primary btn-sm" /></div> |
183 |
[% UNLESS subscription.closed %] |
186 |
[% UNLESS subscription.closed %] |
184 |
<div class="btn-group"> |
187 |
<div class="btn-group"> |
185 |
<input type="button" value="Generate next" data-subscriptionid="[% subscriptionidlist | html %]" class="btn btn-default btn-sm generatenext" /> |
188 |
<input type="button" value="Generate next" data-subscriptionid="[% subscriptionidlist | html %]" href="#generate_next" class="btn btn-default btn-sm" data-toggle="modal" /> |
186 |
</div> |
189 |
</div> |
187 |
<div class="btn-group"> |
190 |
<div class="btn-group"> |
188 |
<input type="button" value="Skip issues and generate next" data-subscriptionid="[% subscriptionidlist | html %]" href="#skip_issues" class="btn btn-default btn-sm" data-toggle="modal" /> |
191 |
<input type="button" value="Skip issues and generate next" data-subscriptionid="[% subscriptionidlist | html %]" href="#skip_issues" class="btn btn-default btn-sm" data-toggle="modal" /> |
Lines 352-363
Link Here
|
352 |
} |
355 |
} |
353 |
} |
356 |
} |
354 |
|
357 |
|
355 |
function generateNext(subscriptionid) { |
|
|
356 |
if(confirm(_("Do you really want to generate next serial?"))){ |
357 |
document.location = 'serials-collection.pl?op=gennext&subscriptionid='+subscriptionid; |
358 |
} |
359 |
} |
360 |
|
361 |
$(document).ready(function() { |
358 |
$(document).ready(function() { |
362 |
if( $("#subscription_years .tab-pane.active").length < 1 ){ |
359 |
if( $("#subscription_years .tab-pane.active").length < 1 ){ |
363 |
$("#subscription_years a:first").tab("show"); |
360 |
$("#subscription_years a:first").tab("show"); |
364 |
- |
|
|