[-] BO : #PSCFV-139 - Partial refund must not be available when order was not paid
git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@14892 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
@@ -203,7 +203,7 @@ class AdminOrdersControllerCore extends AdminController
|
||||
'class' => 'process-icon-standardRefund'
|
||||
);
|
||||
|
||||
if ($order->getCurrentOrderState()->paid)
|
||||
if ($order->hasBeenPaid())
|
||||
$this->toolbar_btn['partial_refund'] = array(
|
||||
'short' => 'Create',
|
||||
'href' => '',
|
||||
|
||||
Reference in New Issue
Block a user