Merge branch 'ticket-10945'

This commit is contained in:
Marion Muszynski 2016-09-21 10:50:58 +02:00
commit d598b4df54

View File

@ -304,6 +304,7 @@ class Paybox extends PaymentModule
if($cookie->profile == 1
|| $cookie->profile == 7
|| $cookie->profile == 14
|| $cookie->profile == 11) {
if(!$order->hasBeenPaid()) {
// mail('thibault@antadis.com', 'Erreur remboursement', 'Erreur de remboursement sur la commande ' . $order_detail->id_order . ' la commande n\'a pas été payée.');
@ -342,6 +343,7 @@ class Paybox extends PaymentModule
if (Tools::isSubmit('generateCreditSlip')) {
if($cookie->profile == 1
|| $cookie->profile == 7
|| $cookie->profile == 14
|| $cookie->profile == 11) {
$order = new Order($order_detail->id_order);