示例#1
0
def get_orders_by_columnvalue(column_name):
    print(f"enter searchvalue for {column_name}")
    name = f_input()
    orders = oc.get_orders_by_columnvalue(column_name, name)
    print_list_of_tablerows(orders)
    print_amount_matches(orders)
示例#2
0
def get_all_orders():
    orders = oc.get_all_orders()
    print_list_of_tablerows(orders)
    print_amount_matches(orders)
示例#3
0
def get_all_employees():
    employees = ec.get_all_employees()
    print_list_of_tablerows(employees)
    print_amount_matches(employees)
示例#4
0
def get_all_cars():
    cars = cc.get_all_cars()
    print_list_of_tablerows(cars)
    print_amount_matches(cars)
示例#5
0
def get_employee_by_name():
    print("Enter an employee name")
    e_name = f_input()
    employee = ec.get_employee_by_name(e_name)
    print_list_of_tablerows(employee)
    print_amount_matches(employee)
示例#6
0
def get_employee_by_columnvalue(column_name):
    print(f"enter searchvalue for {column_name}")
    name = f_input()
    employees = ec.get_employee_by_columnvalue(column_name, name)
    print_list_of_tablerows(employees)
    print_amount_matches(employees)
示例#7
0
def get_customers_by_name():
    print("Enter a Customer Name")
    c_name = f_input()
    customers = cc.get_customers_by_name(c_name)
    print_list_of_tablerows(customers)
    print_amount_matches(customers)
示例#8
0
def get_all_shops():
    shops = sc.get_all_shops()
    print_list_of_tablerows(shops)
    print_amount_matches(shops)
示例#9
0
def get_shop_by_columnvalue(column_name):
    print(f"enter searchvalue for {column_name}")
    name = f_input()
    shops = sc.get_shop_by_columnvalue(column_name, name)
    print_list_of_tablerows(shops)
    print_amount_matches(shops)
示例#10
0
def get_all_products():
    products = pc.get_all_products()
    print_list_of_tablerows(products)
    print_amount_matches(products)
示例#11
0
def get_products_by_columnvalue(column_name):
    print(f"enter searchvalue for {column_name}")
    name = f_input()
    products = pc.get_products_by_columnvalue(column_name, name)
    print_list_of_tablerows(products)
    print_amount_matches(products)