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

13 lines
444 B
Python

from flask import Blueprint, render_template
# Payslip 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 here, just the one
# page route.
payslip_bp = Blueprint("payslip", __name__, url_prefix="/payslip")
@payslip_bp.route("/")
def index():
return render_template("payslip/index.html")