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

feat: process leave encashment via journal entry #2809

Open
wants to merge 16 commits into
base: version-15-hotfix
Choose a base branch
from

Conversation

AyshaHakeem
Copy link
Collaborator

Previously, Leave Encashment was always processed by creating an Additional Salary on submission, which was later paid through the Salary Slip.

  • Add an option to process Leave Encashment via a Payment Entry instead of a Salary Slip.
  • Introduced a status field to track payment status.
  • Status now updates when paid via Payment Entry or Salary Slip.

Patch to update payment status of existing, submitted leave encashment docs based on whether they have been paid via salary slip

Before:
No status tracking, only Salary Slip-based payment.
Screenshot 2025-02-11 at 12 26 51 PM

After:
leave-payment

Documentation Link: https://docs.frappe.io/hr/leave-encashment


This is a backport of pull request #2775 .

@AyshaHakeem AyshaHakeem force-pushed the feat-process-leave-encashment-via-journal-entry-pr-2775 branch from d1897f3 to 70805c1 Compare February 23, 2025 18:51
@AyshaHakeem AyshaHakeem removed the request for review from ruchamahabal February 23, 2025 18:52
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.

1 participant