redirect when contact is to cancel an already sent order
This commit is contained in:
parent
58a1710ea2
commit
10c3debe27
@ -99,7 +99,7 @@ if (Tools::isSubmit('submitMessage')) {
|
||||
if($id_contact == 9){
|
||||
$id_order_state = Order::getCurrentIdState((int)Tools::getValue('id_order'));
|
||||
if($id_order_state && in_array($id_order_state, array(4,17,5))) {
|
||||
$id_contact = 1;
|
||||
Tools::redirectLink('modules/ant_support_form/support.php?id_contact=1&id_order='.Tools::getValue('id_order'));
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user