X-Git-Url: https://delta.frontaccounting.com/gitweb/?a=blobdiff_plain;f=reporting%2Frep201.php;h=29f543324aa6b070c4a12bd195de904fc0437232;hb=61c780745e4743d3bf4c8ef8d23ad2f34ddc121b;hp=380af70de90695a291a7237e9ec257671aeb3605;hpb=d567a10b7925c8bb97c734e213d6651a979af29d;p=fa-stable.git diff --git a/reporting/rep201.php b/reporting/rep201.php index 380af70d..29f54332 100644 --- a/reporting/rep201.php +++ b/reporting/rep201.php @@ -149,7 +149,7 @@ function print_supplier_balances() else $item[3] = ($trans['TotalAmount'] + $trans['Allocated']) * $rate; */ - if ($trans['type'] == 20) + if ($trans['type'] == 20 || $trans['type'] == 2) $item[3] = $item[0] + $item[1] - $item[2]; else $item[3] = $item[0] - $item[1] + $item[2];