projects
/
fa-stable.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
When saving a Payment to a Customer in Bank Payments (normally payment to suppliers...
[fa-stable.git]
/
reporting
/
rep201.php
diff --git
a/reporting/rep201.php
b/reporting/rep201.php
index 380af70de90695a291a7237e9ec257671aeb3605..29f543324aa6b070c4a12bd195de904fc0437232 100644
(file)
--- 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];