diff --git a/htdocs/compta/bank/account.php b/htdocs/compta/bank/account.php index c08c2e210a0..1f2ed1352ee 100644 --- a/htdocs/compta/bank/account.php +++ b/htdocs/compta/bank/account.php @@ -404,21 +404,29 @@ function _print_lines($db,$result,$sql,$acct) foreach($links as $key=>$val) { print ' - '; - print ''; if ($links[$key]['type']=='payment') { + print ''; //print img_object($langs->trans('ShowPayment'),'payment').' '; print $langs->trans("Payment"); + print ''; } else if ($links[$key]['type']=='payment_supplier') { + print ''; //print img_object($langs->trans('ShowPayment'),'payment').' '; print $langs->trans("Payment"); + print ''; } else if ($links[$key]['type']=='company') { + print ''; //print img_object($langs->trans('ShowCustomer'),'company').' '; print $links[$key]['label']; + print ''; + } + else { + print ''; + print $links[$key]['label']; + print ''; } - else print $links[$key]['label']; - print ''; } print '';