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