mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-22 06:29:20 +00:00
[fix] Actual amount for budget variance report
This commit is contained in:
@@ -100,6 +100,7 @@ def get_actual_details(name, filters):
|
|||||||
b.name = ba.parent
|
b.name = ba.parent
|
||||||
and b.docstatus = 1
|
and b.docstatus = 1
|
||||||
and ba.account=gl.account
|
and ba.account=gl.account
|
||||||
|
and b.{budget_against} = gl.{budget_against}
|
||||||
and gl.fiscal_year=%s
|
and gl.fiscal_year=%s
|
||||||
and b.{budget_against}=%s
|
and b.{budget_against}=%s
|
||||||
and exists(select name from `tab{tab}` where name=gl.{budget_against} and {cond})
|
and exists(select name from `tab{tab}` where name=gl.{budget_against} and {cond})
|
||||||
|
|||||||
Reference in New Issue
Block a user