|
@@ 342-348 (lines=7) @@
|
| 339 |
|
* @param object|Oledrion_commands $order La commande en question |
| 340 |
|
* @param string $comment Optionel, un commentaire pour le mail envoyé au webmaster |
| 341 |
|
*/ |
| 342 |
|
public function notifyOrderFraudulent(Oledrion_commands $order, $comment = '') |
| 343 |
|
{ |
| 344 |
|
$msg = array(); |
| 345 |
|
$msg['NUM_COMMANDE'] = $order->getVar('cmd_id'); |
| 346 |
|
$msg['COMMENT'] = $comment; |
| 347 |
|
OledrionUtility::sendEmailFromTpl('command_shop_fraud.tpl', OledrionUtility::getEmailsFromGroup(OledrionUtility::getModuleOption('grp_sold')), _OLEDRION_GATEWAY_FRAUD, $msg); |
| 348 |
|
} |
| 349 |
|
|
| 350 |
|
/** |
| 351 |
|
* Applique le statut de commande frauduleuse à une commande |
|
@@ 370-376 (lines=7) @@
|
| 367 |
|
* @param object|Oledrion_commands $order La commande en question |
| 368 |
|
* @param string $comment Optionel, un commentaire pour le mail envoyé au webmaster |
| 369 |
|
*/ |
| 370 |
|
public function notifyOrderPending(Oledrion_commands $order, $comment = '') |
| 371 |
|
{ |
| 372 |
|
$msg = array(); |
| 373 |
|
$msg['NUM_COMMANDE'] = $order->getVar('cmd_id'); |
| 374 |
|
$msg['COMMENT'] = $comment; |
| 375 |
|
OledrionUtility::sendEmailFromTpl('command_shop_pending.tpl', OledrionUtility::getEmailsFromGroup(OledrionUtility::getModuleOption('grp_sold')), _OLEDRION_GATEWAY_PENDING, $msg); |
| 376 |
|
} |
| 377 |
|
|
| 378 |
|
/** |
| 379 |
|
* Applique le statut de commande en attente à une commande |
|
@@ 398-404 (lines=7) @@
|
| 395 |
|
* @param object|Oledrion_commands $order La commande en question |
| 396 |
|
* @param string $comment Optionel, un commentaire pour le mail envoyé au webmaster |
| 397 |
|
*/ |
| 398 |
|
public function notifyOrderFailed(Oledrion_commands $order, $comment = '') |
| 399 |
|
{ |
| 400 |
|
$msg = array(); |
| 401 |
|
$msg['NUM_COMMANDE'] = $order->getVar('cmd_id'); |
| 402 |
|
$msg['COMMENT'] = $comment; |
| 403 |
|
OledrionUtility::sendEmailFromTpl('command_shop_failed.tpl', OledrionUtility::getEmailsFromGroup(OledrionUtility::getModuleOption('grp_sold')), _OLEDRION_GATEWAY_FAILED, $msg); |
| 404 |
|
} |
| 405 |
|
|
| 406 |
|
/** |
| 407 |
|
* Applique le statut de commande échouée à une commande |