Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(Payroll): calculate loan repayment amount based on payroll end da…
…te instead of posting date (backport #2154) (#2156) * fix(Payroll): calculate loan repayment amount based on payroll end date instead of posting date - for backdated salary slips fetching loan repayments based on posting date leads to more deductions than earnings sometimes. Process this relative to the payroll dates instead of posting date * refactor: move out process accrual entries from `get_loan_details` - doing extra actions in a function named get is misleading (cherry picked from commit 5669fab) Co-authored-by: Rucha Mahabal <[email protected]>
- Loading branch information