[-] BO : #PSCFV-139 - Partial refund must not be available when order was not paid

This commit is contained in:
mDeflotte
2012-04-26 08:19:41 +00:00
parent b717edc822
commit 535dddd9ed
+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' => '',