http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=9141
Paul Poulain <paul.poul...@biblibre.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |paul.poul...@biblibre.com QA Contact| |paul.poul...@biblibre.com --- Comment #3 from Paul Poulain <paul.poul...@biblibre.com> --- QA comment: tiny patch, but I think it could be even simpler. Instead of using a error_over => 1, why not use total_due = -[% IF ( error ) %] +[% IF (total_due > 0 ) %] should achieve the same result, isn't it ? In this case the patch would just be: -[% IF ( error ) %] +[% IF (total_due > 0 ) %] - [% error %] + You must pay a value less than or equal to [% total_due | format('%.2f') %]. - error => sprintf( 'You must pay a value less than or equal to %f.2', - $total_due ) + total_due => $total_due Your opinion ? -- You are receiving this mail because: You are watching all bug changes. _______________________________________________ Koha-bugs mailing list Koha-bugs@lists.koha-community.org http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs website : http://www.koha-community.org/ git : http://git.koha-community.org/ bugs : http://bugs.koha-community.org/