|
Lines 1-3
Link Here
|
|
|
1 |
[% USE KohaDates %] |
| 1 |
[% INCLUDE 'doc-head-open.inc' %] |
2 |
[% INCLUDE 'doc-head-open.inc' %] |
| 2 |
<title>Koha › Patrons › Account for [% INCLUDE 'patron-title.inc' %]</title> |
3 |
<title>Koha › Patrons › Account for [% INCLUDE 'patron-title.inc' %]</title> |
| 3 |
[% INCLUDE 'doc-head-close.inc' %] |
4 |
[% INCLUDE 'doc-head-close.inc' %] |
|
Lines 10-16
$(document).ready(function() {
Link Here
|
| 10 |
var table_account_fines = $("#table_account_fines").dataTable($.extend(true, {}, dataTablesDefaults, { |
11 |
var table_account_fines = $("#table_account_fines").dataTable($.extend(true, {}, dataTablesDefaults, { |
| 11 |
"sPaginationType": "four_button", |
12 |
"sPaginationType": "four_button", |
| 12 |
'aaSorting': [[0, 'desc']], |
13 |
'aaSorting': [[0, 'desc']], |
| 13 |
"sDom": 'C<"top pager"ilpf><"#filter_c">tr<"bottom pager"ip>' |
14 |
"sDom": 'C<"top pager"ilpf><"#filter_c">tr<"bottom pager"ip>', |
|
|
15 |
"aoColumnDefs": [ |
| 16 |
{ "sType": "title-string", "aTargets" : [ "title-string" ] } |
| 17 |
] |
| 14 |
})); |
18 |
})); |
| 15 |
$("#filter_c").html('<p><a href="#" id="filter_transacs">'+txtActivefilter+'</a>'); |
19 |
$("#filter_c").html('<p><a href="#" id="filter_transacs">'+txtActivefilter+'</a>'); |
| 16 |
$('#filter_transacs').click(function(e) { |
20 |
$('#filter_transacs').click(function(e) { |
|
Lines 55-61
$(document).ready(function() {
Link Here
|
| 55 |
<table id="table_account_fines"> |
59 |
<table id="table_account_fines"> |
| 56 |
<thead> |
60 |
<thead> |
| 57 |
<tr> |
61 |
<tr> |
| 58 |
<th>Date</th> |
62 |
<th class="title-string">Date</th> |
| 59 |
<th>Description of charges</th> |
63 |
<th>Description of charges</th> |
| 60 |
<th>Note</th> |
64 |
<th>Note</th> |
| 61 |
<th>Amount</th> |
65 |
<th>Amount</th> |
|
Lines 71-77
$(document).ready(function() {
Link Here
|
| 71 |
[% FOREACH account IN accounts %] |
75 |
[% FOREACH account IN accounts %] |
| 72 |
|
76 |
|
| 73 |
[% IF ( loop.odd ) %]<tr>[% ELSE %]<tr class="highlight">[% END %] |
77 |
[% IF ( loop.odd ) %]<tr>[% ELSE %]<tr class="highlight">[% END %] |
| 74 |
<td>[% account.date %]</td> |
78 |
<td><span title="[% account.date %]">[% account.date |$KohaDates %]</span></td> |
| 75 |
<td> |
79 |
<td> |
| 76 |
[% SWITCH account.accounttype %] |
80 |
[% SWITCH account.accounttype %] |
| 77 |
[% CASE 'Pay' %]Payment, thanks |
81 |
[% CASE 'Pay' %]Payment, thanks |