-
Notifications
You must be signed in to change notification settings - Fork 9.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix buttonId for credit memo button on admin invoice view #22364
Conversation
Hi @kassner. Thank you for your contribution
For more details, please, review the Magento Contributor Assistant documentation |
@@ -113,8 +113,8 @@ protected function _construct() | |||
$orderPayment->canRefund() && !$this->getInvoice()->getIsUsedForRefund() | |||
) { | |||
$this->buttonList->add( | |||
'capture', | |||
[ // capture? | |||
'creditmemo', |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
credit-memo
, please. And amend commit.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@orlangur done
Hi @orlangur, thank you for the review. |
✔️ QA passed |
Hi @kassner, thank you for your contribution! |
Description
Credit Memo button has the wrong
buttonId
, so it is not possible to customise those buttons in a reliable way.Manual testing scenarios
capture
button in the admin invoice view;Contribution checklist