chore: resolve conflict

This commit is contained in:
ruthra kumar
2024-10-15 13:32:29 +05:30
parent 8668ae92d8
commit 105f9ec2e1

View File

@@ -610,11 +610,6 @@ def get_tcs_amount(parties, inv, tax_details, vouchers, adv_vouchers):
conditions.append(ple.voucher_no == ple.against_voucher_no)
conditions.append(ple.company == inv.company)
<<<<<<< HEAD
(qb.from_(ple).select(Abs(Sum(ple.amount))).where(Criterion.all(conditions)).run(as_list=1))
=======
>>>>>>> 5f590ddfa2 (fix: removed unused query)
advance_amt = (
qb.from_(ple).select(Abs(Sum(ple.amount))).where(Criterion.all(conditions)).run()[0][0] or 0.0
)