From 0c8838388d3f02c388f8895b5b5e226dde88030b Mon Sep 17 00:00:00 2001 From: Regis Houssin Date: Wed, 31 May 2006 17:28:29 +0000 Subject: [PATCH] ajout lien vers bon de livraison et image alerte sur le stock --- htdocs/expedition/commande.php | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) 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 ""; print ''; - print img_warning($langs->trans("Late")); - print $obja->label.''.$obja->entrepot.'Stock : '.$obja->reel.''; + print img_warning($langs->trans("Alert")); + print $obja->ref.''; + print ''.$obja->label.''.$obja->entrepot.'Stock : '.$obja->reel.''; print "\n"; $i++; } @@ -520,6 +521,7 @@ if ($_GET["id"] > 0) print ''; print ''; print ''; + print ''; print ''; print ''; print '';
'.$langs->trans("Sending").''.$langs->trans("DeliveryOrder").''.$langs->trans("Description").''.$langs->trans("QtyShipped").''.$langs->trans("Date").'