diff --git a/htdocs/fourn/commande/index.php b/htdocs/fourn/commande/index.php index 22ef3d72e8b..157b9bfbe3d 100755 --- a/htdocs/fourn/commande/index.php +++ b/htdocs/fourn/commande/index.php @@ -301,7 +301,7 @@ print ''; $max=5; $sql = "SELECT c.rowid, c.ref, c.fk_statut, s.nom, s.rowid as socid,"; -$sql.= " date_cloture as datec"; +$sql.= " date_approve as datea"; $sql.= " FROM ".MAIN_DB_PREFIX."commande_fournisseur as c"; $sql.= ", ".MAIN_DB_PREFIX."societe as s"; if (!$user->rights->societe->client->voir && !$socid) $sql.= ", ".MAIN_DB_PREFIX."societe_commerciaux as sc"; @@ -355,7 +355,7 @@ if ($resql) print ''; print ''.img_object($langs->trans("ShowCompany"),"company").' '.$obj->nom.''; - print ''.dol_print_date($db->jdate($obj->datec)).''; + print ''.dol_print_date($db->jdate($obj->datea)).''; print ''.$commandestatic->LibStatut($obj->fk_statut,5).''; print ''; $i++;