From aeb107a855455552dc2f1129e2c343e45a29cbf5 Mon Sep 17 00:00:00 2001 From: Regis Houssin Date: Wed, 17 Oct 2007 12:02:28 +0000 Subject: [PATCH] Fix: champ "price" obsolete --- htdocs/comm/fiche.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/htdocs/comm/fiche.php b/htdocs/comm/fiche.php index c66642609c4..51d21aff2bb 100644 --- a/htdocs/comm/fiche.php +++ b/htdocs/comm/fiche.php @@ -351,7 +351,7 @@ if ($socid > 0) print ''; - $sql = "SELECT s.nom, s.rowid, p.rowid as propalid, p.fk_statut, p.price, p.ref, p.remise, "; + $sql = "SELECT s.nom, s.rowid, p.rowid as propalid, p.fk_statut, p.total_ht, p.ref, p.remise, "; $sql.= " ".$db->pdate("p.datep")." as dp, ".$db->pdate("p.fin_validite")." as datelimite"; $sql .= " FROM ".MAIN_DB_PREFIX."societe as s, ".MAIN_DB_PREFIX."propal as p, ".MAIN_DB_PREFIX."c_propalst as c"; $sql .= " WHERE p.fk_soc = s.rowid AND p.fk_statut = c.id"; @@ -381,7 +381,7 @@ if ($socid > 0) print " ".img_warning(); } print '\n"; - print ''; + print ''; print ''; $var=!$var; $i++;
'.dolibarr_print_date($objp->dp)."'.price($objp->price).''.price($objp->total_ht).''.$propal_static->LibStatut($objp->fk_statut,5).'