X-Git-Url: https://delta.frontaccounting.com/gitweb/?a=blobdiff_plain;f=reporting%2Frep101.php;h=d8f37c77a74e3ad6bc5553625517bfe183461e2e;hb=7e8c90ee7e898a9181f62f387ccb92158f47f59c;hp=9476d543e715d3787d175dd3d0ef4ec669fb5051;hpb=c69bd73ab0f04393cad2f14bd233948cabbc2dc3;p=fa-stable.git diff --git a/reporting/rep101.php b/reporting/rep101.php index 9476d543..d8f37c77 100644 --- a/reporting/rep101.php +++ b/reporting/rep101.php @@ -207,7 +207,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];