We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c224526 commit 86c84a4Copy full SHA for 86c84a4
app/code/Magento/Sales/Block/Adminhtml/Order/Invoice/View.php
@@ -113,8 +113,8 @@ protected function _construct()
113
$orderPayment->canRefund() && !$this->getInvoice()->getIsUsedForRefund()
114
) {
115
$this->buttonList->add(
116
- 'capture',
117
- [ // capture?
+ 'credit-memo',
+ [
118
'label' => __('Credit Memo'),
119
'class' => 'credit-memo',
120
'onclick' => 'setLocation(\'' . $this->getCreditMemoUrl() . '\')'
0 commit comments