{# templates/contributor/index.html.twig #} {% extends 'base.html.twig' %} {% block title %}Liste des contributeurs{% endblock %} {% block body %}
{{ contributors.getTotalItemCount }} contributeur(s) sans point relais spécifié {% if current_search %} correspondant à "{{ current_search }}"{% endif %}.
Aucun résultat trouvé pour "{{ current_search }}". Effacer la recherche
| Contributeur | Livraison | Point Relais | Téléphone | Contrepartie | Poids | Statut | Actions |
|---|---|---|---|---|---|---|---|
|
{% if current_search %}
{{ (contributor.deliveryFirstName ~ ' ' ~ contributor.deliveryLastName)|replace({(current_search): '' ~ current_search ~ ''})|raw }}
{% else %}
{{ contributor.deliveryFirstName }} {{ contributor.deliveryLastName }}
{% endif %}
{% if current_search %} {{ contributor.name|replace({(current_search): '' ~ current_search ~ ''})|raw }} {% else %} {{ contributor.name }} {% endif %} {% if current_search %} {{ contributor.email|replace({(current_search): '' ~ current_search ~ ''})|raw }} {% else %} {{ contributor.email }} {% endif %} |
{% if contributor.deliveryAddress %}
{{ contributor.deliveryFirstName }} {{ contributor.deliveryLastName }} {{ contributor.deliveryAddress }} {% if contributor.deliveryAddress2 %} {{ contributor.deliveryAddress2 }}{% endif %} {{ contributor.deliveryPostalCode }} {{ contributor.deliveryCity }} {{ contributor.deliveryCountry }} {% else %} {{ contributor.address }} {{ contributor.postalCode }} {{ contributor.city }} {{ contributor.country }} {% endif %} |
{% if contributor.relayName %}
{{ contributor.relayName }} {{ contributor.relayAddress }} ID: {{ contributor.relayId }} {% else %} Non spécifié {% endif %} |
{{ contributor.deliveryPhone ?? contributor.phone }} |
{% for reward in contributor.rewards %}
{{ reward.title }}
{% if reward.variation %}({{ reward.variation }}){% endif %}
x{{ reward.quantity }}
{% endfor %}
|
{{ contributor.totalWeight|number_format(0) }}g
{% if contributor.totalWeight > 1000 %}
({{ (contributor.totalWeight / 1000)|number_format(1) }}kg) {% endif %} |
{% if contributor.shipped %} Envoi créé #{{ contributor.trackingNumber }} {% else %} En attente {% endif %} | {% if not contributor.shipped %} {% if contributor.relayName %} Créer un envoi {% else %} Mettre à jour RelayID {% endif %} {% else %} {% endif %} |
| {% if current_search %} Aucun contributeur trouvé pour "{{ current_search }}" {% elseif app.request.get('point-relay') == 'off' %} Aucun contributeur sans point relais trouvé {% else %} Aucun contributeur trouvé {% endif %} | |||||||