{% block main_sections %}
| No: | Upstream MH: | Downstream MH: | Date (YYYY/MM/DD): | Road: | Material: | Length Surveyed: | Total Length: |
|---|---|---|---|---|---|---|---|
| 1 | {% if inspection.header.measurements.upstream_mh_number %} {{ inspection.header.measurements.upstream_mh_number }} {% else %} N/A {% endif %} | {% if inspection.header.measurements.downstream_mh_number %} {{ inspection.header.measurements.downstream_mh_number }} {% else %} N/A {% endif %} | {% if inspection.header.survey.survey_date %} {{ inspection.header.survey.survey_date.strftime("%Y/%m/%d") }} {% else %} N/A {% endif %} | {% if inspection.header.location.street %} {{ inspection.header.location.street }} {% else %} N/A {% endif %} | {% if inspection.header.pipe.material %} {{ inspection.header.pipe.material.label }} {% else %} N/A {% endif %} | {% if inspection.header.pipe.length_surveyed %} {{ "%.2f"|format(inspection.header.pipe.length_surveyed) }} {{ measurement_units }} {% else %} N/A {% endif %} | {% if inspection.header.pipe.total_length %} {{ "%.2f"|format(inspection.header.pipe.total_length) }} {{ measurement_units }} {% endif %} |
Diameter = {% if inspection.header.pipe.height %}{{ (inspection.header.pipe.height|int if inspection.header.pipe.height|int == inspection.header.pipe.height else inspection.header.pipe.height)|string|replace('.', ',') }} {{ pipe_size_units }}{% else %}N/A{% endif %}
CCTV Length = {% if inspection.header.pipe.total_length %}{{ "%.2f"|format(inspection.header.pipe.total_length) }} {{ measurement_units }}{% else %}N/A{% endif %}