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

YTA-3215: Added endpoint for Payment History with Allocations. #45

Merged
merged 1 commit into from
Mar 8, 2018

Conversation

cybersaurus
Copy link
Contributor

No description provided.

val isTaxToCorrect2 = expectedTo2 == upperDate
(lowerDate.getMonthOfYear, lowerDate.getDayOfMonth) match {
case (m, 6) if isTaxToCorrect1 => Some(((m + 8) % 12) + 1)
case (m, 4) if isTaxToCorrect2 => Some(((m + 8) % 12) + 1)
Copy link
Contributor

Choose a reason for hiding this comment

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

Can we remove this exception? This was due to invalid data in QA and should never happen.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Will do. This was copied from the backend. Should we remove the exception from there as well?

"taxMonth": {
"$ref": "Definitions.schema.json#/definitions/taxMonth"
}
},

Choose a reason for hiding this comment

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

Should have an amount field

"amount": {
"description": "The first day of the tax year",
"type": "number"
},

Choose a reason for hiding this comment

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

should have an unallocatedAmount field

@cybersaurus cybersaurus force-pushed the feature/yta-3215 branch 2 times, most recently from 5710264 to d7438f2 Compare March 8, 2018 14:20
@flashingpumpkin flashingpumpkin merged commit 5befc9d into master Mar 8, 2018
@grahampaulcook grahampaulcook deleted the feature/yta-3215 branch June 10, 2020 10:29
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