From: Joe Hunt Date: Sat, 9 Jan 2021 13:58:02 +0000 (+0100) Subject: Rep 704 GL Account Transactions report shows html code on Person/Item if PT_WORKORDER... X-Git-Url: https://delta.frontaccounting.com/gitweb/?p=fa-stable.git;a=commitdiff_plain;h=da6c825ef26c6bc0fefeb97328a85b9e9c04f46b Rep 704 GL Account Transactions report shows html code on Person/Item if PT_WORKORDER. Fixed. --- diff --git a/reporting/rep704.php b/reporting/rep704.php index f62b2d19..e820655b 100644 --- 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 != "") {