Merge pull request #35023 from frappe/mergify/bp/version-14-hotfix/pr-34974

Revert "fix: Rate from LDC in TDS reports" (backport #34974)
This commit is contained in:
ruthra kumar
2023-04-25 12:04:50 +05:30
committed by GitHub

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"