X-Git-Url: https://delta.frontaccounting.com/gitweb/?a=blobdiff_plain;f=reporting%2Frep101.php;h=0ff78c8ba7bb569df8b8be90f7608560ab292cf3;hb=5c9265bed9bc5c3e9e2f324c77febe15994b79e9;hp=3f1ece787898c3784891b58ce565764c19c7afbe;hpb=9b1b5c83a37376d2076334952db1d1f739a26d1c;p=fa-stable.git diff --git a/reporting/rep101.php b/reporting/rep101.php index 3f1ece78..0ff78c8b 100644 --- a/reporting/rep101.php +++ b/reporting/rep101.php @@ -189,7 +189,7 @@ function print_customer_balances() $rep->Line($rep->row + 4); while ($trans = db_fetch($res)) { - if ($no_zeros && $trans['TotalAmount'] == 0 && $trans['Allocated'] == 0) continue; + if ($no_zeros && floatcmp($trans['TotalAmount'], $trans['Allocated']) == 0) continue; $rep->NewLine(1, 2); $rep->TextCol(0, 1, $systypes_array[$trans['type']]); $rep->TextCol(1, 2, $trans['reference']);