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

fix: HRA calculation if there are multiple salary structure assignments for the current payroll period (backport #2691) #2694

Merged

Conversation

mergify[bot]
Copy link
Contributor

@mergify mergify bot commented Jan 24, 2025

HRA calculation was wrong if there were multiple salary structure assignments for the current payroll period and last assignment start date was before the current payroll period start date.

Example:
Payroll Period: 01/04/2024 - 31/03/2025
Assignment 1 Start Date: 01/09/2023
Assignment 2 Start Date: 01/07/2024


This is an automatic backport of pull request #2691 done by [Mergify](https://mergify.com).

…ts for the current payroll period

(cherry picked from commit e71278b)
@mergify mergify bot requested a review from ruchamahabal as a code owner January 24, 2025 06:29
@ruchamahabal ruchamahabal merged commit 490e580 into version-15-hotfix Jan 24, 2025
8 checks passed
frappe-pr-bot pushed a commit that referenced this pull request Jan 24, 2025
## [15.38.2](v15.38.1...v15.38.2) (2025-01-24)

### Bug Fixes

* add company_data_to_be_ignored hook ([4ba4193](4ba4193))
* add doctype list to ignore to hooks directly ([defbcf6](defbcf6))
* allow setting payroll frequency for timesheet based payroll entry, calculate salary slip dates if payroll frequency is set not if its not a timesheet based salary slip ([650c05b](650c05b))
* clear company field in single docs, delete other linked docs ([d026ca5](d026ca5))
* edit company_data_to_be_ignored hook content ([466e487](466e487))
* HRA calculation if there are multiple salary structure assignments for the current payroll period (backport [#2691](#2691)) ([#2694](#2694)) ([490e580](490e580))
* set company field empty for single and master doctypes during company deletion ([2c2229e](2c2229e))
* set payment frequency in payroll entry for timesheet based salary slips ([489b8df](489b8df))
* update function clearing company field and replace SQL with query builder ([17970d9](17970d9))
@frappe-pr-bot
Copy link
Collaborator

🎉 This PR is included in version 15.38.2 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants