Lines 72-78
$(document).ready(function(){
Link Here
|
72 |
'iDisplayLength': 20, |
72 |
'iDisplayLength': 20, |
73 |
'aaSorting': [[ 1, "asc" ]], |
73 |
'aaSorting': [[ 1, "asc" ]], |
74 |
'aoColumnDefs': [ |
74 |
'aoColumnDefs': [ |
75 |
{ 'bSortable': false, 'bSearchable':false, 'aTargets': [-1, -2, -3, -4] }, |
75 |
{ 'bSortable': false, 'bSearchable':false, 'aTargets': [0, -1, -2, -3, -4] }, |
76 |
{ 'bSearchable': false, 'aTargets': [3, 4] } |
76 |
{ 'bSearchable': false, 'aTargets': [3, 4] } |
77 |
], |
77 |
], |
78 |
'oLanguage': { |
78 |
'oLanguage': { |
Lines 87-102
$(document).ready(function(){
Link Here
|
87 |
$(this).remove(); |
87 |
$(this).remove(); |
88 |
} |
88 |
} |
89 |
}); |
89 |
}); |
90 |
rtable.fnFilter('', 3); |
|
|
91 |
rtable.fnFilter('', 4); |
90 |
rtable.fnFilter('', 4); |
92 |
rtable.fnSetColumnVis(3, true); |
91 |
rtable.fnFilter('', 5); |
93 |
rtable.fnSetColumnVis(4, true); |
92 |
rtable.fnSetColumnVis(4, true); |
|
|
93 |
rtable.fnSetColumnVis(5, true); |
94 |
|
94 |
|
95 |
var g_id = $(ui.tab).attr('id') |
95 |
var g_id = $(ui.tab).attr('id') |
96 |
var g_name = $(ui.tab).text(); |
96 |
var g_name = $(ui.tab).text(); |
97 |
if (g_id && g_id.length > 0) { |
97 |
if (g_id && g_id.length > 0) { |
98 |
rtable.fnFilter('^' + g_name + '$', 3, true, true, true, false); |
98 |
rtable.fnFilter('^' + g_name + '$', 4, true, true, true, false); |
99 |
rtable.fnSetColumnVis(3, false); |
99 |
rtable.fnSetColumnVis(4, false); |
100 |
for(var i in group_subgroups[g_id]) { |
100 |
for(var i in group_subgroups[g_id]) { |
101 |
$("#subgroup_filter").append( |
101 |
$("#subgroup_filter").append( |
102 |
'<option value="' + group_subgroups[g_id][i][0] + '">' |
102 |
'<option value="' + group_subgroups[g_id][i][0] + '">' |
Lines 287-292
canned reports and writing custom SQL reports.</p>
Link Here
|
287 |
<table id="table_reports"> |
287 |
<table id="table_reports"> |
288 |
<thead> |
288 |
<thead> |
289 |
<tr> |
289 |
<tr> |
|
|
290 |
<th> </th> |
290 |
<th>ID</th> |
291 |
<th>ID</th> |
291 |
<th>Report name</th> |
292 |
<th>Report name</th> |
292 |
<th>Type</th> |
293 |
<th>Type</th> |
Lines 304-310
canned reports and writing custom SQL reports.</p>
Link Here
|
304 |
<tbody> |
305 |
<tbody> |
305 |
[% FOREACH savedreport IN savedreports %] |
306 |
[% FOREACH savedreport IN savedreports %] |
306 |
[% UNLESS ( loop.odd ) %]<tr class="odd">[% ELSE %]<tr>[% END %] |
307 |
[% UNLESS ( loop.odd ) %]<tr class="odd">[% ELSE %]<tr>[% END %] |
307 |
<td><label>[% savedreport.id %] <input type="checkbox" name="ids" value="[% savedreport.id %]" /></label></td> |
308 |
<td><input type="checkbox" name="ids" value="[% savedreport.id %]" /></td> |
|
|
309 |
<td><label for="ids">[% savedreport.id %]</label></td> |
308 |
<td> |
310 |
<td> |
309 |
[% IF ( savedreport.report_name ) %] |
311 |
[% IF ( savedreport.report_name ) %] |
310 |
[% savedreport.report_name %] |
312 |
[% savedreport.report_name %] |
311 |
- |
|
|