Lines 1-10
Link Here
|
1 |
[% USE KohaDates %] |
1 |
[% USE KohaDates %] |
2 |
[% USE Branches %] |
2 |
[% USE Branches %] |
|
|
3 |
[% USE ColumnsSettings %] |
3 |
[% INCLUDE 'doc-head-open.inc' %] |
4 |
[% INCLUDE 'doc-head-open.inc' %] |
4 |
<title>Koha › Acquisitions › Late orders</title> |
5 |
<title>Koha › Acquisitions › Late orders</title> |
5 |
<link rel="stylesheet" type="text/css" href="[% themelang %]/css/datatables.css" /> |
6 |
<link rel="stylesheet" type="text/css" href="[% themelang %]/css/datatables.css" /> |
6 |
[% INCLUDE 'doc-head-close.inc' %] |
7 |
[% INCLUDE 'doc-head-close.inc' %] |
7 |
[% INCLUDE 'datatables.inc' %] |
8 |
[% INCLUDE 'datatables.inc' %] |
|
|
9 |
[% INCLUDE 'columns_settings.inc' %] |
8 |
<script type="text/javascript" src="[% interface %]/lib/jquery/plugins/jquery.checkboxes.min.js"></script> |
10 |
<script type="text/javascript" src="[% interface %]/lib/jquery/plugins/jquery.checkboxes.min.js"></script> |
9 |
[% INCLUDE 'calendar.inc' %] |
11 |
[% INCLUDE 'calendar.inc' %] |
10 |
<script type="text/javascript"> |
12 |
<script type="text/javascript"> |
Lines 23-29
function check_uncheck() {
Link Here
|
23 |
|
25 |
|
24 |
$(document).ready(function() { |
26 |
$(document).ready(function() { |
25 |
|
27 |
|
26 |
late_orderst = $("#late_orders").dataTable($.extend(true, {}, dataTablesDefaults, { |
28 |
var columns_settings = [% ColumnsSettings.GetColumns( 'acqui', 'lateorders', 'late_orders', 'json' ) %]; |
|
|
29 |
late_orderst = KohaTable("#late_orders", { |
27 |
"aoColumnDefs": [ |
30 |
"aoColumnDefs": [ |
28 |
{ "aTargets": [ 0 ], "bSortable": false, "bSearchable": false }, |
31 |
{ "aTargets": [ 0 ], "bSortable": false, "bSearchable": false }, |
29 |
{ "sType": "anti-the", "aTargets" : [ "anti-the" ] }, |
32 |
{ "sType": "anti-the", "aTargets" : [ "anti-the" ] }, |
Lines 37-43
$(document).ready(function() {
Link Here
|
37 |
$('input:checkbox[name=ordernumber]').bind('click', check_uncheck); |
40 |
$('input:checkbox[name=ordernumber]').bind('click', check_uncheck); |
38 |
}; |
41 |
}; |
39 |
} |
42 |
} |
40 |
} ) ); |
43 |
}, columns_settings ); |
41 |
$('input:checkbox[name=ordernumber]').bind('click', check_uncheck); |
44 |
$('input:checkbox[name=ordernumber]').bind('click', check_uncheck); |
42 |
$('#CheckAll').click(function(){ $(late_orderst.fnGetNodes()).find("td").checkCheckboxes();}); |
45 |
$('#CheckAll').click(function(){ $(late_orderst.fnGetNodes()).find("td").checkCheckboxes();}); |
43 |
$('#CheckNone').click(function(){ $(late_orderst.fnGetNodes()).find("td").unCheckCheckboxes();}); |
46 |
$('#CheckNone').click(function(){ $(late_orderst.fnGetNodes()).find("td").unCheckCheckboxes();}); |
44 |
- |
|
|