Lines 1-3
Link Here
|
|
|
1 |
[% USE KohaDates %] |
1 |
[% INCLUDE 'doc-head-open.inc' %] |
2 |
[% INCLUDE 'doc-head-open.inc' %] |
2 |
<title>Koha › Reports › Guided reports wizard |
3 |
<title>Koha › Reports › Guided reports wizard |
3 |
[% IF ( saved1 ) %]› Saved Reports |
4 |
[% IF ( saved1 ) %]› Saved Reports |
Lines 21-36
Link Here
|
21 |
</style> |
22 |
</style> |
22 |
[% IF ( saved1 ) %] |
23 |
[% IF ( saved1 ) %] |
23 |
<link rel="stylesheet" type="text/css" href="[% themelang %]/css/datatables.css" /> |
24 |
<link rel="stylesheet" type="text/css" href="[% themelang %]/css/datatables.css" /> |
24 |
<script type="text/javascript" src="[% themelang %]/lib/jquery/plugins/jquery.dataTables.min.js"></script> |
25 |
[% INCLUDE 'datatables.inc' %] |
25 |
[% INCLUDE 'datatables-strings.inc' %] |
|
|
26 |
<script type="text/javascript" src="[% themelang %]/js/datatables.js"></script> |
27 |
[% END %] |
26 |
[% END %] |
28 |
|
27 |
|
29 |
<script type="text/javascript"> |
28 |
<script type="text/javascript"> |
30 |
//<![CDATA[ |
29 |
//<![CDATA[ |
31 |
[% IF (dateformat == 'metric' && saved1) %] |
|
|
32 |
dt_add_type_uk_date(); |
33 |
[% END %] |
34 |
var group_subgroups = {}; |
30 |
var group_subgroups = {}; |
35 |
[% FOREACH group IN groups_with_subgroups %] |
31 |
[% FOREACH group IN groups_with_subgroups %] |
36 |
var gid = "[% group.id %]" |
32 |
var gid = "[% group.id %]" |
Lines 61-69
function load_group_subgroups () {
Link Here
|
61 |
$(document).ready(function(){ |
57 |
$(document).ready(function(){ |
62 |
|
58 |
|
63 |
[% IF (saved1) %] |
59 |
[% IF (saved1) %] |
64 |
[% IF (dateformat == "metric") %] |
|
|
65 |
dt_add_type_uk_date(); |
66 |
[% END %] |
67 |
var rtable = $("#table_reports").dataTable($.extend(true, {}, dataTablesDefaults, { |
60 |
var rtable = $("#table_reports").dataTable($.extend(true, {}, dataTablesDefaults, { |
68 |
'bAutoWidth': false, |
61 |
'bAutoWidth': false, |
69 |
'sDom': 't<"bottom pager"ilpf>', |
62 |
'sDom': 't<"bottom pager"ilpf>', |
Lines 72-81
$(document).ready(function(){
Link Here
|
72 |
'iDisplayLength': 20, |
65 |
'iDisplayLength': 20, |
73 |
'aaSorting': [[ 1, "asc" ]], |
66 |
'aaSorting': [[ 1, "asc" ]], |
74 |
'aoColumnDefs': [ |
67 |
'aoColumnDefs': [ |
75 |
{ 'bSortable': false, 'bSearchable':false, 'aTargets': [0, -1, -2, -3, -4] }, |
68 |
{ 'bSortable': false, 'bSearchable':false, 'aTargets': [0, -1, -2, -3] }, |
76 |
{ 'bSearchable': false, 'aTargets': [3, 4] }, |
69 |
{ 'bSearchable': false, 'aTargets': [3, 4] }, |
77 |
{ "aTargets": [ 1, 2 ], "sType": "natural" } |
70 |
{ "aTargets": [ 1, 2 ], "sType": "natural" } |
78 |
], |
71 |
], |
|
|
72 |
"aoColumns": [ |
73 |
null,null,null,null,null,null,null,null,{ "sType": "title-string" },null,[% IF (usecache) %]null,[% END %]null,null |
74 |
], |
79 |
'oLanguage': { |
75 |
'oLanguage': { |
80 |
'sZeroRecords': _("No matching reports found") |
76 |
'sZeroRecords': _("No matching reports found") |
81 |
} |
77 |
} |
Lines 326-332
canned reports and writing custom SQL reports.</p>
Link Here
|
326 |
<td>[% savedreport.subgroupname %]</td> |
322 |
<td>[% savedreport.subgroupname %]</td> |
327 |
<td>[% savedreport.notes %]</td> |
323 |
<td>[% savedreport.notes %]</td> |
328 |
<td>[% savedreport.borrowersurname %][% IF ( savedreport.borrowerfirstname ) %], [% savedreport.borrowerfirstname %][% END %] ([% savedreport.borrowernumber %])</td> |
324 |
<td>[% savedreport.borrowersurname %][% IF ( savedreport.borrowerfirstname ) %], [% savedreport.borrowerfirstname %][% END %] ([% savedreport.borrowernumber %])</td> |
329 |
<td>[% savedreport.date_created %]</td> |
325 |
<td><span title="[% savedreport.date_created %]">[% savedreport.date_created | $KohaDates %]</span></td> |
330 |
[% IF (savedreport.public) %] |
326 |
[% IF (savedreport.public) %] |
331 |
<td>Yes</td> |
327 |
<td>Yes</td> |
332 |
[% ELSE %] |
328 |
[% ELSE %] |