fix: against voucher no not all records showing in case of Group By Voucher (consolidated) (#21591)

This commit is contained in:
rohitwaghchaure
2020-05-05 16:17:03 +05:30
committed by GitHub
parent 10ea82001f
commit d476eb79b4

View File

@@ -293,6 +293,9 @@ def get_accountwise_gle(filters, gl_entries, gle_map):
data[key].debit_in_account_currency += flt(gle.debit_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)
for gle in gl_entries:
if (gle.posting_date < from_date or