There was an error while loading. Please reload this page.
1 parent ac859d7 commit ec42c28Copy full SHA for ec42c28
Rico Parena/MALIPONG-NA1.py
@@ -200,7 +200,7 @@ def admin_login():
200
def customer_login(customer1):
201
print("\nCustomer Login")
202
while True:
203
- customer_id = int(input("Enter your customer ID: "))
+ customer_id = input("Enter your customer ID: ")
204
clear_screen()
205
if customer_id in customer1.c_customer:
206
customer_name = customer1.c_customer[customer_id][0]
@@ -222,6 +222,7 @@ def menu():
222
customer_logged_in = False
223
224
while not (admin_logged_in or customer_logged_in):
225
+ print(Customer.c_customer)
226
print("\nWelcome to Apollo Tindahan!")
227
print("Choose an option:")
228
print("[1] Admin Login")
0 commit comments