projects
/
fa-stable.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Improved float compare in certain files (AR/AP ledger)
[fa-stable.git]
/
reporting
/
rep202.php
diff --git
a/reporting/rep202.php
b/reporting/rep202.php
index f18abaec1b83da9634f048373b3257481bc6d80d..32f7bed3fe4273c2bce2954cf8bfc454b0285962 100644
(file)
--- a/
reporting/rep202.php
+++ b/
reporting/rep202.php
@@
-182,7
+182,7
@@
function print_aged_supplier_analysis()
$supprec["Overdue2"],
$supprec["Balance"]);
- if ($no_zeros &&
array_sum($str
) == 0) continue;
+ if ($no_zeros &&
floatcmp(array_sum($str), 0
) == 0) continue;
$rep->fontSize += 2;
$rep->TextCol(0, 2, $myrow['name']);