Allowed multiply bank accounts on same gl account, removed bank trans type.
[fa-stable.git] / gl / view / gl_payment_view.php
index f52dc67221420c954d9908a9644d7efa4a05a023..520de94d252d2aa6c743a5bda2ce501a3a823ff5 100644 (file)
@@ -58,7 +58,7 @@ label_cells(_("Date"), sql2date($from_trans['trans_date']), "class='tableheader2
 end_row();
 start_row();
 label_cells(_("Pay To"), payment_person_types::person_name($from_trans['person_type_id'], $from_trans['person_id']), "class='tableheader2'", "colspan=$colspan1");
-label_cells(_("Payment Type"), $from_trans['BankTransType'], "class='tableheader2'");
+label_cells(_("Payment Type"),bank_account_types::transfer_type($from_trans['account_type']), "class='tableheader2'");
 end_row();
 start_row();
 label_cells(_("Reference"), $from_trans['ref'], "class='tableheader2'", "colspan=$colspan2");