@@ -, +, @@ --- .../intranet-tmpl/prog/en/modules/members/paycollect.tt | 15 +++++++++++---- members/pay.pl | 2 +- 2 files changed, 12 insertions(+), 5 deletions(-) --- a/koha-tmpl/intranet-tmpl/prog/en/modules/members/paycollect.tt +++ a/koha-tmpl/intranet-tmpl/prog/en/modules/members/paycollect.tt @@ -165,7 +165,6 @@ function moneyFormat(textObj) { - @@ -178,7 +177,7 @@ function moneyFormat(textObj) { Amount Amount outstanding - Total amount to be written off:[% amountoutstanding | format('%.2f') %] + Total amount outstanding:[% amountoutstanding | format('%.2f') %] [% description %] [% title %] [% accounttype %] @@ -188,8 +187,16 @@ function moneyFormat(textObj) { [% amountoutstanding | format('%.2f') %] - -
+ +
    +
  1. + + + +
  2. +
+ +
Cancel
[% ELSE %] --- a/members/pay.pl +++ a/members/pay.pl @@ -97,7 +97,7 @@ if ($writeoff_all) { writeoff_all(@names); } elsif ($writeoff_item) { my $accountlines_id = $input->param('accountlines_id'); - my $amount = $input->param('amountoutstanding'); + my $amount = $input->param('amountwrittenoff'); my $payment_note = $input->param("payment_note"); Koha::Account->new( { patron_id => $borrowernumber } )->pay( --