ajout possibilité d'envoyer la commande client par mail

This commit is contained in:
Regis Houssin 2006-05-01 10:22:11 +00:00
parent e3fd99cc89
commit 412282adda

View File

@ -1558,11 +1558,14 @@ else
print '<br>'; print '<br>';
print_titre($langs->trans('SendOrderByMail')); print_titre($langs->trans('SendOrderByMail'));
$soc = new Societe($db);
$soc->fetch($commande->soc_id)
$liste[0]="&nbsp;"; $liste[0]="&nbsp;";
foreach ($soc->contact_email_array() as $key=>$value) foreach ($soc->contact_email_array() as $key=>$value)
{ {
$liste[$key]=$value; $liste[$key]=$value;
} }
// Créé l'objet formulaire mail // Créé l'objet formulaire mail
include_once('../html.formmail.class.php'); include_once('../html.formmail.class.php');