X-Git-Url: https://delta.frontaccounting.com/gitweb/?a=blobdiff_plain;f=reporting%2Frep101.php;h=1745d93d6986a38a5948d8249f58175018fa9ffb;hb=61c780745e4743d3bf4c8ef8d23ad2f34ddc121b;hp=d8ad7d6482609716822809baf196877370b5aefd;hpb=d567a10b7925c8bb97c734e213d6651a979af29d;p=fa-stable.git diff --git a/reporting/rep101.php b/reporting/rep101.php index d8ad7d64..1745d93d 100644 --- a/reporting/rep101.php +++ b/reporting/rep101.php @@ -152,7 +152,7 @@ function print_customer_balances() else $item[3] = ($trans['TotalAmount'] + $trans['Allocated']) * $rate; */ - if ($trans['type'] == 10) + if ($trans['type'] == 10 || $trans['type'] == 1) $item[3] = $item[0] + $item[1] - $item[2]; else $item[3] = $item[0] - $item[1] + $item[2];