mirror of
https://github.com/frappe/erpnext.git
synced 2026-03-01 17:45:56 +00:00
Whitelist get_month_details
This is useful when manually pulling the salary structure in custom scripts for processing of other customized deductables or perhaps contributions.
This commit is contained in:
@@ -188,7 +188,7 @@ class ProcessPayroll(Document):
|
||||
|
||||
return journal_entry.as_dict()
|
||||
|
||||
|
||||
@frappe.whitelist()
|
||||
def get_month_details(year, month):
|
||||
ysd = frappe.db.get_value("Fiscal Year", year, "year_start_date")
|
||||
if ysd:
|
||||
|
||||
Reference in New Issue
Block a user