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

Unable to get Attendance Details display in salary slip. #13

Open
AapicoDev opened this issue Nov 27, 2024 · 1 comment
Open

Unable to get Attendance Details display in salary slip. #13

AapicoDev opened this issue Nov 27, 2024 · 1 comment

Comments

@AapicoDev
Copy link

Sorry I am newbie to Frappe, I have an issue that Attendance Details in Salary Slips Tab not show up the data.

@frappe.whitelist()
def add_attendance_data(payroll_entry):
salary_slips = frappe.db.get_all('Salary Slip', filters = { 'payroll_entry': payroll_entry, 'docstatus': 0 })

I wonder how this session of code being call, so that data could be added to salary_slips?

@maniamartial
Copy link
Contributor

Fixed.

That method was being consumed in another app, have updated, check on payroll entry js.
Let me get your feedback incase of anything else.
WiIl close this in weeks time

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

No branches or pull requests

2 participants