mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-29 18:04:46 +00:00
chore: resolve conflicts
This commit is contained in:
@@ -518,17 +518,6 @@ def get_invoice_total_without_tcs(inv, tax_details):
|
|||||||
|
|
||||||
def get_tds_amount_from_ldc(ldc, parties, pan_no, tax_details, posting_date, net_total):
|
def get_tds_amount_from_ldc(ldc, parties, pan_no, tax_details, posting_date, net_total):
|
||||||
tds_amount = 0
|
tds_amount = 0
|
||||||
<<<<<<< HEAD
|
|
||||||
limit_consumed = frappe.db.get_value(
|
|
||||||
"Purchase Invoice",
|
|
||||||
{
|
|
||||||
"supplier": ("in", parties),
|
|
||||||
"apply_tds": 1,
|
|
||||||
"docstatus": 1,
|
|
||||||
"posting_date": ("between", (ldc.valid_from, ldc.valid_upto)),
|
|
||||||
},
|
|
||||||
"sum(base_net_total)",
|
|
||||||
=======
|
|
||||||
|
|
||||||
limit_consumed = flt(
|
limit_consumed = flt(
|
||||||
frappe.db.get_all(
|
frappe.db.get_all(
|
||||||
@@ -542,7 +531,6 @@ def get_tds_amount_from_ldc(ldc, parties, pan_no, tax_details, posting_date, net
|
|||||||
},
|
},
|
||||||
fields=["sum(base_net_total) as limit_consumed"],
|
fields=["sum(base_net_total) as limit_consumed"],
|
||||||
)[0].get("limit_consumed")
|
)[0].get("limit_consumed")
|
||||||
>>>>>>> 571c977e8e (fix: Incorrect field while calculating Tax withholding net total)
|
|
||||||
)
|
)
|
||||||
|
|
||||||
if is_valid_certificate(
|
if is_valid_certificate(
|
||||||
|
|||||||
Reference in New Issue
Block a user