ajout possibilit d'envoyer la commande client par mail

This commit is contained in:
Regis Houssin 2006-05-01 14:54:40 +00:00
parent a8f4a7d39b
commit 4c36d1ec56

View File

@ -322,7 +322,7 @@ if ($_POST['action'] == 'send')
{
$langs->load('mails');
$commande= new Commande($db);
if ( $commande->fetch($_POST['id']) )
if ( $commande->fetch($_POST['orderid']) )
{
$orderref = sanitize_string($commande->ref);
$file = $conf->commande->dir_output . '/' . $orderref . '/' . $orderref . '.pdf';