projects
/
fa-stable.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bed9679
)
Rep 704 GL Account Transactions report shows html code on Person/Item if PT_WORKORDER...
author
Joe Hunt
<joe.hunt.consulting@gmail.com>
Sat, 9 Jan 2021 13:58:02 +0000
(14:58 +0100)
committer
Joe Hunt
<joe.hunt.consulting@gmail.com>
Sat, 9 Jan 2021 13:58:02 +0000
(14:58 +0100)
reporting/rep704.php
patch
|
blob
|
history
diff --git
a/reporting/rep704.php
b/reporting/rep704.php
index f62b2d192bc98d412ce4b2816dda1ba0df19a707..e820655bfff10cc558a4990c169f5776097f8ed9 100644
(file)
--- a/
reporting/rep704.php
+++ b/
reporting/rep704.php
@@
-172,7
+172,10
@@
function print_GL_transactions()
$rep->TextCol(4, 5, get_dimension_string($myrow['dimension_id']));
if ($dim > 1)
$rep->TextCol(5, 6, get_dimension_string($myrow['dimension2_id']));
- $txt = payment_person_name($myrow["person_type_id"],$myrow["person_id"], false);
+ if ($myrow["person_type_id"] == PT_WORKORDER)
+ $txt = "";
+ else
+ $txt = payment_person_name($myrow["person_type_id"],$myrow["person_id"], false);
$memo = $myrow['memo_'];
if ($txt != "")
{