diff --git a/htdocs/admin/commande.php b/htdocs/admin/commande.php
index 364b87a2d35..a569632cc02 100644
--- a/htdocs/admin/commande.php
+++ b/htdocs/admin/commande.php
@@ -264,7 +264,6 @@ $form=new Form($db);
$linkback=''.$langs->trans("BackToModuleList").'';
print_fiche_titre($langs->trans("OrdersSetup"),$linkback,'title_setup');
-print '
';
$head = order_admin_prepare_head();
diff --git a/htdocs/comm/index.php b/htdocs/comm/index.php
index 3924774f7fc..6766bd1f868 100644
--- a/htdocs/comm/index.php
+++ b/htdocs/comm/index.php
@@ -585,9 +585,9 @@ if (! empty($conf->propal->enabled) && $user->rights->propal->lire)
*/
if (! empty($conf->commande->enabled) && $user->rights->commande->lire)
{
- $langs->load("order");
+ $langs->load("orders");
- $sql = "SELECT s.nom as name, s.rowid, c.rowid as commandeid, c.total_ttc, c.total_ht, c.tva as total_tva, c.ref, c.ref_client, c.fk_statut, c.date_valid as dv ";
+ $sql = "SELECT s.nom as name, s.rowid, c.rowid as commandeid, c.total_ttc, c.total_ht, c.tva as total_tva, c.ref, c.ref_client, c.fk_statut, c.date_valid as dv, c.facture as billed";
$sql.= " FROM ".MAIN_DB_PREFIX."societe as s";
$sql.= ", ".MAIN_DB_PREFIX."commande as c";
if (! $user->rights->societe->client->voir && ! $socid) $sql.= ", ".MAIN_DB_PREFIX."societe_commerciaux as sc";
@@ -654,7 +654,7 @@ if (! empty($conf->commande->enabled) && $user->rights->commande->lire)
print '