[-] BO : #PSCFV-2739 - Hide button merchandise return if disable
git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@15952 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
@@ -195,12 +195,14 @@ class AdminOrdersControllerCore extends AdminController
|
||||
'desc' => $this->l('Add a product'),
|
||||
'class' => 'add_product'
|
||||
);
|
||||
$this->toolbar_btn['standard_refund'] = array(
|
||||
'short' => 'Create',
|
||||
'href' => '',
|
||||
'desc' => $type,
|
||||
'class' => 'process-icon-standardRefund'
|
||||
);
|
||||
|
||||
if (Configuration::get('PS_ORDER_RETURN'))
|
||||
$this->toolbar_btn['standard_refund'] = array(
|
||||
'short' => 'Create',
|
||||
'href' => '',
|
||||
'desc' => $type,
|
||||
'class' => 'process-icon-standardRefund'
|
||||
);
|
||||
|
||||
if ($order->hasBeenPaid())
|
||||
$this->toolbar_btn['partial_refund'] = array(
|
||||
|
||||
Reference in New Issue
Block a user