fix: against voucher no not all records showing in case of Group By Voucher (consolidated) (#21592)
This commit is contained in:
parent
d76f167e96
commit
54a6c64b0f
@ -296,6 +296,9 @@ def get_accountwise_gle(filters, gl_entries, gle_map):
|
|||||||
data[key].debit_in_account_currency += flt(gle.debit_in_account_currency)
|
data[key].debit_in_account_currency += flt(gle.debit_in_account_currency)
|
||||||
data[key].credit_in_account_currency += flt(gle.credit_in_account_currency)
|
data[key].credit_in_account_currency += flt(gle.credit_in_account_currency)
|
||||||
|
|
||||||
|
if data[key].against_voucher:
|
||||||
|
data[key].against_voucher += ', ' + gle.against_voucher
|
||||||
|
|
||||||
from_date, to_date = getdate(filters.from_date), getdate(filters.to_date)
|
from_date, to_date = getdate(filters.from_date), getdate(filters.to_date)
|
||||||
for gle in gl_entries:
|
for gle in gl_entries:
|
||||||
if (gle.posting_date < from_date or
|
if (gle.posting_date < from_date or
|
||||||
|
Loading…
x
Reference in New Issue
Block a user