Skip to content

feat: Added checkbox to exclude specific salary component amount from Journal Entry #3315

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

Merged

Conversation

iamkhanraheel
Copy link
Collaborator

@iamkhanraheel iamkhanraheel commented Jul 7, 2025

Reason

To ensure salary component exclusion from journal entry as per need

Changes Done

  • Added a new checkbox Do Not Include in Accounting Entries in salary component to exclude specific component amount from Journal Enrtry
  • It will be shown when Do Not Include in Total checkbox is enabled

Screenshots

image image image

no-docs

Copy link
Member

@ruchamahabal ruchamahabal left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I had tried this but it's used by some users as a feature so could not remove it 😅
#2389

@AyshaHakeem
Copy link
Collaborator

AyshaHakeem commented Jul 8, 2025

can you please add a test and fix the linter issue @iamkhanraheel

@AyshaHakeem
Copy link
Collaborator

Can it be a separate check box then? @ruchamahabal

@iamkhanraheel iamkhanraheel changed the title fix: Exclude salary component which is not allowed to include in total in Journal Entry feat: Added checkbox to exclude specific salary component amount from Journal Entry Jul 21, 2025
@iamkhanraheel iamkhanraheel requested a review from nabinhait July 24, 2025 07:12
@AyshaHakeem
Copy link
Collaborator

AyshaHakeem commented Jul 29, 2025

exclude this amount when fetching components details for bank entry as well, incorrect now
accrual entry:
Screenshot 2025-07-30 at 10 47 27 AM
bank entry:
Screenshot 2025-07-30 at 10 48 33 AM

@AyshaHakeem AyshaHakeem merged commit b8caf2c into frappe:develop Jul 30, 2025
7 checks passed
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.

3 participants