{#/********************************************************************************* * 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.task.view'|trans}} {{ task.getId }}{% endblock %} {% block titlesm %} {{'breadcrumb.task_list'|trans}} {{'title.task.view'|trans}} {{ task.getId }} {% endblock titlesm %} {% block body %}
{# ------------- TASK ------------- #}
{% if task %}
{{'view_task.header.id'|trans}} {{'view_task.header.status'|trans}} {{'list_task.th.param'|trans}} {{'view_task.header.begin'|trans}} {{'view_task.header.end'|trans}} {{'list_task.th.open'|trans}} {{'list_task.th.close'|trans}} {{'list_task.th.cancel'|trans}} {{'list_task.th.error'|trans}} {{'list_task.th.manual'|trans}} {{'list_task.th.api'|trans}} {{'view_task.header.message'|trans}}
{{ task.getId }} {% if task.getStatus|lower == 'end' %} {{ task.getStatus }} {% else %} {{ task.getStatus }} {% endif %} {{ task.getParam }} {% if task.getBegin is null %} - {% else %} {{ task.getBegin|date("d/m/Y H:i:s", timezone) }} {% endif %} {% if task.getEnd is null %} - {% else %} {{ task.getEnd|date("d/m/Y H:i:s", timezone) }} {% endif %} {{ task.getOpen }} {{ task.getClose }} {{ task.getCancel }} {{ task.getError }} {{ task.getManual }} {{ task.getApi }} {{ task.getMessage }}
{% endif %}
{# ------------- TASK ------------- #} {% if nb > 0 %}

{{'view_task.nblogs'|trans}}

{{ nb }}

{% endif %}
{# ------------- MESSAGE ------------- #}
{% if nb > 0 %} {% if entities is not empty %} {% for log in entities %} {% endfor %} {% endif %}
{{'view_task.log.id'|trans}} {{'view_task.log.ref'|trans}} {{'view_task.log.transfer'|trans}} {{'view_task.log.date_created'|trans}} {{'view_task.log.type'|trans}} {{'view_task.log.msg'|trans}}
{{ log.getId }} {% if log.getRef is not empty %} {{ log.getRef }} {% else %} {{ log.getRef }} {% endif %} {% if log.getDocument is not empty %} {{ log.getDocument.id }} {% endif %} {{ log.getDateCreated|date("d/m/Y H:i:s", timezone) }}
{{ log.getType }} {% if log.getType|lower == 's' %} {% elseif log.getType|lower == 'e' %} {% elseif log.getType|lower == 'w' %} {% endif %}
{{ log.getMessage }}
{{'view_task.log.id'|trans}} {{'view_task.log.ref'|trans}} {{'view_task.log.transfer'|trans}} {{'view_task.log.date_created'|trans}} {{'view_task.log.type'|trans}} {{'view_task.log.msg'|trans}}
{% if pager.haveToPaginate %}
{% if pager.haveToPaginate %} {{ pagerfanta(pager, 'twitter_bootstrap4', { 'routeParams' : { 'id': task.getId }, 'routeName': 'task_view_page' } ) }} {% endif %}
{% endif %}
{% else %}

{{'view_task.empty_log'|trans}}

{% endif %}
{# ------------- MESSAGE ------------- #}
{# ------------- PARAMETRES JQUERY ------------- #} {# ------------- PARAMETRES JQUERY ------------- #} {% endblock %}