Check Out function

This commit is contained in:
Josh Biltonen 2022-11-10 17:52:40 -08:00
parent 9b96667b8d
commit d215799982
2 changed files with 10 additions and 1 deletions

View File

@ -1 +1 @@
{"_default": {}}
{"_default": {"1": {"Serial Number": "1", "Brand": "3", "Grade": "4", "Name": "5"}}}

View File

@ -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()