From bcb9b8d8a8d3fd6596c5374fd1756498d25a8ada Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Sat, 9 Oct 2010 19:41:06 +0000 Subject: [PATCH] Fix: Use correct method --- htdocs/compta/facture.php | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/htdocs/compta/facture.php b/htdocs/compta/facture.php index 9df65cfd7c8..68cff3dc49c 100644 --- a/htdocs/compta/facture.php +++ b/htdocs/compta/facture.php @@ -3233,7 +3233,12 @@ else } print ''; - print ''.img_object($langs->trans('ShowCompany'),'company').' '.dol_trunc($objp->nom,48).''; + print ''; + $thirdparty=new Societe($db); + $thirdparty->id=$objp->socid; + $thirdparty->nom=$objp->nom; + print $thirdparty->getNomUrl(1,'customer'); + print ''; print ''.price($objp->total).'';