-
Notifications
You must be signed in to change notification settings - Fork 6
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
Conversation
4b06e03
to
e79239e
Compare
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) |
There was a problem hiding this comment.
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.
There was a problem hiding this comment.
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" | ||
} | ||
}, |
There was a problem hiding this comment.
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" | ||
}, |
There was a problem hiding this comment.
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
5710264
to
d7438f2
Compare
d7438f2
to
3a490aa
Compare
No description provided.