Merge pull request #29907 from deepeshgarg007/tds_payable_total_amount

fix: Total Credit amount in TDS Payable monthly report
This commit is contained in:
Deepesh Garg 2022-02-21 15:33:58 +05:30 committed by GitHub
commit 40a45a3139
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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 = {