0001503: Request - fee account included in bank account table
[fa-stable.git] / gl / inquiry / bank_inquiry.php
index b264fe7f673f539571e71d27d8f51bcaefbac00a..30380989c73ab95a6a557a55b34587a00e95dfa2 100644 (file)
@@ -102,7 +102,7 @@ while ($myrow = db_fetch($result))
        label_cell($trandate);
        display_debit_or_credit_cells($myrow["amount"]);
        amount_cell($running_total);
-       label_cell(payment_person_name($myrow["person_type_id"],$myrow["person_id"]));
+       label_cell(get_counterparty_name($myrow["type"], $myrow["trans_no"]));
        label_cell(get_gl_view_str($myrow["type"], $myrow["trans_no"]));
        end_row();
        if ($myrow["amount"] > 0 )