projects
/
freeside.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
47a843b
)
fix rounding error in CCH tax appropriation, RT#41610
author
Ivan Kohler
<ivan@freeside.biz>
Wed, 6 Apr 2016 03:07:23 +0000
(20:07 -0700)
committer
Ivan Kohler
<ivan@freeside.biz>
Wed, 6 Apr 2016 03:07:23 +0000
(20:07 -0700)
httemplate/edit/elements/ApplicationCommon.html
patch
|
blob
|
history
diff --git
a/httemplate/edit/elements/ApplicationCommon.html
b/httemplate/edit/elements/ApplicationCommon.html
index
acc3368
..
4d7f921
100644
(file)
--- a/
httemplate/edit/elements/ApplicationCommon.html
+++ b/
httemplate/edit/elements/ApplicationCommon.html
@@
-158,6
+158,7
@@
function changed(what) {
% }
% $desc .= ' (default)';
% }
+% $total_owed = sprintf('%.2f', $total_owed + 0.00000001 ); #so 1.005 rounds to 1.01
% if ( $total_owed > 0 ) {
<% &{$row_generator}($key, $cbp, $desc, $total_owed, $amount, '') %>
% }