change of gst rels detail proce calling add

This commit is contained in:
2026-04-04 14:00:25 +05:30
parent 73cd97f3c8
commit 055b272703
5 changed files with 22 additions and 17 deletions

View File

@@ -307,7 +307,7 @@ def save_data():
else:
print("Hold columns data is not a valid list of dictionaries.")
#---------------------------------------------Credit Note---------------------------------------------------------------------------
elif any(keyword in Invoice_Details.lower() for keyword in ['credit note','logging report']):
elif any(keyword in Invoice_Details.lower() for keyword in ['credit note','logging report','credit','Credit note Details']):
# print("Credit note found:", PMC_No, Invoice_No, Basic_Amount, Debit_Amount, Final_Amount,
# After_Debit_Amount, GST_Amount, Amount, Final_Amount, Payment_Amount, Total_Amount, UTR, Invoice_No)
cursor.callproc(
@@ -330,7 +330,8 @@ def save_data():
'excess hold amount',
'Multi to Single layer bill',
'hold amount',
'logging report'
'logging report',
'hold'
]
# Step 3: Matching condition
if any(kw in normalized_details for kw in keywords):