mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-31 10:49:09 +00:00
Fixed SQL syntax error in Get Loan Details (#14265)
This commit is contained in:
committed by
Nabin Hait
parent
4d0c73a5c8
commit
13d4391e70
@@ -184,7 +184,7 @@ class PayrollEntry(Document):
|
|||||||
Get loan details from submitted salary slip based on selected criteria
|
Get loan details from submitted salary slip based on selected criteria
|
||||||
"""
|
"""
|
||||||
cond = self.get_filter_condition()
|
cond = self.get_filter_condition()
|
||||||
return frappe.db.sql(""" select eld.loan_account, eld.loan
|
return frappe.db.sql(""" select eld.loan_account, eld.loan,
|
||||||
eld.interest_income_account, eld.principal_amount, eld.interest_amount, eld.total_payment
|
eld.interest_income_account, eld.principal_amount, eld.interest_amount, eld.total_payment
|
||||||
from
|
from
|
||||||
`tabSalary Slip` t1, `tabSalary Slip Loan` eld
|
`tabSalary Slip` t1, `tabSalary Slip Loan` eld
|
||||||
|
|||||||
Reference in New Issue
Block a user