def get_total_all_orders(sql_connection):
    return status_business_repository.get_total_all_orders(sql_connection)
def get_profit(sql_connection):
    total_orders = status_business_repository.get_total_all_orders(sql_connection)
    total_capital = status_business_repository.get_total_capital_up_date(sql_connection)
    return total_orders - total_capital
def get_total_debt(sql_connection):
    total_orders = status_business_repository.get_total_all_orders(sql_connection)
    total_payments = status_business_repository.get_total_payments(sql_connection)
    return total_orders - total_payments
Exemplo n.º 4
0
def get_total_all_orders(sql_connection):
    return status_business_repository.get_total_all_orders(sql_connection)
Exemplo n.º 5
0
def get_profit(sql_connection):
    total_orders = status_business_repository.get_total_all_orders(
        sql_connection)
    total_capital = status_business_repository.get_total_capital_up_date(
        sql_connection)
    return total_orders - total_capital
Exemplo n.º 6
0
def get_total_debt(sql_connection):
    total_orders = status_business_repository.get_total_all_orders(
        sql_connection)
    total_payments = status_business_repository.get_total_payments(
        sql_connection)
    return total_orders - total_payments