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 FormattingHelper#format_money in entitled_to_sick_pay outcome in SSP #2094

Merged
merged 3 commits into from
Nov 18, 2015

Conversation

floehopper
Copy link
Contributor

We're trying to standardize on using this method to format money objects.

The effect of this is to leave off the decimal point and the pence when the
value is a whole number of pounds.

@lutgendorff confirmed that this was probably just an accidental difference and
so I'm fixing it here.

Expected changes

Before

pr-2094-before

After

pr-2094-after

@chrisroos chrisroos self-assigned this Nov 16, 2015
@chrisroos
Copy link
Contributor

Looks good to me.

@chrisroos chrisroos added the LGTM label Nov 16, 2015
We're trying to standardize on using this method to format money objects.

The effect of this is to leave off the decimal point and the pence when the
value is a whole number of pounds.

@lutgendorff confirmed that this was probably just an accidental difference and
so I'm fixing it here.

Note that many of the regression test artefacts need to be updated, but I plan
to do that in a separate commit so it's easier to see what's going on.
These changes are all due to the use of `FormattingHelper#format_money` in the
`entitled_to_sick_pay.govspeak.erb` outcome template for SSP.
@floehopper floehopper force-pushed the use-format-money-in-entitled-to-sick-pay-outcome branch from a1a2ab0 to deb620a Compare November 18, 2015 20:09
floehopper added a commit that referenced this pull request Nov 18, 2015
…o-sick-pay-outcome

Use FormattingHelper#format_money in entitled_to_sick_pay outcome in SSP
@floehopper floehopper merged commit 07decbf into master Nov 18, 2015
@floehopper floehopper deleted the use-format-money-in-entitled-to-sick-pay-outcome branch November 18, 2015 20:15
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.

2 participants