Lines 1-5
Link Here
|
1 |
[% USE KohaDates %] |
1 |
[% USE KohaDates %] |
2 |
[% USE Koha %] |
2 |
[% USE Koha %] |
|
|
3 |
[% USE ColumnsSettings %] |
3 |
[% SET footerjs = 1 %] |
4 |
[% SET footerjs = 1 %] |
4 |
[%- BLOCK area_name -%] |
5 |
[%- BLOCK area_name -%] |
5 |
[%- SWITCH area -%] |
6 |
[%- SWITCH area -%] |
Lines 178-184
canned reports and writing custom SQL reports.</p>
Link Here
|
178 |
[% IF (usecache) %] <th>Cache expiry (seconds)</th> [% END %] |
179 |
[% IF (usecache) %] <th>Cache expiry (seconds)</th> [% END %] |
179 |
<th>Saved results</th> |
180 |
<th>Saved results</th> |
180 |
[% IF has_obsolete_reports %]<th>Update</th>[% END %] |
181 |
[% IF has_obsolete_reports %]<th>Update</th>[% END %] |
181 |
<th> </th> |
182 |
<th>Actions</th> |
182 |
</tr> |
183 |
</tr> |
183 |
</thead> |
184 |
</thead> |
184 |
<tbody> |
185 |
<tbody> |
Lines 953-960
Sub report:<select name="subreport">
Link Here
|
953 |
[% INCLUDE 'calendar.inc' %] |
954 |
[% INCLUDE 'calendar.inc' %] |
954 |
[% IF ( saved1 ) %] |
955 |
[% IF ( saved1 ) %] |
955 |
[% INCLUDE 'datatables.inc' %] |
956 |
[% INCLUDE 'datatables.inc' %] |
|
|
957 |
[% INCLUDE 'columns_settings.inc' %] |
956 |
[% END %] |
958 |
[% END %] |
957 |
<script type="text/javascript"> |
959 |
<script> |
958 |
var MSG_CONFIRM_DELETE = _("Are you sure you want to delete this report? This cannot be undone."); |
960 |
var MSG_CONFIRM_DELETE = _("Are you sure you want to delete this report? This cannot be undone."); |
959 |
var group_subgroups = {}; |
961 |
var group_subgroups = {}; |
960 |
[% FOREACH group IN groups_with_subgroups %] |
962 |
[% FOREACH group IN groups_with_subgroups %] |
Lines 986-991
Sub report:<select name="subreport">
Link Here
|
986 |
$(document).ready(function(){ |
988 |
$(document).ready(function(){ |
987 |
|
989 |
|
988 |
$('[data-toggle="tooltip"]').tooltip(); |
990 |
$('[data-toggle="tooltip"]').tooltip(); |
|
|
991 |
var columns_settings = [% ColumnsSettings.GetColumns( 'reports', 'saved-sql', 'table_reports', 'json' ) %]; |
989 |
|
992 |
|
990 |
$('#limit').change(function() { |
993 |
$('#limit').change(function() { |
991 |
$('#limitselect').submit(); |
994 |
$('#limitselect').submit(); |
Lines 1009-1015
Sub report:<select name="subreport">
Link Here
|
1009 |
}); |
1012 |
}); |
1010 |
|
1013 |
|
1011 |
[% IF (saved1) %] |
1014 |
[% IF (saved1) %] |
1012 |
var rtable = $("#table_reports").dataTable($.extend(true, {}, dataTablesDefaults, { |
1015 |
var rtable = KohaTable("table_reports", { |
1013 |
'iDisplayLength': [% Koha.Preference('NumSavedReports') %], |
1016 |
'iDisplayLength': [% Koha.Preference('NumSavedReports') %], |
1014 |
'bAutoWidth': false, |
1017 |
'bAutoWidth': false, |
1015 |
'sPaginationType': 'four_button', |
1018 |
'sPaginationType': 'four_button', |
Lines 1022-1029
Sub report:<select name="subreport">
Link Here
|
1022 |
], |
1025 |
], |
1023 |
'oLanguage': { |
1026 |
'oLanguage': { |
1024 |
'sZeroRecords': _("No matching reports found") |
1027 |
'sZeroRecords': _("No matching reports found") |
1025 |
} |
1028 |
}, |
1026 |
})); |
1029 |
}, columns_settings); |
1027 |
|
1030 |
|
1028 |
var rtabs = $("#tabs").tabs(); |
1031 |
var rtabs = $("#tabs").tabs(); |
1029 |
rtabs.on("tabsactivate", function(e, ui) { |
1032 |
rtabs.on("tabsactivate", function(e, ui) { |
1030 |
- |
|
|