Check Out function
This commit is contained in:
parent
9b96667b8d
commit
d215799982
2
db.json
2
db.json
@ -1 +1 @@
|
||||
{"_default": {}}
|
||||
{"_default": {"1": {"Serial Number": "1", "Brand": "3", "Grade": "4", "Name": "5"}}}
|
9
main.py
9
main.py
@ -128,6 +128,15 @@ def main():
|
||||
window["Brand"].update(row[1])
|
||||
window["Grade"].update(row[2])
|
||||
window["Name"].update(row[3])
|
||||
|
||||
elif event == "Check Out":
|
||||
SN = window["Serial Number"].get()
|
||||
G = window["Grade"].get()
|
||||
N = window["Name"].get()
|
||||
Table = window["table"].get()
|
||||
print(Table)
|
||||
|
||||
|
||||
# Finish up by removing from the screen
|
||||
window.close()
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user