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

dev/financial#166 Clean up money formatting in iif #19634

Merged
merged 1 commit into from
Feb 19, 2021

Conversation

eileenmcnaughton
Copy link
Contributor

@eileenmcnaughton eileenmcnaughton commented Feb 19, 2021

Overview

In the course of trying to replicate https://lab.civicrm.org/dev/financial/-/issues/166 I dug into the code & updated it to our preferred version - this does not alter the output

Before

passing weird 'onlyNumber' param

After

formatLocaleNumericRoundedForDefaultCurrency

Technical Details

Comments

@monishdeb

This does not turn out to be necessary but I tested & it works & is more correct
@civibot
Copy link

civibot bot commented Feb 19, 2021

(Standard links)

@civibot civibot bot added the master label Feb 19, 2021
@monishdeb
Copy link
Member

Looks good to me, Tested on local worked fine.

@seamuslee001 seamuslee001 merged commit 60c7b41 into civicrm:master Feb 19, 2021
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.

3 participants