File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -258,9 +258,7 @@ def undo_loan_approval(loan_id: int):
258258 """Answers: 'Undo the approval for Loan #123' or 'Reverse loan approval so we can modify terms'"""
259259 print (f"[Tool] Undoing approval for Loan #{ loan_id } ..." )
260260 payload = {
261- "note" : "Approval undone via AI Agent" ,
262- "dateFormat" : "dd MMMM yyyy" ,
263- "locale" : "en"
261+ "note" : "Approval undone via AI Agent"
264262 }
265263 return fineract_client .execute_post (f"loans/{ loan_id } ?command=undoapproval" , payload )
266264
@@ -269,9 +267,7 @@ def undo_loan_disbursal(loan_id: int):
269267 """Answers: 'Undo the disbursal for Loan #123' or 'Reverse the disbursement so we can correct the amount'"""
270268 print (f"[Tool] Undoing disbursal for Loan #{ loan_id } ..." )
271269 payload = {
272- "note" : "Disbursal undone via AI Agent" ,
273- "dateFormat" : "dd MMMM yyyy" ,
274- "locale" : "en"
270+ "note" : "Disbursal undone via AI Agent"
275271 }
276272 return fineract_client .execute_post (f"loans/{ loan_id } ?command=undodisbursal" , payload )
277273
You can’t perform that action at this time.
0 commit comments