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:
parent
ba7b05ad27
commit
102f9062e8
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user