projects
/
textcart.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
64163f3
)
0001497: Tax for journal entry the other way round
author
Joe Hunt
<joe.hunt.consulting@gmail.com>
Fri, 6 Apr 2012 06:30:20 +0000
(08:30 +0200)
committer
Joe Hunt
<joe.hunt.consulting@gmail.com>
Fri, 6 Apr 2012 06:30:20 +0000
(08:30 +0200)
reporting/rep709.php
patch
|
blob
|
history
diff --git
a/reporting/rep709.php
b/reporting/rep709.php
index dbe25e5bd59e82f1472f06b0c566ee4e9f055baf..54b1a9007ef824d014de5ddab25e935d52201f15 100644
(file)
--- a/
reporting/rep709.php
+++ b/
reporting/rep709.php
@@
-122,7
+122,7
@@
function print_tax_report()
while ($trans=db_fetch($transactions))
{
- if (in_array($trans['trans_type'], array(ST_CUSTCREDIT,ST_SUPPINVOICE))) {
+ if (in_array($trans['trans_type'], array(ST_CUSTCREDIT,ST_SUPPINVOICE
,ST_JOURNAL
))) {
$trans['net_amount'] *= -1;
$trans['amount'] *= -1;
}