{% extends 'base-compte2.html.twig' %} {% block contenu %} {% set currentUrl = app.request.attributes.get('_route') %} {% set workerTypeId = customParam('find_my_data_worker_type_id') %} {% if workerTypeId == 1 or workerTypeId == 3 %} {% set mainType1 = customParam('main_skill_type_1')%} {% set mainType2 = customParam('main_skill_type_2')%} {% else %} {% set mainType2 = customParam('main_skill_type_1')%} {% set mainType1 = customParam('main_skill_type_2')%} {% endif %}

1 - {{'pageBtoB.skills'|trans|upper}}

{{'property_types'|trans|upper}}

{% for skillType in skillTypes[mainType1] %} {% if skillType.mainSkill == null %}
{% for skillTypeChild in skillType.skills %}
{% endfor %}
{# Si on s'en fiche de sort les skillChilds hors de leurs skillParent #} {# {% for skillTypeChild in skillType.skills %}
{% endfor %} #} {% endif %} {% endfor %}

{{'work_types'|trans|upper}}

{% for skillType in skillTypes[mainType2] %} {% if skillType.mainSkill == null %}
{% for skillTypeChild in skillType.skills %}
{% endfor %}
{% endif %} {% endfor %}
{% if workerTypeId == 1 or workerTypeId == 2 %}

{{'style_types'|trans|upper}}

{% for attribute in attributes %} {% if attribute.id == '58' %}
{% for childAttribute in attribute.attributes %}
{% endfor %}
{% endif %} {% endfor %}
{% endif %}

2 - {{'myAccount.infos_comp'|trans|upper}}

{{'localisation'|trans|upper}}

{% if attribute_2 %} {% for attribute in attributes %} {% if attribute.id == attribute_2 %}
{% for childAttribute in attribute.attributes %}
{% endfor %}
{% endif %} {% endfor %} {% endif %}
{#
#} {% if workerTypeId == 3 %}

{{'prestations'|trans|upper}}

{% for attribute in attributes %} {% if attribute.id == '122' %}
{% for childAttribute in attribute.attributes %}
{% endfor %}
{% endif %} {% endfor %}
{% endif %} {% if workerTypeId == 1 %}

{{'missions'|trans|upper}}

{% if attribute_1 %} {% for attribute in attributes %} {% if attribute.id == attribute_1 %}
{% for childAttribute in attribute.attributes %}
{% endfor %}
{% endif %} {% endfor %} {% endif %}
{% endif %} {#
#}

{{'prices'|trans|upper}}

{% if attribute_3 %} {% for attribute in attributes %} {% if attribute.id == attribute_3 %}
{% for childAttribute in attribute.attributes %}
{% endfor %}
{% endif %} {% endfor %} {% endif %}
{#
#}

{{'payment'|trans|upper}}

{% if attribute_4 %} {% for attribute in attributes %} {% if attribute.id == attribute_4 %}
{% for childAttribute in attribute.attributes %}
{% endfor %}
{% endif %} {% endfor %} {% endif %}

{{'language_spoken'|trans|upper}}

{# Ici c'est normal de ne pas avoir toutes les langues (input pour en ajouter) #} {% if attribute_5 %} {% for attribute in attributes %} {% if attribute.id == attribute_5 %}
{% for childAttribute in attribute.attributes %} {% if childAttribute.id in workerAttributesIds %}
{% endif %} {% endfor %}
{% endif %} {% endfor %} {% endif %}
{{'myAccount.modifications_on_hold'|trans}}
{% endblock %} {% block javascripts %} {% endblock %}