Merge branch 'ticket-10945'
This commit is contained in:
commit
d598b4df54
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user