diff --git a/htdocs/fourn/fiche.php b/htdocs/fourn/fiche.php index 0baba1ae85f..d0c4986e4c7 100644 --- a/htdocs/fourn/fiche.php +++ b/htdocs/fourn/fiche.php @@ -251,7 +251,7 @@ if ( $societe->fetch($socid) ) $max=5; - $sql = "SELECT p.rowid,p.libelle,p.facnumber,".$db->pdate("p.datef")." as df, total_ttc as amount, paye"; + $sql = "SELECT p.rowid,p.libelle,p.facnumber,p.fk_statut,".$db->pdate("p.datef")." as df, total_ttc as amount, paye"; $sql .= " FROM ".MAIN_DB_PREFIX."facture_fourn as p WHERE p.fk_soc = $societe->id"; $sql .= " ORDER BY p.datef"; $resql=$db->query($sql); @@ -280,7 +280,7 @@ if ( $societe->fetch($socid) ) print "