{#/********************************************************************************* * This file is part of Myddleware. * @package Myddleware * @copyright Copyright (C) 2013 - 2015 Stéphane Faure - CRMconsult EURL * @copyright Copyright (C) 2015 - 2016 Stéphane Faure - Myddleware ltd - contact@myddleware.com * @link http://www.myddleware.com This file is part of Myddleware. Myddleware is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. Myddleware is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with Myddleware. If not, see . *********************************************************************************/ #} {% extends 'base.html.twig' %} {% block title %} {{ parent() }} | {{ 'title.flux.list'|trans }} {% endblock %} {% block titlesm %} {{ 'title.flux.list'|trans }} {% if nbDocuments > 0 %} ({{ nbDocuments }}) {% endif %} {% endblock titlesm %} {% block body %} {% for type, messages in app.flashes %} {% if type != 'success_unlock' %} {% for message in messages %} {% endfor %} {% endif %} {% endfor %}
{{ form_start(formFilter, { 'action': path('document_list_page', { 'sortField': app.request.get('sortField'), 'sortOrder': app.request.get('sortOrder') }), 'method': 'post' }) }}
{{ form_widget(formFilter.filter) }}
{{ form_end(formFilter) }} {{ form_start(form, { 'action': path('document_list_page', { 'sortField': app.request.get('sortField'), 'sortOrder': app.request.get('sortOrder') }), 'method': 'post' }) }}
{{ form_end(form) }} {# #}

{% if pager is defined and pager is not empty %} {% for document in pager %} {% endfor %} {% else %} {% endif %}
{{ 'list_flux.tab.id'|trans }} {{ 'list_flux.tab.name'|trans }} {{ 'list_flux.tab.date_created'|trans }} {{ 'list_flux.tab.date_modified'|trans }} {{ 'list_flux.tab.statut'|trans }} ! {{ 'list_flux.tab.source_id'|trans }} {{ 'list_flux.tab.target_id'|trans }} {{ 'list_flux.tab.type'|trans }} {{ 'list_flux.tab.source_date_modified'|trans }}
{% if document.global_status|lower == 'close' or document.global_status|lower == 'cancel' %} {% else %} {% endif %} {{ document.id }} {{ document.rule_name }} {{ document.date_created|date('Y-m-d H:i:s') }} {{ document.date_modified|date('Y-m-d H:i:s') }}
{{ document.status }} {% if document.global_status|lower == 'close' %} {% elseif document.global_status|lower == 'error' %} {% if document.status == 'Error_workflow' %} {% else %} {% endif %} {% elseif document.global_status|lower == 'open' %} {% elseif document.global_status|lower == 'cancel' %} {% endif %}
{% if document.global_status|lower == 'error' %}
{% endif %}
{{ document.source_id }} {{ document.target_id }} {{ document.type }} {{ document.source_date_modified }}
No documents found.
{% if pager.haveToPaginate %} {{ pagerfanta(pager, 'twitter_bootstrap4', {'routeName': 'document_list_page'}) }} {% endif %}
{% block javascript %} {{ encore_entry_script_tags('app') }} {{ encore_entry_script_tags('filter') }} {% endblock javascript %}{% endblock %}{% block cssin %} {{ encore_entry_link_tags('app') }} {{ encore_entry_link_tags('filter') }} {% endblock cssin %}