Skip to content

Commit

Permalink
Merge pull request #570 from 8848digital/issue#549
Browse files Browse the repository at this point in the history
fix: error in test_cumulative_threshold_tcs
  • Loading branch information
tinadn authored Nov 6, 2024
2 parents 59c9d00 + eae3bc6 commit d23c4d1
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -593,6 +593,7 @@ def get_tcs_amount(parties, inv, tax_details, vouchers, adv_vouchers):
"voucher_no": ["in", vouchers],
},
"sum(debit)",
order_by=None
)
or 0.0
)
Expand Down Expand Up @@ -661,6 +662,7 @@ def get_limit_consumed(ldc, parties):
"company": ldc.company,
},
"sum(tax_withholding_net_total)",
order_by=None
)

return limit_consumed
Expand Down

0 comments on commit d23c4d1

Please sign in to comment.