-
Notifications
You must be signed in to change notification settings - Fork 16
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
There was a bug in the previous payroll logic that couldn't handle the following scenario * Claimant paid for a claim (Claim A) in Jan payroll * Claimant paid a topup on Claim A in Feb payroll * Claimant paid for a claim (Claim B) in Feb payroll In that scenario the claimant would receive the topup payment twice as both Claim A and Claim B have the same payment and so when we joined claims to payments and left joined payments to topup both rows would have a topup, causing the coalesce to pick the topup amount.
- Loading branch information
Showing
2 changed files
with
159 additions
and
16 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters