mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-05 22:48:27 +00:00
@@ -12,6 +12,7 @@ salary_slip = frappe.qb.DocType("Salary Slip")
|
|||||||
salary_detail = frappe.qb.DocType("Salary Detail")
|
salary_detail = frappe.qb.DocType("Salary Detail")
|
||||||
salary_component = frappe.qb.DocType("Salary Component")
|
salary_component = frappe.qb.DocType("Salary Component")
|
||||||
|
|
||||||
|
|
||||||
def execute(filters=None):
|
def execute(filters=None):
|
||||||
if not filters:
|
if not filters:
|
||||||
filters = {}
|
filters = {}
|
||||||
@@ -260,6 +261,7 @@ def get_salary_components(salary_slips):
|
|||||||
.distinct()
|
.distinct()
|
||||||
).run(as_list=True)
|
).run(as_list=True)
|
||||||
|
|
||||||
|
|
||||||
def get_salary_component_type(salary_component):
|
def get_salary_component_type(salary_component):
|
||||||
return frappe.db.get_value("Salary Component", salary_component, "type", cache=True)
|
return frappe.db.get_value("Salary Component", salary_component, "type", cache=True)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user