equals-wd-card-expense-proc.../app/tools/receipt/routes.py

13 lines
439 B
Python

from flask import Blueprint, render_template
# Receipt Generator is entirely client-side (form -> live preview -> PDF,
# all in the browser, nothing uploaded) - there's no server-side business
# logic, so unlike this repo's other tools there's no logic.py, just the
# one page route.
receipt_bp = Blueprint("receipt", __name__, url_prefix="/receipt")
@receipt_bp.route("/")
def index():
return render_template("receipt/index.html")