{% block main_sections %}
| {{ t('labels.no') }} | {{ t('labels.upstream_mh') }} | {{ t('labels.downstream_mh') }} | {{ t('labels.date') }} | {{ t('labels.road') }} | {{ t('labels.material') }} | {{ t('labels.sip_length') }} | {{ t('labels.cctv_length') }} |
|---|---|---|---|---|---|---|---|
| 1 | {% if inspection.header.measurements.upstream_mh_number %} {{ inspection.header.measurements.upstream_mh_number }} {% endif %} | {% if inspection.header.measurements.downstream_mh_number %} {{ inspection.header.measurements.downstream_mh_number }} {% endif %} | {% if inspection.header.survey.survey_date %} {{ inspection.header.survey.survey_date.strftime("%Y/%m/%d") }} {% endif %} | {% if inspection.header.location.street %} {{ inspection.header.location.street }} {% endif %} | {% if inspection.header.pipe.material %} {{ inspection.header.pipe.material.label }} {% endif %} | {% if inspection.header.pipe.length_surveyed %} {{ inspection.header.pipe.length_surveyed|string|replace('.', ',') }} {{ measurement_units }} {% endif %} | {% if inspection.header.pipe.total_length %} {{ inspection.header.pipe.total_length|string|replace('.', ',') }} {{ measurement_units }} {% endif %} |
{{ t('labels.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 }}{% endif %}
{{ t('labels.cctv_length') }} {% if inspection.header.pipe.total_length %}{{ inspection.header.pipe.total_length|string|replace('.', ',') }} {{ measurement_units }}{% endif %}