{% set hasTableParentTitle = true %}
{% include TEMPLATE_SELLING_TABLE %}
{% set mentions = [] %}
{% for groupTaxMention in groupTaxMentions %}
{% if groupTaxMention.taxId in sellingTaxData.displayTaxMention %}
{% if groupTaxMention.taxMention is not empty %}
{% set mentions = mentions|merge([groupTaxMention.taxMention]) %}
{% endif %}
{% endif %}
{% endfor %}
{% if documentNote.complementaryMention is not empty %}
{% set mentions = mentions|merge([documentNote.complementaryMention]) %}
{% endif %}
{% if customer.discr is defined %}
{% if customer.discr == constant('AppBundle\\Entity\\Contact\\Contact::CONTACT_DISCR_INDIVIDUAL') and documentNote.individualMention is not empty %}
{% set mentions = mentions|merge([documentNote.individualMention]) %}
{% elseif customer.discr in [constant('AppBundle\\Entity\\Contact\\Contact::CONTACT_DISCR_PROFESSIONAL'), constant('AppBundle\\Entity\\Contact\\Contact::CONTACT_DISCR_GROUP')] and documentNote.professionalMention is not empty
%}
{% set mentions = mentions|merge([documentNote.professionalMention]) %}
{% endif %}
{% endif %}
{% if mentions|length > 0 %}