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 #2691

Merged
merged 1 commit into from
Jan 24, 2025

Conversation

nabinhait
Copy link
Member

@nabinhait nabinhait commented Jan 23, 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

@nabinhait nabinhait merged commit 7c188bc into frappe:develop Jan 24, 2025
9 checks passed
ruchamahabal pushed a commit that referenced this pull request Jan 24, 2025
…ts for the current payroll period (backport #2691) (#2693)

Co-authored-by: Nabin Hait <nabinhait@gmail.com>
ruchamahabal pushed a commit that referenced this pull request Jan 24, 2025
…ts for the current payroll period (backport #2691) (#2694)

Co-authored-by: Nabin Hait <nabinhait@gmail.com>
frappe-pr-bot pushed a commit that referenced this pull request Jan 24, 2025
## [14.36.4](v14.36.3...v14.36.4) (2025-01-24)

### Bug Fixes

* add company_data_to_be_ignored hook ([52a164d](52a164d))
* add doctype list to ignore to hooks directly ([635dc73](635dc73))
* clear company field in single docs, delete other linked docs ([e70a1b9](e70a1b9))
* edit company_data_to_be_ignored hook content ([afd358f](afd358f))
* HRA calculation if there are multiple salary structure assignments for the current payroll period (backport [#2691](#2691)) ([#2693](#2693)) ([32e5c3b](32e5c3b))
* set company field empty for single and master doctypes during company deletion ([6673379](6673379))
* update function clearing company field and replace SQL with query builder ([4d9f51e](4d9f51e))
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))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant