Lines 304-310
Basket [% basket.basketno | html %] › Duplicate existing orders
Link Here
|
304 |
[% Asset.js("js/autocomplete/patrons.js") | $raw %] |
304 |
[% Asset.js("js/autocomplete/patrons.js") | $raw %] |
305 |
[% Asset.js("js/acq.js") | $raw %] |
305 |
[% Asset.js("js/acq.js") | $raw %] |
306 |
[% Asset.js("js/funds_sorts.js") | $raw %] |
306 |
[% Asset.js("js/funds_sorts.js") | $raw %] |
307 |
[% Asset.js("lib/jquery/plugins/jquery.checkboxes.min.js") | $raw %] |
|
|
308 |
<script> |
307 |
<script> |
309 |
function update_ordernumber_list(){ |
308 |
function update_ordernumber_list(){ |
310 |
var ordernumbers = []; |
309 |
var ordernumbers = []; |
Lines 368-384
Basket [% basket.basketno | html %] › Duplicate existing orders
Link Here
|
368 |
update_ordernumber_list(); |
367 |
update_ordernumber_list(); |
369 |
}); |
368 |
}); |
370 |
function selectAll () { |
369 |
function selectAll () { |
371 |
$("#table_orders").checkCheckboxes(); |
|
|
372 |
$("#table_orders").find("input[type='checkbox'][name='ordernumber']").each(function(){ |
370 |
$("#table_orders").find("input[type='checkbox'][name='ordernumber']").each(function(){ |
373 |
$(this).change(); |
371 |
$(this).prop("checked", true).change(); |
374 |
} ); |
372 |
}); |
375 |
return false; |
373 |
return false; |
376 |
} |
374 |
} |
377 |
function clearAll () { |
375 |
function clearAll () { |
378 |
$("#table_orders").unCheckCheckboxes(); |
|
|
379 |
$("#table_orders").find("input[type='checkbox'][name='ordernumber']").each(function(){ |
376 |
$("#table_orders").find("input[type='checkbox'][name='ordernumber']").each(function(){ |
380 |
$(this).change(); |
377 |
$(this).prop("checked", false).change(); |
381 |
} ); |
378 |
}); |
382 |
return false; |
379 |
return false; |
383 |
} |
380 |
} |
384 |
|
381 |
|
385 |
- |
|
|