{% extends 'base.html.twig' %} {% block meta %} {% if worker.currentTranslation.contentTitle and worker.currentTranslation.contentTitle|length > 0 %} {{ worker.currentTranslation.contentTitle|striptags }} {% endif %} {% endblock %} {% block add %} {% if worker.isEnabled == 0 %} {% endif %} {% endblock %} {% set default_country = customParam('default_country') %} {% set currentLocal = app.request.locale %} {% block body %} {% set displayPopup = 1 %}

{{'pageWorker.contact_by'|trans}} {{ worker.company }}

{% if worker.showNumber %}

{{'pageWorker.free_phone'|trans}}

{% else %}

{{'blacklist.message_sheet_worker'|trans}}

{% endif %}
{% set photographerPrestations = getSkillsByType(worker['workerSkill'], 'prestation-type') %} {% set photographerPhotos = getSkillsByType(worker['workerSkill'], 'photo-type') %} {% set photographerStyles = getAttributesByMain(worker['workerAttribute'], 58) %}

{{'prestation_type'|trans}}

{% for prestation in photographerPrestations %} {{ prestation.currentTranslation.name }} {% endfor %}

{{'photos_types'|trans}}

{% for photos in photographerPhotos %} {{ photos.currentTranslation.name }} {% endfor %}

{{'style_types'|trans}}

{% for style in photographerStyles %} {{ style.currentTranslation.name }} {% endfor %}

{{'pageWorker.presentations'|trans}}

{{ worker.currentTranslation.description|raw }}
{% if worker.showNumber %} {% else %}

{{'blacklist.message_sheet_worker'|trans}}

{% endif %}
{% if attribute_2 not in mainAttributesIds %}

{{'localisation'|trans}}

    {% for attributes in worker['workerAttribute'] %} {% if attributes['attribute']['mainAttribute'] is not null and attributes['attribute']['mainAttribute']['id'] == attribute_2 %}
  • {{ attributes['attribute']['currentTranslation']['name'] }}
  • {% endif %} {% endfor %}
{% endif %} {% if attribute_3 not in mainAttributesIds %}

{{'prices'|trans}}

    {% for attributes in worker['workerAttribute'] %} {% if attributes['attribute']['mainAttribute'] is not null and attributes['attribute']['mainAttribute']['id'] == attribute_3 %}
  • {{ attributes['attribute']['currentTranslation']['name'] }}
  • {% endif %} {% endfor %}
{% endif %} {% if attribute_4 not in mainAttributesIds %}

{{'payment'|trans}}

    {% for attributes in worker['workerAttribute'] %} {% if attributes['attribute']['mainAttribute'] is not null and attributes['attribute']['mainAttribute']['id'] == attribute_4 %}
  • {{ attributes['attribute']['currentTranslation']['name'] }}
  • {% endif %} {% endfor %}
{% endif %} {% if attribute_5 not in mainAttributesIds %}

{{'language_spoken'|trans}}

    {% for attributes in worker['workerAttribute'] %} {% if attributes['attribute']['mainAttribute'] is not null and attributes['attribute']['mainAttribute']['id'] == attribute_5 %}
  • {{ attributes['attribute']['currentTranslation']['name'] }}
  • {% endif %} {% endfor %}
{% endif %}
{% if countryUrl == "es" %}
{{'pageWorker.wish'|trans|raw}} {{ worker.company }}
{% else %}
{{'pageWorker.wish'|trans|raw}} {{ worker.fullName }}
{% endif %}
    {# MODAL NUMBER PHONE #} {% if worker.showNumber %} {% endif %} {# MODAL EMAIL #}
    {% endblock %} {% block javascripts %} {% set number = number(worker.phone, websiteId) %} {% endblock %}