Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

SASS-10418: UK Rent a Room - Adjustments section: Update Intro and 'Check your answers' pages #144

Merged
merged 11 commits into from
Feb 21, 2025

Conversation

StuartJamesProctor
Copy link
Contributor

No description provided.

tbg2003
tbg2003 previously approved these changes Feb 20, 2025
unusedLossesBroughtForward = Some(
UnusedLossesBroughtForward(
unusedLossesBroughtForwardYesOrNo = extractedMaybe
.map(_.unusedLossesBroughtForward.exists(_.unusedLossesBroughtForwardYesOrNo == true))
Copy link
Contributor

Choose a reason for hiding this comment

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

same as above

@@ -425,12 +425,21 @@ object Merger {
balancingCharge = Some(
BalancingCharge(
balancingChargeYesNo = extractedMaybe
.map(_.raRBalancingChargeYesNo)
.map(_.balancingCharge.exists(_.balancingChargeYesNo == true))
Copy link
Contributor

Choose a reason for hiding this comment

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

I think we need to properly handle balancingChargeYesNo.

Suggested change
.map(_.balancingCharge.exists(_.balancingChargeYesNo == true))
.flatMap(_.balancingCharge.map(_.balancingChargeYesNo))

@StuartJamesProctor StuartJamesProctor merged commit 1fee035 into main Feb 21, 2025
1 check passed
@StuartJamesProctor StuartJamesProctor deleted the SASS-10418 branch February 21, 2025 16:26
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants