[-] BO : #PSCFV-2739 - Hide button merchandise return if disable
This commit is contained in:
1 parent
e45c9455a9
commit
ed49851fe1
1 file changed
+8
-6
@@ -195,12 +195,14 @@ class AdminOrdersControllerCore extends AdminController
|
|||||||
'desc' => $this->l('Add a product'),
|
'desc' => $this->l('Add a product'),
|
||||||
'class' => 'add_product'
|
'class' => 'add_product'
|
||||||
);
|
);
|
||||||
$this->toolbar_btn['standard_refund'] = array(
|
|
||||||
'short' => 'Create',
|
if (Configuration::get('PS_ORDER_RETURN'))
|
||||||
'href' => '',
|
$this->toolbar_btn['standard_refund'] = array(
|
||||||
'desc' => $type,
|
'short' => 'Create',
|
||||||
'class' => 'process-icon-standardRefund'
|
'href' => '',
|
||||||
);
|
'desc' => $type,
|
||||||
|
'class' => 'process-icon-standardRefund'
|
||||||
|
);
|
||||||
|
|
||||||
if ($order->hasBeenPaid())
|
if ($order->hasBeenPaid())
|
||||||
$this->toolbar_btn['partial_refund'] = array(
|
$this->toolbar_btn['partial_refund'] = array(
|
||||||
|
|||||||
Reference in new issue
Block a user