|
Lines 77-83
Link Here
|
| 77 |
<a href="boraccount.pl?action=reverse&accountlines_id=[% account.accountlines_id %]&borrowernumber=[% account.borrowernumber %]" class="btn btn-default btn-xs"><i class="fa fa-undo"></i> Reverse</a> |
77 |
<a href="boraccount.pl?action=reverse&accountlines_id=[% account.accountlines_id %]&borrowernumber=[% account.borrowernumber %]" class="btn btn-default btn-xs"><i class="fa fa-undo"></i> Reverse</a> |
| 78 |
[% END %] |
78 |
[% END %] |
| 79 |
[% IF account.amount < 0 %] |
79 |
[% IF account.amount < 0 %] |
| 80 |
<a href="boraccount.pl?action=void&accountlines_id=[% account.accountlines_id %]&borrowernumber=[% account.borrowernumber %]" class="btn btn-default btn-xs"><i class="fa fa-ban"></i> Void</a> |
80 |
<a href="boraccount.pl?action=void&accountlines_id=[% account.accountlines_id %]&borrowernumber=[% account.borrowernumber %]" class="btn btn-default btn-xs void"><i class="fa fa-ban"></i> Void</a> |
| 81 |
[% END %] |
81 |
[% END %] |
| 82 |
[% ELSE %] |
82 |
[% ELSE %] |
| 83 |
|
83 |
|
|
Lines 141-146
Link Here
|
| 141 |
table_account_fines.fnFilter(filteredValue, 4, true, false); |
141 |
table_account_fines.fnFilter(filteredValue, 4, true, false); |
| 142 |
$(this).toggleClass('filtered'); |
142 |
$(this).toggleClass('filtered'); |
| 143 |
}); |
143 |
}); |
|
|
144 |
|
| 145 |
$(".void").on("click",function(e){ |
| 146 |
if( confirm( _("Are you sure you want to void this credit?") ) ) { |
| 147 |
return true; |
| 148 |
} else { |
| 149 |
e.preventDefault(); |
| 150 |
} |
| 151 |
}); |
| 144 |
}); |
152 |
}); |
| 145 |
</script> |
153 |
</script> |
| 146 |
[% END %] |
154 |
[% END %] |
| 147 |
- |
|
|