X-Git-Url: https://delta.frontaccounting.com/gitweb/?a=blobdiff_plain;f=reporting%2Frep601.php;h=ba630465ab1062e2c6a64d11444217674e6759f0;hb=5b8f4c4b4aa8cf996bc071f116bfce1273200fa2;hp=56a53c353ae2c9047aa0d0e2bf8ee6cba809a5b2;hpb=40da959b32eb27fcb0422207a284eed13cc27d7e;p=fa-stable.git diff --git a/reporting/rep601.php b/reporting/rep601.php index 56a53c35..ba630465 100644 --- a/reporting/rep601.php +++ b/reporting/rep601.php @@ -125,7 +125,7 @@ function print_bank_transactions() $rep->TextCol(1, 2, $myrow['trans_no']); $rep->TextCol(2, 3, $myrow['ref']); $rep->DateCol(3, 4, $myrow["trans_date"], true); - $rep->TextCol(4, 5, payment_person_name($myrow["person_type_id"],$myrow["person_id"], false)); + $rep->TextCol(4, 5, get_counterparty_name($myrow["type"], $myrow["trans_no"], false)); if ($myrow['amount'] > 0.0) { $rep->AmountCol(5, 6, abs($myrow['amount']), $dec); @@ -174,4 +174,3 @@ function print_bank_transactions() $rep->End(); } -?> \ No newline at end of file