Пример #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)