def dumploopinvoice(): data = invoice_call() app.logger.debug(data) return render_template("loopinvoice.html", invoice=data)
def jsoninvoice(): data = invoice_call() print(data) return jsonify(data), 200
def dumpinvoice(): return render_template("dump.html", customer=invoice_call())