-
Notifications
You must be signed in to change notification settings - Fork 9.4k
Fixed #23238 Apply button act like remove button while create new order from admin #23250
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
Fixed #23238 Apply button act like remove button while create new order from admin #23250
Conversation
Hi @gauravagarwal1001. Thank you for your contribution
For more details, please, review the Magento Contributor Assistant documentation |
@magento give me test instance |
Hi @gauravagarwal1001. Thank you for your request. I'm working on Magento instance for you |
Hi @gauravagarwal1001, here is your new Magento instance. |
Hi @aleron75, thank you for the review.
|
✔️ QA Passed |
<input type="text" class="admin__control-text" id="coupons:code" value="" name="coupon_code" /> | ||
<?= $block->getButtonHtml(__('Apply'), 'order.applyCoupon($F(\'coupons:code\'))') ?> | ||
<?php endif; ?> |
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.
Could be simplified with
if() { } else { }
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.
Hi @gauravagarwal1001, thank you for your contribution! |
…reate new order from admin #23250
Fixed #23238 Apply button act like remove button while create new order from admin
Preconditions (*)
magento 2.3
Steps to reproduce (*)
Expected result (*)
Coupon should not be removed.
Actual result (*)