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

Add PayUplift model and multiply pay periods by pay uplift #569

Merged
merged 2 commits into from
Dec 9, 2024

Conversation

CaitBarnard
Copy link
Contributor

Add model for PayUplift
Multiply pay periods by pay uplift so that it is reflected on the forecast table in Edit Payroll
E.g:

# Person is paid Apr to Dec but not Jan to Mar
periods = [True, True, True, True, True, True, True, True, True, False, False, False]

# Uplift of 5% starts in Oct
pay_uplift = [1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.05, 1.05, 1.05, 1.05, 1.05, 1.05]

# Person's pay is increased by the uplift for Oct, Nov and Dec
periods * pay_uplift = [1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.05, 1.05, 1.05, 0, 0, 0]
  • JIRA ticket referenced in title
  • Title is clear and concise
  • Description gives any relevant detail
  • Tests are up to date
  • Documentation is up to date

@CaitBarnard CaitBarnard marked this pull request as ready for review December 9, 2024 09:48
@CaitBarnard CaitBarnard requested a review from a team as a code owner December 9, 2024 09:48
payroll/services/payroll.py Outdated Show resolved Hide resolved
@CaitBarnard CaitBarnard merged commit 0fe4dea into sprint-48 Dec 9, 2024
1 check passed
@CaitBarnard CaitBarnard deleted the FFT-103/pay-uplift-2 branch December 9, 2024 10:41
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