[freeside-commits] branch FREESIDE_3_BRANCH updated. b0a7df36df52eebbc75edca3480a0b697459a187
Ivan
ivan at 420.am
Tue Apr 5 20:07:26 PDT 2016
The branch, FREESIDE_3_BRANCH has been updated
via b0a7df36df52eebbc75edca3480a0b697459a187 (commit)
from 72606ff237b4b05bea66ba306627bd464701d2e5 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit b0a7df36df52eebbc75edca3480a0b697459a187
Author: Ivan Kohler <ivan at freeside.biz>
Date: Tue Apr 5 20:07:26 2016 -0700
fix rounding error in CCH tax appropriation, RT#41610
diff --git a/httemplate/edit/elements/ApplicationCommon.html b/httemplate/edit/elements/ApplicationCommon.html
index 7b1050a..ffc303c 100644
--- 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, '') %>
% }
-----------------------------------------------------------------------
Summary of changes:
httemplate/edit/elements/ApplicationCommon.html | 1 +
1 file changed, 1 insertion(+)
More information about the freeside-commits
mailing list