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 51-56
Link Here
|
51 |
[% IF ( callnumber ) %]callnumber: [% callnumber %][% END %]</h1> |
31 |
[% IF ( callnumber ) %]callnumber: [% callnumber %][% END %]</h1> |
52 |
[% END %] |
32 |
[% END %] |
53 |
|
33 |
|
|
|
34 |
[% IF ( delete ) %] |
35 |
<div class="dialog alert"> |
36 |
<h3>Are you sure you want to delete? <b>[% serialnumber %]</b> serial(s) will be deleted</h3> |
37 |
<form action="/cgi-bin/koha/serials/serials-collection.pl/#"> |
38 |
<h5>Number of items available: <b>[% countitems %]</b></h5> |
39 |
<p> |
40 |
<label>Delete associated items? <input type="checkbox" name="delitems" value="Yes" />Yes</label> |
41 |
</p> |
42 |
|
43 |
<input type="hidden" name="subscriptionid" value="[% subscriptionid %]" /> |
44 |
<input type="hidden" name="serialsid" value="[% serialsid %]" /> |
45 |
<input type="hidden" name="confdelete" value="1" /> |
46 |
<button type="submit" class="approve"><i class="fa fa-fw fa-check"></i> Yes, delete</button> |
47 |
</form> |
48 |
<form action="/cgi-bin/koha/serials/serials-collection.pl/#"> |
49 |
<input type="hidden" name="subscriptionid" value="[% subscriptionid %]" /> |
50 |
<button type="submit" class="deny"><i class="fa fa-fw fa-remove"></i> No, do not delete</button> |
51 |
</form> |
52 |
</div> |
53 |
[% END %] |
54 |
|
54 |
[% IF ( subscriptions ) %] |
55 |
[% IF ( subscriptions ) %] |
55 |
<table> |
56 |
<table> |
56 |
[% IF ( subscriptions.size == 1 ) %] |
57 |
[% IF ( subscriptions.size == 1 ) %] |
Lines 140-146
Link Here
|
140 |
<div class="btn-group"><input type="button" value="Multi receiving" href="#multi_receiving" class="btn btn-default btn-sm" data-toggle="modal"></div> |
141 |
<div class="btn-group"><input type="button" value="Multi receiving" href="#multi_receiving" class="btn btn-default btn-sm" data-toggle="modal"></div> |
141 |
[% END %] |
142 |
[% END %] |
142 |
[% END %] |
143 |
[% END %] |
143 |
<input type="button" value="Delete selected issues" onclick="javascript:deleteIssues([% subscriptionidlist %])"/> |
144 |
<input type="button" value="Delete selected issues" class="delete-issues" data-subscriptionids="[% subscriptionidlist %]" /> |
144 |
</p> |
145 |
</p> |
145 |
[% END %] |
146 |
[% END %] |
146 |
<span class="checkall"> |
147 |
<span class="checkall"> |
Lines 402-407
Link Here
|
402 |
} |
403 |
} |
403 |
return 1; |
404 |
return 1; |
404 |
}); |
405 |
}); |
|
|
406 |
|
407 |
$(".delete-issues").on("click", function(e){ |
408 |
e.preventDefault(); |
409 |
var subscriptionids = "[% subscriptionidlist %]"; |
410 |
deleteIssues( subscriptionids ); |
411 |
}); |
405 |
}); |
412 |
}); |
406 |
|
413 |
|
407 |
</script> |
414 |
</script> |
408 |
- |
|
|