diff --git a/htdocs/compta/index.php b/htdocs/compta/index.php
index db9db600f78..005e99476aa 100644
--- a/htdocs/compta/index.php
+++ b/htdocs/compta/index.php
@@ -122,9 +122,8 @@ if ($conf->facture->enabled)
{
$obj = $db->fetch_object();
$var=!$var;
- print '
| '.img_object($langs->trans("ShowBill"),"bill").' ';
- print ''.$obj->facnumber.' | ';
- print ''.$obj->nom.' |
';
+ print '| '.img_object($langs->trans("ShowBill"),"bill").' '.$obj->facnumber.' | ';
+ print ''.img_object($langs->trans("Showcompany"),"company").' '.$obj->nom.' |
';
$i++;
}
@@ -243,9 +242,8 @@ if ($conf->commande->enabled && $user->rights->commande->lire)
{
$var=!$var;
$obj = $db->fetch_object();
- print "| rowid\">".img_object($langs->trans("ShowOrder"),"order")."";
- print " rowid\">$obj->ref | ";
- print ''.$obj->nom.' |
';
+ print "| rowid\">".img_object($langs->trans("ShowOrder"),"order").' '.$obj->ref.' | ';
+ print ''.img_object($langs->trans("ShowCompany"),"company").' '.$obj->nom.' |
';
$i++;
}
print "
";
@@ -293,10 +291,8 @@ if ($conf->facture->enabled)
if ($i < 20)
{
$var=!$var;
- print '| '.img_object($langs->trans("ShowBill"),"bill").'';
- print ' '.$obj->facnumber.' | ';
- print ''.img_object($langs->trans("ShowCustomer"),"company").'';
- print ' '.$obj->nom.' | ';
+ print '
| '.img_object($langs->trans("ShowBill"),"bill").' '.$obj->facnumber.' | ';
+ print ''.img_object($langs->trans("ShowCustomer"),"company").' '.$obj->nom.' | ';
print ''.price($obj->total).' | ';
print ''.price($obj->total_ttc).' | ';
print ''.price($obj->am).' |
';
@@ -371,10 +367,8 @@ if ($conf->facture->enabled) {
{
$obj = $db->fetch_object($result);
$var = !$var;
- print '| '.img_object($langs->trans("ShowBill"),"bill").'';
- print ' '.$obj->facnumber.' | ';
- print ''.img_object($langs->trans("ShowSupplier"),"company").'';
- print ' '.$obj->nom.' | ';
+ print '
| '.img_object($langs->trans("ShowBill"),"bill").' '.$obj->facnumber.' | ';
+ print ''.img_object($langs->trans("ShowSupplier"),"company").' '.$obj->nom.' | ';
print ''.price($obj->total_ht).' | ';
print ''.price($obj->total_ttc).' | ';
print '
';