{% extends 'layouts/authenticated.html.twig' %} {% block page_title %}Journal d'audit POS{% endblock %} {% block content %}

Journal d'audit

Historique de toutes les actions POS de {{ company.name }}

{# Filters #}
{% if filters.search or filters.action or filters.entityType or filters.dateFrom or filters.dateTo %} {% endif %}
{# Table #}
{% if logs|length > 0 %}
{% for log in logs %} {% endfor %}
Date Utilisateur Action Description Details
{{ log.createdAt|date('d/m/Y') }}
{{ log.createdAt|date('H:i:s') }}
{{ log.user.fullName|default(log.user.email) }} {{ log.actionLabel }} {{ log.description }}
{{ knp_pagination_render(logs) }}
{% else %}

Aucune activite{{ filters.search or filters.action or filters.entityType ? ' pour ces criteres' : '' }}.

{% endif %}
{% endblock %}