[-] 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:
mDeflotte
2012-04-26 08:19:41 +00:00
parent b1f1febc88
commit 7f2c9fe45e
+1 -1
View File
@@ -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' => '',