mirror of
https://github.com/frappe/erpnext.git
synced 2026-02-21 10:26:30 +00:00
fix: correct expense amount in party ledger summary.
This commit is contained in:
@@ -405,7 +405,9 @@ class PartyLedgerSummaryReport:
|
|||||||
gl = qb.DocType("GL Entry")
|
gl = qb.DocType("GL Entry")
|
||||||
query = (
|
query = (
|
||||||
qb.from_(gl)
|
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(
|
.where(
|
||||||
(gl.docstatus < 2)
|
(gl.docstatus < 2)
|
||||||
& (gl.is_cancelled == 0)
|
& (gl.is_cancelled == 0)
|
||||||
|
|||||||
Reference in New Issue
Block a user