Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@ruchamahabal
Copy link
Member

@ruchamahabal ruchamahabal commented May 17, 2023

Components like ESIC don't follow traditional rounding. They need to be rounded up to the next higher rupee.
1.2 -> 2
1.5 -> 2

Allow ceil & floor functions in salary slip whitelisted_globals so that it can be used in formulae

Eg:

Component:
image

Salary Slip:
image

Docs: https://frappehr.com/docs/v14/user/manual/en/human-resources/salary-component

image

@ruchamahabal ruchamahabal merged commit 1ff710d into frappe:develop May 17, 2023
@ruchamahabal ruchamahabal added backport version-14-hotfix backport version-13-hotfix Needs manual backporting to frappe/erpnext labels May 30, 2023
mergify bot pushed a commit that referenced this pull request May 30, 2023
ruchamahabal added a commit that referenced this pull request May 30, 2023
frappe-pr-bot pushed a commit that referenced this pull request May 31, 2023
# [14.4.0](v14.3.4...v14.4.0) (2023-05-31)

### Bug Fixes

* check if shift is outside assignment period ([1ef0954](1ef0954))
* consider `curr_shift` to retrieve `prev_shift` when possible ([a4889b0](a4889b0))
* make promotion details table non-mandatory (backport [#559](#559)) ([#560](#560)) ([751adf4](751adf4))
* midnight shift not fetched in checkin if assignment is missing on shift's end date ([ab4f980](ab4f980))
* rectify time overlap validation for midnight shifts ([21e71e8](21e71e8))
* remove rounding default for earned leave (backport [#547](#547)) ([#549](#549)) ([8da0656](8da0656))
* set default to zero on salary component. ([#552](#552)) ([d846d84](d846d84))

### Features

* Allow ceil & floor functions in salary slip formulae (backport [#527](#527)) ([#558](#558)) ([f8bb10c](f8bb10c))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport version-13-hotfix Needs manual backporting to frappe/erpnext backport version-14-hotfix

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant