{% block pipe_connections %} {% set title = "Reporte de Registro / Inspección: ID de Registro: " ~ (inspection.header.location.access_point_no if inspection.header.location.access_point_no else "") %} {% set border_bottom = True %} {% include "nassco/macp/es/page_title.html" %}

{{ t("labels.pipe_connections") }}

{% for connection in inspection.header.pipe_connections %} {% endfor %} {# Fill remaining rows to make total of 13 #} {% set remaining_rows = 13 - inspection.header.pipe_connections|length %} {% if remaining_rows > 0 %} {% for i in range(remaining_rows) %} {% endfor %} {% endif %}
{{ t("labels.pipe_no") }} {{ t("labels.clock_pos") }} {{ t("labels.rim_to_invert") }} {{ t("labels.directions") }} {{ t("labels.material") }} {{ t("labels.shape") }} {{ t("labels.height") }} {{ t("labels.cond") }} {{ t("labels.seal_cond") }} {{ t("labels.pipe_type") }} {{ t("labels.struct_id") }} {{ t("labels.comment") }}
{% if connection.pipe_number %}{{ connection.pipe_number }}{% endif %} {% if connection.clock_position %}{{ connection.clock_position }}{% endif %} {% if connection.rim_to_invert %}{{ connection.rim_to_invert }}{% endif %} {% if connection.direction %}{{ connection.direction }}{% endif %} {% if connection.material %}{{ connection.material }}{% endif %} {% if connection.shape %}{{ connection.shape }}{% endif %} {% if connection.height %}{{ connection.height }}{% endif %} {% if connection.pipe_condition %}{{ connection.pipe_condition }}{% endif %} {% if connection.pipe_seal_condition %}{{ connection.pipe_seal_condition }}{% endif %} {% if connection.pipe_type %}{{ connection.pipe_type }}{% endif %} {% if connection.structure_id %}{{ connection.structure_id }}{% endif %} {% if connection.pipe_comments %}{{ connection.pipe_comments }}{% endif %}

{{ t("labels.manhole_component_defect_section") }}

{% for observation in inspection.observations %} {% endfor %} {# Fill remaining rows to make total of 31 #} {% set remaining_rows = 31 - inspection.observations|length %} {% if remaining_rows > 0 %} {% for i in range(remaining_rows) %} {% endfor %} {% endif %}
{{ t("labels.depth") }} {{ t("labels.video_ref") }} {{ t("labels.component") }}
{{ t("labels.code") }}
{{ t("labels.group_descriptor_modifier") }}
{{ t("labels.continuous_defect") }} {{ t("labels.severity") }}
{{ t("labels.value") }}
{{ t("labels.dimension") }}
{{ t("labels.first") }}
{{ t("labels.second") }}
%
{{ t("labels.joint") }} {{ t("labels.step") }}
{{ t("labels.circumferential_location") }}
{{ t("labels.at_from") }}
{{ t("labels.to") }}
{{ t("labels.remarks") }}
{% if observation.distance or observation.distance == 0 %}{{ observation.distance }}{% endif %} {% if observation.video_ref %}{{ observation.video_ref }}{% endif %} {% if observation.component %}{{ observation.component }}{% endif %} {% if observation.code %}{{ observation.code }}{% endif %} {% if observation.continuous_defect %}{{ observation.continuous_defect }}{% endif %} {% if observation.severity %}{{ observation.severity }}{% endif %}
{% if observation.value_1st_dimension %}{{ observation.value_1st_dimension }}{% endif %}
{% if observation.value_2nd_dimension %}{{ observation.value_2nd_dimension }}{% endif %}
{% if observation.value_defect_percent %}{{ observation.value_defect_percent }}{% endif %}
{% if observation.joint %}{{ observation.joint }}{% endif %} {% if observation.step %}{{ observation.step }}{% endif %}
{% if observation.circumferential_location_from %}{{ observation.circumferential_location_from }}{% endif %}
{% if observation.circumferential_location_to %}{{ observation.circumferential_location_to }}{% endif %}
{% if observation.remarks %}{{ observation.remarks }}{% endif %}
{% endblock %}