@@ -, +, @@ --- .../intranet-tmpl/prog/en/modules/members/paycollect.tt | 17 ++++++++++++----- members/pay.pl | 2 +- 2 files changed, 13 insertions(+), 6 deletions(-) --- a/koha-tmpl/intranet-tmpl/prog/en/modules/members/paycollect.tt +++ a/koha-tmpl/intranet-tmpl/prog/en/modules/members/paycollect.tt @@ -146,7 +146,7 @@ function moneyFormat(textObj) {
  • - +
  • @@ -167,7 +167,6 @@ function moneyFormat(textObj) { - @@ -180,7 +179,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 %] @@ -190,8 +189,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( --