Create user , user login register routes and pages
This commit is contained in:
@@ -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():
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user