ajout possibilit d'envoyer la commande client par mail
This commit is contained in:
parent
a8f4a7d39b
commit
4c36d1ec56
@ -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';
|
||||
|
||||
Loading…
Reference in New Issue
Block a user