X-Git-Url: https://delta.frontaccounting.com/gitweb/?a=blobdiff_plain;f=reporting%2Frep201.php;h=756e83c64ab696fdd9d9bcc9c610c3bb75bc6313;hb=7e8c90ee7e898a9181f62f387ccb92158f47f59c;hp=45ce3ef988440856c762033aa6ed96cc31b3ce77;hpb=c69bd73ab0f04393cad2f14bd233948cabbc2dc3;p=fa-stable.git diff --git a/reporting/rep201.php b/reporting/rep201.php index 45ce3ef9..756e83c6 100644 --- a/reporting/rep201.php +++ b/reporting/rep201.php @@ -198,7 +198,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];