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

Use number_with_currency widget on new refund page #2088

Merged
merged 2 commits into from
Jul 17, 2017

Conversation

jhawthorn
Copy link
Contributor

Also adds Refund#currency, which delegates to Payment

Refunds have an amount, so they should also respond to currency. We
delegate currency to the payment (as they should always be the same),
which in turn delegates to the order (as they should also always be the
same).
Previously this was just a plain text input. We should
number_with_currency as much as possible for consistency.
Copy link
Contributor

@mamhoff mamhoff left a comment

Choose a reason for hiding this comment

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

Yeah!

@jhawthorn jhawthorn merged commit 3765b51 into solidusio:master Jul 17, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants