Revert "fix: Rate from LDC in TDS reports (#33699)"

This reverts commit db9beb3cddc78376ccd30b57efafa35381b482d6.
This commit is contained in:
ruthra kumar 2023-04-21 12:59:52 +05:30
parent 3ec1597860
commit cb7a99cbaa

View File

@ -4,7 +4,6 @@
import frappe
from frappe import _
from frappe.utils import flt
def execute(filters=None):
@ -66,12 +65,6 @@ def get_result(
else:
total_amount_credited += entry.credit
## Check if ldc is applied and show rate as per ldc
actual_rate = (tds_deducted / total_amount_credited) * 100
if flt(actual_rate) < flt(rate):
rate = actual_rate
if tds_deducted:
row = {
"pan"