fix: Against voucher in General Ledger

This commit is contained in:
Deepesh Garg 2020-05-19 20:51:30 +05:30
parent aa85e511da
commit 1b1787c61a

View File

@ -296,7 +296,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)