Skip to content
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

[PLUG-2697] : Added support for additional currencies #76

Merged
merged 1 commit into from
Jul 23, 2024

Conversation

yashgit891
Copy link
Contributor

Note :- Please follow the below points while attaching test cases document link below:

- If label Tested is added then test cases document URL is mandatory.

- Link added should be a valid URL and accessible throughout the org.

- If the branch name contains hotfix / revert by default the BVT workflow check will pass.

Test Case Document URL
Please paste test case document link here....

@yashgit891 yashgit891 added the TestingNotRequired TestingNotRequired label for BVT label Jul 19, 2024
'decimals' => $v['exponent']
);
}
}
$currencies['INR'] = array(
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@yashgit891 we can remove INR

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@abdulwahidsharief this is there to put the correct symbol for rupee otherwise it will use INR in place of it.


foreach ($supported_currencies as $k => $v)
{
if (in_array($v['iso_code'], $currencies) === false)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

is the condition required here key in_array required here

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@abdulwahidsharief I have put the condition so that any pre defined currencies may not be overwritten.

@yashgit891 yashgit891 marked this pull request as ready for review July 22, 2024 10:47
Copy link
Contributor

@abdulwahidsharief abdulwahidsharief left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@yashgit891 yashgit891 merged commit 372de2e into master Jul 23, 2024
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
TestingNotRequired TestingNotRequired label for BVT
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants