Create user , user login register routes and pages

This commit is contained in:
2026-01-10 01:04:21 +05:30
parent fe9b056128
commit 54f3d16b57
17 changed files with 322 additions and 387 deletions

View File

@@ -6,8 +6,7 @@ from app.models.manhole_domestic_chamber_model import ManholeDomesticChamber
from app.models.mh_ex_client_model import ManholeExcavationClient
from app.models.tr_ex_client_model import TrenchExcavationClient
from app.models.mh_dc_client_model import ManholeDomesticChamberClient
from app import db
from app.utils.helpers import login_required
import pandas as pd
import io
@@ -110,6 +109,7 @@ class SubcontractorBill:
# get report by contractor id and dowanload
@file_report_bp.route("/report", methods=["GET", "POST"])
@login_required
def report_file():
subcontractors = Subcontractor.query.all()
@@ -172,6 +172,7 @@ class ClientBill:
@file_report_bp.route("/client_vs_subcont", methods=["GET", "POST"])
@login_required
def client_vs_all_subcontractor():