mirror of
https://github.com/frappe/erpnext.git
synced 2026-04-19 06:45:11 +00:00
fix: set base_tax_withholding_net_total for jv in tds report
This commit is contained in:
@@ -83,6 +83,7 @@ def get_result(filters, tds_docs, tds_accounts, tax_category_map, journal_entry_
|
|||||||
# back calculate total amount from rate and tax_amount
|
# back calculate total amount from rate and tax_amount
|
||||||
base_total = min(flt(tax_amount / (rate / 100), precision=precision), values[0])
|
base_total = min(flt(tax_amount / (rate / 100), precision=precision), values[0])
|
||||||
total_amount = grand_total = base_total
|
total_amount = grand_total = base_total
|
||||||
|
base_tax_withholding_net_total = total_amount
|
||||||
|
|
||||||
else:
|
else:
|
||||||
if tax_amount and rate:
|
if tax_amount and rate:
|
||||||
|
|||||||
Reference in New Issue
Block a user