Merge pull request #29910 from frappe/mergify/bp/version-13-pre-release/pr-29907

fix: Total Credit amount in TDS Payable monthly report (backport #29907)
This commit is contained in:
Deepesh Garg
2022-02-21 15:40:53 +05:30
committed by GitHub

View File

@@ -43,7 +43,7 @@ def get_result(filters, tds_docs, tds_accounts, tax_category_map):
if entry.account in tds_accounts:
tds_deducted += (entry.credit - entry.debit)
total_amount_credited += (entry.credit - entry.debit)
total_amount_credited += entry.credit
if tds_deducted:
row = {