MCPcopy Index your code
hub / github.com/geekcomputers/Python / deduct_money

Function deduct_money

bank_managment_system/frontend.py:292–305  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

290 else:
291
292 def deduct_money():
293 new_money = entry12.get()
294 result = backend.deduct_balance(new_money, acc_no)
295 if result:
296 add_frame.grid_forget()
297 page2()
298 else:
299 label = Label(search_frame, text="Insufficient Balance")
300 label.grid(row=4)
301
302 button = Button(search_frame, text="Exit", command=go_page2)
303 button.grid(row=5)
304
305 mainloop()
306
307 search_frame.grid_forget()
308 global add_frame

Callers

nothing calls this directly

Calls 3

page2Function · 0.85
deduct_balanceMethod · 0.80
getMethod · 0.45

Tested by

no test coverage detected