Merge pull request #47557 from frappe/mergify/bp/version-15/pr-47541

fix: correct expense amount in party ledger summary. (backport #47541)
This commit is contained in:
ruthra kumar
2025-05-15 11:33:53 +05:30
committed by GitHub

View File

@@ -405,7 +405,9 @@ class PartyLedgerSummaryReport:
gl = qb.DocType("GL Entry")
query = (
qb.from_(gl)
.select(gl.voucher_type, gl.voucher_no)
.select(
gl.posting_date, gl.account, gl.party, gl.voucher_type, gl.voucher_no, gl.debit, gl.credit
)
.where(
(gl.docstatus < 2)
& (gl.is_cancelled == 0)