Lines 15-40
Link Here
|
15 |
|
15 |
|
16 |
<div id="breadcrumbs"><a href="/cgi-bin/koha/mainpage.pl">Home</a> › <a href="/cgi-bin/koha/serials/serials-home.pl">Serials</a> › Serial collection information for <i>[% bibliotitle %]</i></div> |
16 |
<div id="breadcrumbs"><a href="/cgi-bin/koha/mainpage.pl">Home</a> › <a href="/cgi-bin/koha/serials/serials-home.pl">Serials</a> › Serial collection information for <i>[% bibliotitle %]</i></div> |
17 |
|
17 |
|
18 |
[% IF ( delete ) %] |
|
|
19 |
<div class="yui-g"> |
20 |
<div id="circ_needsconfirmation" class="dialog alert"> |
21 |
<h3>Are you sure delete <b> [% serialnumber %] </b> selected serials</h3> |
22 |
<form action="/cgi-bin/koha/serials/serials-collection.pl/#"> |
23 |
<h5>Delete associated items <input type="radio" name="delitems" value="Yes">Yes |
24 |
<input type="radio" name="delitems" value="No" checked>No</h5> |
25 |
<h5>Number of items available <b>: [% countitems %] </b> </h5> |
26 |
<input type="hidden" name="subscriptionid" value="[% subscriptionid %]" /> |
27 |
<input type="hidden" name="serialsid" value="[% serialsid %]" /> |
28 |
<input type="hidden" name="confdelete" value="1" /> |
29 |
<input type="submit" class="approve" value="Yes, delete"/> |
30 |
</form> |
31 |
<form action="/cgi-bin/koha/serials/serials-collection.pl/#"> |
32 |
<input type="hidden" name="subscriptionid" value="[% subscriptionid %]" /> |
33 |
<input type="submit" class="deny" value="No, don't delete"/> |
34 |
</form> |
35 |
</div> |
36 |
</div> |
37 |
[% END %] |
38 |
<div id="doc3" class="yui-t2"> |
18 |
<div id="doc3" class="yui-t2"> |
39 |
|
19 |
|
40 |
<div id="bd"> |
20 |
<div id="bd"> |
Lines 50-55
Link Here
|
50 |
[% IF ( callnumber ) %]callnumber: [% callnumber %][% END %]</h1> |
30 |
[% IF ( callnumber ) %]callnumber: [% callnumber %][% END %]</h1> |
51 |
[% END %] |
31 |
[% END %] |
52 |
|
32 |
|
|
|
33 |
[% IF ( delete ) %] |
34 |
<div class="dialog alert"> |
35 |
<h3>Are you sure you want to delete? <b>[% serialnumber %]</b> serial(s) will be deleted</h3> |
36 |
<form action="/cgi-bin/koha/serials/serials-collection.pl/#"> |
37 |
<h5>Number of items available: <b>[% countitems %]</b></h5> |
38 |
<p> |
39 |
<label>Delete associated items? <input type="checkbox" name="delitems" value="Yes" />Yes</label> |
40 |
</p> |
41 |
|
42 |
<input type="hidden" name="subscriptionid" value="[% subscriptionid %]" /> |
43 |
<input type="hidden" name="serialsid" value="[% serialsid %]" /> |
44 |
<input type="hidden" name="confdelete" value="1" /> |
45 |
<button type="submit" class="approve"><i class="fa fa-fw fa-check"></i> Yes, delete</button> |
46 |
</form> |
47 |
<form action="/cgi-bin/koha/serials/serials-collection.pl/#"> |
48 |
<input type="hidden" name="subscriptionid" value="[% subscriptionid %]" /> |
49 |
<button type="submit" class="deny"><i class="fa fa-fw fa-remove"></i> No, do not delete</button> |
50 |
</form> |
51 |
</div> |
52 |
[% END %] |
53 |
|
53 |
[% IF ( subscriptions ) %] |
54 |
[% IF ( subscriptions ) %] |
54 |
<table> |
55 |
<table> |
55 |
[% IF ( subscriptions.size == 1 ) %] |
56 |
[% IF ( subscriptions.size == 1 ) %] |
Lines 137-143
Link Here
|
137 |
<input type="button" value="Generate next" onclick="javascript:generateNext([% subscriptionidlist %])" /> |
138 |
<input type="button" value="Generate next" onclick="javascript:generateNext([% subscriptionidlist %])" /> |
138 |
[% IF ( subscriptions.size == 1 and !serialsadditems ) %] <input type="button" value="Multi receiving" onclick="javascript:generateReceive([% subscriptionidlist %])" />[% END %] |
139 |
[% IF ( subscriptions.size == 1 and !serialsadditems ) %] <input type="button" value="Multi receiving" onclick="javascript:generateReceive([% subscriptionidlist %])" />[% END %] |
139 |
[% END %] |
140 |
[% END %] |
140 |
<input type="button" value="Delete selected issues" onclick="javascript:deleteIssues([% subscriptionidlist %])"/> |
141 |
<input type="button" value="Delete selected issues" class="delete-issues" data-subscriptionids="[% subscriptionidlist %]" /> |
141 |
</p> |
142 |
</p> |
142 |
[% END %] |
143 |
[% END %] |
143 |
<span class="checkall"> |
144 |
<span class="checkall"> |
Lines 385-390
Link Here
|
385 |
"bInfo": false, |
386 |
"bInfo": false, |
386 |
"bFilter": false, |
387 |
"bFilter": false, |
387 |
} )); |
388 |
} )); |
|
|
389 |
$(".delete-issues").on("click", function(e){ |
390 |
e.preventDefault(); |
391 |
var subscriptionids = "[% subscriptionidlist %]"; |
392 |
deleteIssues( subscriptionids ); |
393 |
}); |
388 |
}); |
394 |
}); |
389 |
|
395 |
|
390 |
</script> |
396 |
</script> |
391 |
- |
|
|