projects
/
fa-stable.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merged changes from main trunk up to version_2_1_4
[fa-stable.git]
/
reporting
/
rep201.php
diff --git
a/reporting/rep201.php
b/reporting/rep201.php
index 45ce3ef988440856c762033aa6ed96cc31b3ce77..756e83c64ab696fdd9d9bcc9c610c3bb75bc6313 100644
(file)
--- 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];