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 |
[% IF countitems > 0 %] |
40 |
<p> |
41 |
<label>Delete associated items? <input type="checkbox" name="delitems" value="Yes" />Yes</label> |
42 |
</p> |
43 |
[% END %] |
44 |
|
45 |
<input type="hidden" name="subscriptionid" value="[% subscriptionid %]" /> |
46 |
<input type="hidden" name="serialsid" value="[% serialsid %]" /> |
47 |
<input type="hidden" name="confdelete" value="1" /> |
48 |
<button type="submit" class="approve"><i class="fa fa-fw fa-check"></i> Yes, delete</button> |
49 |
</form> |
50 |
<form action="/cgi-bin/koha/serials/serials-collection.pl/#"> |
51 |
<input type="hidden" name="subscriptionid" value="[% subscriptionid %]" /> |
52 |
<button type="submit" class="deny"><i class="fa fa-fw fa-remove"></i> No, do not delete</button> |
53 |
</form> |
54 |
</div> |
55 |
[% END %] |
56 |
|
57 |
|
54 |
[% IF ( subscriptions ) %] |
58 |
[% IF ( subscriptions ) %] |
55 |
<table> |
59 |
<table> |
56 |
[% IF ( subscriptions.size == 1 ) %] |
60 |
[% 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> |
144 |
<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 %] |
145 |
[% END %] |
142 |
[% END %] |
146 |
[% END %] |
143 |
<input type="button" value="Delete selected issues" onclick="javascript:deleteIssues([% subscriptionidlist %])"/> |
147 |
<input type="button" value="Delete selected issues" class="delete-issues" data-subscriptionids="[% subscriptionidlist %]" /> |
144 |
</p> |
148 |
</p> |
145 |
[% END %] |
149 |
[% END %] |
146 |
<span class="checkall"> |
150 |
<span class="checkall"> |
Lines 389-394
Link Here
|
389 |
"bInfo": false, |
393 |
"bInfo": false, |
390 |
"bFilter": false, |
394 |
"bFilter": false, |
391 |
} )); |
395 |
} )); |
|
|
396 |
$(".delete-issues").on("click", function(e){ |
397 |
e.preventDefault(); |
398 |
var subscriptionids = "[% subscriptionidlist %]"; |
399 |
deleteIssues( subscriptionids ); |
400 |
}); |
392 |
|
401 |
|
393 |
$('#multi_receiving').on('show', function () { |
402 |
$('#multi_receiving').on('show', function () { |
394 |
$(this).find(".modal-body").html($(".serials_multi_receiving")[0].outerHTML); |
403 |
$(this).find(".modal-body").html($(".serials_multi_receiving")[0].outerHTML); |
395 |
- |
|
|