diff --git a/htdocs/expedition/commande.php b/htdocs/expedition/commande.php index 56a04cf4784..e2692b634a2 100644 --- a/htdocs/expedition/commande.php +++ b/htdocs/expedition/commande.php @@ -456,7 +456,7 @@ if ($_GET["id"] > 0) { if ($value > 0) { - $sql = "SELECT e.label as entrepot, ps.reel, p.label "; + $sql = "SELECT e.label as entrepot, ps.reel, p.label, p.ref"; $sql .= " FROM ".MAIN_DB_PREFIX."entrepot as e, ".MAIN_DB_PREFIX."product_stock as ps, ".MAIN_DB_PREFIX."product as p"; $sql .= " WHERE e.rowid = ps.fk_entrepot AND ps.fk_product = p.rowid AND ps.fk_product = $key"; $sql .= " AND e.statut = 1 AND reel < $value"; @@ -473,8 +473,9 @@ if ($_GET["id"] > 0) $obja = $db->fetch_object($resql); print "
| '.$langs->trans("Sending").' | '; + print ''.$langs->trans("DeliveryOrder").' | '; print ''.$langs->trans("Description").' | '; print ''.$langs->trans("QtyShipped").' | '; print ''.$langs->trans("Date").' | ';