diff --git a/htdocs/comm/fiche.php b/htdocs/comm/fiche.php index f4a9d8f1407..45086a0758b 100644 --- a/htdocs/comm/fiche.php +++ b/htdocs/comm/fiche.php @@ -265,8 +265,8 @@ if ($_GET["socid"] > 0) print " > 15 jours"; } print "".strftime("%d %B %Y",$objp->dp)."\n"; - print "".price($objp->price)."\n"; - print "$objp->statut\n"; + print ''.price($objp->price).''; + print ''.$objp->statut.''; $var=!$var; $i++; } @@ -280,7 +280,7 @@ if ($_GET["socid"] > 0) * */ print ''; - $sql = "SELECT s.nom, s.idp, p.rowid as propalid, p.ref, ".$db->pdate("p.date_commande")." as dp"; + $sql = "SELECT s.nom, s.idp, p.rowid as propalid, p.total_ht, p.ref, ".$db->pdate("p.date_commande")." as dp"; $sql .= " FROM ".MAIN_DB_PREFIX."societe as s, ".MAIN_DB_PREFIX."commande as p WHERE p.fk_soc = s.idp "; $sql .= " AND s.idp = $objsoc->id ORDER BY p.date_commande DESC"; @@ -304,8 +304,8 @@ if ($_GET["socid"] > 0) print " > 15 jours"; } print "\n"; - print "\n"; - print "\n"; + print ''; + print ''; $i++; } $db->free();
".strftime("%d %B %Y",$objp->dp)."".price($objp->price)."$objp->statut
'.price($objp->total_ht).''.$objp->statut.'