{% extends 'base.html.twig' %} {% form_theme form 'form/fields.html.twig' %} {% block body %}

{{ form_start(form, {'action': path('trace_index'), 'method': 'GET', 'attr': {'class': 'form-horizontal'}}) }}
Filtrer les activités
{{ form_widget(form.title, {'attr': {'class': 'form-control', 'autocomplete': 'off'}}) }}
{{ form_end(form) }}
Liste des activités ({{ traces.getTotalItemCount }})
{% for trace in traces %} {% endfor %}
Magasin Activité Par Le OS Actions
{{ trace.magasin }} {% if((trace.entityName=='vente') and (trace.entityId>0) and (trace.traceType!='Suppression')) %} {{ trace.traceType }} - {{ trace.entityName }} {% elseif(trace.entityName=='achat' and trace.entityId>0 and (trace.traceType!='Suppression')) %} {{ trace.traceType }} - {{ trace.entityName }} {% elseif(trace.entityName=='devis' and trace.entityId>0) and (trace.traceType!='Suppression') %} {{ trace.traceType }} - {{ trace.entityName }} {% elseif(trace.entityName=='client' and trace.entityId>0 and (trace.traceType!='Suppression')) %} {{ trace.traceType }} - {{ trace.entityName }} {% elseif(trace.entityName=='fournisseur' and trace.entityId>0 and (trace.traceType!='Suppression')) %} {{ trace.traceType }} - {{ trace.entityName }} {% elseif(trace.entityName=='produit' and trace.entityId>0 and (trace.traceType!='Suppression')) %} {{ trace.traceType }} - {{ trace.entityName }} {% elseif(trace.entityName=='reparation' and trace.entityId>0 and (trace.traceType!='Suppression')) %} {{ trace.traceType }} - {{ trace.entityName }} {% else %} {{ trace.traceType }} - {{ trace.entityName }} {% endif %}
{{ trace.title }}
{{ trace.doneBy }} {% if trace.doneAt %}{{ trace.doneAt|date('d-m-Y H:i') }}{% endif %} {{ trace.os }}
{{ knp_pagination_render(traces) }}
{% endblock %}