1 (edited by notrinos 01/08/2021 12:48:56 pm)

Topic: Rep 704 GL Account Transactions report shows html code on Person/Item

Steps to reaproduce this problem :
1. Add a cost to an Advance Manufacture work order, this process will create a journal entry
2. Open General Ledger report -> GL Account Transactions, this report will show html code in the Person/Item column for the created journal entry.
See this image

Phuong

2 (edited by notrinos 01/09/2021 10:25:50 am)

Re: Rep 704 GL Account Transactions report shows html code on Person/Item

To fix this issue replace line 175 of rep704.php with this code:

if($myrow["person_type_id"] == PT_WORKORDER)
    $txt = '';
else
    $txt = payment_person_name($myrow["person_type_id"], $myrow["person_id"], false);
Phuong

Re: Rep 704 GL Account Transactions report shows html code on Person/Item

Thanks @notrinos for detecting this. Will be fixed asap.

Joe

Re: Rep 704 GL Account Transactions report shows html code on Person/Item

Committed to stable repo.

/Joe

Re: Rep 704 GL Account Transactions report shows html code on Person/Item

Hello @notrinos and all interested parties.

This was NOT a bug in rep 704, but in /includes/types.inc, function payment_person_name. The string returned from here was mistakenly a link and that didn't work in reports. Fixed now in function payment_person_name, and rep704.php has been restored. A similar bug was also in rep601, bank statements, also fixed now.

Committed to stable repo.

/Joe