fix: Against voucher in General Ledger

This commit is contained in:
Deepesh Garg
2020-05-19 20:59:51 +05:30
parent 07924d3c7c
commit 05aae4341e

View File

@@ -293,7 +293,7 @@ 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:
if data[key].against_voucher and gle.against_voucher:
data[key].against_voucher += ', ' + gle.against_voucher
from_date, to_date = getdate(filters.from_date), getdate(filters.to_date)