Ejemplo n.º 1
0
def add():
    items = []
    a = request.args.get('a')
    item = delivery.get_items(a)
    for k, v in item.items():
        items.append({"item": v})
    invoice = delivery.get_order_invoice(a)
    items.append({"invoice": invoice})
    return json.dumps(items)
Ejemplo n.º 2
0
def suppliersItems():
    a = request.args.get('a')
    items = delivery.get_items(a)
    return json.dumps(items)