mirror of
https://github.com/frappe/erpnext.git
synced 2026-03-22 03:35:43 +00:00
Revert "fix: Rate from LDC in TDS reports (#33699)"
This reverts commitdb9beb3cdd. (cherry picked from commitcb7a99cbaa)
This commit is contained in:
@@ -4,7 +4,6 @@
|
|||||||
|
|
||||||
import frappe
|
import frappe
|
||||||
from frappe import _
|
from frappe import _
|
||||||
from frappe.utils import flt
|
|
||||||
|
|
||||||
|
|
||||||
def execute(filters=None):
|
def execute(filters=None):
|
||||||
@@ -66,12 +65,6 @@ def get_result(
|
|||||||
else:
|
else:
|
||||||
total_amount_credited += entry.credit
|
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:
|
if tds_deducted:
|
||||||
row = {
|
row = {
|
||||||
"pan"
|
"pan"
|
||||||
|
|||||||
Reference in New Issue
Block a user