Lines 14-20
$(document).ready(function() {
Link Here
|
14 |
'aaSorting': [[0, 'desc']], |
14 |
'aaSorting': [[0, 'desc']], |
15 |
"sDom": 'C<"top pager"ilpf><"#filter_c">tr<"bottom pager"ip>', |
15 |
"sDom": 'C<"top pager"ilpf><"#filter_c">tr<"bottom pager"ip>', |
16 |
"aoColumnDefs": [ |
16 |
"aoColumnDefs": [ |
17 |
{ "sType": "title-string", "aTargets" : [ "title-string" ] } |
17 |
{ "sType": "title-string", "aTargets" : [ "title-string" ] }, |
|
|
18 |
{ "bSortable": false, "bSearchable": false, "aTargets": [-1] } |
18 |
] |
19 |
] |
19 |
})); |
20 |
})); |
20 |
$("#filter_c").html('<p><a href="#" id="filter_transacs">'+txtActivefilter+'</a>'); |
21 |
$("#filter_c").html('<p><a href="#" id="filter_transacs">'+txtActivefilter+'</a>'); |
Lines 66-74
$(document).ready(function() {
Link Here
|
66 |
<th>Amount</th> |
67 |
<th>Amount</th> |
67 |
<th>Outstanding</th> |
68 |
<th>Outstanding</th> |
68 |
[% IF ( reverse_col ) %] |
69 |
[% IF ( reverse_col ) %] |
69 |
<th> </th> |
70 |
<th>Actions</th> |
|
|
71 |
[% ELSE %] |
72 |
<th> </th> |
70 |
[% END %] |
73 |
[% END %] |
71 |
<th>Print</th> |
|
|
72 |
</tr> |
74 |
</tr> |
73 |
</thead> |
75 |
</thead> |
74 |
|
76 |
|
Lines 104-124
$(document).ready(function() {
Link Here
|
104 |
<td>[% account.note | html_line_break %]</td> |
106 |
<td>[% account.note | html_line_break %]</td> |
105 |
[% IF ( account.amountcredit ) %]<td class="credit" style="text-align: right;">[% ELSE %]<td class="debit" style="text-align: right;">[% END %][% account.amount %]</td> |
107 |
[% IF ( account.amountcredit ) %]<td class="credit" style="text-align: right;">[% ELSE %]<td class="debit" style="text-align: right;">[% END %][% account.amount %]</td> |
106 |
[% IF ( account.amountoutstandingcredit ) %]<td class="credit" style="text-align: right;">[% ELSE %]<td class="debit" style="text-align: right;">[% END %][% account.amountoutstanding %]</td> |
108 |
[% IF ( account.amountoutstandingcredit ) %]<td class="credit" style="text-align: right;">[% ELSE %]<td class="debit" style="text-align: right;">[% END %][% account.amountoutstanding %]</td> |
107 |
[% IF ( reverse_col ) %] |
109 |
<td class="actions"> |
108 |
<td> |
110 |
[% IF ( account.payment ) %] |
109 |
[% IF ( account.payment ) %] |
111 |
<a target="_blank" href="printfeercpt.pl?action=print&accountlines_id=[% account.accountlines_id %]&borrowernumber=[% account.borrowernumber %]" class="btn btn-mini"><i class="fa fa-print"></i> Print</a> |
110 |
<a href="boraccount.pl?action=reverse&accountlines_id=[% account.accountlines_id %]&borrowernumber=[% account.borrowernumber %]">Reverse</a> |
112 |
[% ELSE %] |
111 |
[% ELSE %] |
113 |
<a target="_blank" href="printinvoice.pl?action=print&accountlines_id=[% account.accountlines_id %]&borrowernumber=[% account.borrowernumber %]" class="btn btn-mini"><i class="fa fa-print"></i> Print</a> |
112 |
|
114 |
[% END %] |
113 |
[% END %] |
115 |
[% IF ( reverse_col) %] |
114 |
</td> |
116 |
[% IF ( account.payment ) %] |
115 |
[% END %] |
117 |
<a href="boraccount.pl?action=reverse&accountlines_id=[% account.accountlines_id %]&borrowernumber=[% account.borrowernumber %]" class="btn btn-mini"><i class="fa fa-undo"></i> Reverse</a> |
116 |
<td> |
118 |
[% ELSE %] |
117 |
[% IF ( account.payment ) %] |
119 |
|
118 |
<a target="_blank" href="printfeercpt.pl?action=print&accountlines_id=[% account.accountlines_id %]&borrowernumber=[% account.borrowernumber %]">Print</a> |
120 |
[% END %] |
119 |
[% ELSE %] |
121 |
[% END %] |
120 |
<a target="_blank" href="printinvoice.pl?action=print&accountlines_id=[% account.accountlines_id %]&borrowernumber=[% account.borrowernumber %]">Print</a> |
|
|
121 |
[% END %] |
122 |
</td> |
122 |
</td> |
123 |
</tr> |
123 |
</tr> |
124 |
|
124 |
|
125 |
- |
|
|