From 003b68e0382521978c4d4158c6eb2dc33cd82347 Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Fri, 6 May 2005 23:25:59 +0000 Subject: [PATCH] Ajout du lien vers fiche contact --- htdocs/fourn/contact.php | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/htdocs/fourn/contact.php b/htdocs/fourn/contact.php index a0c302ed9f6..e3f05d9f1a9 100644 --- a/htdocs/fourn/contact.php +++ b/htdocs/fourn/contact.php @@ -59,7 +59,7 @@ $offset = $limit * $page ; * */ -$sql = "SELECT s.idp, s.nom, st.libelle as stcomm, p.idp as cidp, p.name, p.firstname, p.email, p.phone "; +$sql = "SELECT s.idp, s.nom, st.libelle as stcomm, p.idp as cidp, p.name, p.firstname, p.email, p.phone "; $sql .= " FROM ".MAIN_DB_PREFIX."societe as s, ".MAIN_DB_PREFIX."socpeople as p, ".MAIN_DB_PREFIX."c_stcomm as st"; $sql .= " WHERE s.fk_stcomm = st.id AND s.fournisseur = 1 AND s.idp = p.fk_soc"; @@ -106,11 +106,10 @@ if ($result) { print ""; - print ''.$obj->name.''; - print ''.$obj->firstname.''; - + print ''.img_object($langs->trans("ShowContact"),"contact").' '.$obj->name.''; + print ''.$obj->firstname.''; print ''.img_object($langs->trans("ShowCompany"),"company").' '.$obj->nom.''; - print "$obj->email \n"; + print ''.$obj->email.''; print ''.$obj->phone.''; print "\n";