X-Git-Url: https://delta.frontaccounting.com/gitweb/?a=blobdiff_plain;f=reporting%2Frep201.php;h=4004c8a219c335bb279198fb0ff014c5e721bd08;hb=a439ecdeaf63c85e1441fe12571baf7fcc5e6fcd;hp=79cd401f1dbeab815384eb73017412762447e841;hpb=9b1b5c83a37376d2076334952db1d1f739a26d1c;p=fa-stable.git diff --git a/reporting/rep201.php b/reporting/rep201.php index 79cd401f..4004c8a2 100644 --- a/reporting/rep201.php +++ b/reporting/rep201.php @@ -175,7 +175,7 @@ function print_supplier_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(abs($trans['TotalAmount']), $trans['Allocated']) == 0) continue; $rep->NewLine(1, 2); $rep->TextCol(0, 1, $systypes_array[$trans['type']]); $rep->TextCol(1, 2, $trans['reference']);