Skip to content

[Backport] Fixed Wrong order amount on dashboard on Last orders listing when having more than one website with different currencies #15978

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

Closed
wants to merge 1 commit into from

Conversation

chirag-wagento
Copy link
Contributor

Original Pull Request

#15661

Description

On Dashboard Last order's table shows wrong table for specific store view dashboard when you have multiple websites and both have different currencies.

Fixed Issues (if relevant)

  1. Wrong order amount on dashboard on Last orders listing when having more than one website with different currencies #15660: Wrong order amount on dashboard on Last orders listing when having more than one website with different currencies

Manual testing scenarios

  1. Create 2 Websites with 1 store in each
  2. Set Default website/store base currency as INR (Indian Rupee)
  3. Set another website/store base currency as USD (US Dollar)
  4. Place Order from both websites with with their default currencies.
  5. Now go to Dashboard and set Store View as All Store Views
  6. See Last Orders table and check order's total amounts and all mounts will be in INR (USD orders will be converted to INR with exchange rate
  7. Now change Store View to USD currency website's store which have orders
  8. See Last Orders table and check order's total amounts. You will find those amounts converted to again into INR to USD. But at this point orders are already in USD so no need to convert amounts

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)

Wrong order amount on dashboard on Last orders listing when having more than one website with different currencies #15660
@magento-engcom-team magento-engcom-team added Partner: Wagento Pull Request is created by partner Wagento partners-contribution Pull Request is created by Magento Partner Component: Backend labels Jun 10, 2018
@magento-engcom-team magento-engcom-team added this to the Release: 2.1.15 milestone Jun 11, 2018
@orlangur orlangur self-assigned this Jun 14, 2018
@magento-engcom-team
Copy link
Contributor

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

@sidolov
Copy link
Contributor

sidolov commented Jun 19, 2018

Hi @chirag-wagento , I'm closing this PR as duplicate for: #15677

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Component: Backend duplicate Partner: Wagento Pull Request is created by partner Wagento partners-contribution Pull Request is created by Magento Partner Release Line: 2.1
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants