Skip to content

Wrong currency sign on creditmemo_grid & sales_order_view > invoice grid #22123

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

Merged
merged 6 commits into from
Sep 4, 2019

Conversation

latenights
Copy link
Member

@latenights latenights commented Apr 3, 2019

Description (*)

Added missing column base_currency_code & order_currency_code to table sales_creditmemo_grid. Price column rendering changed on sales_creditmemo_index (Creditmemo grid) & sales_order_view - Invoice tab.

Fixed Issues

  1. Wrong currency sign on creditmemo_grid & sales_order_view > invoice grid #22490

Manual testing scenarios (*)

  1. Create order in different currency as configured on default store view
  2. Go to Backend > SALES > Credit Memos, create Credit Memo
  3. Check Refunded & Subtotal column on Credit Memo grid (sales_creditmemo_index). You should see price in currency configured on default store view (base_currency_code).
  4. Go to Backend > SALES > Orders > choose your order and check Invoice grid in Invoices tab. Amount should be base grand total with base_currency_code.

sales_order_view > Credit Memos (base grand total):
image

sales_order_view > Invoices (grand total):
image

sales_creditmemo_index (wrong currency sign):
image

Contribution checklist (*)

  • Pull request has a meaningful description of its purpose
  • All commits are accompanied by meaningful commit messages
  • All new or changed code is covered with unit/integration tests (if applicable)
  • All automated tests passed successfully (all builds on Travis CI are green)

@m2-assistant
Copy link

m2-assistant bot commented Apr 3, 2019

Hi @latenights. Thank you for your contribution
Here is some useful tips how you can test your changes using Magento test environment.
Add the comment under your pull request to deploy test or vanilla Magento instance:

  • @magento-engcom-team give me test instance - deploy test instance based on PR changes
  • @magento-engcom-team give me 2.3-develop instance - deploy vanilla Magento instance

For more details, please, review the Magento Contributor Assistant documentation

@latenights latenights changed the title Wrong currency sing on creditmemo_grid & sales_order_view > invoice grid Wrong currency sign on creditmemo_grid & sales_order_view > invoice grid Apr 3, 2019
@orlangur orlangur self-assigned this Apr 5, 2019
@orlangur
Copy link
Contributor

Hey @latenights, could you please

I mean please report an issue and just link it in both PRs so that this bug and its fix may be properly tracked.

@latenights
Copy link
Member Author

@orlangur Issue #22490 created.

@ghost ghost assigned sidolov May 31, 2019
@magento-engcom-team
Copy link
Contributor

Hi @sidolov, thank you for the review.
ENGCOM-5194 has been created to process this Pull Request

@magento-engcom-team
Copy link
Contributor

@latenights thank you for contributing. Please accept Community Contributors team invitation here to gain extended permissions for this repository.

@soleksii
Copy link

soleksii commented Jun 3, 2019

✔️ QA Passed

Before:

before

After:

after

@magento-engcom-team
Copy link
Contributor

@latenights thank you for contributing. Please accept Community Contributors team invitation here to gain extended permissions for this repository.

@IvanPletnyov IvanPletnyov assigned Nazar65 and unassigned IvanPletnyov Jun 4, 2019
@magento-engcom-team
Copy link
Contributor

@latenights thank you for contributing. Please accept Community Contributors team invitation here to gain extended permissions for this repository.

@magento-engcom-team
Copy link
Contributor

@latenights thank you for contributing. Please accept Community Contributors team invitation here to gain extended permissions for this repository.

@magento-engcom-team
Copy link
Contributor

@latenights thank you for contributing. Please accept Community Contributors team invitation here to gain extended permissions for this repository.

@m2-assistant
Copy link

m2-assistant bot commented Sep 4, 2019

Hi @latenights, thank you for your contribution!
Please, complete Contribution Survey, it will take less than a minute.
Your feedback will help us to improve contribution process.

@ghost
Copy link

ghost commented Sep 4, 2019

@latenights unfortunately, only members of the maintainers team are allowed to unassign developers from the pull request

@magento-engcom-team magento-engcom-team added this to the Release: 2.3.4 milestone Sep 4, 2019
@sidolov sidolov added the Auto-Tests: Covered All changes in Pull Request is covered by auto-tests label Sep 14, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

10 participants