Lines 75-80
function load_group_subgroups () {
Link Here
|
75 |
} |
75 |
} |
76 |
|
76 |
|
77 |
$(document).ready(function(){ |
77 |
$(document).ready(function(){ |
|
|
78 |
|
79 |
$('[data-toggle="tooltip"]').tooltip(); |
80 |
|
78 |
$('#limit').change(function() { |
81 |
$('#limit').change(function() { |
79 |
$('#limitselect').submit(); |
82 |
$('#limitselect').submit(); |
80 |
}); |
83 |
}); |
Lines 92-97
$("#delColumn").on("click",function(){
Link Here
|
92 |
delColumn(); |
95 |
delColumn(); |
93 |
}); |
96 |
}); |
94 |
|
97 |
|
|
|
98 |
$(".send_to_item_mod").click(function(e){ |
99 |
e.preventDefault(); |
100 |
$("#report_results").attr("action","/cgi-bin/koha/tools/batchMod.pl"); |
101 |
$("#report_results").submit(); |
102 |
}); |
103 |
|
95 |
[% IF (saved1) %] |
104 |
[% IF (saved1) %] |
96 |
var rtable = $("#table_reports").dataTable($.extend(true, {}, dataTablesDefaults, { |
105 |
var rtable = $("#table_reports").dataTable($.extend(true, {}, dataTablesDefaults, { |
97 |
'iDisplayLength': [% Koha.Preference('NumSavedReports') %], |
106 |
'iDisplayLength': [% Koha.Preference('NumSavedReports') %], |
Lines 920-933
canned reports and writing custom SQL reports.</p>
Link Here
|
920 |
|
929 |
|
921 |
<div class="pages">[% pagination_bar %]</div> |
930 |
<div class="pages">[% pagination_bar %]</div> |
922 |
[% UNLESS ( errors ) %] |
931 |
[% UNLESS ( errors ) %] |
|
|
932 |
<form method="POST" id="report_results"> |
933 |
<input type="hidden" name="op" value="show"> |
923 |
<table> |
934 |
<table> |
924 |
<tr>[% FOREACH header_ro IN header_row %]<th>[% header_ro.cell %]</th>[% END %]</tr> |
935 |
<tr>[% FOREACH header_ro IN header_row %] |
|
|
936 |
[% IF header_ro.cell == 'itemnumber' %] |
937 |
<th>[% header_ro.cell %] <a href="" data-toggle="tooltip" title="Send visible items to batch modification" class="send_to_item_mod">^</a></th> |
938 |
[% ELSE %] |
939 |
<th>[% header_ro.cell %]</th> |
940 |
[% END %] |
941 |
[% END %]</tr> |
925 |
[% FOREACH result IN results %] |
942 |
[% FOREACH result IN results %] |
926 |
<tr> |
943 |
<tr> |
927 |
[% FOREACH cell IN result.cells %]<td>[% cell.cell %]</td>[% END %] |
944 |
[% FOREACH cells IN result.cells %] |
|
|
945 |
[% place = loop.index %] |
946 |
[% IF header_row.$place.cell == 'itemnumber' %] |
947 |
<input type="hidden" name="[% header_row.$place.cell | html %]" value="[% cells.cell | html %]"> |
948 |
[% END %] |
949 |
<td>[% cells.cell %]</td> |
950 |
[% END %] |
928 |
</tr> |
951 |
</tr> |
929 |
[% END %] |
952 |
[% END %] |
930 |
</table> |
953 |
</table> |
|
|
954 |
</form> |
931 |
[% END %] |
955 |
[% END %] |
932 |
[% END %] |
956 |
[% END %] |
933 |
|
957 |
|
934 |
- |
|
|