X-Git-Url: https://delta.frontaccounting.com/gitweb/?a=blobdiff_plain;f=reporting%2Frep702.php;h=05c2ec5e86ebc305b50b5b6d1e265053c1f40e74;hb=2aea99756a8c19766f0f9dfee56b27f7c1994f37;hp=d32c787e55ad52d456317447c583c356d820f479;hpb=40da959b32eb27fcb0422207a284eed13cc27d7e;p=fa-stable.git diff --git a/reporting/rep702.php b/reporting/rep702.php index d32c787e..05c2ec5e 100644 --- a/reporting/rep702.php +++ b/reporting/rep702.php @@ -99,7 +99,7 @@ function print_list_of_journal_entries() $rep->TextCol(0, 1, $TransName . " # " . $myrow['type_no']); $rep->TextCol(1, 2, get_reference($myrow['type'], $myrow['type_no'])); $rep->DateCol(2, 3, $myrow['tran_date'], true); - $coms = payment_person_name($myrow["person_type_id"],$myrow["person_id"]); + $coms = get_subaccount_name($myrow["account"], $myrow["person_id"]); $memo = get_comments_string($myrow['type'], $myrow['type_no']); if ($memo != '') { @@ -147,4 +147,3 @@ function print_list_of_journal_entries() $rep->End(); } -?> \ No newline at end of file