{% import 'AppBundle:Documents:v2\\Import\\global.html.twig' as globalF %} {% import 'AppBundle:Documents:v2\\Import\\contact.html.twig' as contactF %} {% block loaner %} {% if isLoaner == true and loaner is not empty and loaner.discr is not empty %} {% else %} {% block loanerEmpty %} {% endblock loanerEmpty %} {% endif %} {% endblock %}
{% if loaner.address is not empty %} {% endif %} {% if loaner.address2 is not empty %} {% endif %} {% if loaner.postalCode is not empty or loaner.city is not empty %} {% endif %} {% if loaner.country is not empty %} {% endif %}
{{ 'contact.tenant.title'|trans({}, 'DocumentTrans' )}}

{% if loaner.discr == constant('AppBundle\\Entity\\Contact\\Contact::CONTACT_DISCR_INDIVIDUAL') or loaner.discr == constant('AppBundle\\Entity\\Contact\\ContactQuick\\ContactQuickBase::CONTACT_DISCR_INDIVIDUAL') %} {{ loaner.civility|trans({}, 'CommonTrans') }} {{ loaner.lastName }} {{ loaner.firstName }} {% else %} {{ loaner.corporateNameContact }} {% endif %}

{{ loaner.address }}
{{ loaner.address2 }}
{{ loaner.postalCode }} {{ loaner.city }}
{{ globalF.getCountry(loaner.country, {'countries': countries}) }}
{% if customer.siret is not empty %} {% endif %} {% block tvaIntracom %}{% endblock %} {% block infoAdditionalCustomer %}{% endblock %}
{{ 'contact.customer.title'|trans({}, 'DocumentTrans' )}}

{{ contactF.getContactAndCoContactLabel({ 'customer': customer, 'coCustomer': coCustomer, 'isSpouse': isSpouse, 'civility': true, 'corporate': true }) }}

{{ customer.address }}
{{ customer.address2 }}
{{ customer.postalCode }} {{ customer.city }}
{{ globalF.getCountry(customer.country, {'countries': countries}) }}
{{ 'group.siret'|trans({}, 'DocumentTrans' )}} : {{ customer.siret }}