// Fix #PSCFV-4057
This commit is contained in:
@@ -199,7 +199,7 @@ class AdminOrdersControllerCore extends AdminController
|
|||||||
else
|
else
|
||||||
$type = $this->l('Cancel products');
|
$type = $this->l('Cancel products');
|
||||||
|
|
||||||
if (!$order->hasBeenDelivered())
|
if (!$order->hasBeenDelivered() && !$this->lite_display)
|
||||||
$this->toolbar_btn['new'] = array(
|
$this->toolbar_btn['new'] = array(
|
||||||
'short' => 'Create',
|
'short' => 'Create',
|
||||||
'href' => '#',
|
'href' => '#',
|
||||||
@@ -207,7 +207,7 @@ class AdminOrdersControllerCore extends AdminController
|
|||||||
'class' => 'add_product'
|
'class' => 'add_product'
|
||||||
);
|
);
|
||||||
|
|
||||||
if (Configuration::get('PS_ORDER_RETURN'))
|
if (Configuration::get('PS_ORDER_RETURN') && !$this->lite_display)
|
||||||
$this->toolbar_btn['standard_refund'] = array(
|
$this->toolbar_btn['standard_refund'] = array(
|
||||||
'short' => 'Create',
|
'short' => 'Create',
|
||||||
'href' => '',
|
'href' => '',
|
||||||
@@ -215,7 +215,7 @@ class AdminOrdersControllerCore extends AdminController
|
|||||||
'class' => 'process-icon-standardRefund'
|
'class' => 'process-icon-standardRefund'
|
||||||
);
|
);
|
||||||
|
|
||||||
if ($order->hasInvoice())
|
if ($order->hasInvoice() && !$this->lite_display)
|
||||||
$this->toolbar_btn['partial_refund'] = array(
|
$this->toolbar_btn['partial_refund'] = array(
|
||||||
'short' => 'Create',
|
'short' => 'Create',
|
||||||
'href' => '',
|
'href' => '',
|
||||||
|
|||||||
Reference in New Issue
Block a user