[fix][report] General Ledger
This commit is contained in:
parent
2da81732eb
commit
8bdf8e675f
@ -178,7 +178,8 @@ def get_data_with_opening_closing(filters, account_details, gl_entries):
|
||||
|
||||
else:
|
||||
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)
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user