added client RA bill wise download report
This commit is contained in:
11
app/routes/dashboard.py
Normal file
11
app/routes/dashboard.py
Normal file
@@ -0,0 +1,11 @@
|
||||
|
||||
from flask import Blueprint, render_template, session, redirect, url_for
|
||||
|
||||
dashboard_bp = Blueprint("dashboard", __name__, url_prefix="/dashboard")
|
||||
|
||||
@dashboard_bp.route("/")
|
||||
def dashboard():
|
||||
if not session.get("user_id"):
|
||||
return redirect(url_for("auth.login"))
|
||||
|
||||
return render_template("dashboard.html", title="Dashboard")
|
||||
Reference in New Issue
Block a user