Ejemplo n.º 1
0
def tenant_dough_defaults(tenant_id):
    data = None
    client = DoughClient()
    time_from = '2013-03-12T00:00:00'
    time_to = '3014-12-31T00:00:00'
#    time_to = time.strftime('%Y-%m-%dT%H:%M:%S',time.localtime(time.time()))

    data = client.query_monthly_report(tenant_id, time_from, time_to)
    return data
Ejemplo n.º 2
0
def tenant_dough_defaults():

    data = None
    client = DoughClient()
    tenant_id = '246eaa20db2b4a0c8939446c5db63288'
    time_from = '2012-12-01T00:00:00'
    time_to = '2012-12-31T00:00:00'

    data = client.query_monthly_report(tenant_id, time_from, time_to)
    return data
Ejemplo n.º 3
0
def tenant_products_defaults():
    data = None
    client = DoughClient()
    data = client.query_item_products()
    return data