@@ -, +, @@ --- koha-tmpl/intranet-tmpl/prog/en/modules/members/paycollect.tt | 7 ++++--- members/paycollect.pl | 2 +- 2 files changed, 5 insertions(+), 4 deletions(-) --- a/koha-tmpl/intranet-tmpl/prog/en/modules/members/paycollect.tt +++ a/koha-tmpl/intranet-tmpl/prog/en/modules/members/paycollect.tt @@ -245,11 +245,12 @@ $(document).ready(function() { [% IF ( give_change ) %]
  • - - + + [% amount_paid %]
  • - + + [% amount_collected %]
  • --- a/members/paycollect.pl +++ a/members/paycollect.pl @@ -114,7 +114,7 @@ if ( $total_paid and $total_paid ne '0.00' ) { error_collected_less => 1, ); } - elsif ($total_paid > $total_due) { + elsif ($total_paid >= $total_due and $total_collected ne $total_paid) { $template->param( amount_paid => sprintf('%.2f', $total_due), amount_collected => sprintf('%.2f', $total_collected), --