mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-22 14:39:19 +00:00
@@ -89,6 +89,7 @@ def execute(filters=None):
|
|||||||
"amount": salary.net_pay,
|
"amount": salary.net_pay,
|
||||||
}
|
}
|
||||||
data.append(row)
|
data.append(row)
|
||||||
|
|
||||||
return columns, data
|
return columns, data
|
||||||
|
|
||||||
def get_bank_accounts():
|
def get_bank_accounts():
|
||||||
@@ -110,7 +111,7 @@ def get_payroll_entries(accounts, filters):
|
|||||||
entries = get_all("Payroll Entry", payroll_filter, ["name", "payment_account"])
|
entries = get_all("Payroll Entry", payroll_filter, ["name", "payment_account"])
|
||||||
|
|
||||||
payment_accounts = [d.payment_account for d in entries]
|
payment_accounts = [d.payment_account for d in entries]
|
||||||
set_company_account(payment_accounts, entries)
|
entries = set_company_account(payment_accounts, entries)
|
||||||
return entries
|
return entries
|
||||||
|
|
||||||
def get_salary_slips(payroll_entries):
|
def get_salary_slips(payroll_entries):
|
||||||
|
|||||||
Reference in New Issue
Block a user