';
@@ -66,7 +66,7 @@ if ($result)
$i = 0;
print '';
- print '| Statut | Nb | | ';
+ print ' | '.$langs->trans("Status").' | '.$langs->trans("Nb").' | | ';
print " \n";
$var=True;
@@ -88,7 +88,7 @@ if ($result)
}
else
{
- print $db->error() . ' ' . $sql;
+ dolibarr_print_error($db);
}
print ' | ';
diff --git a/htdocs/fourn/commande/liste.php b/htdocs/fourn/commande/liste.php
index add148ae9b4..297580392eb 100644
--- a/htdocs/fourn/commande/liste.php
+++ b/htdocs/fourn/commande/liste.php
@@ -102,7 +102,8 @@ if ($result)
$num = $db->num_rows();
$i = 0;
- print_barre_liste("Commandes fournisseurs", $page, "liste.php", "", $sortfield, $sortorder, '', $num);
+ $langs->load("orders");
+ print_barre_liste($langs->trans("SuppliersOrders"), $page, "liste.php", "", $sortfield, $sortorder, '', $num);
if ($sortorder == "DESC")
{
$sortorder="ASC";
@@ -136,8 +137,8 @@ if ($result)
print "";
print ' ';
print ' '.$obj->ref.' | '."\n";
- print ''.img_file().'';
- print ' '.$obj->nom.' | '."\n";
+ print ''.img_object($langs->trans("ShowCompany"),"company").' ';
+ print $obj->nom.' | '."\n";
print "";
if ($obj->dc)
@@ -157,7 +158,7 @@ if ($result)
}
else
{
- print $db->error() . ' ' . $sql;
+ dolibarr_print_error($db);
}
$db->close();
diff --git a/htdocs/fourn/facture/fiche.php b/htdocs/fourn/facture/fiche.php
index a2805f03c3b..4744028a3e8 100644
--- a/htdocs/fourn/facture/fiche.php
+++ b/htdocs/fourn/facture/fiche.php
@@ -200,12 +200,12 @@ if ($_GET["action"] == 'create' or $_GET["action"] == 'copy')
$fac_ori = new FactureFourn($db);
$fac_ori->fetch($_GET["facid"]);
}
- print_titre("Saisir une facture fournisseur");
+ print_titre($langs->trans("NewBill"));
print ' | |