{% import 'common/thumbnail.html.twig' as thumbnail %} {% set displayName = order.getUser().getDisplayName() %}
{{ 'order-manager::order-list: order-id' | trans }} {{ order.getId() }} | {{ 'Date de demande' | trans }} {{ order.getCreatedOn()|date('d/m/Y') }} | {{ 'Deadline' | trans }} {{ order.getDeadline()|date('d/m/Y') }} | {{ 'order-manager::order-list: treated-documents' | trans }} {{ order.getTotalTreatedItems() }}/{{ order.getTotal() }} | {% if order.getTodo() == 0 and order.getCanceledOn() is empty %} {{ 'order-manager:: all document treated' | trans }} {% elseif order.getTodo() != 0 and order.getCanceledOn() is empty %} {% elseif order.getTodo() == 0 and order.getCanceledOn() is not empty %} {{ 'order-manager:: canceled on %canceled_on% by %canceled_by%, with %n% items not treated' | trans({'%canceled_on%' : order.getCanceledOn() | date('d/m/Y'), '%canceled_by%' : user_display_name(order.getCanceledBy()), '%n%' : order.getCanceledTodo()}) }} {% endif %} |
{{ displayName }} ({{ order.getUser().getEmail() }}) | ||||
{{ 'commande::utilisation prevue' | trans }}
{{ order.getOrderUsage() }} |
{% if element.getOrderMaster() %} {% set name = element.getOrderMaster().getDisplayName() | e %} {% if element.getDeny() == true %} {% set title %} {% trans with {'%name%' : name} %}Document refuse par %name%{% endtrans %} {% endset %} {% set title_send %} {% trans %}Forcer l'envoi du document{% endtrans %} {% endset %} {# #} {% else %} {% set title %} {% trans with {'%name%' : name} %}Document envoye par %name%{% endtrans %} {% endset %} {% endif %} {% endif %} |
{{ thumbnail.format(element.getRecord(app).get_thumbnail() ,80, 80, '', true, false) }}
{#
#}
{##}
{##}
{##}
{# #}
|
{{element.getRecord(app).getOriginalName() }} |