Lines 334-345
Link Here
|
334 |
|
334 |
|
335 |
var txtActivefilter = _("Filter paid transactions"); |
335 |
var txtActivefilter = _("Filter paid transactions"); |
336 |
var txtInactivefilter = _("Show all transactions"); |
336 |
var txtInactivefilter = _("Show all transactions"); |
337 |
var columns_settings = [% TablesSettings.GetColumns('members', 'fines', 'account-fines', 'json') | $raw %]; |
337 |
var table_settings = [% TablesSettings.GetTableSettings('members', 'fines', 'account-fines', 'json') | $raw %]; |
338 |
var table_account_fines = KohaTable("table_account_fines", { |
338 |
var table_account_fines = KohaTable("table_account_fines", { |
339 |
"sPaginationType": "full", |
339 |
"sPaginationType": "full", |
340 |
'aaSorting': [[0, 'desc']], |
340 |
'aaSorting': [[0, 'desc']], |
341 |
"sDom": 'C<"top pager"ilpfB><"#filter_c">tr<"bottom pager"ip>', |
341 |
"sDom": 'C<"top pager"ilpfB><"#filter_c">tr<"bottom pager"ip>', |
342 |
}, columns_settings); |
342 |
}, table_settings); |
343 |
$("#filter_c").html('<p><a href="#" id="filter_transacs"><i class="fa fa-filter"></i> '+txtActivefilter+'</a>'); |
343 |
$("#filter_c").html('<p><a href="#" id="filter_transacs"><i class="fa fa-filter"></i> '+txtActivefilter+'</a>'); |
344 |
$('#filter_transacs').click(function(e) { |
344 |
$('#filter_transacs').click(function(e) { |
345 |
e.preventDefault(); |
345 |
e.preventDefault(); |
346 |
- |
|
|