Skip to content

Commit

Permalink
Revert "fix: Rate from LDC in TDS reports (#33699)"
Browse files Browse the repository at this point in the history
This reverts commit db9beb3.

(cherry picked from commit cb7a99c)
  • Loading branch information
ruthra-kumar authored and mergify[bot] committed Apr 25, 2023
1 parent c8622fb commit f44a79f
Showing 1 changed file with 0 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@

import frappe
from frappe import _
from frappe.utils import flt


def execute(filters=None):
Expand Down Expand Up @@ -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"
Expand Down

0 comments on commit f44a79f

Please sign in to comment.