client laying and bedding in ui added

This commit is contained in:
2026-01-17 17:33:07 +05:30
parent 8cba86323e
commit 0007d6e87d
2 changed files with 10 additions and 2 deletions

View File

@@ -199,7 +199,7 @@ def client_vs_all_subcontractor():
df_lay_cmp = clientBill.df_laying.merge(df_sub_lay_grp, on=["Location", "MH_NO"], how="left", suffixes=("_Client", "_Sub"))
except KeyError as e:
flash(f"Merge Error: Missing column {str(e)}. Check if 'Location' is defined in your database models.", "danger")
return render_template("generate_comparison_client_vs_subcont.html", tables=tables, ra_val=ra_val)
return render_template("client_report.html", tables=tables, ra_val=ra_val)
# Convert to HTML for preview