diff --git a/htdocs/comm/index.php b/htdocs/comm/index.php index e3df88ec3ce..d290ec43a75 100644 --- a/htdocs/comm/index.php +++ b/htdocs/comm/index.php @@ -473,7 +473,7 @@ if (! empty($conf->propal->enabled) && $user->rights->propal->lire) { $langs->load("propal"); - $sql = "SELECT s.nom, s.rowid, p.rowid as propalid, p.total as total_ttc, p.total_ht, p.ref, p.fk_statut, p.datep as dp"; + $sql = "SELECT s.nom, s.rowid, p.rowid as propalid, p.total as total_ttc, p.total_ht, p.ref, p.fk_statut, p.datep as dp, p.fin_validite as dfv"; $sql.= " FROM ".MAIN_DB_PREFIX."societe as s"; $sql.= ", ".MAIN_DB_PREFIX."propal as p"; if (! $user->rights->societe->client->voir && ! $socid) $sql.= ", ".MAIN_DB_PREFIX."societe_commerciaux as sc"; @@ -513,7 +513,7 @@ if (! empty($conf->propal->enabled) && $user->rights->propal->lire) print $propalstatic->getNomUrl(1); print ''; print '