This commit is contained in:
2026-03-31 16:24:58 +05:30
parent 4e5887b160
commit cd16c284ce
10 changed files with 529 additions and 75 deletions

View File

@@ -144,7 +144,7 @@ class Paymentmodel:
try:
cursor = connection.cursor(dictionary=True)
# Fetch PMC & Invoice before deleting
cursor.callproc('GetPaymentPMCInvoiceById', [payment_id])
cursor.callproc('GetPaymentById', [payment_id])
record = {}
for result in cursor.stored_results():
record = result.fetchone() or {}