diff --git a/htdocs/fourn/commande/index.php b/htdocs/fourn/commande/index.php index a27764d342c..a1c7cc77c9e 100644 --- a/htdocs/fourn/commande/index.php +++ b/htdocs/fourn/commande/index.php @@ -39,7 +39,7 @@ print_barre_liste("Commandes fournisseurs", $page, "index.php", "", $sortfield, print ''; print '
'; -$sql = "SELECT count(cf.rowid)"; +$sql = "SELECT count(cf.rowid), fk_statut"; $sql .= " ,cf.rowid,cf.ref"; $sql .= " FROM ".MAIN_DB_PREFIX."societe as s "; $sql .= " , ".MAIN_DB_PREFIX."commande_fournisseur as cf"; @@ -57,7 +57,7 @@ if ($result) $i = 0; print ''; - print 'Nb'; + print ''; print "\n"; $var=True; @@ -67,8 +67,8 @@ if ($result) $var=!$var; print ""; - print ''; - + print ''; + print ''; print "\n"; $i++; } diff --git a/htdocs/fourn/commande/liste.php b/htdocs/fourn/commande/liste.php index d081583413b..738c4003f2a 100644 --- a/htdocs/fourn/commande/liste.php +++ b/htdocs/fourn/commande/liste.php @@ -64,7 +64,7 @@ $pagenext = $page + 1; */ $sql = "SELECT s.idp, s.nom, s.ville, ".$db->pdate("s.datea")." as datea"; -$sql .= " ,cf.rowid,cf.ref"; +$sql .= " ,cf.rowid,cf.ref, cf.fk_statut"; $sql .= " FROM ".MAIN_DB_PREFIX."societe as s "; $sql .= " , ".MAIN_DB_PREFIX."commande_fournisseur as cf"; $sql .= " WHERE cf.fk_soc = s.idp "; @@ -104,7 +104,7 @@ if ($result) $var=!$var; print ""; - print ''."\n"; print ''."\n"; diff --git a/htdocs/fourn/commande/statut0.png b/htdocs/fourn/commande/statut0.png new file mode 100644 index 00000000000..7a8fb198368 Binary files /dev/null and b/htdocs/fourn/commande/statut0.png differ diff --git a/htdocs/fourn/commande/statut1.png b/htdocs/fourn/commande/statut1.png new file mode 100644 index 00000000000..e5c8d3acce0 Binary files /dev/null and b/htdocs/fourn/commande/statut1.png differ diff --git a/htdocs/fourn/commande/statut2.png b/htdocs/fourn/commande/statut2.png new file mode 100644 index 00000000000..b8ca4a121ed Binary files /dev/null and b/htdocs/fourn/commande/statut2.png differ diff --git a/htdocs/fourn/commande/statut3.png b/htdocs/fourn/commande/statut3.png new file mode 100644 index 00000000000..8f64b250d8b Binary files /dev/null and b/htdocs/fourn/commande/statut3.png differ diff --git a/htdocs/fourn/commande/statut4.png b/htdocs/fourn/commande/statut4.png new file mode 100644 index 00000000000..627f3c1d1bc Binary files /dev/null and b/htdocs/fourn/commande/statut4.png differ diff --git a/htdocs/fourn/commande/statut5.png b/htdocs/fourn/commande/statut5.png new file mode 100644 index 00000000000..c201b67c7c9 Binary files /dev/null and b/htdocs/fourn/commande/statut5.png differ diff --git a/htdocs/fourn/commande/statut9.png b/htdocs/fourn/commande/statut9.png new file mode 100644 index 00000000000..65f20bc3db4 Binary files /dev/null and b/htdocs/fourn/commande/statut9.png differ
StatutNb
'.$row[0].''.$row[0].'
'.img_file().''; + print ''; print ' '.$obj->ref.''.img_file().''; print ' '.$obj->nom.'