{% extends 'base.html.twig' %} {% block body_id 'welcome' %} {% block title %}{{ "Welcome"|trans }}{% endblock %} {% block stylesheets %} {{ parent() }} {% endblock %} {% block c4rg0_menuleft %} {% endblock %} {% block modal %} {{ parent() }} {% include 'modal/support.html.twig' %}
{% endblock %} {% block body %}



{{ logoazienda }}

{% if app.user.gruppi == null or app.user.gruppi|length == 0 %}{{ 'Operator'|trans }}{% else %}{{ app.user.gruppi|first.nome|trans }}{% endif %}: {% if app.user is not null and app.user.profilo is not null %}{{ app.user.profilo.nome ~ " " ~ app.user.profilo.cognome }}{% endif %}

{{ 'Last login on'|trans }}: {{ lastlogin|localizeddate }} From: {% if lastlogininfo != null %} {% set geodata = lastlogininfo %} {% if geodata and geodata.geoplugin_city != '' and geodata.geoplugin_countryName != '' %} {% if geodata and geodata.geoplugin_region != '' %} {{ geodata.geoplugin_city ~ ' (' ~ geodata.geoplugin_region ~ ' - ' ~ geodata.geoplugin_countryName ~ ')' }} {% else %} {{ geodata.geoplugin_city ~ ' (' ~ geodata.geoplugin_countryName ~ ')' }} {% endif %} {% else %} {{ geodata.geoplugin_city ~ ' (' ~ geodata.geoplugin_region ~ ' - ' ~ geodata.geoplugin_countryName ~ ')' }} {% endif %} {% if geodata and geodata.geoplugin_countryCode != '' %}   {% else %} {% endif %} {% endif %}

{# if is_granted(expression('"ROLE_ADMIN" in roles or (not is_anonymous() and user.isSuperAdmin())')) #} {% if is_granted('ROLE_ADMIN') %}
 {{ ' Managment'|trans }}
{% else %}
   
{% endif %}
{#
#}
{#

{{'Acquisition Weight Range '|trans}}

#}

{{'Items Weight Range '|trans}}

{#

{{'Acquisition Volume Range'|trans}}

#}

{{'Items Volume Range'|trans}}


{% endblock %} {% block javascripts %} {{ parent() }} {% endblock %}