mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-26 00:14:50 +00:00
Merge pull request #4502 from nabinhait/general_ledger_fix
[fix][report] General Ledger
This commit is contained in:
@@ -178,7 +178,8 @@ def get_data_with_opening_closing(filters, account_details, gl_entries):
|
|||||||
|
|
||||||
else:
|
else:
|
||||||
for gl in gl_entries:
|
for gl in gl_entries:
|
||||||
if gl.posting_date >= getdate(filters.from_date) and gl.posting_date <= getdate(filters.to_date):
|
if gl.posting_date >= getdate(filters.from_date) and gl.posting_date <= getdate(filters.to_date) \
|
||||||
|
and gl.is_opening == "No":
|
||||||
data.append(gl)
|
data.append(gl)
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user