{% extends '@InstallBois/index.html.twig' %} {% block title %} INSTALL-BOIS {% endblock %} {% block page_content_start %} {{ parent() }}

Paramètres | Consulter un conduit

{% endblock %} {% block page_content %}
Informations conduit
{% if is_granted('ROLE_ADMIN') %} {% endif %} {% if is_granted('ROLE_ADMIN') %} {% endif %}
Nb diamètre Nb Coude / Té Nom du conduit Finitions Marque Fabricant Version ÉtatFiche
{{ product.productsDucts.productsDuctsDetails|length }} {{ infos['nbrCoudes'] }} / {{ infos['nbrTes'] }} {{ product.modele is not null ? product.modele : "N/A" }} {{ infos["finitions"] is not null ?infos["finitions"] : "N/A" }} {{ infos["brand"] is not null ?infos["brand"] : "N/A" }} {{ infos["manufacturer"] is not null ?infos["manufacturer"] : "N/A" }} {{ product.version is not null ? product.version : "N/A" }} {{ infos["state"] is not null ?infos["state"] : "N/A" }}{{ product.isLight == true ?'Light' : 'Full' }}
{# Informations générals #} {{ include('products/_block/product_comment_table.html.twig') }}
{% for details in product.productsDucts.productsDuctsDetails %} {% else %} {% endfor %}
Informations de base sur les Diamètres
Diamètre int. Diamètre ext. Épaisseur isolant
{{ details.diamInt is not null ? details.diamInt : "N/A" }} {{ details.diamExt is not null ? details.diamExt : "N/A" }} {{ details.isolantEpaisseur is not null ? details.isolantEpaisseur : "N/A" }}
Aucun Diamètre n'a été configuré
{% for accessories in product.productsDucts.productsDuctsAccessories %} {% else %} {% endfor %}
Accessoires (Coude et Té)
Type Angle (°) Forme Dzeta
{{ accessories.type is not null ? accessories.type|capitalize : "N/A" }} {{ accessories.angleDispo is not null ? accessories.angleDispo : "N/A" }} {% for forme in formeCoude %} {% if forme.id == accessories.forme %} {{ forme.label }} {% endif %} {% endfor %} {{ accessories.dzeta is not null ? accessories.dzeta : "N/A" }}
Aucun Coude ou Té n'a été configuré
{# Informations sur les diamètres et les coudes / t #}
Informations détaillées du conduit
{% for attrProduct in productInfos["duct"] %} {% if loop.index < 6 %} {% endif %} {% endfor %}
Libelle Information
{{ attrProduct["label"] }} {{ attrProduct["value"] is not null ? attrProduct["value"]|nl2br : "N/A" }}
{% for attrProduct in productInfos["duct"] %} {% if loop.index >= 6 %} {% endif %} {% endfor %}
Libelle Information
{{ attrProduct["label"] }} {{ attrProduct["value"] is not null ? attrProduct["value"]|nl2br : "N/A" }}
Informations détaillées des diamètres [ {{ productInfos["duct_details"]|length }} ]
{% for details in product.productsDucts.productsDuctsDetails|sort((a, b) => a.diamInt <=> b.diamInt) %} {% endfor %} {% set productInfoItems = productInfos["duct_details_formatted"] %} {% for ductQuest in productInfoItems %} {% for respo in ductQuest["values"] %} {% endfor %} {% endfor %}
Libelle {{ details.diamInt is not null ? details.diamInt : "N/A" }}
{{ ductQuest["label"] }}{{ respo is not null ? respo|nl2br : "N/A" }}
{{ include('products/_block/_form_add_or_update_product_comment.html.twig') }} {% endblock %}