From 412282adda46f941ed67a8ab6e3adc7f65b704f3 Mon Sep 17 00:00:00 2001 From: Regis Houssin Date: Mon, 1 May 2006 10:22:11 +0000 Subject: [PATCH] =?UTF-8?q?ajout=20possibilit=E9=20d'envoyer=20la=20comman?= =?UTF-8?q?de=20client=20par=20mail?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- htdocs/commande/fiche.php | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/htdocs/commande/fiche.php b/htdocs/commande/fiche.php index c88ad31beef..59cf73b0fb9 100644 --- a/htdocs/commande/fiche.php +++ b/htdocs/commande/fiche.php @@ -1557,12 +1557,15 @@ else { print '
'; print_titre($langs->trans('SendOrderByMail')); + + $soc = new Societe($db); + $soc->fetch($commande->soc_id) $liste[0]=" "; foreach ($soc->contact_email_array() as $key=>$value) - { - $liste[$key]=$value; - } + { + $liste[$key]=$value; + } // Créé l'objet formulaire mail include_once('../html.formmail.class.php');