Commit ·
630ceab
1
Parent(s): 5a625c4
Remove dynamic concrete grade text from BOQ item descriptions
Browse files- engine/project_boq_bridge.py +2 -10
engine/project_boq_bridge.py
CHANGED
|
@@ -770,16 +770,8 @@ def build_boq_dataframe_from_project(project: dict) -> tuple[pd.DataFrame, dict]
|
|
| 770 |
|
| 771 |
en_name = item["name_en"]
|
| 772 |
ar_name = item["name_ar"]
|
| 773 |
-
|
| 774 |
-
|
| 775 |
-
if "concrete" in item["key"] or "slab_concrete" in item["key"] or "beam_concrete" in item["key"] or "col_" in item["key"] or "staircase" in item["key"]:
|
| 776 |
-
if "pcc" not in item["key"]:
|
| 777 |
-
en_name += f" (Grade {concrete_grade})"
|
| 778 |
-
ar_name += f" (درجة {concrete_grade})"
|
| 779 |
-
else:
|
| 780 |
-
en_name += " (Grade C20/25 Blinding)"
|
| 781 |
-
ar_name += " (درجة C20/25 بيتون عادي)"
|
| 782 |
-
elif "block" in item["key"]:
|
| 783 |
t = "200mm"
|
| 784 |
if "solid" in item["key"]:
|
| 785 |
t = project.get("solid_block_thickness", "200mm")
|
|
|
|
| 770 |
|
| 771 |
en_name = item["name_en"]
|
| 772 |
ar_name = item["name_ar"]
|
| 773 |
+
# Removed dynamic concrete grade appending as per user request
|
| 774 |
+
if "block" in item["key"]:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 775 |
t = "200mm"
|
| 776 |
if "solid" in item["key"]:
|
| 777 |
t = project.get("solid_block_thickness", "200mm")
|