X-Git-Url: https://delta.frontaccounting.com/gitweb/?a=blobdiff_plain;f=reporting%2Frep201.php;h=29f543324aa6b070c4a12bd195de904fc0437232;hb=871a5224ee89ce79dc67b5c8b260d43d586d6dde;hp=380af70de90695a291a7237e9ec257671aeb3605;hpb=6f0c644797c87578c24c94852b5c9b973804a801;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];