From d647b1073775eb01cfbde7a96bdb9c26a237fc62 Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Wed, 10 Oct 2007 00:26:53 +0000 Subject: [PATCH] =?UTF-8?q?Fix:=20Le=20tiers=20etait=20remplac=E9=20par=20?= =?UTF-8?q?l'id=20facture=20dans=20liste=20des=20factures=20fourisseurs=20?= =?UTF-8?q?brouillons?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- htdocs/compta/index.php | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/htdocs/compta/index.php b/htdocs/compta/index.php index 44232681110..9ae16cf18fe 100644 --- a/htdocs/compta/index.php +++ b/htdocs/compta/index.php @@ -1,6 +1,6 @@ - * Copyright (C) 2004-2006 Laurent Destailleur + * Copyright (C) 2004-2007 Laurent Destailleur * Copyright (C) 2005-2006 Regis Houssin * * This program is free software; you can redistribute it and/or modify @@ -18,7 +18,6 @@ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. * * $Id$ - * $Source$ */ /** @@ -246,10 +245,10 @@ if ($conf->facture->enabled && $user->rights->facture->lire) print $facturesupplierstatic->getNomUrl(1,''); print ''; print ''; - $facturesupplierstatic->id=$obj->socid; - $facturesupplierstatic->nom=$obj->nom; - $facturesupplierstatic->fournisseur=1; - print $facturesupplierstatic->getNomUrl(1,'',16); + $companystatic->id=$obj->socid; + $companystatic->nom=$obj->nom; + $companystatic->client=1; + print $companystatic->getNomUrl(1,'',16); print ''; print ''.price($obj->total_ttc).''; print '';