Lines 116-122
Link Here
|
116 |
[% IF account.is_credit && account.status != 'VOID' %] |
116 |
[% IF account.is_credit && account.status != 'VOID' %] |
117 |
<a href="boraccount.pl?action=void&accountlines_id=[% account.accountlines_id | uri %]&borrowernumber=[% account.borrowernumber | uri %]" class="btn btn-default btn-xs void"><i class="fa fa-ban"></i> Void payment</a> |
117 |
<a href="boraccount.pl?action=void&accountlines_id=[% account.accountlines_id | uri %]&borrowernumber=[% account.borrowernumber | uri %]" class="btn btn-default btn-xs void"><i class="fa fa-ban"></i> Void payment</a> |
118 |
[% END %] |
118 |
[% END %] |
119 |
[% IF account.is_debit && account.amount == account.amountoutstanding && account.status != 'CANCELLED' && !(account.debit_type_code == 'PAYOUT') %] |
119 |
[% IF account.is_debit && account.status != 'CANCELLED' && !(account.debit_type_code == 'PAYOUT') && !(account.debit_type_code == 'VOID') && !account.can_be_cancelled %] |
120 |
<form method="post" action="/cgi-bin/koha/members/cancel-charge.pl"> |
120 |
<form method="post" action="/cgi-bin/koha/members/cancel-charge.pl"> |
121 |
<input type="hidden" name="csrf_token" value="[% csrf_token | html %]"> |
121 |
<input type="hidden" name="csrf_token" value="[% csrf_token | html %]"> |
122 |
<input type="hidden" name="borrowernumber" value="[% patron.borrowernumber | html %]"> |
122 |
<input type="hidden" name="borrowernumber" value="[% patron.borrowernumber | html %]"> |
123 |
- |
|
|