<?php
use Twig\Environment;
use Twig\Error\LoaderError;
use Twig\Error\RuntimeError;
use Twig\Extension\CoreExtension;
use Twig\Extension\SandboxExtension;
use Twig\Markup;
use Twig\Sandbox\SecurityError;
use Twig\Sandbox\SecurityNotAllowedTagError;
use Twig\Sandbox\SecurityNotAllowedFilterError;
use Twig\Sandbox\SecurityNotAllowedFunctionError;
use Twig\Source;
use Twig\Template;
/* role/user/index.html.twig */
class __TwigTemplate_88e5fe19bdc1767b1c5e5827dfbe97d6 extends Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->blocks = [
'title' => [$this, 'block_title'],
'body_on_load' => [$this, 'block_body_on_load'],
'pageTitleH1' => [$this, 'block_pageTitleH1'],
'menu' => [$this, 'block_menu'],
'subMenuLeft' => [$this, 'block_subMenuLeft'],
'subMenuRight' => [$this, 'block_subMenuRight'],
'content' => [$this, 'block_content'],
'productsData' => [$this, 'block_productsData'],
'javascripts' => [$this, 'block_javascripts'],
];
}
protected function doGetParent(array $context)
{
// line 1
return "base.html.twig";
}
protected function doDisplay(array $context, array $blocks = [])
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "role/user/index.html.twig"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "role/user/index.html.twig"));
$this->parent = $this->loadTemplate("base.html.twig", "role/user/index.html.twig", 1);
yield from $this->parent->unwrap()->yield($context, array_merge($this->blocks, $blocks));
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
}
// line 3
public function block_title($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "title"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "title"));
yield "Scrivania";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
return; yield '';
}
// line 5
public function block_body_on_load($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "body_on_load"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "body_on_load"));
yield "onload=\"hidePreloader();\"";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
return; yield '';
}
// line 7
public function block_pageTitleH1($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "pageTitleH1"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "pageTitleH1"));
yield "Benvenuto ";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 7, $this->source); })()), "user", [], "any", false, false, false, 7), "html", null, true);
yield " (";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 7, $this->source); })()), "user", [], "any", false, false, false, 7), "accountType", [], "any", false, false, false, 7), "html", null, true);
yield ")";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
return; yield '';
}
// line 9
public function block_menu($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "menu"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "menu"));
// line 10
yield "\t<li class=\"menu-item\"><a class=\"menu-link\" href=\"";
yield $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("user_index");
yield "\">Scrivania</a>
\t\t<ul class=\"sub-menu-container bg_pr\">
\t\t\t";
// line 12
if ((CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 12, $this->source); })()), "user", [], "any", false, false, false, 12), "getAccountTypology", [], "any", false, false, false, 12) == "agency")) {
// line 13
yield "\t\t\t\t<li class=\"menu-item\"><a class=\"menu-link color_w\" href=\"";
yield $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("user_settings");
yield "\">Impostazioni</a></li>
\t\t\t";
}
// line 15
yield "\t\t\t<li class=\"menu-item\"><a class=\"menu-link color_w\" href=\"";
yield $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("user_utility");
yield "\">Utility</a></li>
\t\t</ul>
\t</li>
\t";
// line 18
if (CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 18, $this->source); })()), "user", [], "any", false, false, false, 18), "canRead", ["company"], "method", false, false, false, 18)) {
// line 19
yield "\t\t<li class=\"menu-item\"><a class=\"menu-link\" href=\"javascript: void(0)\">Azienda</a>
\t\t\t<ul class=\"sub-menu-container bg_pr\">
\t\t\t\t<li class=\"menu-item\"><a class=\"menu-link color_w\" href=\"";
// line 21
yield $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("user_company");
yield "\">Dati anagrafici</a></li>
\t\t\t\t<li class=\"menu-item\"><a class=\"menu-link color_w\" href=\"";
// line 22
yield $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("user_company_economic");
yield "\">Economico</a></li>
\t\t\t</ul>
\t\t</li>
\t";
}
// line 26
yield "\t<li class=\"menu-item\">
\t\t<a class=\"menu-link\" ";
// line 27
if (CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 27, $this->source); })()), "user", [], "any", false, false, false, 27), "canRead", ["anagraphic_users"], "method", false, false, false, 27)) {
yield "href=\"";
yield $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("user_users_index");
yield "\"";
} else {
yield "href=\"javascript: void(0)\"";
}
yield ">Utenti</a>
\t\t<ul class=\"sub-menu-container bg_pr\">
\t\t\t<li class=\"menu-item\"><a class=\"menu-link color_w\" href=\"";
// line 29
yield $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("user_user_profile");
yield "\">Profilo</a></li>
\t\t\t";
// line 30
if (CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 30, $this->source); })()), "user", [], "any", false, false, false, 30), "canRead", ["staff"], "method", false, false, false, 30)) {
yield "<li class=\"menu-item\"><a class=\"menu-link color_w\" href=\"";
yield $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("user_users_staff");
yield "\">Staff</a></li>";
}
// line 31
yield "\t\t\t";
if (CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 31, $this->source); })()), "user", [], "any", false, false, false, 31), "canRead", ["technician"], "method", false, false, false, 31)) {
yield "<li class=\"menu-item\"><a class=\"menu-link color_w\" href=\"";
yield $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("user_users_technicians");
yield "\">Tecnici</a></li>";
}
// line 32
yield "\t\t</ul>
\t</li>
\t";
// line 34
if (CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 34, $this->source); })()), "user", [], "any", false, false, false, 34), "canRead", ["anagraphic"], "method", false, false, false, 34)) {
// line 35
yield "\t\t<li class=\"menu-item\">
\t\t\t<a class=\"menu-link\" href=\"";
// line 36
yield $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("user_anagraphics");
yield "\">Anagrafiche</a>
\t\t\t";
// line 37
if ((((CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 37, $this->source); })()), "user", [], "any", false, false, false, 37), "canRead", ["anagraphic_supplier"], "method", false, false, false, 37) || CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 37, $this->source); })()), "user", [], "any", false, false, false, 37), "canRead", ["anagraphic_producer"], "method", false, false, false, 37)) || CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 37, $this->source); })()), "user", [], "any", false, false, false, 37), "canRead", ["anagraphic_client"], "method", false, false, false, 37)) || CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 37, $this->source); })()), "user", [], "any", false, false, false, 37), "canRead", ["anagraphic_destination"], "method", false, false, false, 37))) {
// line 38
yield "\t\t\t\t<ul class=\"sub-menu-container bg_pr\">
\t\t\t\t\t";
// line 39
if (CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 39, $this->source); })()), "user", [], "any", false, false, false, 39), "canRead", ["anagraphic_supplier"], "method", false, false, false, 39)) {
yield "<li class=\"menu-item\"><a class=\"menu-link color_w\" href=\"";
yield $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("user_anagraphic_suppliers");
yield "\">Fornitori</a></li>";
}
// line 40
yield "\t\t\t\t\t";
if (CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 40, $this->source); })()), "user", [], "any", false, false, false, 40), "canRead", ["anagraphic_producer"], "method", false, false, false, 40)) {
yield "<li class=\"menu-item\"><a class=\"menu-link color_w\" href=\"";
yield $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("user_anagraphic_producers");
yield "\">Produttori</a></li>";
}
// line 41
yield "\t\t\t\t\t";
if (CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 41, $this->source); })()), "user", [], "any", false, false, false, 41), "canRead", ["anagraphic_client"], "method", false, false, false, 41)) {
yield "<li class=\"menu-item\"><a class=\"menu-link color_w\" href=\"";
yield $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("user_anagraphic_clients");
yield "\">Clienti</a></li>";
}
// line 42
yield "\t\t\t\t\t";
if (CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 42, $this->source); })()), "user", [], "any", false, false, false, 42), "canRead", ["anagraphic_destination"], "method", false, false, false, 42)) {
yield "<li class=\"menu-item\"><a class=\"menu-link color_w\" href=\"";
yield $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("user_anagraphic_destinations");
yield "\">Destinazioni</a></li>";
}
// line 43
yield "\t\t\t\t</ul>
\t\t\t";
}
// line 45
yield "\t\t</li>
\t";
}
// line 47
yield "\t";
if (CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 47, $this->source); })()), "user", [], "any", false, false, false, 47), "canRead", ["product"], "method", false, false, false, 47)) {
// line 48
yield "\t\t<li class=\"menu-item\">
\t\t\t<a class=\"menu-link\" href=\"";
// line 49
yield $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("user_product_search");
yield "\">Prodotti</a>
\t\t\t";
// line 50
if (((((CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 50, $this->source); })()), "user", [], "any", false, false, false, 50), "canRead", ["product"], "method", false, false, false, 50) || CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 50, $this->source); })()), "user", [], "any", false, false, false, 50), "canRead", ["product_category"], "method", false, false, false, 50)) || CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 50, $this->source); })()), "user", [], "any", false, false, false, 50), "canRead", ["product_subcategory"], "method", false, false, false, 50)) || CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 50, $this->source); })()), "user", [], "any", false, false, false, 50), "canRead", ["product_model"], "method", false, false, false, 50)) || CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 50, $this->source); })()), "user", [], "any", false, false, false, 50), "canRead", ["product_component"], "method", false, false, false, 50))) {
// line 51
yield "\t\t\t\t<ul class=\"sub-menu-container bg_pr\">
\t\t\t\t\t";
// line 52
if (CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 52, $this->source); })()), "user", [], "any", false, false, false, 52), "canRead", ["product"], "method", false, false, false, 52)) {
yield "<li class=\"menu-item\"><a class=\"menu-link color_w\" href=\"";
yield $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("user_product_search");
yield "\">Ricerca</a></li>";
}
// line 53
yield "\t\t\t\t\t";
if (CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 53, $this->source); })()), "user", [], "any", false, false, false, 53), "canRead", ["product_category"], "method", false, false, false, 53)) {
yield "<li class=\"menu-item\"><a class=\"menu-link color_w\" href=\"";
yield $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("user_product_categories");
yield "\">Categorie</a></li>";
}
// line 54
yield "\t\t\t\t\t";
if (CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 54, $this->source); })()), "user", [], "any", false, false, false, 54), "canRead", ["product_subcategory"], "method", false, false, false, 54)) {
yield "<li class=\"menu-item\"><a class=\"menu-link color_w\" href=\"";
yield $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("user_product_subcategories");
yield "\">Sottocategorie</a></li>";
}
// line 55
yield "\t\t\t\t\t";
if (CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 55, $this->source); })()), "user", [], "any", false, false, false, 55), "canRead", ["product_component"], "method", false, false, false, 55)) {
yield "<li class=\"menu-item\"><a class=\"menu-link color_w\" href=\"";
yield $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("user_product_components");
yield "\">Componenti</a></li>";
}
// line 56
yield "\t\t\t\t\t";
if (CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 56, $this->source); })()), "user", [], "any", false, false, false, 56), "canRead", ["product_model"], "method", false, false, false, 56)) {
yield "<li class=\"menu-item\"><a class=\"menu-link color_w\" href=\"";
yield $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("user_product_models");
yield "\">Modelli</a></li>";
}
// line 57
yield "\t\t\t\t\t";
if (CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 57, $this->source); })()), "user", [], "any", false, false, false, 57), "canRead", ["product"], "method", false, false, false, 57)) {
yield "<li class=\"menu-item\"><a class=\"menu-link color_w\" href=\"";
yield $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("user_product_regenerated");
yield "\" target=\"_blank\">Rigenerati</a></li>";
}
// line 58
yield "\t\t\t\t\t";
if (CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 58, $this->source); })()), "user", [], "any", false, false, false, 58), "canRead", ["product"], "method", false, false, false, 58)) {
yield "<li class=\"menu-item\"><a class=\"menu-link color_w\" href=\"";
yield $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("user_product_stationary");
yield "\">Fermi</a></li>";
}
// line 59
yield "\t\t\t\t</ul>
\t\t\t";
}
// line 61
yield "\t\t</li>
\t";
}
// line 63
yield "\t";
if (CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 63, $this->source); })()), "user", [], "any", false, false, false, 63), "canRead", ["warehouse"], "method", false, false, false, 63)) {
// line 64
yield "\t\t";
if (((CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 64, $this->source); })()), "user", [], "any", false, false, false, 64), "getAccountTypology", [], "any", false, false, false, 64) == "agency") || (CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 64, $this->source); })()), "user", [], "any", false, false, false, 64), "getAccountTypology", [], "any", false, false, false, 64) == "warehouse"))) {
// line 65
yield "\t\t\t<li class=\"menu-item\"><a class=\"menu-link\" href=\"";
yield $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("user_warehouse_list");
yield "\">Magazzini</a>
\t\t\t\t<ul class=\"sub-menu-container bg_pr\">
\t\t\t\t\t";
// line 67
$context['_parent'] = $context;
$context['_seq'] = CoreExtension::ensureTraversable(CoreExtension::getAttribute($this->env, $this->source, (isset($context["global_hqw"]) || array_key_exists("global_hqw", $context) ? $context["global_hqw"] : (function () { throw new RuntimeError('Variable "global_hqw" does not exist.', 67, $this->source); })()), "headquarterWarehouses", [], "any", false, false, false, 67));
foreach ($context['_seq'] as $context["_key"] => $context["w"]) {
// line 68
yield "\t\t\t\t\t\t<li class=\"menu-item\"><a class=\"menu-link color_w\" href=\"";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("user_warehouse_sheet", ["warehouseId" => CoreExtension::getAttribute($this->env, $this->source, $context["w"], "id", [], "any", false, false, false, 68)]), "html", null, true);
yield "\">";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["w"], "nickname", [], "any", false, false, false, 68), "html", null, true);
yield "</a></li>
\t\t\t\t\t";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['w'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 70
yield "\t\t\t\t</ul>
\t\t\t</li>
\t\t";
} elseif ((CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, // line 72
(isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 72, $this->source); })()), "user", [], "any", false, false, false, 72), "getAccountTypology", [], "any", false, false, false, 72) == "technician")) {
// line 73
yield "\t\t\t";
if ((Twig\Extension\CoreExtension::length($this->env->getCharset(), CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 73, $this->source); })()), "user", [], "any", false, false, false, 73), "warehouses", [], "any", false, false, false, 73)) == 1)) {
// line 74
yield "\t\t\t\t<li class=\"menu-item\"><a class=\"menu-link\" href=\"";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("user_warehouse_sheet", ["warehouseId" => CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 74, $this->source); })()), "user", [], "any", false, false, false, 74), "warehouses", [], "any", false, false, false, 74), 0, [], "array", false, false, false, 74), "warehouse", [], "any", false, false, false, 74), "id", [], "any", false, false, false, 74)]), "html", null, true);
yield "\">Magazzino</a></li>
\t\t\t";
} else {
// line 76
yield "\t\t\t\t<li class=\"menu-item\"><a class=\"menu-link\" href=\"";
yield $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("user_warehouse_list");
yield "\">Magazzini</a></li>
\t\t\t";
}
// line 78
yield "\t\t";
}
// line 79
yield "\t";
}
// line 80
yield "\t";
if (CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 80, $this->source); })()), "user", [], "any", false, false, false, 80), "canRead", ["transfer"], "method", false, false, false, 80)) {
// line 81
yield "\t\t<li class=\"menu-item\"><a class=\"menu-link\" href=\"";
yield $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("user_transfer_search");
yield "\">Trasferimenti</a></li>
\t";
}
// line 83
yield "\t";
if (CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 83, $this->source); })()), "user", [], "any", false, false, false, 83), "canRead", ["ticket"], "method", false, false, false, 83)) {
// line 84
yield "\t\t<li class=\"menu-item\">
\t\t\t<a class=\"menu-link\" href=\"";
// line 85
yield $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("user_ticket_list");
yield "\">Ticket</a>
\t\t\t<ul class=\"sub-menu-container bg_pr\">
\t\t\t\t";
// line 87
if (CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 87, $this->source); })()), "user", [], "any", false, false, false, 87), "canRead", ["ticket"], "method", false, false, false, 87)) {
yield "<li class=\"menu-item\"><a class=\"menu-link color_w\" href=\"";
yield $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("user_ticket_search");
yield "\">Ricerca</a></li>";
}
// line 88
yield "\t\t\t\t";
if (CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 88, $this->source); })()), "user", [], "any", false, false, false, 88), "canRead", ["ticket"], "method", false, false, false, 88)) {
yield "<li class=\"menu-item\"><a class=\"menu-link color_w\" href=\"";
yield $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("user_ticket_list");
yield "\">Lista</a></li>";
}
// line 89
yield "\t\t\t\t";
if ((CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 89, $this->source); })()), "user", [], "any", false, false, false, 89), "getAccountTypology", [], "any", false, false, false, 89) == "agency")) {
// line 90
yield "\t\t\t\t\t<li class=\"menu-item\"><a class=\"menu-link color_w\" href=\"";
yield $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("user_ticket_import");
yield "\">Azioni massive da CSV</a></li>
\t\t\t\t\t<li class=\"menu-item\"><a class=\"menu-link color_w\" href=\"";
// line 91
yield $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("user_ticket_new");
yield "\">Aggiungi manualmente</a></li>
\t\t\t\t";
}
// line 93
yield "\t\t\t</ul>
\t\t</li>
\t";
}
// line 96
yield "\t";
if (CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 96, $this->source); })()), "user", [], "any", false, false, false, 96), "canRead", ["intervention"], "method", false, false, false, 96)) {
// line 97
yield "\t\t<li class=\"menu-item\"><a class=\"menu-link\" href=\"";
yield $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("user_intervention_search");
yield "\">Interventi</a></li>
\t";
}
// line 99
yield "\t";
if (CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 99, $this->source); })()), "user", [], "any", false, false, false, 99), "canRead", ["configuration"], "method", false, false, false, 99)) {
// line 100
yield "\t\t<li class=\"menu-item\">
\t\t\t<a class=\"menu-link\" href=\"";
// line 101
yield $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("user_configurations");
yield "\">Configurazioni</a>
\t\t\t<ul class=\"sub-menu-container bg_pr\">
\t\t\t\t";
// line 103
if (CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 103, $this->source); })()), "user", [], "any", false, false, false, 103), "canRead", ["configuration_regions"], "method", false, false, false, 103)) {
yield "<li class=\"menu-item\"><a class=\"menu-link color_w\" href=\"";
yield $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("user_configuration_regions");
yield "\">Regioni di competenza</a></li>";
}
// line 104
yield "\t\t\t\t";
if (CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 104, $this->source); })()), "user", [], "any", false, false, false, 104), "canRead", ["configuration_city_alias"], "method", false, false, false, 104)) {
yield "<li class=\"menu-item\"><a class=\"menu-link color_w\" href=\"";
yield $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("user_configuration_city_aliases");
yield "\">Alias città</a></li>";
}
// line 105
yield "\t\t\t\t";
if (CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 105, $this->source); })()), "user", [], "any", false, false, false, 105), "canRead", ["configuration_intervention_outcome"], "method", false, false, false, 105)) {
yield "<li class=\"menu-item\"><a class=\"menu-link color_w\" href=\"";
yield $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("user_configuration_intervention_outcomes");
yield "\">Esiti intervento</a></li>";
}
// line 106
yield "\t\t\t\t";
if (CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 106, $this->source); })()), "user", [], "any", false, false, false, 106), "canRead", ["configuration_intervention_activity_type"], "method", false, false, false, 106)) {
yield "<li class=\"menu-item\"><a class=\"menu-link color_w\" href=\"";
yield $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("user_configuration_intervention_activity_types");
yield "\">Tipi attività intervento</a></li>";
}
// line 107
yield "\t\t\t\t";
if (CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 107, $this->source); })()), "user", [], "any", false, false, false, 107), "canRead", ["configuration_operation_group"], "method", false, false, false, 107)) {
yield "<li class=\"menu-item\"><a class=\"menu-link color_w\" href=\"";
yield $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("user_configuration_operation_groups");
yield "\">Gruppi operazione</a></li>";
}
// line 108
yield "\t\t\t\t";
if (CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 108, $this->source); })()), "user", [], "any", false, false, false, 108), "canRead", ["configuration_account_type"], "method", false, false, false, 108)) {
yield "<li class=\"menu-item\"><a class=\"menu-link color_w\" href=\"";
yield $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("user_configuration_account_types");
yield "\">Tipi account</a></li>";
}
// line 109
yield "\t\t\t\t";
if (CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 109, $this->source); })()), "user", [], "any", false, false, false, 109), "canRead", ["configuration_courier"], "method", false, false, false, 109)) {
yield "<li class=\"menu-item\"><a class=\"menu-link color_w\" href=\"";
yield $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("user_configuration_couriers");
yield "\">Corrieri</a></li>";
}
// line 110
yield "\t\t\t\t";
if (CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 110, $this->source); })()), "user", [], "any", false, false, false, 110), "canRead", ["configuration_ddt_header"], "method", false, false, false, 110)) {
yield "<li class=\"menu-item\"><a class=\"menu-link color_w\" href=\"";
yield $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("user_configuration_ddt_headers");
yield "\">Intestazioni DDT</a></li>";
}
// line 111
yield "\t\t\t\t";
if (CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 111, $this->source); })()), "user", [], "any", false, false, false, 111), "canRead", ["configuration_ddt_causal"], "method", false, false, false, 111)) {
yield "<li class=\"menu-item\"><a class=\"menu-link color_w\" href=\"";
yield $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("user_configuration_ddt_causals");
yield "\">Causali DDT</a></li>";
}
// line 112
yield "\t\t\t\t";
if (CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 112, $this->source); })()), "user", [], "any", false, false, false, 112), "canRead", ["configuration_ticket_column_value"], "method", false, false, false, 112)) {
yield "<li class=\"menu-item\"><a class=\"menu-link color_w\" href=\"";
yield $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("user_configuration_ticket_column_values");
yield "\">Descrizione colonna ticket</a></li>";
}
// line 113
yield "\t\t\t\t";
if ((CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["global_company"]) || array_key_exists("global_company", $context) ? $context["global_company"] : (function () { throw new RuntimeError('Variable "global_company" does not exist.', 113, $this->source); })()), "actualCompany", [], "any", false, false, false, 113), "tagTicketActive", [], "any", false, false, false, 113) && CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 113, $this->source); })()), "user", [], "any", false, false, false, 113), "canRead", ["configuration_ticket_tag"], "method", false, false, false, 113))) {
yield "<li class=\"menu-item\"><a class=\"menu-link color_w\" href=\"";
yield $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("user_configuration_ticket_tags");
yield "\">Tag ticket</a></li>";
}
// line 114
yield "\t\t\t</ul>
\t\t</li>
\t";
}
// line 117
yield "\t<li class=\"menu-item\">
\t\t<a class=\"menu-link\" href=\"javascript: void(0)\">Info</a>
\t\t<ul class=\"sub-menu-container bg_pr\">
\t\t\t<li class=\"menu-item\"><a class=\"menu-link color_w\" href=\"";
// line 120
yield $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("user_info_updates");
yield "\">Aggiornamenti</a></li>
\t\t</ul>
\t</li>
\t<li class=\"menu-item\"><a class=\"menu-link\" href=\"";
// line 123
yield $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("logout");
yield "\"><div>Esci</div></a></li>
";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
return; yield '';
}
// line 126
public function block_subMenuLeft($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "subMenuLeft"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "subMenuLeft"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
return; yield '';
}
// line 128
public function block_subMenuRight($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "subMenuRight"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "subMenuRight"));
// line 129
yield "\t";
if ((CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 129, $this->source); })()), "user", [], "any", false, false, false, 129), "getAccountTypology", [], "any", false, false, false, 129) == "agency")) {
// line 130
yield "\t\t<li class=\"nav-item\"><a class=\"nav-link\" href=\"";
yield $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("user_settings");
yield "\">Impostazioni</a></li>
\t";
} else {
// line 132
yield "\t\t<li class=\"nav-item\"><a class=\"nav-link\" href=\"javascript: void(0)\"></a></li>
\t";
}
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
return; yield '';
}
// line 136
public function block_content($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "content"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "content"));
// line 137
yield "\t<section class=\"m_tb_40p p_lr_30p\">
\t\t";
// line 138
if (((((CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 138, $this->source); })()), "user", [], "any", false, false, false, 138), "getAccountTypology", [], "any", false, false, false, 138) == "agency") || (CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 138, $this->source); })()), "user", [], "any", false, false, false, 138), "getAccountTypology", [], "any", false, false, false, 138) == "administration")) || (CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 138, $this->source); })()), "user", [], "any", false, false, false, 138), "getAccountTypology", [], "any", false, false, false, 138) == "commercial")) || (CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 138, $this->source); })()), "user", [], "any", false, false, false, 138), "getAccountTypology", [], "any", false, false, false, 138) == "warehouse"))) {
yield " ";
// line 139
yield "\t\t\t<div class=\"row\">
\t\t\t\t<div class=\"col-12 responsive_font_size\">
\t\t\t\t\t<div class=\"tabs clearfix m_b_none\">
\t\t\t\t\t\t<ul class=\"tab-nav clearfix\">
\t\t\t\t\t\t\t";
// line 143
if (CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 143, $this->source); })()), "user", [], "any", false, false, false, 143), "canViewTab", ["desk_ticket"], "method", false, false, false, 143)) {
yield "<li><a id=\"btn_tab_tickets\" href=\"#tickets\" class=\"tab_session\" data-filterTab=\"tickets\"><i class=\"icon-tag d-block d-md-none\" data-bs-toggle=\"tooltip\" title=\"Ticket\"></i><span class=\"d-none d-md-block\">Ticket</span></a></li>";
}
// line 144
yield "\t\t\t\t\t\t\t";
if (CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 144, $this->source); })()), "user", [], "any", false, false, false, 144), "canViewTab", ["desk_warehouse"], "method", false, false, false, 144)) {
yield "<li><a id=\"btn_tab_warehouses\" href=\"#warehouses\" class=\"tab_session\" data-filterTab=\"warehouses\"><i class=\"icon-warehouse d-block d-md-none\" data-bs-toggle=\"tooltip\" title=\"Magazzini\"></i><span class=\"d-none d-md-block\">Magazzini</span></a></li>";
}
// line 145
yield "\t\t\t\t\t\t\t";
if (CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 145, $this->source); })()), "user", [], "any", false, false, false, 145), "canViewTab", ["desk_operation"], "method", false, false, false, 145)) {
yield "<li><a id=\"btn_tab_operations\" href=\"#operations\" class=\"tab_session\" data-filterTab=\"operations\"><i class=\"icon-wrench d-block d-md-none\" data-bs-toggle=\"tooltip\" title=\"Operazioni\"></i><span class=\"d-none d-md-block\">Operazioni</span></a></li>";
}
// line 146
yield "\t\t\t\t\t\t\t";
if (CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 146, $this->source); })()), "user", [], "any", false, false, false, 146), "canViewTab", ["desk_product"], "method", false, false, false, 146)) {
yield "<li><a id=\"btn_tab_products\" href=\"#products\" class=\"tab_session\" data-filterTab=\"products\"><i class=\"icon-box d-block d-md-none\" data-bs-toggle=\"tooltip\" title=\"Prodotti\"></i><span class=\"d-none d-md-block\">Prodotti</span></a></li>";
}
// line 147
yield "\t\t\t\t\t\t\t";
if (CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 147, $this->source); })()), "user", [], "any", false, false, false, 147), "canViewTab", ["desk_search"], "method", false, false, false, 147)) {
yield "<li><a id=\"btn_tab_search\" href=\"#search\" class=\"tab_session\" data-filterTabsearch=\"\" id=\"tab_search\"><i class=\"icon-search1 d-block d-md-none\" data-bs-toggle=\"tooltip\" title=\"Ricerca\"></i><span class=\"d-none d-md-block\">Ricerca</span></a></li>";
}
// line 148
yield "\t\t\t\t\t\t</ul>
\t\t\t\t\t\t<div class=\"tab-container\">
\t\t\t\t\t\t\t";
// line 151
yield "\t\t\t\t\t\t\t";
if (CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 151, $this->source); })()), "user", [], "any", false, false, false, 151), "canViewTab", ["desk_ticket"], "method", false, false, false, 151)) {
// line 152
yield "\t\t\t\t\t\t\t\t<div class=\"tab-content clearfix\" id=\"tickets\">
\t\t\t\t\t\t\t\t\t<div class=\"row\">
\t\t\t\t\t\t\t\t\t\t<div class=\"col-12\">
\t\t\t\t\t\t\t\t\t\t\t<div class=\"tabs side-tabs clearfix m_b_none\">
\t\t\t\t\t\t\t\t\t\t\t\t<ul class=\"tab-nav tab-nav2 clearfix\">
\t\t\t\t\t\t\t\t\t\t\t\t\t";
// line 157
if (CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 157, $this->source); })()), "user", [], "any", false, false, false, 157), "canRead", ["desk_ticket_summary_ticket"], "method", false, false, false, 157)) {
yield "<li><a id=\"btn_tab_ticket\" href=\"#summary_ticket\" class=\"tab_session2\" data-filterTab=\"ticket\"><i class=\"icon-table1 d-block d-md-none\" data-bs-toggle=\"tooltip\" title=\"Situazione ticket\"></i><span class=\"d-none d-md-block\">Situazione ticket</span></a></li>";
}
// line 158
yield "\t\t\t\t\t\t\t\t\t\t\t\t\t";
if (CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 158, $this->source); })()), "user", [], "any", false, false, false, 158), "canRead", ["desk_ticket_summary_techs"], "method", false, false, false, 158)) {
yield "<li><a id=\"btn_tab_techs\" href=\"#summary_techs\" class=\"tab_session2\" data-filterTab=\"techs\"><i class=\"icon-table1 d-block d-md-none\" data-bs-toggle=\"tooltip\" title=\"Situazione tecnici\"></i><span class=\"d-none d-md-block\">Situazione tecnici</span></a></li>";
}
// line 159
yield "\t\t\t\t\t\t\t\t\t\t\t\t\t";
if (CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 159, $this->source); })()), "user", [], "any", false, false, false, 159), "canRead", ["desk_ticket_errors"], "method", false, false, false, 159)) {
yield "<li><a id=\"btn_tab_errors\" href=\"#errors\" class=\"tab_session2\" data-filterTab=\"errors\"><i class=\"icon-minus-sign d-block d-md-none\" data-bs-toggle=\"tooltip\" title=\"Con errori (";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(Twig\Extension\CoreExtension::length($this->env->getCharset(), (isset($context["ticketWithErrors"]) || array_key_exists("ticketWithErrors", $context) ? $context["ticketWithErrors"] : (function () { throw new RuntimeError('Variable "ticketWithErrors" does not exist.', 159, $this->source); })())), "html", null, true);
yield ")\"></i><span class=\"d-none d-md-block\">Con errori (";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(Twig\Extension\CoreExtension::length($this->env->getCharset(), (isset($context["ticketWithErrors"]) || array_key_exists("ticketWithErrors", $context) ? $context["ticketWithErrors"] : (function () { throw new RuntimeError('Variable "ticketWithErrors" does not exist.', 159, $this->source); })())), "html", null, true);
yield ")</span></a></li>";
}
// line 160
yield "\t\t\t\t\t\t\t\t\t\t\t\t\t";
if (CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 160, $this->source); })()), "user", [], "any", false, false, false, 160), "canRead", ["desk_ticket_suspension_requests"], "method", false, false, false, 160)) {
yield "<li><a id=\"btn_tab_suspension_requests\" href=\"#suspension_requests\" class=\"tab_session2\" data-filterTab=\"suspension_requests\"><i class=\"icon-stopwatch d-block d-md-none\" data-bs-toggle=\"tooltip\" title=\"Richieste sospensioni (";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(Twig\Extension\CoreExtension::length($this->env->getCharset(), (isset($context["ticketSuspensionRequest"]) || array_key_exists("ticketSuspensionRequest", $context) ? $context["ticketSuspensionRequest"] : (function () { throw new RuntimeError('Variable "ticketSuspensionRequest" does not exist.', 160, $this->source); })())), "html", null, true);
yield ")\"></i><span class=\"d-none d-md-block\">Richieste sospensioni (";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(Twig\Extension\CoreExtension::length($this->env->getCharset(), (isset($context["ticketSuspensionRequest"]) || array_key_exists("ticketSuspensionRequest", $context) ? $context["ticketSuspensionRequest"] : (function () { throw new RuntimeError('Variable "ticketSuspensionRequest" does not exist.', 160, $this->source); })())), "html", null, true);
yield ")</span></a></li>";
}
// line 161
yield "\t\t\t\t\t\t\t\t\t\t\t\t\t";
if (CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 161, $this->source); })()), "user", [], "any", false, false, false, 161), "canRead", ["desk_ticket_closed_portal"], "method", false, false, false, 161)) {
yield "<li><a id=\"btn_tab_closed_portal\" href=\"#closed_portal\" class=\"tab_session2\" data-filterTab=\"closed_portal\"><i class=\"icon-lock d-block d-md-none\" data-bs-toggle=\"tooltip\" title=\"Chiusi su fornitore (";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(Twig\Extension\CoreExtension::length($this->env->getCharset(), (isset($context["ticketClosedPortal"]) || array_key_exists("ticketClosedPortal", $context) ? $context["ticketClosedPortal"] : (function () { throw new RuntimeError('Variable "ticketClosedPortal" does not exist.', 161, $this->source); })())), "html", null, true);
yield ")\"></i><span class=\"d-none d-md-block\">Chiusi su fornitore (";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(Twig\Extension\CoreExtension::length($this->env->getCharset(), (isset($context["ticketClosedPortal"]) || array_key_exists("ticketClosedPortal", $context) ? $context["ticketClosedPortal"] : (function () { throw new RuntimeError('Variable "ticketClosedPortal" does not exist.', 161, $this->source); })())), "html", null, true);
yield ")</span></a></li>";
}
// line 162
yield "\t\t\t\t\t\t\t\t\t\t\t\t\t";
if (CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 162, $this->source); })()), "user", [], "any", false, false, false, 162), "canRead", ["desk_ticket_waiting_for_material"], "method", false, false, false, 162)) {
yield "<li><a id=\"btn_tab_waiting_for_material\" href=\"#waiting_for_material\" class=\"tab_session2\" data-filterTab=\"waiting_for_material\">";
yield from $this->loadTemplate("components/twig/index/tab_label.html.twig", "role/user/index.html.twig", 162)->unwrap()->yield(CoreExtension::merge($context, ["icon" => "icon-truck-loading", "text" => (("In attesa di materiale (" . Twig\Extension\CoreExtension::length($this->env->getCharset(), (isset($context["ticketWaitingForMaterial"]) || array_key_exists("ticketWaitingForMaterial", $context) ? $context["ticketWaitingForMaterial"] : (function () { throw new RuntimeError('Variable "ticketWaitingForMaterial" does not exist.', 162, $this->source); })()))) . ")")]));
yield "</a></li>";
}
// line 163
yield "\t\t\t\t\t\t\t\t\t\t\t\t\t";
if (CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 163, $this->source); })()), "user", [], "any", false, false, false, 163), "canRead", ["desk_ticket_intervention_without_activities"], "method", false, false, false, 163)) {
yield "<li><a id=\"btn_tab_intervention_without_activities\" href=\"#intervention_without_activities\" class=\"tab_session2\" data-filterTab=\"intervention_without_activities\"><i class=\"icon-question d-block d-md-none\" data-bs-toggle=\"tooltip\" title=\"Interventi senza attività (";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(Twig\Extension\CoreExtension::length($this->env->getCharset(), (isset($context["interventionWithoutActivities"]) || array_key_exists("interventionWithoutActivities", $context) ? $context["interventionWithoutActivities"] : (function () { throw new RuntimeError('Variable "interventionWithoutActivities" does not exist.', 163, $this->source); })())), "html", null, true);
yield ")\"></i><span class=\"d-none d-md-block\">Interventi senza attività (";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(Twig\Extension\CoreExtension::length($this->env->getCharset(), (isset($context["interventionWithoutActivities"]) || array_key_exists("interventionWithoutActivities", $context) ? $context["interventionWithoutActivities"] : (function () { throw new RuntimeError('Variable "interventionWithoutActivities" does not exist.', 163, $this->source); })())), "html", null, true);
yield ")</span></a></li>";
}
// line 164
yield "\t\t\t\t\t\t\t\t\t\t\t\t\t";
if (CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 164, $this->source); })()), "user", [], "any", false, false, false, 164), "canRead", ["desk_ticket_intervention_tariff_out"], "method", false, false, false, 164)) {
yield "<li><a id=\"btn_tab_intervention_tariff_out\" href=\"#intervention_tariff_out\" class=\"tab_session2\" data-filterTab=\"intervention_tariff_out\"><i class=\"icon-dollar d-block d-md-none\" data-bs-toggle=\"tooltip\" title=\"Interventi fuori zona (";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(Twig\Extension\CoreExtension::length($this->env->getCharset(), (isset($context["interventionTariffOut"]) || array_key_exists("interventionTariffOut", $context) ? $context["interventionTariffOut"] : (function () { throw new RuntimeError('Variable "interventionTariffOut" does not exist.', 164, $this->source); })())), "html", null, true);
yield ")\"></i><span class=\"d-none d-md-block\">Interventi fuori zona (";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(Twig\Extension\CoreExtension::length($this->env->getCharset(), (isset($context["interventionTariffOut"]) || array_key_exists("interventionTariffOut", $context) ? $context["interventionTariffOut"] : (function () { throw new RuntimeError('Variable "interventionTariffOut" does not exist.', 164, $this->source); })())), "html", null, true);
yield ")</span></a></li>";
}
// line 165
yield "\t\t\t\t\t\t\t\t\t\t\t\t\t";
if (CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 165, $this->source); })()), "user", [], "any", false, false, false, 165), "canRead", ["desk_ticket_extras"], "method", false, false, false, 165)) {
yield "<li><a id=\"btn_tab_extras\" href=\"#extras\" class=\"tab_session2\" data-filterTab=\"extras\"><i class=\"icon-plus1 d-block d-md-none\" data-bs-toggle=\"tooltip\" title=\"Extra da gestire (";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(Twig\Extension\CoreExtension::length($this->env->getCharset(), (isset($context["interventionExtras"]) || array_key_exists("interventionExtras", $context) ? $context["interventionExtras"] : (function () { throw new RuntimeError('Variable "interventionExtras" does not exist.', 165, $this->source); })())), "html", null, true);
yield ")\"></i><span class=\"d-none d-md-block\">Extra da gestire (";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(Twig\Extension\CoreExtension::length($this->env->getCharset(), (isset($context["interventionExtras"]) || array_key_exists("interventionExtras", $context) ? $context["interventionExtras"] : (function () { throw new RuntimeError('Variable "interventionExtras" does not exist.', 165, $this->source); })())), "html", null, true);
yield ")</span></a></li>";
}
// line 166
yield "\t\t\t\t\t\t\t\t\t\t\t\t\t";
if (CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 166, $this->source); })()), "user", [], "any", false, false, false, 166), "canRead", ["desk_ticket_reminders"], "method", false, false, false, 166)) {
yield "<li><a id=\"btn_tab_reminders\" href=\"#reminders\" class=\"tab_session2\" data-filterTab=\"reminders\"><i class=\"icon-clock d-block d-md-none\" data-bs-toggle=\"tooltip\" title=\"Promemoria (";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(Twig\Extension\CoreExtension::length($this->env->getCharset(), (isset($context["ticketReminders"]) || array_key_exists("ticketReminders", $context) ? $context["ticketReminders"] : (function () { throw new RuntimeError('Variable "ticketReminders" does not exist.', 166, $this->source); })())), "html", null, true);
yield ")\"></i><span class=\"d-none d-md-block\">Promemoria (";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(Twig\Extension\CoreExtension::length($this->env->getCharset(), (isset($context["ticketReminders"]) || array_key_exists("ticketReminders", $context) ? $context["ticketReminders"] : (function () { throw new RuntimeError('Variable "ticketReminders" does not exist.', 166, $this->source); })())), "html", null, true);
yield ")</span></a></li>";
}
// line 167
yield "\t\t\t\t\t\t\t\t\t\t\t\t</ul>
\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"tab-container overflow_a\">
\t\t\t\t\t\t\t\t\t\t\t\t\t";
// line 169
if (CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 169, $this->source); })()), "user", [], "any", false, false, false, 169), "canRead", ["desk_ticket_summary_ticket"], "method", false, false, false, 169)) {
// line 170
yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
// line 171
yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"tab-content clearfix\" id=\"summary_ticket\">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<h4 class=\"form_title\">Situazione ticket</h4>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<hr class=\"m_t_none\">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"overflow_a\">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<table class=\"table table-bordered responsive_font_size\">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<thead>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<tr class=\"bg_pr color_w\">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<th class=\"td_w_120p\">Gruppo</th>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<th class=\"td_w_110p txt_a_c a_th_hover\" onclick=\"goToTicketList('to_assign', '')\">Da assegnare</th>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<th class=\"td_w_110p txt_a_c a_th_hover\" onclick=\"goToTicketList('assigned', '')\">Assegnati</th>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<th class=\"td_w_110p txt_a_c a_th_hover\" onclick=\"goToTicketList('taken_charge', '')\">Presi in carico</th>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<th class=\"td_w_110p txt_a_c a_th_hover\" onclick=\"goToTicketList('closed', '')\">Chiusi</th>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<th class=\"td_w_110p txt_a_c a_th_hover\" onclick=\"goToTicketList('suspension_request', '')\">Richieste sosp</th>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<th class=\"td_w_110p txt_a_c a_th_hover\" onclick=\"goToTicketList('suspended', '')\">Sospesi</th>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<th class=\"td_w_110p txt_a_c a_th_hover\" onclick=\"goToTicketList('canceled', '')\">Annullati</th>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<th class=\"td_w_110p txt_a_c a_th_hover\" onclick=\"goToTicketList('wrong', '')\">Errati</th>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<th class=\"td_w_110p txt_a_c a_th_hover\" onclick=\"goToTicketList('closed_portal', '')\">Chiusi portale</th>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td class=\"bg_pr\" style=\"padding: 0px 0px 0px px; width: 0px;\"></td>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<th class=\"td_w_110p txt_a_c\">Totale</th>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</tr>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</thead>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<tbody>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
// line 193
$context["total"] = 0;
// line 194
yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
$context['_parent'] = $context;
$context['_seq'] = CoreExtension::ensureTraversable((isset($context["operationGroups"]) || array_key_exists("operationGroups", $context) ? $context["operationGroups"] : (function () { throw new RuntimeError('Variable "operationGroups" does not exist.', 194, $this->source); })()));
foreach ($context['_seq'] as $context["_key"] => $context["og"]) {
// line 195
yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
$context["rowTotal"] = 0;
// line 196
yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<tr>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td>";
// line 197
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["og"], "value", [], "any", false, false, false, 197), "html", null, true);
yield "</td>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
// line 198
$context['_parent'] = $context;
$context['_seq'] = CoreExtension::ensureTraversable((isset($context["ticketStatuses"]) || array_key_exists("ticketStatuses", $context) ? $context["ticketStatuses"] : (function () { throw new RuntimeError('Variable "ticketStatuses" does not exist.', 198, $this->source); })()));
foreach ($context['_seq'] as $context["_key"] => $context["ts"]) {
// line 199
yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
$context['_parent'] = $context;
$context['_seq'] = CoreExtension::ensureTraversable((isset($context["matrixTickets"]) || array_key_exists("matrixTickets", $context) ? $context["matrixTickets"] : (function () { throw new RuntimeError('Variable "matrixTickets" does not exist.', 199, $this->source); })()));
foreach ($context['_seq'] as $context["_key"] => $context["ticketGroup"]) {
// line 200
yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
if ((CoreExtension::getAttribute($this->env, $this->source, $context["ticketGroup"], 0, [], "array", false, false, false, 200) == CoreExtension::getAttribute($this->env, $this->source, $context["og"], "id", [], "any", false, false, false, 200))) {
// line 201
yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
$context['_parent'] = $context;
$context['_seq'] = CoreExtension::ensureTraversable(CoreExtension::getAttribute($this->env, $this->source, $context["ticketGroup"], 1, [], "array", false, false, false, 201));
foreach ($context['_seq'] as $context["_key"] => $context["grCounts"]) {
// line 202
yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
if ((CoreExtension::getAttribute($this->env, $this->source, $context["grCounts"], 0, [], "array", false, false, false, 202) == CoreExtension::getAttribute($this->env, $this->source, $context["ts"], "id", [], "any", false, false, false, 202))) {
// line 203
yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
if ((CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 203, $this->source); })()), "user", [], "any", false, false, false, 203), "accountTypology", [], "any", false, false, false, 203) == "technician")) {
// line 204
yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td class=\"txt_a_c a_td_hover\" onclick=\"goToTicketList('";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["ts"], "slug", [], "any", false, false, false, 204), "html", null, true);
yield "', '";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["og"], "slug", [], "any", false, false, false, 204), "html", null, true);
yield "')\">";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["grCounts"], 1, [], "array", false, false, false, 204), "html", null, true);
yield "</td>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
} else {
// line 206
yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td class=\"txt_a_c a_td_hover\" onclick=\"goToTicketList('";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["ts"], "slug", [], "any", false, false, false, 206), "html", null, true);
yield "', '";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["og"], "id", [], "any", false, false, false, 206), "html", null, true);
yield "')\">";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["grCounts"], 1, [], "array", false, false, false, 206), "html", null, true);
yield "</td>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
}
// line 208
yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
$context["rowTotal"] = ((isset($context["rowTotal"]) || array_key_exists("rowTotal", $context) ? $context["rowTotal"] : (function () { throw new RuntimeError('Variable "rowTotal" does not exist.', 208, $this->source); })()) + CoreExtension::getAttribute($this->env, $this->source, $context["grCounts"], 1, [], "array", false, false, false, 208));
// line 209
yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
}
// line 210
yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['grCounts'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 211
yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
}
// line 212
yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['ticketGroup'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 213
yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['ts'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 214
yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td class=\"bg_pr\"></td>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<th class=\"txt_a_c\">";
// line 215
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((isset($context["rowTotal"]) || array_key_exists("rowTotal", $context) ? $context["rowTotal"] : (function () { throw new RuntimeError('Variable "rowTotal" does not exist.', 215, $this->source); })()), "html", null, true);
yield "</th>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</tr>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
// line 217
$context["total"] = ((isset($context["total"]) || array_key_exists("total", $context) ? $context["total"] : (function () { throw new RuntimeError('Variable "total" does not exist.', 217, $this->source); })()) + (isset($context["rowTotal"]) || array_key_exists("rowTotal", $context) ? $context["rowTotal"] : (function () { throw new RuntimeError('Variable "rowTotal" does not exist.', 217, $this->source); })()));
// line 218
yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['og'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 219
yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<tr class=\"bg_pr\">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td></td>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
// line 221
$context['_parent'] = $context;
$context['_seq'] = CoreExtension::ensureTraversable((isset($context["ticketStatuses"]) || array_key_exists("ticketStatuses", $context) ? $context["ticketStatuses"] : (function () { throw new RuntimeError('Variable "ticketStatuses" does not exist.', 221, $this->source); })()));
foreach ($context['_seq'] as $context["_key"] => $context["ts"]) {
// line 222
yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td></td>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['ts'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 224
yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td></td>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td></td>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</tr>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<tr>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<th>Totale</th>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
// line 229
$context['_parent'] = $context;
$context['_seq'] = CoreExtension::ensureTraversable((isset($context["ticketStatuses"]) || array_key_exists("ticketStatuses", $context) ? $context["ticketStatuses"] : (function () { throw new RuntimeError('Variable "ticketStatuses" does not exist.', 229, $this->source); })()));
foreach ($context['_seq'] as $context["_key"] => $context["ts"]) {
// line 230
yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
$context["columnTotal"] = 0;
// line 231
yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
$context['_parent'] = $context;
$context['_seq'] = CoreExtension::ensureTraversable((isset($context["matrixTickets"]) || array_key_exists("matrixTickets", $context) ? $context["matrixTickets"] : (function () { throw new RuntimeError('Variable "matrixTickets" does not exist.', 231, $this->source); })()));
foreach ($context['_seq'] as $context["_key"] => $context["ticketGroup"]) {
// line 232
yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
$context['_parent'] = $context;
$context['_seq'] = CoreExtension::ensureTraversable(CoreExtension::getAttribute($this->env, $this->source, $context["ticketGroup"], 1, [], "array", false, false, false, 232));
foreach ($context['_seq'] as $context["_key"] => $context["grCounts"]) {
// line 233
yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
if ((CoreExtension::getAttribute($this->env, $this->source, $context["grCounts"], 0, [], "array", false, false, false, 233) == CoreExtension::getAttribute($this->env, $this->source, $context["ts"], "id", [], "any", false, false, false, 233))) {
// line 234
yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
$context["columnTotal"] = ((isset($context["columnTotal"]) || array_key_exists("columnTotal", $context) ? $context["columnTotal"] : (function () { throw new RuntimeError('Variable "columnTotal" does not exist.', 234, $this->source); })()) + CoreExtension::getAttribute($this->env, $this->source, $context["grCounts"], 1, [], "array", false, false, false, 234));
// line 235
yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
}
// line 236
yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['grCounts'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 237
yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['ticketGroup'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 238
yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<th class=\"txt_a_c\">";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((isset($context["columnTotal"]) || array_key_exists("columnTotal", $context) ? $context["columnTotal"] : (function () { throw new RuntimeError('Variable "columnTotal" does not exist.', 238, $this->source); })()), "html", null, true);
yield "</th>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['ts'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 240
yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<th class=\"bg_pr\"></th>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<th class=\"txt_a_c\">";
// line 241
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((isset($context["total"]) || array_key_exists("total", $context) ? $context["total"] : (function () { throw new RuntimeError('Variable "total" does not exist.', 241, $this->source); })()), "html", null, true);
yield "</th>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</tr>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</tbody>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</table>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t\t\t\t\t";
}
// line 248
yield "\t\t\t\t\t\t\t\t\t\t\t\t\t";
if (CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 248, $this->source); })()), "user", [], "any", false, false, false, 248), "canRead", ["desk_ticket_summary_techs"], "method", false, false, false, 248)) {
// line 249
yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
// line 250
yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"tab-content clearfix\" id=\"summary_techs\">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<h4 class=\"form_title\">Situazione tecnici - Presi in carico (Assegnati)</h4>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<hr class=\"m_t_none\">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"overflow_a\">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<table class=\"table table-bordered responsive_font_size\">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<thead>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<tr class=\"bg_pr color_w\">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<th class=\"td_w_120p\">Tecnico</th>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
// line 258
$context['_parent'] = $context;
$context['_seq'] = CoreExtension::ensureTraversable((isset($context["operationGroups"]) || array_key_exists("operationGroups", $context) ? $context["operationGroups"] : (function () { throw new RuntimeError('Variable "operationGroups" does not exist.', 258, $this->source); })()));
foreach ($context['_seq'] as $context["_key"] => $context["og"]) {
// line 259
yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<th class=\"td_w_110p txt_a_c a_th_hover\" onclick=\"goToTechTicketList('";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["og"], "id", [], "any", false, false, false, 259), "html", null, true);
yield "', '')\">";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["og"], "value", [], "any", false, false, false, 259), "html", null, true);
yield "</th>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['og'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 261
yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td class=\"bg_pr\" style=\"padding: 0px 0px 0px px; width: 0px;\"></td>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<th class=\"td_w_110p txt_a_c\">Totali</th>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</tr>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</thead>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<tbody>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
// line 266
$context["totalAssigned"] = 0;
// line 267
yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
$context["totalTakenCharge"] = 0;
// line 268
yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
$context['_parent'] = $context;
$context['_seq'] = CoreExtension::ensureTraversable((isset($context["technicians"]) || array_key_exists("technicians", $context) ? $context["technicians"] : (function () { throw new RuntimeError('Variable "technicians" does not exist.', 268, $this->source); })()));
foreach ($context['_seq'] as $context["_key"] => $context["tech"]) {
// line 269
yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
$context["rowTotalAssigned"] = 0;
// line 270
yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
$context["rowTotalTakenCharge"] = 0;
// line 271
yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<tr>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td>";
// line 272
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($context["tech"], "html", null, true);
yield "</td>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
// line 273
$context['_parent'] = $context;
$context['_seq'] = CoreExtension::ensureTraversable((isset($context["operationGroups"]) || array_key_exists("operationGroups", $context) ? $context["operationGroups"] : (function () { throw new RuntimeError('Variable "operationGroups" does not exist.', 273, $this->source); })()));
foreach ($context['_seq'] as $context["_key"] => $context["og"]) {
// line 274
yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
$context['_parent'] = $context;
$context['_seq'] = CoreExtension::ensureTraversable((isset($context["matrixTechsTickets"]) || array_key_exists("matrixTechsTickets", $context) ? $context["matrixTechsTickets"] : (function () { throw new RuntimeError('Variable "matrixTechsTickets" does not exist.', 274, $this->source); })()));
foreach ($context['_seq'] as $context["_key"] => $context["techGroup"]) {
// line 275
yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
if ((CoreExtension::getAttribute($this->env, $this->source, $context["techGroup"], 0, [], "array", false, false, false, 275) == CoreExtension::getAttribute($this->env, $this->source, $context["tech"], "id", [], "any", false, false, false, 275))) {
// line 276
yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
$context['_parent'] = $context;
$context['_seq'] = CoreExtension::ensureTraversable(CoreExtension::getAttribute($this->env, $this->source, $context["techGroup"], 1, [], "array", false, false, false, 276));
foreach ($context['_seq'] as $context["_key"] => $context["techCounts"]) {
// line 277
yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
if ((CoreExtension::getAttribute($this->env, $this->source, $context["techCounts"], 0, [], "array", false, false, false, 277) == CoreExtension::getAttribute($this->env, $this->source, $context["og"], "id", [], "any", false, false, false, 277))) {
// line 278
yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td class=\"txt_a_c a_td_hover\" onclick='goToTechTicketList(\"";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["og"], "id", [], "any", false, false, false, 278), "html", null, true);
yield "\", \"";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($context["tech"], "html", null, true);
yield "\")'>";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["techCounts"], 2, [], "array", false, false, false, 278), "html", null, true);
yield " ";
if ((CoreExtension::getAttribute($this->env, $this->source, $context["techCounts"], 1, [], "array", false, false, false, 278) > 0)) {
yield "(";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["techCounts"], 1, [], "array", false, false, false, 278), "html", null, true);
yield ")";
}
yield "</td>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
// line 279
$context["rowTotalAssigned"] = ((isset($context["rowTotalAssigned"]) || array_key_exists("rowTotalAssigned", $context) ? $context["rowTotalAssigned"] : (function () { throw new RuntimeError('Variable "rowTotalAssigned" does not exist.', 279, $this->source); })()) + CoreExtension::getAttribute($this->env, $this->source, $context["techCounts"], 1, [], "array", false, false, false, 279));
// line 280
yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
$context["rowTotalTakenCharge"] = ((isset($context["rowTotalTakenCharge"]) || array_key_exists("rowTotalTakenCharge", $context) ? $context["rowTotalTakenCharge"] : (function () { throw new RuntimeError('Variable "rowTotalTakenCharge" does not exist.', 280, $this->source); })()) + CoreExtension::getAttribute($this->env, $this->source, $context["techCounts"], 2, [], "array", false, false, false, 280));
// line 281
yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
}
// line 282
yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['techCounts'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 283
yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
}
// line 284
yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['techGroup'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 285
yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['og'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 286
yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td class=\"bg_pr\"></td>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<th class=\"txt_a_c\">";
// line 287
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((isset($context["rowTotalTakenCharge"]) || array_key_exists("rowTotalTakenCharge", $context) ? $context["rowTotalTakenCharge"] : (function () { throw new RuntimeError('Variable "rowTotalTakenCharge" does not exist.', 287, $this->source); })()), "html", null, true);
yield " ";
if (((isset($context["rowTotalAssigned"]) || array_key_exists("rowTotalAssigned", $context) ? $context["rowTotalAssigned"] : (function () { throw new RuntimeError('Variable "rowTotalAssigned" does not exist.', 287, $this->source); })()) > 0)) {
yield "(";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((isset($context["rowTotalAssigned"]) || array_key_exists("rowTotalAssigned", $context) ? $context["rowTotalAssigned"] : (function () { throw new RuntimeError('Variable "rowTotalAssigned" does not exist.', 287, $this->source); })()), "html", null, true);
yield ")";
}
yield "</th>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</tr>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
// line 289
$context["totalAssigned"] = ((isset($context["totalAssigned"]) || array_key_exists("totalAssigned", $context) ? $context["totalAssigned"] : (function () { throw new RuntimeError('Variable "totalAssigned" does not exist.', 289, $this->source); })()) + (isset($context["rowTotalAssigned"]) || array_key_exists("rowTotalAssigned", $context) ? $context["rowTotalAssigned"] : (function () { throw new RuntimeError('Variable "rowTotalAssigned" does not exist.', 289, $this->source); })()));
// line 290
yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
$context["totalTakenCharge"] = ((isset($context["totalTakenCharge"]) || array_key_exists("totalTakenCharge", $context) ? $context["totalTakenCharge"] : (function () { throw new RuntimeError('Variable "totalTakenCharge" does not exist.', 290, $this->source); })()) + (isset($context["rowTotalTakenCharge"]) || array_key_exists("rowTotalTakenCharge", $context) ? $context["rowTotalTakenCharge"] : (function () { throw new RuntimeError('Variable "rowTotalTakenCharge" does not exist.', 290, $this->source); })()));
// line 291
yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['tech'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 292
yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<tr class=\"bg_pr\">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td></td>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
// line 294
$context['_parent'] = $context;
$context['_seq'] = CoreExtension::ensureTraversable((isset($context["operationGroups"]) || array_key_exists("operationGroups", $context) ? $context["operationGroups"] : (function () { throw new RuntimeError('Variable "operationGroups" does not exist.', 294, $this->source); })()));
foreach ($context['_seq'] as $context["_key"] => $context["og"]) {
// line 295
yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td></td>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['og'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 297
yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td></td>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td></td>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</tr>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<tr>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<th>Totale</th>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
// line 302
$context['_parent'] = $context;
$context['_seq'] = CoreExtension::ensureTraversable((isset($context["operationGroups"]) || array_key_exists("operationGroups", $context) ? $context["operationGroups"] : (function () { throw new RuntimeError('Variable "operationGroups" does not exist.', 302, $this->source); })()));
foreach ($context['_seq'] as $context["_key"] => $context["og"]) {
// line 303
yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
$context["columnTotalAssigned"] = 0;
// line 304
yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
$context["columnTotalTakenCharge"] = 0;
// line 305
yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
$context['_parent'] = $context;
$context['_seq'] = CoreExtension::ensureTraversable((isset($context["matrixTechsTickets"]) || array_key_exists("matrixTechsTickets", $context) ? $context["matrixTechsTickets"] : (function () { throw new RuntimeError('Variable "matrixTechsTickets" does not exist.', 305, $this->source); })()));
foreach ($context['_seq'] as $context["_key"] => $context["techGroup"]) {
// line 306
yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
$context['_parent'] = $context;
$context['_seq'] = CoreExtension::ensureTraversable(CoreExtension::getAttribute($this->env, $this->source, $context["techGroup"], 1, [], "array", false, false, false, 306));
foreach ($context['_seq'] as $context["_key"] => $context["techCounts"]) {
// line 307
yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
if ((CoreExtension::getAttribute($this->env, $this->source, $context["techCounts"], 0, [], "array", false, false, false, 307) == CoreExtension::getAttribute($this->env, $this->source, $context["og"], "id", [], "any", false, false, false, 307))) {
// line 308
yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
$context["columnTotalAssigned"] = ((isset($context["columnTotalAssigned"]) || array_key_exists("columnTotalAssigned", $context) ? $context["columnTotalAssigned"] : (function () { throw new RuntimeError('Variable "columnTotalAssigned" does not exist.', 308, $this->source); })()) + CoreExtension::getAttribute($this->env, $this->source, $context["techCounts"], 1, [], "array", false, false, false, 308));
// line 309
yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
$context["columnTotalTakenCharge"] = ((isset($context["columnTotalTakenCharge"]) || array_key_exists("columnTotalTakenCharge", $context) ? $context["columnTotalTakenCharge"] : (function () { throw new RuntimeError('Variable "columnTotalTakenCharge" does not exist.', 309, $this->source); })()) + CoreExtension::getAttribute($this->env, $this->source, $context["techCounts"], 2, [], "array", false, false, false, 309));
// line 310
yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
}
// line 311
yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['techCounts'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 312
yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['techGroup'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 313
yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<th class=\"txt_a_c\">";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((isset($context["columnTotalTakenCharge"]) || array_key_exists("columnTotalTakenCharge", $context) ? $context["columnTotalTakenCharge"] : (function () { throw new RuntimeError('Variable "columnTotalTakenCharge" does not exist.', 313, $this->source); })()), "html", null, true);
yield " ";
if (((isset($context["columnTotalAssigned"]) || array_key_exists("columnTotalAssigned", $context) ? $context["columnTotalAssigned"] : (function () { throw new RuntimeError('Variable "columnTotalAssigned" does not exist.', 313, $this->source); })()) > 0)) {
yield "(";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((isset($context["columnTotalAssigned"]) || array_key_exists("columnTotalAssigned", $context) ? $context["columnTotalAssigned"] : (function () { throw new RuntimeError('Variable "columnTotalAssigned" does not exist.', 313, $this->source); })()), "html", null, true);
yield ")";
}
yield "</th>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['og'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 315
yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<th class=\"bg_pr\"></th>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<th class=\"txt_a_c\">";
// line 316
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((isset($context["totalTakenCharge"]) || array_key_exists("totalTakenCharge", $context) ? $context["totalTakenCharge"] : (function () { throw new RuntimeError('Variable "totalTakenCharge" does not exist.', 316, $this->source); })()), "html", null, true);
yield " ";
if (((isset($context["totalAssigned"]) || array_key_exists("totalAssigned", $context) ? $context["totalAssigned"] : (function () { throw new RuntimeError('Variable "totalAssigned" does not exist.', 316, $this->source); })()) > 0)) {
yield "(";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((isset($context["totalAssigned"]) || array_key_exists("totalAssigned", $context) ? $context["totalAssigned"] : (function () { throw new RuntimeError('Variable "totalAssigned" does not exist.', 316, $this->source); })()), "html", null, true);
yield ")";
}
yield "</th>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</tr>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</tbody>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</table>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t\t\t\t\t";
}
// line 323
yield "\t\t\t\t\t\t\t\t\t\t\t\t\t";
if (CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 323, $this->source); })()), "user", [], "any", false, false, false, 323), "canRead", ["desk_ticket_errors"], "method", false, false, false, 323)) {
// line 324
yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
// line 325
yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"tab-content clearfix\" id=\"errors\">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<h4 class=\"form_title\">Ticket con errori</h4>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<hr class=\"m_t_none\">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"overflow_a\">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
// line 329
if ((Twig\Extension\CoreExtension::length($this->env->getCharset(), (isset($context["ticketWithErrors"]) || array_key_exists("ticketWithErrors", $context) ? $context["ticketWithErrors"] : (function () { throw new RuntimeError('Variable "ticketWithErrors" does not exist.', 329, $this->source); })())) > 0)) {
// line 330
yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<table class=\"table table-sm responsive_font_size\">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<thead>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<tr>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<th class=\"td_w_60p\">Numero</th>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<th class=\"td_w_130p\">Fornitore</th>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<th class=\"td_w_150p\">Operazione</th>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<th class=\"td_w_150p\">Cliente</th>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<th class=\"td_w_300p\">Errore</th>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<th></th>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</tr>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</thead>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<tbody>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
// line 342
$context['_parent'] = $context;
$context['_seq'] = CoreExtension::ensureTraversable((isset($context["ticketWithErrors"]) || array_key_exists("ticketWithErrors", $context) ? $context["ticketWithErrors"] : (function () { throw new RuntimeError('Variable "ticketWithErrors" does not exist.', 342, $this->source); })()));
$context['loop'] = [
'parent' => $context['_parent'],
'index0' => 0,
'index' => 1,
'first' => true,
];
if (is_array($context['_seq']) || (is_object($context['_seq']) && $context['_seq'] instanceof \Countable)) {
$length = count($context['_seq']);
$context['loop']['revindex0'] = $length - 1;
$context['loop']['revindex'] = $length;
$context['loop']['length'] = $length;
$context['loop']['last'] = 1 === $length;
}
foreach ($context['_seq'] as $context["_key"] => $context["t"]) {
// line 343
yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
if ((CoreExtension::getAttribute($this->env, $this->source, $context["loop"], "index", [], "any", false, false, false, 343) < 50)) {
// line 344
yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<tr>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td>";
// line 345
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["t"], "number", [], "any", false, false, false, 345), "html", null, true);
yield "</td>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td>";
// line 346
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["t"], "supplier", [], "any", false, false, false, 346), "html", null, true);
yield "</td>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td>";
// line 347
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["t"], "operation", [], "any", false, false, false, 347), "html", null, true);
yield "</td>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td>";
// line 348
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["t"], "client", [], "any", false, false, false, 348), "html", null, true);
yield "</td>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td>";
// line 349
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["t"], "systemErrorDetails", [], "any", false, false, false, 349), "html", null, true);
yield "</td>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td class=\"td_action\"><a href=\"";
// line 350
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("user_ticket_sheet", ["ticketId" => CoreExtension::getAttribute($this->env, $this->source, $context["t"], "id", [], "any", false, false, false, 350)]), "html", null, true);
yield "\" data-bs-toggle=\"tooltip\" title=\"Vai alla scheda\"><img class=\"icon_pr\" src=\"";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl((isset($context["icon_sheet"]) || array_key_exists("icon_sheet", $context) ? $context["icon_sheet"] : (function () { throw new RuntimeError('Variable "icon_sheet" does not exist.', 350, $this->source); })())), "html", null, true);
yield "\"></a></td>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</tr>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
}
// line 353
yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
++$context['loop']['index0'];
++$context['loop']['index'];
$context['loop']['first'] = false;
if (isset($context['loop']['length'])) {
--$context['loop']['revindex0'];
--$context['loop']['revindex'];
$context['loop']['last'] = 0 === $context['loop']['revindex0'];
}
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['t'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 354
yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</tbody>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</table>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
// line 356
if ((Twig\Extension\CoreExtension::length($this->env->getCharset(), (isset($context["ticketWithErrors"]) || array_key_exists("ticketWithErrors", $context) ? $context["ticketWithErrors"] : (function () { throw new RuntimeError('Variable "ticketWithErrors" does not exist.', 356, $this->source); })())) > 50)) {
// line 357
yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"style-msg alertmsg m_b_none\">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"sb-msg\"><i class=\"icon-warning-sign\"></i><strong>Attenzione!</strong> Per ridurre i tempi di caricamento della scrivania, sono visualizzati solo 50 risultati</div>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
}
// line 361
yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
} else {
// line 362
yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"style-msg successmsg m_b_none\">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"sb-msg\"><i class=\"icon-thumbs-up\"></i><strong>Complimenti!</strong> Nessuna ticket con errori!</div>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
}
// line 366
yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t\t\t\t\t";
}
// line 369
yield "\t\t\t\t\t\t\t\t\t\t\t\t\t";
if (CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 369, $this->source); })()), "user", [], "any", false, false, false, 369), "canRead", ["desk_ticket_suspension_requests"], "method", false, false, false, 369)) {
// line 370
yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
// line 371
yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"tab-content clearfix\" id=\"suspension_requests\">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<h4 class=\"form_title\">Ticket con sospensioni da approvare</h4>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<hr class=\"m_t_none\">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"overflow_a\">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
// line 375
if ((Twig\Extension\CoreExtension::length($this->env->getCharset(), (isset($context["ticketSuspensionRequest"]) || array_key_exists("ticketSuspensionRequest", $context) ? $context["ticketSuspensionRequest"] : (function () { throw new RuntimeError('Variable "ticketSuspensionRequest" does not exist.', 375, $this->source); })())) > 0)) {
// line 376
yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<table class=\"table table-sm responsive_font_size\">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<thead>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<tr>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<th class=\"td_w_120p\">Tipologia</th>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<th class=\"td_w_100p\">Numero</th>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<th class=\"td_w_140p\">Fornitore</th>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<th class=\"td_w_150p\">Operazione</th>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<th class=\"td_w_140p\">Cliente</th>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<th class=\"td_w_120p\">Tecnico</th>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<th></th>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</tr>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</thead>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<tbody>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
// line 389
$context['_parent'] = $context;
$context['_seq'] = CoreExtension::ensureTraversable((isset($context["ticketSuspensionRequest"]) || array_key_exists("ticketSuspensionRequest", $context) ? $context["ticketSuspensionRequest"] : (function () { throw new RuntimeError('Variable "ticketSuspensionRequest" does not exist.', 389, $this->source); })()));
foreach ($context['_seq'] as $context["_key"] => $context["t"]) {
// line 390
yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<tr>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td>";
// line 391
yield CoreExtension::getAttribute($this->env, $this->source, $context["t"], "displayStatus", ["string", (isset($context["settingProcessedActive"]) || array_key_exists("settingProcessedActive", $context) ? $context["settingProcessedActive"] : (function () { throw new RuntimeError('Variable "settingProcessedActive" does not exist.', 391, $this->source); })())], "method", false, false, false, 391);
yield "</td>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td>";
// line 392
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["t"], "number", [], "any", false, false, false, 392), "html", null, true);
yield "</td>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td>";
// line 393
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["t"], "supplier", [], "any", false, false, false, 393), "html", null, true);
yield "</td>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td>";
// line 394
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["t"], "operation", [], "any", false, false, false, 394), "html", null, true);
yield "</td>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td>";
// line 395
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["t"], "client", [], "any", false, false, false, 395), "html", null, true);
yield "</td>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td>";
// line 396
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["t"], "technician", [], "any", false, false, false, 396), "html", null, true);
yield "</td>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td class=\"td_action\"><a href=\"";
// line 397
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("user_ticket_sheet", ["ticketId" => CoreExtension::getAttribute($this->env, $this->source, $context["t"], "id", [], "any", false, false, false, 397)]), "html", null, true);
yield "\" data-bs-toggle=\"tooltip\" title=\"Vai alla scheda\"><img class=\"icon_pr\" src=\"";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl((isset($context["icon_sheet"]) || array_key_exists("icon_sheet", $context) ? $context["icon_sheet"] : (function () { throw new RuntimeError('Variable "icon_sheet" does not exist.', 397, $this->source); })())), "html", null, true);
yield "\"></a></td>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</tr>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['t'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 400
yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</tbody>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</table>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
} else {
// line 403
yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"style-msg successmsg m_b_none\">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"sb-msg\"><i class=\"icon-thumbs-up\"></i><strong>Complimenti!</strong> Nessun ticket con sospensioni da approvare!</div>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
}
// line 407
yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t\t\t\t\t";
}
// line 410
yield "\t\t\t\t\t\t\t\t\t\t\t\t\t";
if (CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 410, $this->source); })()), "user", [], "any", false, false, false, 410), "canRead", ["desk_ticket_closed_portal"], "method", false, false, false, 410)) {
// line 411
yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
// line 412
yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"tab-content clearfix\" id=\"closed_portal\">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<h4 class=\"form_title\">Ticket chiusi su portale e non su piattaforma</h4>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<hr class=\"m_t_none\">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"overflow_a\">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
// line 416
if ((Twig\Extension\CoreExtension::length($this->env->getCharset(), (isset($context["ticketClosedPortal"]) || array_key_exists("ticketClosedPortal", $context) ? $context["ticketClosedPortal"] : (function () { throw new RuntimeError('Variable "ticketClosedPortal" does not exist.', 416, $this->source); })())) > 0)) {
// line 417
yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<table class=\"table table-sm responsive_font_size\">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<thead>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<tr>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<th class=\"td_w_100p\">Numero</th>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<th class=\"td_w_140p\">Fornitore</th>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<th class=\"td_w_250p\">Operazione</th>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<th class=\"td_w_200p\">Cliente</th>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<th class=\"td_w_170p\">Data inizio/Data scadenza</th>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<th></th>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</tr>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</thead>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<tbody>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
// line 429
$context['_parent'] = $context;
$context['_seq'] = CoreExtension::ensureTraversable((isset($context["ticketClosedPortal"]) || array_key_exists("ticketClosedPortal", $context) ? $context["ticketClosedPortal"] : (function () { throw new RuntimeError('Variable "ticketClosedPortal" does not exist.', 429, $this->source); })()));
foreach ($context['_seq'] as $context["_key"] => $context["t"]) {
// line 430
yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<tr>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td>";
// line 431
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["t"], "number", [], "any", false, false, false, 431), "html", null, true);
yield "</td>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td>";
// line 432
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["t"], "supplier", [], "any", false, false, false, 432), "html", null, true);
yield "</td>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td>";
// line 433
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["t"], "operation", [], "any", false, false, false, 433), "html", null, true);
yield "</td>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td>";
// line 434
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["t"], "client", [], "any", false, false, false, 434), "html", null, true);
yield "</td>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td>";
// line 435
if ((CoreExtension::getAttribute($this->env, $this->source, $context["t"], "datetimeStart", [], "any", false, false, false, 435) != null)) {
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Twig\Extension\CoreExtension']->formatDate(CoreExtension::getAttribute($this->env, $this->source, $context["t"], "datetimeStart", [], "any", false, false, false, 435), "d-m-Y H:i"), "html", null, true);
} else {
yield "---";
}
yield "/";
if ((CoreExtension::getAttribute($this->env, $this->source, $context["t"], "datetimeExpiration", [], "any", false, false, false, 435) != null)) {
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Twig\Extension\CoreExtension']->formatDate(CoreExtension::getAttribute($this->env, $this->source, $context["t"], "datetimeExpiration", [], "any", false, false, false, 435), "d-m-Y H:i"), "html", null, true);
} else {
yield "---";
}
yield "</td>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td class=\"td_action\"><a href=\"";
// line 436
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("user_ticket_sheet", ["ticketId" => CoreExtension::getAttribute($this->env, $this->source, $context["t"], "id", [], "any", false, false, false, 436)]), "html", null, true);
yield "\" data-bs-toggle=\"tooltip\" title=\"Vai alla scheda\"><img class=\"icon_pr\" src=\"";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl((isset($context["icon_sheet"]) || array_key_exists("icon_sheet", $context) ? $context["icon_sheet"] : (function () { throw new RuntimeError('Variable "icon_sheet" does not exist.', 436, $this->source); })())), "html", null, true);
yield "\"></a></td>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</tr>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['t'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 439
yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</tbody>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</table>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
} else {
// line 442
yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"style-msg successmsg m_b_none\">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"sb-msg\"><i class=\"icon-thumbs-up\"></i><strong>Complimenti!</strong> Nessuna ticket con ticket chiuso su portale e non su piattaforma!</div>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
}
// line 446
yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t\t\t\t\t";
}
// line 449
yield "\t\t\t\t\t\t\t\t\t\t\t\t\t";
if (CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 449, $this->source); })()), "user", [], "any", false, false, false, 449), "canRead", ["desk_ticket_waiting_for_material"], "method", false, false, false, 449)) {
// line 450
yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
// line 451
yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"tab-content clearfix\" id=\"waiting_for_material\">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<h4 class=\"form_title\">Ticket in attesa del materiale</h4>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<hr class=\"m_t_none\">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"overflow_a\">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
// line 455
yield from $this->loadTemplate("components/twig/index/ticket_waiting.html.twig", "role/user/index.html.twig", 455)->unwrap()->yield(CoreExtension::merge($context, ["ticketWaitingForMaterial" => (isset($context["ticketWaitingForMaterial"]) || array_key_exists("ticketWaitingForMaterial", $context) ? $context["ticketWaitingForMaterial"] : (function () { throw new RuntimeError('Variable "ticketWaitingForMaterial" does not exist.', 455, $this->source); })())]));
// line 456
yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t\t\t\t\t";
}
// line 459
yield "\t\t\t\t\t\t\t\t\t\t\t\t\t";
if (CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 459, $this->source); })()), "user", [], "any", false, false, false, 459), "canRead", ["desk_ticket_intervention_without_activities"], "method", false, false, false, 459)) {
// line 460
yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
// line 461
yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"tab-content clearfix\" id=\"intervention_without_activities\">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<h4 class=\"form_title\">Interventi senza attività</h4>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<hr class=\"m_t_none\">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"overflow_a\">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
// line 465
if ((Twig\Extension\CoreExtension::length($this->env->getCharset(), (isset($context["interventionWithoutActivities"]) || array_key_exists("interventionWithoutActivities", $context) ? $context["interventionWithoutActivities"] : (function () { throw new RuntimeError('Variable "interventionWithoutActivities" does not exist.', 465, $this->source); })())) > 0)) {
// line 466
yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<table class=\"table table-sm responsive_font_size\">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<thead>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<tr>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<th class=\"td_w_100p\">N° ticket</th>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<th class=\"td_w_300p\">Data</th>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<th class=\"td_w_300p\">Intervento</th>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<th class=\"td_w_200p\">Esito</th>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<th class=\"td_w_150p\">Tecnico</th>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<th class=\"td_w_150p\">Operatore</th>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<th></th>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</tr>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</thead>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<tbody>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
// line 479
$context['_parent'] = $context;
$context['_seq'] = CoreExtension::ensureTraversable((isset($context["interventionWithoutActivities"]) || array_key_exists("interventionWithoutActivities", $context) ? $context["interventionWithoutActivities"] : (function () { throw new RuntimeError('Variable "interventionWithoutActivities" does not exist.', 479, $this->source); })()));
foreach ($context['_seq'] as $context["_key"] => $context["i"]) {
// line 480
yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<tr>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td>";
// line 481
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, $context["i"], "ticket", [], "any", false, false, false, 481), "number", [], "any", false, false, false, 481), "html", null, true);
yield "</td>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td>";
// line 482
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Twig\Extension\CoreExtension']->formatDate(CoreExtension::getAttribute($this->env, $this->source, $context["i"], "datetime", [], "any", false, false, false, 482), "d-m-Y H:i"), "html", null, true);
yield "</td>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td>";
// line 483
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($context["i"], "html", null, true);
yield "</td>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td>";
// line 484
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["i"], "outcome", [], "any", false, false, false, 484), "html", null, true);
yield "</td>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td>";
// line 485
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["i"], "technician", [], "any", false, false, false, 485), "html", null, true);
yield "</td>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td>";
// line 486
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["i"], "operator", [], "any", false, false, false, 486), "html", null, true);
yield "</td>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td class=\"td_action\"><a href=\"";
// line 487
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("user_ticket_sheet", ["ticketId" => CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, $context["i"], "ticket", [], "any", false, false, false, 487), "id", [], "any", false, false, false, 487)]), "html", null, true);
yield "\" data-bs-toggle=\"tooltip\" title=\"Vai alla scheda ticket\"><img class=\"icon_pr\" src=\"";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl((isset($context["icon_sheet"]) || array_key_exists("icon_sheet", $context) ? $context["icon_sheet"] : (function () { throw new RuntimeError('Variable "icon_sheet" does not exist.', 487, $this->source); })())), "html", null, true);
yield "\"></a></td>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</tr>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['i'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 490
yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</tbody>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</table>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
} else {
// line 493
yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"style-msg successmsg m_b_none\">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"sb-msg\"><i class=\"icon-thumbs-up\"></i><strong>Complimenti!</strong> Nessun intervento senza attività!</div>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
}
// line 497
yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t\t\t\t\t";
}
// line 500
yield "\t\t\t\t\t\t\t\t\t\t\t\t\t";
if (CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 500, $this->source); })()), "user", [], "any", false, false, false, 500), "canRead", ["desk_ticket_intervention_tariff_out"], "method", false, false, false, 500)) {
// line 501
yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
// line 502
yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"tab-content clearfix\" id=\"intervention_tariff_out\">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<h4 class=\"form_title\">Interventi fuori zona</h4>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<hr class=\"m_t_none\">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"overflow_a\">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
// line 506
if ((Twig\Extension\CoreExtension::length($this->env->getCharset(), (isset($context["interventionTariffOut"]) || array_key_exists("interventionTariffOut", $context) ? $context["interventionTariffOut"] : (function () { throw new RuntimeError('Variable "interventionTariffOut" does not exist.', 506, $this->source); })())) > 0)) {
// line 507
yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<table class=\"table table-sm responsive_font_size\">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<thead>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<tr>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<th class=\"td_w_100p\">N° ticket</th>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<th class=\"td_w_150p\">Data/Ora</th>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<th class=\"td_w_300p\">Intervento</th>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<th class=\"td_w_200p\">Esito</th>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<th class=\"td_w_150p\">Tecnico</th>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<th class=\"td_w_150p\">Operatore</th>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<th class=\"td_w_200p\">Città (Provincia)</th>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<th></th>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</tr>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</thead>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<tbody>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
// line 521
$context['_parent'] = $context;
$context['_seq'] = CoreExtension::ensureTraversable((isset($context["interventionTariffOut"]) || array_key_exists("interventionTariffOut", $context) ? $context["interventionTariffOut"] : (function () { throw new RuntimeError('Variable "interventionTariffOut" does not exist.', 521, $this->source); })()));
$context['loop'] = [
'parent' => $context['_parent'],
'index0' => 0,
'index' => 1,
'first' => true,
];
if (is_array($context['_seq']) || (is_object($context['_seq']) && $context['_seq'] instanceof \Countable)) {
$length = count($context['_seq']);
$context['loop']['revindex0'] = $length - 1;
$context['loop']['revindex'] = $length;
$context['loop']['length'] = $length;
$context['loop']['last'] = 1 === $length;
}
foreach ($context['_seq'] as $context["_key"] => $context["i"]) {
// line 522
yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
if ((CoreExtension::getAttribute($this->env, $this->source, $context["loop"], "index", [], "any", false, false, false, 522) < 50)) {
// line 523
yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<tr>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td>";
// line 524
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, $context["i"], "ticket", [], "any", false, false, false, 524), "number", [], "any", false, false, false, 524), "html", null, true);
yield "</td>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td>";
// line 525
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Twig\Extension\CoreExtension']->formatDate(CoreExtension::getAttribute($this->env, $this->source, $context["i"], "datetime", [], "any", false, false, false, 525), "d-m-Y H:i"), "html", null, true);
yield "</td>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td>";
// line 526
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($context["i"], "html", null, true);
yield "</td>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td>";
// line 527
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["i"], "outcome", [], "any", false, false, false, 527), "html", null, true);
yield "</td>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td>";
// line 528
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["i"], "technician", [], "any", false, false, false, 528), "html", null, true);
yield "</td>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td>";
// line 529
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["i"], "operator", [], "any", false, false, false, 529), "html", null, true);
yield "</td>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td>";
// line 530
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['App\Twig\Extension\AppExtension']->translateCity(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, $context["i"], "ticket", [], "any", false, false, false, 530), "idCity", [], "any", false, false, false, 530)), "html", null, true);
yield "</td>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td class=\"td_action\"><a href=\"";
// line 531
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("user_ticket_sheet", ["ticketId" => CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, $context["i"], "ticket", [], "any", false, false, false, 531), "id", [], "any", false, false, false, 531)]), "html", null, true);
yield "\" data-bs-toggle=\"tooltip\" title=\"Vai alla scheda ticket\"><img class=\"icon_pr\" src=\"";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl((isset($context["icon_sheet"]) || array_key_exists("icon_sheet", $context) ? $context["icon_sheet"] : (function () { throw new RuntimeError('Variable "icon_sheet" does not exist.', 531, $this->source); })())), "html", null, true);
yield "\"></a></td>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</tr>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
}
// line 534
yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
++$context['loop']['index0'];
++$context['loop']['index'];
$context['loop']['first'] = false;
if (isset($context['loop']['length'])) {
--$context['loop']['revindex0'];
--$context['loop']['revindex'];
$context['loop']['last'] = 0 === $context['loop']['revindex0'];
}
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['i'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 535
yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</tbody>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</table>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
// line 537
if ((Twig\Extension\CoreExtension::length($this->env->getCharset(), (isset($context["interventionTariffOut"]) || array_key_exists("interventionTariffOut", $context) ? $context["interventionTariffOut"] : (function () { throw new RuntimeError('Variable "interventionTariffOut" does not exist.', 537, $this->source); })())) > 50)) {
// line 538
yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"style-msg alertmsg m_b_none\">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"sb-msg\"><i class=\"icon-warning-sign\"></i><strong>Attenzione!</strong> Per ridurre i tempi di caricamento della scrivania, sono visualizzati solo 50 risultati</div>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
}
// line 542
yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
} else {
// line 543
yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"style-msg successmsg m_b_none\">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"sb-msg\"><i class=\"icon-thumbs-up\"></i><strong>Complimenti!</strong> Nessun intervento fuori zona da gestire!</div>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
}
// line 547
yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t\t\t\t\t";
}
// line 550
yield "\t\t\t\t\t\t\t\t\t\t\t\t\t";
if (CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 550, $this->source); })()), "user", [], "any", false, false, false, 550), "canRead", ["desk_ticket_extras"], "method", false, false, false, 550)) {
// line 551
yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
// line 552
yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"tab-content clearfix\" id=\"extras\">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<h4 class=\"form_title\">Extra da gestire</h4>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<hr class=\"m_t_none\">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"overflow_a\">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
// line 556
if ((Twig\Extension\CoreExtension::length($this->env->getCharset(), (isset($context["interventionExtras"]) || array_key_exists("interventionExtras", $context) ? $context["interventionExtras"] : (function () { throw new RuntimeError('Variable "interventionExtras" does not exist.', 556, $this->source); })())) > 0)) {
// line 557
yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<table class=\"table table-sm responsive_font_size\">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<thead>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<tr>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<th class=\"td_w_500p\">Intervento</th>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<th class=\"td_w_150p\">Tipo</th>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<th class=\"td_w_150p txt_a_c\">Ammontare</th>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<th class=\"td_w_100p txt_a_c\">Ore</th>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<th>Note</th>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<th></th>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</tr>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</thead>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<tbody>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
// line 569
$context['_parent'] = $context;
$context['_seq'] = CoreExtension::ensureTraversable((isset($context["interventionExtras"]) || array_key_exists("interventionExtras", $context) ? $context["interventionExtras"] : (function () { throw new RuntimeError('Variable "interventionExtras" does not exist.', 569, $this->source); })()));
foreach ($context['_seq'] as $context["_key"] => $context["e"]) {
// line 570
yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<tr>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td>";
// line 571
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["e"], "intervention", [], "any", false, false, false, 571), "html", null, true);
yield "</td>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td>";
// line 572
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["e"], "displayType", [], "method", false, false, false, 572), "html", null, true);
yield "</td>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td class=\"txt_a_c\">";
// line 573
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["e"], "cost", [], "any", false, false, false, 573), "html", null, true);
yield " €</td>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td class=\"txt_a_c\">";
// line 574
if ((CoreExtension::getAttribute($this->env, $this->source, $context["e"], "hours", [], "any", false, false, false, 574) != null)) {
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["e"], "hours", [], "any", false, false, false, 574), "html", null, true);
} else {
yield "---";
}
yield "</td>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td class=\"font_14\">";
// line 575
if ((CoreExtension::getAttribute($this->env, $this->source, $context["e"], "notes", [], "any", false, false, false, 575) != null)) {
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["e"], "notes", [], "any", false, false, false, 575), "html", null, true);
} else {
yield "---";
}
yield "</td>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td class=\"td_action\"><a href=\"";
// line 576
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("user_ticket_sheet", ["ticketId" => CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, $context["e"], "intervention", [], "any", false, false, false, 576), "ticket", [], "any", false, false, false, 576), "id", [], "any", false, false, false, 576)]), "html", null, true);
yield "\" data-bs-toggle=\"tooltip\" title=\"Vai alla scheda\"><img class=\"icon_pr\" src=\"";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl((isset($context["icon_sheet"]) || array_key_exists("icon_sheet", $context) ? $context["icon_sheet"] : (function () { throw new RuntimeError('Variable "icon_sheet" does not exist.', 576, $this->source); })())), "html", null, true);
yield "\"></a></td>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</tr>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['e'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 579
yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</tbody>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</table>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
} else {
// line 582
yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"style-msg successmsg m_b_none\">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"sb-msg\"><i class=\"icon-thumbs-up\"></i><strong>Complimenti!</strong> Nessun ticket con extra da gestire!</div>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
}
// line 586
yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t\t\t\t\t";
}
// line 589
yield "\t\t\t\t\t\t\t\t\t\t\t\t\t";
if (CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 589, $this->source); })()), "user", [], "any", false, false, false, 589), "canRead", ["desk_ticket_reminders"], "method", false, false, false, 589)) {
// line 590
yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
// line 591
yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"tab-content clearfix\" id=\"reminders\">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<h4 class=\"form_title\">Promemoria</h4>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<hr class=\"m_t_none\">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"overflow_a\">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
// line 595
if ((Twig\Extension\CoreExtension::length($this->env->getCharset(), (isset($context["ticketReminders"]) || array_key_exists("ticketReminders", $context) ? $context["ticketReminders"] : (function () { throw new RuntimeError('Variable "ticketReminders" does not exist.', 595, $this->source); })())) > 0)) {
// line 596
yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<table class=\"table table-sm responsive_font_size\">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<thead>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<tr>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<th class=\"td_w_150p\">Data/Ora</th>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<th class=\"td_w_150p\">Utente</th>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<th>Dettagli</th>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<th></th>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</tr>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</thead>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<tbody>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
// line 606
$context['_parent'] = $context;
$context['_seq'] = CoreExtension::ensureTraversable((isset($context["ticketReminders"]) || array_key_exists("ticketReminders", $context) ? $context["ticketReminders"] : (function () { throw new RuntimeError('Variable "ticketReminders" does not exist.', 606, $this->source); })()));
foreach ($context['_seq'] as $context["_key"] => $context["r"]) {
// line 607
yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<tr ";
if (($this->extensions['Twig\Extension\CoreExtension']->formatDate(CoreExtension::getAttribute($this->env, $this->source, $context["r"], "datetime", [], "any", false, false, false, 607), "YmdHi") < $this->extensions['Twig\Extension\CoreExtension']->formatDate("now", "YmdHi"))) {
yield "class=\"bg_r_h\"";
}
yield ">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td>";
// line 608
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Twig\Extension\CoreExtension']->formatDate(CoreExtension::getAttribute($this->env, $this->source, $context["r"], "datetime", [], "any", false, false, false, 608), "d-m-Y H:i"), "html", null, true);
yield "</td>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td>";
// line 609
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["r"], "technician", [], "any", false, false, false, 609), "html", null, true);
yield "</td>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td>";
// line 610
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["r"], "details", [], "any", false, false, false, 610), "html", null, true);
yield "</td>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td class=\"td_action\"><a href=\"";
// line 611
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("user_ticket_sheet", ["ticketId" => CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, $context["r"], "ticket", [], "any", false, false, false, 611), "id", [], "any", false, false, false, 611)]), "html", null, true);
yield "\" data-bs-toggle=\"tooltip\" title=\"Vai alla scheda\"><img class=\"icon_pr\" src=\"";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl((isset($context["icon_sheet"]) || array_key_exists("icon_sheet", $context) ? $context["icon_sheet"] : (function () { throw new RuntimeError('Variable "icon_sheet" does not exist.', 611, $this->source); })())), "html", null, true);
yield "\"></a></td>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</tr>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['r'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 614
yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</tbody>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</table>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
} else {
// line 617
yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"style-msg successmsg m_b_none\">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"sb-msg\"><i class=\"icon-thumbs-up\"></i><strong>Complimenti!</strong> Nessun promemoria presente!</div>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
}
// line 621
yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t\t\t\t\t";
}
// line 624
yield "\t\t\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t";
}
// line 630
yield "\t\t\t\t\t\t\t";
// line 631
yield "\t\t\t\t\t\t\t";
if (CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 631, $this->source); })()), "user", [], "any", false, false, false, 631), "canViewTab", ["desk_warehouse"], "method", false, false, false, 631)) {
// line 632
yield "\t\t\t\t\t\t\t\t<div class=\"tab-content clearfix\" id=\"warehouses\">
\t\t\t\t\t\t\t\t\t";
// line 633
if ((Twig\Extension\CoreExtension::length($this->env->getCharset(), (isset($context["warehouseAlarms"]) || array_key_exists("warehouseAlarms", $context) ? $context["warehouseAlarms"] : (function () { throw new RuntimeError('Variable "warehouseAlarms" does not exist.', 633, $this->source); })())) == 1)) {
// line 634
yield "\t\t\t\t\t\t\t\t\t\t";
$context['_parent'] = $context;
$context['_seq'] = CoreExtension::ensureTraversable((isset($context["warehouseAlarms"]) || array_key_exists("warehouseAlarms", $context) ? $context["warehouseAlarms"] : (function () { throw new RuntimeError('Variable "warehouseAlarms" does not exist.', 634, $this->source); })()));
foreach ($context['_seq'] as $context["_key"] => $context["warehouseData"]) {
// line 635
yield "\t\t\t\t\t\t\t\t\t\t\t<div class=\"row\">
\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"col-12\">
\t\t\t\t\t\t\t\t\t\t\t\t\t<h4 class=\"form_title\">";
// line 637
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["warehouseData"], 1, [], "array", false, false, false, 637), "html", null, true);
yield "</h4>
\t\t\t\t\t\t\t\t\t\t\t\t\t<hr class=\"m_t_none m_b_none\">
\t\t\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"col-12 overflow_a\">
\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"tabs side-tabs clearfix m_b_none\">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t<ul class=\"tab-nav tab-nav2 clearfix\">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
// line 643
if (CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 643, $this->source); })()), "user", [], "any", false, false, false, 643), "canRead", ["desk_warehouse_product_to_manage"], "method", false, false, false, 643)) {
yield "<li><a id=\"btn_tab_";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["warehouseData"], 0, [], "array", false, false, false, 643), "html", null, true);
yield "_product_to_manage\" href=\"#";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["warehouseData"], 0, [], "array", false, false, false, 643), "html", null, true);
yield "_product_to_manage\" class=\"tab_session2\" data-filterTab=\"";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["warehouseData"], 0, [], "array", false, false, false, 643), "html", null, true);
yield "_product_to_manage\"><i class=\"icon-box d-block d-md-none\" data-bs-toggle=\"tooltip\" title=\"Prodotti da gestire (";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["warehouseData"], 2, [], "array", false, false, false, 643), "html", null, true);
yield ")\"></i><span class=\"d-none d-md-block\">Prodotti da gestire (";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["warehouseData"], 2, [], "array", false, false, false, 643), "html", null, true);
yield ")</span></a></li>";
}
// line 644
yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
if (CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 644, $this->source); })()), "user", [], "any", false, false, false, 644), "canRead", ["desk_warehouse_transfer_incoming"], "method", false, false, false, 644)) {
yield "<li><a id=\"btn_tab_";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["warehouseData"], 0, [], "array", false, false, false, 644), "html", null, true);
yield "_transfers_incoming\" href=\"#";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["warehouseData"], 0, [], "array", false, false, false, 644), "html", null, true);
yield "_transfers_incoming\" class=\"tab_session2\" data-filterTab=\"";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["warehouseData"], 0, [], "array", false, false, false, 644), "html", null, true);
yield "_transfers_incoming\"><i class=\"icon-truck d-block d-md-none\" data-bs-toggle=\"tooltip\" title=\"Trasferimenti in entrata (";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(Twig\Extension\CoreExtension::length($this->env->getCharset(), CoreExtension::getAttribute($this->env, $this->source, $context["warehouseData"], 3, [], "array", false, false, false, 644)), "html", null, true);
yield ")\"></i><span class=\"d-none d-md-block\">Trasferimenti in entrata (";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(Twig\Extension\CoreExtension::length($this->env->getCharset(), CoreExtension::getAttribute($this->env, $this->source, $context["warehouseData"], 3, [], "array", false, false, false, 644)), "html", null, true);
yield ")</span></a></li>";
}
// line 645
yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
if (CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 645, $this->source); })()), "user", [], "any", false, false, false, 645), "canRead", ["desk_warehouse_transfer_output"], "method", false, false, false, 645)) {
yield "<li><a id=\"btn_tab_";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["warehouseData"], 0, [], "array", false, false, false, 645), "html", null, true);
yield "_transfers_output\" href=\"#";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["warehouseData"], 0, [], "array", false, false, false, 645), "html", null, true);
yield "_transfers_output\" class=\"tab_session2\" data-filterTab=\"";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["warehouseData"], 0, [], "array", false, false, false, 645), "html", null, true);
yield "_transfers_output\"><i class=\"icon-truck-loading d-block d-md-none\" data-bs-toggle=\"tooltip\" title=\"Trasferimenti in uscita (";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(Twig\Extension\CoreExtension::length($this->env->getCharset(), CoreExtension::getAttribute($this->env, $this->source, $context["warehouseData"], 4, [], "array", false, false, false, 645)), "html", null, true);
yield ")\"></i><span class=\"d-none d-md-block\">Trasferimenti in uscita (";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(Twig\Extension\CoreExtension::length($this->env->getCharset(), CoreExtension::getAttribute($this->env, $this->source, $context["warehouseData"], 4, [], "array", false, false, false, 645)), "html", null, true);
yield ")</span></a></li>";
}
// line 646
yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
if (CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 646, $this->source); })()), "user", [], "any", false, false, false, 646), "canRead", ["desk_warehouse_transfer_ddt_missing"], "method", false, false, false, 646)) {
yield "<li><a id=\"btn_tab_";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["warehouseData"], 0, [], "array", false, false, false, 646), "html", null, true);
yield "_transfers_ddt_missing\" href=\"#";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["warehouseData"], 0, [], "array", false, false, false, 646), "html", null, true);
yield "_transfers_ddt_missing\" class=\"tab_session2\" data-filterTab=\"";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["warehouseData"], 0, [], "array", false, false, false, 646), "html", null, true);
yield "_transfers_ddt_missing\"><i class=\"icon-signature d-block d-md-none\" data-bs-toggle=\"tooltip\" title=\"Trasferimenti senza DDT firmato (";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(Twig\Extension\CoreExtension::length($this->env->getCharset(), CoreExtension::getAttribute($this->env, $this->source, $context["warehouseData"], 5, [], "array", false, false, false, 646)), "html", null, true);
yield ")\"></i><span class=\"d-none d-md-block\">Trasferimenti senza DDT firmato (";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(Twig\Extension\CoreExtension::length($this->env->getCharset(), CoreExtension::getAttribute($this->env, $this->source, $context["warehouseData"], 5, [], "array", false, false, false, 646)), "html", null, true);
yield ")</span></a></li>";
}
// line 647
yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
if (CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 647, $this->source); })()), "user", [], "any", false, false, false, 647), "canRead", ["desk_warehouse_request_technicians"], "method", false, false, false, 647)) {
yield "<li><a id=\"btn_tab_";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["warehouseData"], 0, [], "array", false, false, false, 647), "html", null, true);
yield "_request_technicians\" href=\"#";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["warehouseData"], 0, [], "array", false, false, false, 647), "html", null, true);
yield "_request_technicians\" class=\"tab_session2\" data-filterTab=\"";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["warehouseData"], 0, [], "array", false, false, false, 647), "html", null, true);
yield "_request_technicians\"><i class=\"icon-question d-block d-md-none\" data-bs-toggle=\"tooltip\" title=\"Richieste tecnici (";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(Twig\Extension\CoreExtension::length($this->env->getCharset(), CoreExtension::getAttribute($this->env, $this->source, $context["warehouseData"], 6, [], "array", false, false, false, 647)), "html", null, true);
yield ")\"></i><span class=\"d-none d-md-block\">Richieste tecnici (";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(Twig\Extension\CoreExtension::length($this->env->getCharset(), CoreExtension::getAttribute($this->env, $this->source, $context["warehouseData"], 6, [], "array", false, false, false, 647)), "html", null, true);
yield ")</span></a></li>";
}
// line 648
yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
if (CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 648, $this->source); })()), "user", [], "any", false, false, false, 648), "canRead", ["desk_warehouse_stocks_red"], "method", false, false, false, 648)) {
yield "<li><a id=\"btn_tab_";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["warehouseData"], 0, [], "array", false, false, false, 648), "html", null, true);
yield "_product_stocks_red\" href=\"#";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["warehouseData"], 0, [], "array", false, false, false, 648), "html", null, true);
yield "_product_stocks_red\" class=\"tab_session2\" data-filterTab=\"";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["warehouseData"], 0, [], "array", false, false, false, 648), "html", null, true);
yield "_product_stocks_red\"><i class=\"icon-box d-block d-md-none\" data-bs-toggle=\"tooltip\" title=\"Scorte prodotti rosse (";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(Twig\Extension\CoreExtension::length($this->env->getCharset(), CoreExtension::getAttribute($this->env, $this->source, $context["warehouseData"], 7, [], "array", false, false, false, 648)), "html", null, true);
yield ")\"></i><span class=\"d-none d-md-block\">Scorte prodotti rosse (";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(Twig\Extension\CoreExtension::length($this->env->getCharset(), CoreExtension::getAttribute($this->env, $this->source, $context["warehouseData"], 7, [], "array", false, false, false, 648)), "html", null, true);
yield ")</span></a></li>";
}
// line 649
yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
if (CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 649, $this->source); })()), "user", [], "any", false, false, false, 649), "canRead", ["desk_warehouse_stocks_yellow"], "method", false, false, false, 649)) {
yield "<li><a id=\"btn_tab_";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["warehouseData"], 0, [], "array", false, false, false, 649), "html", null, true);
yield "_product_stocks_yellow\" href=\"#";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["warehouseData"], 0, [], "array", false, false, false, 649), "html", null, true);
yield "_product_stocks_yellow\" class=\"tab_session2\" data-filterTab=\"";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["warehouseData"], 0, [], "array", false, false, false, 649), "html", null, true);
yield "_product_stocks_yellow\"><i class=\"icon-box d-block d-md-none\" data-bs-toggle=\"tooltip\" title=\"Scorte prodotti gialle (";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(Twig\Extension\CoreExtension::length($this->env->getCharset(), CoreExtension::getAttribute($this->env, $this->source, $context["warehouseData"], 8, [], "array", false, false, false, 649)), "html", null, true);
yield ")\"></i><span class=\"d-none d-md-block\">Scorte prodotti gialle (";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(Twig\Extension\CoreExtension::length($this->env->getCharset(), CoreExtension::getAttribute($this->env, $this->source, $context["warehouseData"], 8, [], "array", false, false, false, 649)), "html", null, true);
yield ")</span></a></li>";
}
// line 650
yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t</ul>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"tab-container\">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
// line 653
yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
if (CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 653, $this->source); })()), "user", [], "any", false, false, false, 653), "canRead", ["desk_warehouse_product_to_manage"], "method", false, false, false, 653)) {
// line 654
yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
// line 655
yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"tab-content clearfix\" id=\"";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["warehouseData"], 0, [], "array", false, false, false, 655), "html", null, true);
yield "_product_to_manage\">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<h4 class=\"form_title\">Prodotti da gestire</h4>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<hr class=\"m_t_none\">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
// line 658
if ((CoreExtension::getAttribute($this->env, $this->source, $context["warehouseData"], 2, [], "array", false, false, false, 658) > 0)) {
// line 659
yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"style-msg infomsg m_b_none\">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"sb-msg\"><i class=\"icon-info\"></i><strong>Attenzione!</strong> Ci sono ";
// line 660
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["warehouseData"], 2, [], "array", false, false, false, 660), "html", null, true);
yield " prodotti da gestire in questo magazzino!<a href=\"";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("user_warehouse_sheet", ["warehouseId" => CoreExtension::getAttribute($this->env, $this->source, $context["warehouseData"], 0, [], "array", false, false, false, 660)]), "html", null, true);
yield "\" class=\"button button-3d button-mini button-amber f_right m_none\">Vai al magazzino</a></div>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
} else {
// line 663
yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"style-msg successmsg m_b_none\">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"sb-msg\"><i class=\"icon-thumbs-up\"></i><strong>Complimenti!</strong> Nessun prodotto da gestire presente nel magazzino</div>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</div>\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
}
// line 667
yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
}
// line 669
yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
if (CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 669, $this->source); })()), "user", [], "any", false, false, false, 669), "canRead", ["desk_warehouse_transfer_incoming"], "method", false, false, false, 669)) {
// line 670
yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
// line 671
yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"tab-content clearfix\" id=\"";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["warehouseData"], 0, [], "array", false, false, false, 671), "html", null, true);
yield "_transfers_incoming\">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<h4 class=\"form_title\">Trasferimenti in entrata non completati</h4>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<hr class=\"m_t_none\">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
// line 674
if ((Twig\Extension\CoreExtension::length($this->env->getCharset(), CoreExtension::getAttribute($this->env, $this->source, $context["warehouseData"], 3, [], "array", false, false, false, 674)) > 0)) {
// line 675
yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<table class=\"table table-sm\">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<thead>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<tr>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<th class=\"txt_a_c\">Fase</th>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<th>Magazzino provenienza</th>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<th>Fornitore</th>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<th>Data creazione</th>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<th>Data invio</th>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<th>Data completamento</th>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<th></th>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</tr>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</thead>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<tbody>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
// line 688
$context['_parent'] = $context;
$context['_seq'] = CoreExtension::ensureTraversable(CoreExtension::getAttribute($this->env, $this->source, $context["warehouseData"], 3, [], "array", false, false, false, 688));
foreach ($context['_seq'] as $context["_key"] => $context["pt"]) {
// line 689
yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<tr>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td class=\"txt_a_c\">";
// line 690
yield CoreExtension::getAttribute($this->env, $this->source, $context["pt"], "displayPhase", ["icon"], "method", false, false, false, 690);
yield "</td>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td>";
// line 691
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["pt"], "warehouseFrom", [], "any", false, false, false, 691), "html", null, true);
yield "</td>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td>";
// line 692
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["pt"], "supplier", [], "any", false, false, false, 692), "html", null, true);
yield "</td>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td>";
// line 693
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Twig\Extension\CoreExtension']->formatDate(CoreExtension::getAttribute($this->env, $this->source, $context["pt"], "datetimeCreation", [], "any", false, false, false, 693), "d-m-Y H:i"), "html", null, true);
yield "</td>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td>";
// line 694
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Twig\Extension\CoreExtension']->formatDate(CoreExtension::getAttribute($this->env, $this->source, $context["pt"], "datetimeSend", [], "any", false, false, false, 694), "d-m-Y H:i"), "html", null, true);
yield "</td>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td>";
// line 695
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Twig\Extension\CoreExtension']->formatDate(CoreExtension::getAttribute($this->env, $this->source, $context["pt"], "datetimeCompletion", [], "any", false, false, false, 695), "d-m-Y H:i"), "html", null, true);
yield "</td>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td class=\"td_action\"><a href=\"";
// line 696
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("user_warehouse_transfer_sheet", ["warehouseId" => CoreExtension::getAttribute($this->env, $this->source, $context["warehouseData"], 0, [], "array", false, false, false, 696), "transferId" => CoreExtension::getAttribute($this->env, $this->source, $context["pt"], "id", [], "any", false, false, false, 696)]), "html", null, true);
yield "\" data-bs-toggle=\"tooltip\" title=\"Vai alla scheda trasferimento\"><img class=\"icon_pr\" src=\"";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl((isset($context["icon_sheet"]) || array_key_exists("icon_sheet", $context) ? $context["icon_sheet"] : (function () { throw new RuntimeError('Variable "icon_sheet" does not exist.', 696, $this->source); })())), "html", null, true);
yield "\"></a></td>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</tr>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['pt'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 699
yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</tbody>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</table>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
} else {
// line 702
yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"style-msg successmsg m_b_none\">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"sb-msg\"><i class=\"icon-thumbs-up\"></i><strong>Complimenti!</strong> Nessun trasferimento in entrata non completato!</div>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
}
// line 706
yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
}
// line 708
yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
if (CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 708, $this->source); })()), "user", [], "any", false, false, false, 708), "canRead", ["desk_warehouse_transfer_output"], "method", false, false, false, 708)) {
// line 709
yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
// line 710
yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"tab-content clearfix\" id=\"";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["warehouseData"], 0, [], "array", false, false, false, 710), "html", null, true);
yield "_transfers_output\">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<h4 class=\"form_title\">Trasferimenti in uscita non completati</h4>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<hr class=\"m_t_none\">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
// line 713
if ((Twig\Extension\CoreExtension::length($this->env->getCharset(), CoreExtension::getAttribute($this->env, $this->source, $context["warehouseData"], 4, [], "array", false, false, false, 713)) > 0)) {
// line 714
yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<table class=\"table table-sm\">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<thead>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<tr>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<th class=\"txt_a_c\">Fase</th>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<th>Magazzino destinazione</th>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<th>Fornitore</th>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<th>Data creazione</th>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<th>Data invio</th>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<th>Data completamento</th>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<th></th>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</tr>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</thead>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<tbody>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
// line 727
$context['_parent'] = $context;
$context['_seq'] = CoreExtension::ensureTraversable(CoreExtension::getAttribute($this->env, $this->source, $context["warehouseData"], 4, [], "array", false, false, false, 727));
foreach ($context['_seq'] as $context["_key"] => $context["pt"]) {
// line 728
yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<tr>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td class=\"txt_a_c\">";
// line 729
yield CoreExtension::getAttribute($this->env, $this->source, $context["pt"], "displayPhase", ["icon"], "method", false, false, false, 729);
yield "</td>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td>";
// line 730
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["pt"], "warehouseTo", [], "any", false, false, false, 730), "html", null, true);
yield "</td>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td>";
// line 731
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["pt"], "supplier", [], "any", false, false, false, 731), "html", null, true);
yield "</td>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td>";
// line 732
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Twig\Extension\CoreExtension']->formatDate(CoreExtension::getAttribute($this->env, $this->source, $context["pt"], "datetimeCreation", [], "any", false, false, false, 732), "d-m-Y H:i"), "html", null, true);
yield "</td>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td>";
// line 733
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Twig\Extension\CoreExtension']->formatDate(CoreExtension::getAttribute($this->env, $this->source, $context["pt"], "datetimeSend", [], "any", false, false, false, 733), "d-m-Y H:i"), "html", null, true);
yield "</td>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td>";
// line 734
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Twig\Extension\CoreExtension']->formatDate(CoreExtension::getAttribute($this->env, $this->source, $context["pt"], "datetimeCompletion", [], "any", false, false, false, 734), "d-m-Y H:i"), "html", null, true);
yield "</td>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td class=\"td_action\"><a href=\"";
// line 735
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("user_warehouse_transfer_sheet", ["warehouseId" => CoreExtension::getAttribute($this->env, $this->source, $context["warehouseData"], 0, [], "array", false, false, false, 735), "transferId" => CoreExtension::getAttribute($this->env, $this->source, $context["pt"], "id", [], "any", false, false, false, 735)]), "html", null, true);
yield "\" data-bs-toggle=\"tooltip\" title=\"Vai alla scheda trasferimento\"><img class=\"icon_pr\" src=\"";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl((isset($context["icon_sheet"]) || array_key_exists("icon_sheet", $context) ? $context["icon_sheet"] : (function () { throw new RuntimeError('Variable "icon_sheet" does not exist.', 735, $this->source); })())), "html", null, true);
yield "\"></a></td>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</tr>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['pt'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 738
yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</tbody>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</table>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
} else {
// line 741
yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"style-msg successmsg m_b_none\">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"sb-msg\"><i class=\"icon-thumbs-up\"></i><strong>Complimenti!</strong> Nessun trasferimento in uscita non completato!</div>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
}
// line 745
yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
}
// line 747
yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
if (CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 747, $this->source); })()), "user", [], "any", false, false, false, 747), "canRead", ["desk_warehouse_transfer_ddt_missing"], "method", false, false, false, 747)) {
// line 748
yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
// line 749
yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"tab-content clearfix\" id=\"";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["warehouseData"], 0, [], "array", false, false, false, 749), "html", null, true);
yield "_transfers_ddt_missing\">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<h4 class=\"form_title\">Trasferimenti senza DDT firmato</h4>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<hr class=\"m_t_none\">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
// line 752
if ((Twig\Extension\CoreExtension::length($this->env->getCharset(), CoreExtension::getAttribute($this->env, $this->source, $context["warehouseData"], 5, [], "array", false, false, false, 752)) > 0)) {
// line 753
yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<table class=\"table table-sm\">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<thead>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<tr>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<th class=\"td_w_80p txt_a_c\">Fase</th>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<th class=\"td_w_80p txt_a_c\">Fase DDT</th>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<th>Magazzino provenienza</th>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<th>Magazzino destinazione</th>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<th>Fornitore</th>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<th>Data creazione</th>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<th>Data invio</th>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<th>Data completamento</th>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<th></th>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</tr>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</thead>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<tbody>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
// line 768
$context['_parent'] = $context;
$context['_seq'] = CoreExtension::ensureTraversable(CoreExtension::getAttribute($this->env, $this->source, $context["warehouseData"], 5, [], "array", false, false, false, 768));
foreach ($context['_seq'] as $context["_key"] => $context["pt"]) {
// line 769
yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<tr>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td class=\"txt_a_c\">";
// line 770
yield CoreExtension::getAttribute($this->env, $this->source, $context["pt"], "displayPhase", ["icon"], "method", false, false, false, 770);
yield "</td>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td class=\"txt_a_c\">";
// line 771
yield CoreExtension::getAttribute($this->env, $this->source, $context["pt"], "displayPhaseDdt", ["icon"], "method", false, false, false, 771);
yield "</td>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td>";
// line 772
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["pt"], "warehouseFrom", [], "any", false, false, false, 772), "html", null, true);
yield "</td>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td>";
// line 773
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["pt"], "warehouseTo", [], "any", false, false, false, 773), "html", null, true);
yield "</td>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td>";
// line 774
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["pt"], "supplier", [], "any", false, false, false, 774), "html", null, true);
yield "</td>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td>";
// line 775
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Twig\Extension\CoreExtension']->formatDate(CoreExtension::getAttribute($this->env, $this->source, $context["pt"], "datetimeCreation", [], "any", false, false, false, 775), "d-m-Y H:i"), "html", null, true);
yield "</td>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td>";
// line 776
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Twig\Extension\CoreExtension']->formatDate(CoreExtension::getAttribute($this->env, $this->source, $context["pt"], "datetimeSend", [], "any", false, false, false, 776), "d-m-Y H:i"), "html", null, true);
yield "</td>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td>";
// line 777
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Twig\Extension\CoreExtension']->formatDate(CoreExtension::getAttribute($this->env, $this->source, $context["pt"], "datetimeCompletion", [], "any", false, false, false, 777), "d-m-Y H:i"), "html", null, true);
yield "</td>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td class=\"td_action\"><a href=\"";
// line 778
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("user_warehouse_transfer_sheet", ["warehouseId" => CoreExtension::getAttribute($this->env, $this->source, $context["warehouseData"], 0, [], "array", false, false, false, 778), "transferId" => CoreExtension::getAttribute($this->env, $this->source, $context["pt"], "id", [], "any", false, false, false, 778)]), "html", null, true);
yield "\" data-bs-toggle=\"tooltip\" title=\"Vai alla scheda trasferimento\"><img class=\"icon_pr\" src=\"";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl((isset($context["icon_sheet"]) || array_key_exists("icon_sheet", $context) ? $context["icon_sheet"] : (function () { throw new RuntimeError('Variable "icon_sheet" does not exist.', 778, $this->source); })())), "html", null, true);
yield "\"></a></td>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</tr>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['pt'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 781
yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</tbody>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</table>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
} else {
// line 784
yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"style-msg successmsg m_b_none\">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"sb-msg\"><i class=\"icon-thumbs-up\"></i><strong>Complimenti!</strong> Nessun trasferimento senza DDT firmato!</div>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
}
// line 788
yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
}
// line 790
yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
if (CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 790, $this->source); })()), "user", [], "any", false, false, false, 790), "canRead", ["desk_warehouse_request_technicians"], "method", false, false, false, 790)) {
// line 791
yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
// line 792
yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"tab-content clearfix\" id=\"";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["warehouseData"], 0, [], "array", false, false, false, 792), "html", null, true);
yield "_request_technicians\">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<h4 class=\"form_title\">Richieste tecnici non gestite</h4>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<hr class=\"m_t_none\">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
// line 795
if ((Twig\Extension\CoreExtension::length($this->env->getCharset(), CoreExtension::getAttribute($this->env, $this->source, $context["warehouseData"], 6, [], "array", false, false, false, 795)) > 0)) {
// line 796
yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<table class=\"table table-sm\">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<thead>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<tr>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<th>Tecnico</th>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<th>Magazzino</th>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<th>Data</th>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<th>Dettagli</th>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<th></th>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</tr>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</thead>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<tbody>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
// line 807
$context['_parent'] = $context;
$context['_seq'] = CoreExtension::ensureTraversable(CoreExtension::getAttribute($this->env, $this->source, $context["warehouseData"], 6, [], "array", false, false, false, 807));
foreach ($context['_seq'] as $context["_key"] => $context["rt"]) {
// line 808
yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<tr>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td>";
// line 809
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["rt"], "technician", [], "any", false, false, false, 809), "html", null, true);
yield "</td>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td>";
// line 810
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["rt"], "warehouse", [], "any", false, false, false, 810), "html", null, true);
yield "</td>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td>";
// line 811
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Twig\Extension\CoreExtension']->formatDate(CoreExtension::getAttribute($this->env, $this->source, $context["rt"], "datetime", [], "any", false, false, false, 811), "d-m-Y H:i"), "html", null, true);
yield "</td>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td>";
// line 812
yield CoreExtension::getAttribute($this->env, $this->source, $context["rt"], "displayDetails", [], "method", false, false, false, 812);
yield "</td>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td class=\"td_action\"><a href=\"";
// line 813
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("user_warehouse_sheet", ["warehouseId" => CoreExtension::getAttribute($this->env, $this->source, $context["warehouseData"], 0, [], "array", false, false, false, 813)]), "html", null, true);
yield "\" data-bs-toggle=\"tooltip\" title=\"Vai alla scheda magazzino\"><img class=\"icon_pr\" src=\"";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl((isset($context["icon_sheet"]) || array_key_exists("icon_sheet", $context) ? $context["icon_sheet"] : (function () { throw new RuntimeError('Variable "icon_sheet" does not exist.', 813, $this->source); })())), "html", null, true);
yield "\"></a></td>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</tr>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['rt'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 816
yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</tbody>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</table>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
} else {
// line 819
yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"style-msg successmsg m_b_none\">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"sb-msg\"><i class=\"icon-thumbs-up\"></i><strong>Complimenti!</strong> Nessun richiesta tecnico non gestita!</div>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
}
// line 823
yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
}
// line 825
yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
if (CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 825, $this->source); })()), "user", [], "any", false, false, false, 825), "canRead", ["desk_warehouse_stocks_red"], "method", false, false, false, 825)) {
// line 826
yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
// line 827
yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"tab-content clearfix\" id=\"";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["warehouseData"], 0, [], "array", false, false, false, 827), "html", null, true);
yield "_product_stocks_red\">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<h4 class=\"form_title\">Allarmi scorte prodotti rosse</h4>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<hr class=\"m_t_none\">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
// line 830
if ((Twig\Extension\CoreExtension::length($this->env->getCharset(), CoreExtension::getAttribute($this->env, $this->source, $context["warehouseData"], 7, [], "array", false, false, false, 830)) > 0)) {
// line 831
yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<table class=\"table table-sm\">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<thead>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<tr>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<th class=\"td_w_120p txt_a_c\">Qtà disponibile</th>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<th class=\"td_w_120p txt_a_c\">Qtà rosso</th>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<th>Modello</th>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<th>Fornitore</th>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</tr>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</thead>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<tbody>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
// line 841
$context['_parent'] = $context;
$context['_seq'] = CoreExtension::ensureTraversable(CoreExtension::getAttribute($this->env, $this->source, $context["warehouseData"], 7, [], "array", false, false, false, 841));
$context['loop'] = [
'parent' => $context['_parent'],
'index0' => 0,
'index' => 1,
'first' => true,
];
if (is_array($context['_seq']) || (is_object($context['_seq']) && $context['_seq'] instanceof \Countable)) {
$length = count($context['_seq']);
$context['loop']['revindex0'] = $length - 1;
$context['loop']['revindex'] = $length;
$context['loop']['length'] = $length;
$context['loop']['last'] = 1 === $length;
}
foreach ($context['_seq'] as $context["_key"] => $context["ps"]) {
// line 842
yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
if ((CoreExtension::getAttribute($this->env, $this->source, $context["loop"], "index", [], "any", false, false, false, 842) < 50)) {
// line 843
yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<tr>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td class=\"txt_a_c\">";
// line 844
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["ps"], 0, [], "array", false, false, false, 844), "html", null, true);
yield "</td>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td class=\"txt_a_c\">";
// line 845
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["ps"], 1, [], "array", false, false, false, 845), "html", null, true);
yield "</td>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td>";
// line 846
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["ps"], 2, [], "array", false, false, false, 846), "html", null, true);
yield "</td>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td>";
// line 847
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["ps"], 3, [], "array", false, false, false, 847), "html", null, true);
yield "</td>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</tr>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
}
// line 850
yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
++$context['loop']['index0'];
++$context['loop']['index'];
$context['loop']['first'] = false;
if (isset($context['loop']['length'])) {
--$context['loop']['revindex0'];
--$context['loop']['revindex'];
$context['loop']['last'] = 0 === $context['loop']['revindex0'];
}
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['ps'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 851
yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</tbody>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</table>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
// line 853
if ((Twig\Extension\CoreExtension::length($this->env->getCharset(), CoreExtension::getAttribute($this->env, $this->source, $context["warehouseData"], 7, [], "array", false, false, false, 853)) > 50)) {
// line 854
yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"style-msg alertmsg m_b_none\">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"sb-msg\"><i class=\"icon-warning-sign\"></i><strong>Attenzione!</strong> Per ridurre i tempi di caricamento della scrivania, sono visualizzati solo 50 risultati</div>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
}
// line 858
yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
} else {
// line 859
yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"style-msg successmsg m_b_none\">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"sb-msg\"><i class=\"icon-thumbs-up\"></i><strong>Complimenti!</strong> Nessun allarme scorte prodotto rosse!</div>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
}
// line 863
yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
}
// line 865
yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
if (CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 865, $this->source); })()), "user", [], "any", false, false, false, 865), "canRead", ["desk_warehouse_stocks_yellow"], "method", false, false, false, 865)) {
// line 866
yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
// line 867
yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"tab-content clearfix\" id=\"";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["warehouseData"], 0, [], "array", false, false, false, 867), "html", null, true);
yield "_product_stocks_yellow\">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<h4 class=\"form_title\">Allarmi scorte prodotti giallo</h4>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<hr class=\"m_t_none\">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
// line 870
if ((Twig\Extension\CoreExtension::length($this->env->getCharset(), CoreExtension::getAttribute($this->env, $this->source, $context["warehouseData"], 8, [], "array", false, false, false, 870)) > 0)) {
// line 871
yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<table class=\"table table-sm\">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<thead>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<tr>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<th class=\"td_w_120p txt_a_c\">Qtà disponibile</th>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<th class=\"td_w_120p txt_a_c\">Qtà giallo</th>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<th class=\"td_w_120p txt_a_c\">Qtà rosso</th>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<th>Modello</th>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<th>Fornitore</th>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</tr>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</thead>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<tbody>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
// line 882
$context['_parent'] = $context;
$context['_seq'] = CoreExtension::ensureTraversable(CoreExtension::getAttribute($this->env, $this->source, $context["warehouseData"], 8, [], "array", false, false, false, 882));
$context['loop'] = [
'parent' => $context['_parent'],
'index0' => 0,
'index' => 1,
'first' => true,
];
if (is_array($context['_seq']) || (is_object($context['_seq']) && $context['_seq'] instanceof \Countable)) {
$length = count($context['_seq']);
$context['loop']['revindex0'] = $length - 1;
$context['loop']['revindex'] = $length;
$context['loop']['length'] = $length;
$context['loop']['last'] = 1 === $length;
}
foreach ($context['_seq'] as $context["_key"] => $context["ps"]) {
// line 883
yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
if ((CoreExtension::getAttribute($this->env, $this->source, $context["loop"], "index", [], "any", false, false, false, 883) < 50)) {
// line 884
yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<tr>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td class=\"txt_a_c\">";
// line 885
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["ps"], 0, [], "array", false, false, false, 885), "html", null, true);
yield "</td>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td class=\"txt_a_c\">";
// line 886
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["ps"], 1, [], "array", false, false, false, 886), "html", null, true);
yield "</td>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td class=\"txt_a_c\">";
// line 887
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["ps"], 2, [], "array", false, false, false, 887), "html", null, true);
yield "</td>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td>";
// line 888
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["ps"], 3, [], "array", false, false, false, 888), "html", null, true);
yield "</td>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td>";
// line 889
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["ps"], 4, [], "array", false, false, false, 889), "html", null, true);
yield "</td>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</tr>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
}
// line 892
yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
++$context['loop']['index0'];
++$context['loop']['index'];
$context['loop']['first'] = false;
if (isset($context['loop']['length'])) {
--$context['loop']['revindex0'];
--$context['loop']['revindex'];
$context['loop']['last'] = 0 === $context['loop']['revindex0'];
}
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['ps'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 893
yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</tbody>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</table>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
// line 895
if ((Twig\Extension\CoreExtension::length($this->env->getCharset(), CoreExtension::getAttribute($this->env, $this->source, $context["warehouseData"], 8, [], "array", false, false, false, 895)) > 50)) {
// line 896
yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"style-msg alertmsg m_b_none\">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"sb-msg\"><i class=\"icon-warning-sign\"></i><strong>Attenzione!</strong> Per ridurre i tempi di caricamento della scrivania, sono visualizzati solo 50 risultati</div>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
}
// line 900
yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
} else {
// line 901
yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"style-msg successmsg m_b_none\">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"sb-msg\"><i class=\"icon-thumbs-up\"></i><strong>Complimenti!</strong> Nessun allarme scorte prodotto gialle!</div>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
}
// line 905
yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
}
// line 907
yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t\t";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['warehouseData'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 912
yield "\t\t\t\t\t\t\t\t\t";
} else {
// line 913
yield "\t\t\t\t\t\t\t\t\t\t<div class=\"tabs clearfix m_b_none\">
\t\t\t\t\t\t\t\t\t\t\t<ul class=\"tab-nav clearfix\">
\t\t\t\t\t\t\t\t\t\t\t\t";
// line 915
$context['_parent'] = $context;
$context['_seq'] = CoreExtension::ensureTraversable((isset($context["warehouseAlarms"]) || array_key_exists("warehouseAlarms", $context) ? $context["warehouseAlarms"] : (function () { throw new RuntimeError('Variable "warehouseAlarms" does not exist.', 915, $this->source); })()));
foreach ($context['_seq'] as $context["_key"] => $context["warehouseData"]) {
// line 916
yield "\t\t\t\t\t\t\t\t\t\t\t\t\t<li><a id=\"btn_tab_warehouse_";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["warehouseData"], 0, [], "array", false, false, false, 916), "html", null, true);
yield "\" href=\"#warehouse_";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["warehouseData"], 0, [], "array", false, false, false, 916), "html", null, true);
yield "\" class=\"tab_session2\" data-filterTab=\"warehouse_";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["warehouseData"], 0, [], "array", false, false, false, 916), "html", null, true);
yield "\"><i class=\"icon-warehouse d-block d-md-none\" data-bs-toggle=\"tooltip\" title=\"";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["warehouseData"], 1, [], "array", false, false, false, 916), "html", null, true);
yield "\"></i><span class=\"d-none d-md-block\">";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["warehouseData"], 1, [], "array", false, false, false, 916), "html", null, true);
yield "</span></a></li>
\t\t\t\t\t\t\t\t\t\t\t\t";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['warehouseData'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 918
yield "\t\t\t\t\t\t\t\t\t\t\t</ul>
\t\t\t\t\t\t\t\t\t\t\t<div class=\"tab-container\">
\t\t\t\t\t\t\t\t\t\t\t\t";
// line 920
$context['_parent'] = $context;
$context['_seq'] = CoreExtension::ensureTraversable((isset($context["warehouseAlarms"]) || array_key_exists("warehouseAlarms", $context) ? $context["warehouseAlarms"] : (function () { throw new RuntimeError('Variable "warehouseAlarms" does not exist.', 920, $this->source); })()));
foreach ($context['_seq'] as $context["_key"] => $context["warehouseData"]) {
// line 921
yield "\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"tab-content clearfix\" id=\"warehouse_";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["warehouseData"], 0, [], "array", false, false, false, 921), "html", null, true);
yield "\">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"row\">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"col-12\">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<h4 class=\"form_title\">";
// line 924
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["warehouseData"], 1, [], "array", false, false, false, 924), "html", null, true);
yield "</h4>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<hr class=\"m_t_none m_b_none\">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"col-12 overflow_a\">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"tabs side-tabs clearfix m_b_none\">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<ul class=\"tab-nav tab-nav2 clearfix\">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
// line 930
if (CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 930, $this->source); })()), "user", [], "any", false, false, false, 930), "canRead", ["desk_warehouse_product_to_manage"], "method", false, false, false, 930)) {
yield "<li><a id=\"btn_tab_";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["warehouseData"], 0, [], "array", false, false, false, 930), "html", null, true);
yield "_product_to_manage\" href=\"#";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["warehouseData"], 0, [], "array", false, false, false, 930), "html", null, true);
yield "_product_to_manage\" class=\"tab_session2\" data-filterTab=\"";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["warehouseData"], 0, [], "array", false, false, false, 930), "html", null, true);
yield "_product_to_manage\"><i class=\"icon-box d-block d-md-none\" data-bs-toggle=\"tooltip\" title=\"Prodotti da gestire (";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["warehouseData"], 2, [], "array", false, false, false, 930), "html", null, true);
yield ")\"></i><span class=\"d-none d-md-block\">Prodotti da gestire (";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["warehouseData"], 2, [], "array", false, false, false, 930), "html", null, true);
yield ")</span></a></li>";
}
// line 931
yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
if (CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 931, $this->source); })()), "user", [], "any", false, false, false, 931), "canRead", ["desk_warehouse_transfer_incoming"], "method", false, false, false, 931)) {
yield "<li><a id=\"btn_tab_";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["warehouseData"], 0, [], "array", false, false, false, 931), "html", null, true);
yield "_transfers_incoming\" href=\"#";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["warehouseData"], 0, [], "array", false, false, false, 931), "html", null, true);
yield "_transfers_incoming\" class=\"tab_session2\" data-filterTab=\"";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["warehouseData"], 0, [], "array", false, false, false, 931), "html", null, true);
yield "_transfers_incoming\"><i class=\"icon-truck d-block d-md-none\" data-bs-toggle=\"tooltip\" title=\"Trasferimenti in entrata (";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(Twig\Extension\CoreExtension::length($this->env->getCharset(), CoreExtension::getAttribute($this->env, $this->source, $context["warehouseData"], 3, [], "array", false, false, false, 931)), "html", null, true);
yield ")\"></i><span class=\"d-none d-md-block\">Trasferimenti in entrata (";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(Twig\Extension\CoreExtension::length($this->env->getCharset(), CoreExtension::getAttribute($this->env, $this->source, $context["warehouseData"], 3, [], "array", false, false, false, 931)), "html", null, true);
yield ")</span></a></li>";
}
// line 932
yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
if (CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 932, $this->source); })()), "user", [], "any", false, false, false, 932), "canRead", ["desk_warehouse_transfer_output"], "method", false, false, false, 932)) {
yield "<li><a id=\"btn_tab_";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["warehouseData"], 0, [], "array", false, false, false, 932), "html", null, true);
yield "_transfers_output\" href=\"#";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["warehouseData"], 0, [], "array", false, false, false, 932), "html", null, true);
yield "_transfers_output\" class=\"tab_session2\" data-filterTab=\"";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["warehouseData"], 0, [], "array", false, false, false, 932), "html", null, true);
yield "_transfers_output\"><i class=\"icon-truck-loading d-block d-md-none\" data-bs-toggle=\"tooltip\" title=\"Trasferimenti in uscita (";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(Twig\Extension\CoreExtension::length($this->env->getCharset(), CoreExtension::getAttribute($this->env, $this->source, $context["warehouseData"], 4, [], "array", false, false, false, 932)), "html", null, true);
yield ")\"></i><span class=\"d-none d-md-block\">Trasferimenti in uscita (";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(Twig\Extension\CoreExtension::length($this->env->getCharset(), CoreExtension::getAttribute($this->env, $this->source, $context["warehouseData"], 4, [], "array", false, false, false, 932)), "html", null, true);
yield ")</span></a></li>";
}
// line 933
yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
if (CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 933, $this->source); })()), "user", [], "any", false, false, false, 933), "canRead", ["desk_warehouse_transfer_ddt_missing"], "method", false, false, false, 933)) {
yield "<li><a id=\"btn_tab_";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["warehouseData"], 0, [], "array", false, false, false, 933), "html", null, true);
yield "_transfers_ddt_missing\" href=\"#";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["warehouseData"], 0, [], "array", false, false, false, 933), "html", null, true);
yield "_transfers_ddt_missing\" class=\"tab_session2\" data-filterTab=\"";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["warehouseData"], 0, [], "array", false, false, false, 933), "html", null, true);
yield "_transfers_ddt_missing\"><i class=\"icon-signature d-block d-md-none\" data-bs-toggle=\"tooltip\" title=\"Trasferimenti senza DDT firmato (";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(Twig\Extension\CoreExtension::length($this->env->getCharset(), CoreExtension::getAttribute($this->env, $this->source, $context["warehouseData"], 5, [], "array", false, false, false, 933)), "html", null, true);
yield ")\"></i><span class=\"d-none d-md-block\">Trasferimenti senza DDT firmato (";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(Twig\Extension\CoreExtension::length($this->env->getCharset(), CoreExtension::getAttribute($this->env, $this->source, $context["warehouseData"], 5, [], "array", false, false, false, 933)), "html", null, true);
yield ")</span></a></li>";
}
// line 934
yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
if (CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 934, $this->source); })()), "user", [], "any", false, false, false, 934), "canRead", ["desk_warehouse_request_technicians"], "method", false, false, false, 934)) {
yield "<li><a id=\"btn_tab_";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["warehouseData"], 0, [], "array", false, false, false, 934), "html", null, true);
yield "_request_technicians\" href=\"#";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["warehouseData"], 0, [], "array", false, false, false, 934), "html", null, true);
yield "_request_technicians\" class=\"tab_session2\" data-filterTab=\"";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["warehouseData"], 0, [], "array", false, false, false, 934), "html", null, true);
yield "_request_technicians\"><i class=\"icon-question d-block d-md-none\" data-bs-toggle=\"tooltip\" title=\"Richieste tecnici (";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(Twig\Extension\CoreExtension::length($this->env->getCharset(), CoreExtension::getAttribute($this->env, $this->source, $context["warehouseData"], 6, [], "array", false, false, false, 934)), "html", null, true);
yield ")\"></i><span class=\"d-none d-md-block\">Richieste tecnici (";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(Twig\Extension\CoreExtension::length($this->env->getCharset(), CoreExtension::getAttribute($this->env, $this->source, $context["warehouseData"], 6, [], "array", false, false, false, 934)), "html", null, true);
yield ")</span></a></li>";
}
// line 935
yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
if (CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 935, $this->source); })()), "user", [], "any", false, false, false, 935), "canRead", ["desk_warehouse_stocks_red"], "method", false, false, false, 935)) {
yield "<li><a id=\"btn_tab_";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["warehouseData"], 0, [], "array", false, false, false, 935), "html", null, true);
yield "_product_stocks_red\" href=\"#";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["warehouseData"], 0, [], "array", false, false, false, 935), "html", null, true);
yield "_product_stocks_red\" class=\"tab_session2\" data-filterTab=\"";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["warehouseData"], 0, [], "array", false, false, false, 935), "html", null, true);
yield "_product_stocks_red\"><i class=\"icon-box d-block d-md-none\" data-bs-toggle=\"tooltip\" title=\"Scorte prodotti rosse (";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(Twig\Extension\CoreExtension::length($this->env->getCharset(), CoreExtension::getAttribute($this->env, $this->source, $context["warehouseData"], 7, [], "array", false, false, false, 935)), "html", null, true);
yield ")\"></i><span class=\"d-none d-md-block\">Scorte prodotti rosse (";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(Twig\Extension\CoreExtension::length($this->env->getCharset(), CoreExtension::getAttribute($this->env, $this->source, $context["warehouseData"], 7, [], "array", false, false, false, 935)), "html", null, true);
yield ")</span></a></li>";
}
// line 936
yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
if (CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 936, $this->source); })()), "user", [], "any", false, false, false, 936), "canRead", ["desk_warehouse_stocks_yellow"], "method", false, false, false, 936)) {
yield "<li><a id=\"btn_tab_";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["warehouseData"], 0, [], "array", false, false, false, 936), "html", null, true);
yield "_product_stocks_yellow\" href=\"#";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["warehouseData"], 0, [], "array", false, false, false, 936), "html", null, true);
yield "_product_stocks_yellow\" class=\"tab_session2\" data-filterTab=\"";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["warehouseData"], 0, [], "array", false, false, false, 936), "html", null, true);
yield "_product_stocks_yellow\"><i class=\"icon-box d-block d-md-none\" data-bs-toggle=\"tooltip\" title=\"Scorte prodotti gialle (";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(Twig\Extension\CoreExtension::length($this->env->getCharset(), CoreExtension::getAttribute($this->env, $this->source, $context["warehouseData"], 8, [], "array", false, false, false, 936)), "html", null, true);
yield ")\"></i><span class=\"d-none d-md-block\">Scorte prodotti gialle (";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(Twig\Extension\CoreExtension::length($this->env->getCharset(), CoreExtension::getAttribute($this->env, $this->source, $context["warehouseData"], 8, [], "array", false, false, false, 936)), "html", null, true);
yield ")</span></a></li>";
}
// line 937
yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</ul>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"tab-container\">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
// line 940
yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
if (CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 940, $this->source); })()), "user", [], "any", false, false, false, 940), "canRead", ["desk_warehouse_product_to_manage"], "method", false, false, false, 940)) {
// line 941
yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
// line 942
yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"tab-content clearfix\" id=\"";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["warehouseData"], 0, [], "array", false, false, false, 942), "html", null, true);
yield "_product_to_manage\">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<h4 class=\"form_title\">Prodotti da gestire</h4>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<hr class=\"m_t_none\">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
// line 945
if ((CoreExtension::getAttribute($this->env, $this->source, $context["warehouseData"], 2, [], "array", false, false, false, 945) > 0)) {
// line 946
yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"style-msg infomsg m_b_none\">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"sb-msg\"><i class=\"icon-info\"></i><strong>Attenzione!</strong> Ci sono ";
// line 947
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["warehouseData"], 2, [], "array", false, false, false, 947), "html", null, true);
yield " prodotti da gestire in questo magazzino!<a href=\"";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("user_warehouse_sheet", ["warehouseId" => CoreExtension::getAttribute($this->env, $this->source, $context["warehouseData"], 0, [], "array", false, false, false, 947)]), "html", null, true);
yield "\" class=\"button button-3d button-mini button-amber f_right m_none\">Vai al magazzino</a></div>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
} else {
// line 950
yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"style-msg successmsg m_b_none\">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"sb-msg\"><i class=\"icon-thumbs-up\"></i><strong>Complimenti!</strong> Nessun prodotto da gestire presente nel magazzino</div>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</div>\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
}
// line 954
yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
}
// line 956
yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
if (CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 956, $this->source); })()), "user", [], "any", false, false, false, 956), "canRead", ["desk_warehouse_transfer_incoming"], "method", false, false, false, 956)) {
// line 957
yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
// line 958
yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"tab-content clearfix\" id=\"";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["warehouseData"], 0, [], "array", false, false, false, 958), "html", null, true);
yield "_transfers_incoming\">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<h4 class=\"form_title\">Trasferimenti in entrata non completati</h4>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<hr class=\"m_t_none\">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
// line 961
if ((Twig\Extension\CoreExtension::length($this->env->getCharset(), CoreExtension::getAttribute($this->env, $this->source, $context["warehouseData"], 3, [], "array", false, false, false, 961)) > 0)) {
// line 962
yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<table class=\"table table-sm\">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<thead>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<tr>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<th class=\"txt_a_c\">Fase</th>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<th>Magazzino provenienza</th>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<th>Fornitore</th>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<th>Data creazione</th>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<th>Data invio</th>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<th>Data completamento</th>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<th></th>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</tr>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</thead>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<tbody>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
// line 975
$context['_parent'] = $context;
$context['_seq'] = CoreExtension::ensureTraversable(CoreExtension::getAttribute($this->env, $this->source, $context["warehouseData"], 3, [], "array", false, false, false, 975));
foreach ($context['_seq'] as $context["_key"] => $context["pt"]) {
// line 976
yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<tr>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td class=\"txt_a_c\">";
// line 977
yield CoreExtension::getAttribute($this->env, $this->source, $context["pt"], "displayPhase", ["icon"], "method", false, false, false, 977);
yield "</td>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td>";
// line 978
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["pt"], "warehouseFrom", [], "any", false, false, false, 978), "html", null, true);
yield "</td>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td>";
// line 979
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["pt"], "supplier", [], "any", false, false, false, 979), "html", null, true);
yield "</td>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td>";
// line 980
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Twig\Extension\CoreExtension']->formatDate(CoreExtension::getAttribute($this->env, $this->source, $context["pt"], "datetimeCreation", [], "any", false, false, false, 980), "d-m-Y H:i"), "html", null, true);
yield "</td>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td>";
// line 981
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Twig\Extension\CoreExtension']->formatDate(CoreExtension::getAttribute($this->env, $this->source, $context["pt"], "datetimeSend", [], "any", false, false, false, 981), "d-m-Y H:i"), "html", null, true);
yield "</td>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td>";
// line 982
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Twig\Extension\CoreExtension']->formatDate(CoreExtension::getAttribute($this->env, $this->source, $context["pt"], "datetimeCompletion", [], "any", false, false, false, 982), "d-m-Y H:i"), "html", null, true);
yield "</td>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td class=\"td_action\"><a href=\"";
// line 983
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("user_warehouse_transfer_sheet", ["warehouseId" => CoreExtension::getAttribute($this->env, $this->source, $context["warehouseData"], 0, [], "array", false, false, false, 983), "transferId" => CoreExtension::getAttribute($this->env, $this->source, $context["pt"], "id", [], "any", false, false, false, 983)]), "html", null, true);
yield "\" data-bs-toggle=\"tooltip\" title=\"Vai alla scheda trasferimento\"><img class=\"icon_pr\" src=\"";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl((isset($context["icon_sheet"]) || array_key_exists("icon_sheet", $context) ? $context["icon_sheet"] : (function () { throw new RuntimeError('Variable "icon_sheet" does not exist.', 983, $this->source); })())), "html", null, true);
yield "\"></a></td>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</tr>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['pt'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 986
yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</tbody>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</table>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
} else {
// line 989
yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"style-msg successmsg m_b_none\">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"sb-msg\"><i class=\"icon-thumbs-up\"></i><strong>Complimenti!</strong> Nessun trasferimento in entrata non completato!</div>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
}
// line 993
yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
}
// line 995
yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
if (CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 995, $this->source); })()), "user", [], "any", false, false, false, 995), "canRead", ["desk_warehouse_transfer_output"], "method", false, false, false, 995)) {
// line 996
yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
// line 997
yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"tab-content clearfix\" id=\"";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["warehouseData"], 0, [], "array", false, false, false, 997), "html", null, true);
yield "_transfers_output\">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<h4 class=\"form_title\">Trasferimenti in uscita non completati</h4>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<hr class=\"m_t_none\">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
// line 1000
if ((Twig\Extension\CoreExtension::length($this->env->getCharset(), CoreExtension::getAttribute($this->env, $this->source, $context["warehouseData"], 4, [], "array", false, false, false, 1000)) > 0)) {
// line 1001
yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<table class=\"table table-sm\">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<thead>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<tr>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<th class=\"txt_a_c\">Fase</th>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<th>Magazzino destinazione</th>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<th>Fornitore</th>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<th>Data creazione</th>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<th>Data invio</th>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<th>Data completamento</th>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<th></th>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</tr>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</thead>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<tbody>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
// line 1014
$context['_parent'] = $context;
$context['_seq'] = CoreExtension::ensureTraversable(CoreExtension::getAttribute($this->env, $this->source, $context["warehouseData"], 4, [], "array", false, false, false, 1014));
foreach ($context['_seq'] as $context["_key"] => $context["pt"]) {
// line 1015
yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<tr>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td class=\"txt_a_c\">";
// line 1016
yield CoreExtension::getAttribute($this->env, $this->source, $context["pt"], "displayPhase", ["icon"], "method", false, false, false, 1016);
yield "</td>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td>";
// line 1017
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["pt"], "warehouseTo", [], "any", false, false, false, 1017), "html", null, true);
yield "</td>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td>";
// line 1018
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["pt"], "supplier", [], "any", false, false, false, 1018), "html", null, true);
yield "</td>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td>";
// line 1019
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Twig\Extension\CoreExtension']->formatDate(CoreExtension::getAttribute($this->env, $this->source, $context["pt"], "datetimeCreation", [], "any", false, false, false, 1019), "d-m-Y H:i"), "html", null, true);
yield "</td>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td>";
// line 1020
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Twig\Extension\CoreExtension']->formatDate(CoreExtension::getAttribute($this->env, $this->source, $context["pt"], "datetimeSend", [], "any", false, false, false, 1020), "d-m-Y H:i"), "html", null, true);
yield "</td>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td>";
// line 1021
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Twig\Extension\CoreExtension']->formatDate(CoreExtension::getAttribute($this->env, $this->source, $context["pt"], "datetimeCompletion", [], "any", false, false, false, 1021), "d-m-Y H:i"), "html", null, true);
yield "</td>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td class=\"td_action\"><a href=\"";
// line 1022
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("user_warehouse_transfer_sheet", ["warehouseId" => CoreExtension::getAttribute($this->env, $this->source, $context["warehouseData"], 0, [], "array", false, false, false, 1022), "transferId" => CoreExtension::getAttribute($this->env, $this->source, $context["pt"], "id", [], "any", false, false, false, 1022)]), "html", null, true);
yield "\" data-bs-toggle=\"tooltip\" title=\"Vai alla scheda trasferimento\"><img class=\"icon_pr\" src=\"";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl((isset($context["icon_sheet"]) || array_key_exists("icon_sheet", $context) ? $context["icon_sheet"] : (function () { throw new RuntimeError('Variable "icon_sheet" does not exist.', 1022, $this->source); })())), "html", null, true);
yield "\"></a></td>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</tr>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['pt'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 1025
yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</tbody>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</table>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
} else {
// line 1028
yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"style-msg successmsg m_b_none\">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"sb-msg\"><i class=\"icon-thumbs-up\"></i><strong>Complimenti!</strong> Nessun trasferimento in uscita non completato!</div>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
}
// line 1032
yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
}
// line 1034
yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
if (CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 1034, $this->source); })()), "user", [], "any", false, false, false, 1034), "canRead", ["desk_warehouse_transfer_ddt_missing"], "method", false, false, false, 1034)) {
// line 1035
yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
// line 1036
yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"tab-content clearfix\" id=\"";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["warehouseData"], 0, [], "array", false, false, false, 1036), "html", null, true);
yield "_transfers_ddt_missing\">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<h4 class=\"form_title\">Trasferimenti senza DDT firmato</h4>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<hr class=\"m_t_none\">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
// line 1039
if ((Twig\Extension\CoreExtension::length($this->env->getCharset(), CoreExtension::getAttribute($this->env, $this->source, $context["warehouseData"], 5, [], "array", false, false, false, 1039)) > 0)) {
// line 1040
yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<table class=\"table table-sm\">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<thead>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<tr>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<th class=\"td_w_80p txt_a_c\">Fase</th>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<th class=\"td_w_80p txt_a_c\">Fase DDT</th>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<th>Magazzino provenienza</th>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<th>Magazzino destinazione</th>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<th>Fornitore</th>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<th>Data creazione</th>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<th>Data invio</th>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<th>Data completamento</th>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<th></th>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</tr>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</thead>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<tbody>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
// line 1055
$context['_parent'] = $context;
$context['_seq'] = CoreExtension::ensureTraversable(CoreExtension::getAttribute($this->env, $this->source, $context["warehouseData"], 5, [], "array", false, false, false, 1055));
foreach ($context['_seq'] as $context["_key"] => $context["pt"]) {
// line 1056
yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<tr>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td class=\"txt_a_c\">";
// line 1057
yield CoreExtension::getAttribute($this->env, $this->source, $context["pt"], "displayPhase", ["icon"], "method", false, false, false, 1057);
yield "</td>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td class=\"txt_a_c\">";
// line 1058
yield CoreExtension::getAttribute($this->env, $this->source, $context["pt"], "displayPhaseDdt", ["icon"], "method", false, false, false, 1058);
yield "</td>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td>";
// line 1059
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["pt"], "warehouseFrom", [], "any", false, false, false, 1059), "html", null, true);
yield "</td>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td>";
// line 1060
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["pt"], "warehouseTo", [], "any", false, false, false, 1060), "html", null, true);
yield "</td>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td>";
// line 1061
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["pt"], "supplier", [], "any", false, false, false, 1061), "html", null, true);
yield "</td>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td>";
// line 1062
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Twig\Extension\CoreExtension']->formatDate(CoreExtension::getAttribute($this->env, $this->source, $context["pt"], "datetimeCreation", [], "any", false, false, false, 1062), "d-m-Y H:i"), "html", null, true);
yield "</td>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td>";
// line 1063
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Twig\Extension\CoreExtension']->formatDate(CoreExtension::getAttribute($this->env, $this->source, $context["pt"], "datetimeSend", [], "any", false, false, false, 1063), "d-m-Y H:i"), "html", null, true);
yield "</td>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td>";
// line 1064
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Twig\Extension\CoreExtension']->formatDate(CoreExtension::getAttribute($this->env, $this->source, $context["pt"], "datetimeCompletion", [], "any", false, false, false, 1064), "d-m-Y H:i"), "html", null, true);
yield "</td>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td class=\"td_action\"><a href=\"";
// line 1065
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("user_warehouse_transfer_sheet", ["warehouseId" => CoreExtension::getAttribute($this->env, $this->source, $context["warehouseData"], 0, [], "array", false, false, false, 1065), "transferId" => CoreExtension::getAttribute($this->env, $this->source, $context["pt"], "id", [], "any", false, false, false, 1065)]), "html", null, true);
yield "\" data-bs-toggle=\"tooltip\" title=\"Vai alla scheda trasferimento\"><img class=\"icon_pr\" src=\"";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl((isset($context["icon_sheet"]) || array_key_exists("icon_sheet", $context) ? $context["icon_sheet"] : (function () { throw new RuntimeError('Variable "icon_sheet" does not exist.', 1065, $this->source); })())), "html", null, true);
yield "\"></a></td>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</tr>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['pt'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 1068
yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</tbody>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</table>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
} else {
// line 1071
yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"style-msg successmsg m_b_none\">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"sb-msg\"><i class=\"icon-thumbs-up\"></i><strong>Complimenti!</strong> Nessun trasferimento senza DDT firmato!</div>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
}
// line 1075
yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
}
// line 1077
yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
if (CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 1077, $this->source); })()), "user", [], "any", false, false, false, 1077), "canRead", ["desk_warehouse_request_technicians"], "method", false, false, false, 1077)) {
// line 1078
yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
// line 1079
yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"tab-content clearfix\" id=\"";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["warehouseData"], 0, [], "array", false, false, false, 1079), "html", null, true);
yield "_request_technicians\">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<h4 class=\"form_title\">Richieste tecnici non gestite</h4>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<hr class=\"m_t_none\">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
// line 1082
if ((Twig\Extension\CoreExtension::length($this->env->getCharset(), CoreExtension::getAttribute($this->env, $this->source, $context["warehouseData"], 6, [], "array", false, false, false, 1082)) > 0)) {
// line 1083
yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<table class=\"table table-sm\">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<thead>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<tr>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<th>Tecnico</th>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<th>Magazzino</th>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<th>Data</th>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<th>Dettagli</th>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<th></th>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</tr>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</thead>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<tbody>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
// line 1094
$context['_parent'] = $context;
$context['_seq'] = CoreExtension::ensureTraversable(CoreExtension::getAttribute($this->env, $this->source, $context["warehouseData"], 6, [], "array", false, false, false, 1094));
foreach ($context['_seq'] as $context["_key"] => $context["rt"]) {
// line 1095
yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<tr>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td>";
// line 1096
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["rt"], "technician", [], "any", false, false, false, 1096), "html", null, true);
yield "</td>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td>";
// line 1097
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["rt"], "warehouse", [], "any", false, false, false, 1097), "html", null, true);
yield "</td>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td>";
// line 1098
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Twig\Extension\CoreExtension']->formatDate(CoreExtension::getAttribute($this->env, $this->source, $context["rt"], "datetime", [], "any", false, false, false, 1098), "d-m-Y"), "html", null, true);
yield "</td>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td>";
// line 1099
yield CoreExtension::getAttribute($this->env, $this->source, $context["rt"], "displayDetails", [], "method", false, false, false, 1099);
yield "</td>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td class=\"td_action\"><a href=\"";
// line 1100
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("user_warehouse_sheet", ["warehouseId" => CoreExtension::getAttribute($this->env, $this->source, $context["warehouseData"], 0, [], "array", false, false, false, 1100)]), "html", null, true);
yield "\" data-bs-toggle=\"tooltip\" title=\"Vai alla scheda magazzino\"><img class=\"icon_pr\" src=\"";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl((isset($context["icon_sheet"]) || array_key_exists("icon_sheet", $context) ? $context["icon_sheet"] : (function () { throw new RuntimeError('Variable "icon_sheet" does not exist.', 1100, $this->source); })())), "html", null, true);
yield "\"></a></td>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</tr>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['rt'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 1103
yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</tbody>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</table>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
} else {
// line 1106
yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"style-msg successmsg m_b_none\">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"sb-msg\"><i class=\"icon-thumbs-up\"></i><strong>Complimenti!</strong> Nessun richiesta tecnico non gestita!</div>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
}
// line 1110
yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
}
// line 1112
yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
if (CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 1112, $this->source); })()), "user", [], "any", false, false, false, 1112), "canRead", ["desk_warehouse_stocks_red"], "method", false, false, false, 1112)) {
// line 1113
yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
// line 1114
yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"tab-content clearfix\" id=\"";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["warehouseData"], 0, [], "array", false, false, false, 1114), "html", null, true);
yield "_product_stocks_red\">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<h4 class=\"form_title\">Allarmi scorte prodotti rosse</h4>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<hr class=\"m_t_none\">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
// line 1117
if ((Twig\Extension\CoreExtension::length($this->env->getCharset(), CoreExtension::getAttribute($this->env, $this->source, $context["warehouseData"], 7, [], "array", false, false, false, 1117)) > 0)) {
// line 1118
yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<table class=\"table table-sm\">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<thead>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<tr>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<th class=\"td_w_120p txt_a_c\">Qtà disponibile</th>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<th class=\"td_w_120p txt_a_c\">Qtà rosso</th>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<th>Modello</th>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<th>Fornitore</th>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</tr>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</thead>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<tbody>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
// line 1128
$context['_parent'] = $context;
$context['_seq'] = CoreExtension::ensureTraversable(CoreExtension::getAttribute($this->env, $this->source, $context["warehouseData"], 7, [], "array", false, false, false, 1128));
$context['loop'] = [
'parent' => $context['_parent'],
'index0' => 0,
'index' => 1,
'first' => true,
];
if (is_array($context['_seq']) || (is_object($context['_seq']) && $context['_seq'] instanceof \Countable)) {
$length = count($context['_seq']);
$context['loop']['revindex0'] = $length - 1;
$context['loop']['revindex'] = $length;
$context['loop']['length'] = $length;
$context['loop']['last'] = 1 === $length;
}
foreach ($context['_seq'] as $context["_key"] => $context["ps"]) {
// line 1129
yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
if ((CoreExtension::getAttribute($this->env, $this->source, $context["loop"], "index", [], "any", false, false, false, 1129) < 50)) {
// line 1130
yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<tr>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td class=\"txt_a_c\">";
// line 1131
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["ps"], 0, [], "array", false, false, false, 1131), "html", null, true);
yield "</td>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td class=\"txt_a_c\">";
// line 1132
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["ps"], 1, [], "array", false, false, false, 1132), "html", null, true);
yield "</td>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td>";
// line 1133
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["ps"], 2, [], "array", false, false, false, 1133), "html", null, true);
yield "</td>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td>";
// line 1134
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["ps"], 3, [], "array", false, false, false, 1134), "html", null, true);
yield "</td>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</tr>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
}
// line 1137
yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
++$context['loop']['index0'];
++$context['loop']['index'];
$context['loop']['first'] = false;
if (isset($context['loop']['length'])) {
--$context['loop']['revindex0'];
--$context['loop']['revindex'];
$context['loop']['last'] = 0 === $context['loop']['revindex0'];
}
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['ps'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 1138
yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</tbody>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</table>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
// line 1140
if ((Twig\Extension\CoreExtension::length($this->env->getCharset(), CoreExtension::getAttribute($this->env, $this->source, $context["warehouseData"], 7, [], "array", false, false, false, 1140)) > 50)) {
// line 1141
yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"style-msg alertmsg m_b_none\">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"sb-msg\"><i class=\"icon-warning-sign\"></i><strong>Attenzione!</strong> Per ridurre i tempi di caricamento della scrivania, sono visualizzati solo 50 risultati</div>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
}
// line 1145
yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
} else {
// line 1146
yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"style-msg successmsg m_b_none\">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"sb-msg\"><i class=\"icon-thumbs-up\"></i><strong>Complimenti!</strong> Nessun allarme scorte prodotto rosse!</div>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
}
// line 1150
yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
}
// line 1152
yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
if (CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 1152, $this->source); })()), "user", [], "any", false, false, false, 1152), "canRead", ["desk_warehouse_stocks_yellow"], "method", false, false, false, 1152)) {
// line 1153
yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
// line 1154
yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"tab-content clearfix\" id=\"";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["warehouseData"], 0, [], "array", false, false, false, 1154), "html", null, true);
yield "_product_stocks_yellow\">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<h4 class=\"form_title\">Allarmi scorte prodotti giallo</h4>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<hr class=\"m_t_none\">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
// line 1157
if ((Twig\Extension\CoreExtension::length($this->env->getCharset(), CoreExtension::getAttribute($this->env, $this->source, $context["warehouseData"], 8, [], "array", false, false, false, 1157)) > 0)) {
// line 1158
yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<table class=\"table table-sm\">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<thead>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<tr>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<th class=\"td_w_120p txt_a_c\">Qtà disponibile</th>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<th class=\"td_w_120p txt_a_c\">Qtà giallo</th>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<th class=\"td_w_120p txt_a_c\">Qtà rosso</th>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<th>Modello</th>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<th>Fornitore</th>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</tr>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</thead>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<tbody>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
// line 1169
$context['_parent'] = $context;
$context['_seq'] = CoreExtension::ensureTraversable(CoreExtension::getAttribute($this->env, $this->source, $context["warehouseData"], 8, [], "array", false, false, false, 1169));
$context['loop'] = [
'parent' => $context['_parent'],
'index0' => 0,
'index' => 1,
'first' => true,
];
if (is_array($context['_seq']) || (is_object($context['_seq']) && $context['_seq'] instanceof \Countable)) {
$length = count($context['_seq']);
$context['loop']['revindex0'] = $length - 1;
$context['loop']['revindex'] = $length;
$context['loop']['length'] = $length;
$context['loop']['last'] = 1 === $length;
}
foreach ($context['_seq'] as $context["_key"] => $context["ps"]) {
// line 1170
yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
if ((CoreExtension::getAttribute($this->env, $this->source, $context["loop"], "index", [], "any", false, false, false, 1170) < 50)) {
// line 1171
yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<tr>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td class=\"txt_a_c\">";
// line 1172
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["ps"], 0, [], "array", false, false, false, 1172), "html", null, true);
yield "</td>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td class=\"txt_a_c\">";
// line 1173
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["ps"], 1, [], "array", false, false, false, 1173), "html", null, true);
yield "</td>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td class=\"txt_a_c\">";
// line 1174
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["ps"], 2, [], "array", false, false, false, 1174), "html", null, true);
yield "</td>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td>";
// line 1175
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["ps"], 3, [], "array", false, false, false, 1175), "html", null, true);
yield "</td>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td>";
// line 1176
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["ps"], 4, [], "array", false, false, false, 1176), "html", null, true);
yield "</td>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</tr>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
}
// line 1179
yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
++$context['loop']['index0'];
++$context['loop']['index'];
$context['loop']['first'] = false;
if (isset($context['loop']['length'])) {
--$context['loop']['revindex0'];
--$context['loop']['revindex'];
$context['loop']['last'] = 0 === $context['loop']['revindex0'];
}
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['ps'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 1180
yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</tbody>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</table>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
// line 1182
if ((Twig\Extension\CoreExtension::length($this->env->getCharset(), CoreExtension::getAttribute($this->env, $this->source, $context["warehouseData"], 8, [], "array", false, false, false, 1182)) > 50)) {
// line 1183
yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"style-msg alertmsg m_b_none\">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"sb-msg\"><i class=\"icon-warning-sign\"></i><strong>Attenzione!</strong> Per ridurre i tempi di caricamento della scrivania, sono visualizzati solo 50 risultati</div>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
}
// line 1187
yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
} else {
// line 1188
yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"style-msg successmsg m_b_none\">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"sb-msg\"><i class=\"icon-thumbs-up\"></i><strong>Complimenti!</strong> Nessun allarme scorte prodotto gialle!</div>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
}
// line 1192
yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
}
// line 1194
yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t\t\t\t";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['warehouseData'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 1200
yield "\t\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t";
}
// line 1203
yield "\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t";
}
// line 1205
yield "\t\t\t\t\t\t\t";
// line 1206
yield "\t\t\t\t\t\t\t";
if (CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 1206, $this->source); })()), "user", [], "any", false, false, false, 1206), "canViewTab", ["desk_operation"], "method", false, false, false, 1206)) {
// line 1207
yield "\t\t\t\t\t\t\t\t<div class=\"tab-content clearfix\" id=\"operations\">
\t\t\t\t\t\t\t\t\t<div class=\"row\">
\t\t\t\t\t\t\t\t\t\t<div class=\"col-12 overflow_a\">
\t\t\t\t\t\t\t\t\t\t\t<div class=\"tabs side-tabs clearfix m_b_none\">
\t\t\t\t\t\t\t\t\t\t\t\t<ul class=\"tab-nav tab-nav2 clearfix\">
\t\t\t\t\t\t\t\t\t\t\t\t\t";
// line 1212
if (CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 1212, $this->source); })()), "user", [], "any", false, false, false, 1212), "canRead", ["desk_operation_tariffs"], "method", false, false, false, 1212)) {
yield "<li><a id=\"btn_tab_tariffs\" href=\"#tariffs\" class=\"tab_session2\" data-filterTab=\"tariffs\"><i class=\"icon-euro d-block d-md-none\" data-bs-toggle=\"tooltip\" title=\"Senza tariffe (";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(Twig\Extension\CoreExtension::length($this->env->getCharset(), (isset($context["operationsWithoutTariffs"]) || array_key_exists("operationsWithoutTariffs", $context) ? $context["operationsWithoutTariffs"] : (function () { throw new RuntimeError('Variable "operationsWithoutTariffs" does not exist.', 1212, $this->source); })())), "html", null, true);
yield ")\"></i><span class=\"d-none d-md-block\">Senza tariffe (";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(Twig\Extension\CoreExtension::length($this->env->getCharset(), (isset($context["operationsWithoutTariffs"]) || array_key_exists("operationsWithoutTariffs", $context) ? $context["operationsWithoutTariffs"] : (function () { throw new RuntimeError('Variable "operationsWithoutTariffs" does not exist.', 1212, $this->source); })())), "html", null, true);
yield ")</span></a></li>";
}
// line 1213
yield "\t\t\t\t\t\t\t\t\t\t\t\t\t";
if (CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 1213, $this->source); })()), "user", [], "any", false, false, false, 1213), "canRead", ["desk_operation_key_mappings"], "method", false, false, false, 1213)) {
yield "<li><a id=\"btn_tab_key_mappings\" href=\"#key_mappings\" class=\"tab_session2\" data-filterTab=\"key_mappings\"><i class=\"icon-tags d-block d-md-none\" data-bs-toggle=\"tooltip\" title=\"Senza mappatura ticket (";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(Twig\Extension\CoreExtension::length($this->env->getCharset(), (isset($context["operationsWithoutKeyMappings"]) || array_key_exists("operationsWithoutKeyMappings", $context) ? $context["operationsWithoutKeyMappings"] : (function () { throw new RuntimeError('Variable "operationsWithoutKeyMappings" does not exist.', 1213, $this->source); })())), "html", null, true);
yield ")\"></i><span class=\"d-none d-md-block\">Senza mappatura ticket (";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(Twig\Extension\CoreExtension::length($this->env->getCharset(), (isset($context["operationsWithoutKeyMappings"]) || array_key_exists("operationsWithoutKeyMappings", $context) ? $context["operationsWithoutKeyMappings"] : (function () { throw new RuntimeError('Variable "operationsWithoutKeyMappings" does not exist.', 1213, $this->source); })())), "html", null, true);
yield ")</span></a></li>";
}
// line 1214
yield "\t\t\t\t\t\t\t\t\t\t\t\t</ul>
\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"tab-container\">
\t\t\t\t\t\t\t\t\t\t\t\t\t";
// line 1216
if (CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 1216, $this->source); })()), "user", [], "any", false, false, false, 1216), "canRead", ["desk_operation_tariffs"], "method", false, false, false, 1216)) {
// line 1217
yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
// line 1218
yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"tab-content clearfix\" id=\"tariffs\">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<h4 class=\"form_title\">Operazioni senza tariffe</h4>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<hr class=\"m_t_none\">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
// line 1221
if ((Twig\Extension\CoreExtension::length($this->env->getCharset(), (isset($context["operationsWithoutTariffs"]) || array_key_exists("operationsWithoutTariffs", $context) ? $context["operationsWithoutTariffs"] : (function () { throw new RuntimeError('Variable "operationsWithoutTariffs" does not exist.', 1221, $this->source); })())) > 0)) {
// line 1222
yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<table class=\"table table-sm\">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<thead>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<tr>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<th>Fornitore</th>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<th>Operazione</th>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<th>Gruppo</th>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<th></th>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</tr>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</thead>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<tbody>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
// line 1232
$context['_parent'] = $context;
$context['_seq'] = CoreExtension::ensureTraversable((isset($context["operationsWithoutTariffs"]) || array_key_exists("operationsWithoutTariffs", $context) ? $context["operationsWithoutTariffs"] : (function () { throw new RuntimeError('Variable "operationsWithoutTariffs" does not exist.', 1232, $this->source); })()));
foreach ($context['_seq'] as $context["_key"] => $context["op"]) {
// line 1233
yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<tr>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td>";
// line 1234
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["op"], "supplier", [], "any", false, false, false, 1234), "html", null, true);
yield "</td>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td>";
// line 1235
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["op"], "value", [], "any", false, false, false, 1235), "html", null, true);
yield "</td>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td>";
// line 1236
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["op"], "group", [], "any", false, false, false, 1236), "html", null, true);
yield "</td>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td class=\"td_action\"><a href=\"";
// line 1237
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("user_anagraphic_supplier_operation_sheet", ["operationId" => CoreExtension::getAttribute($this->env, $this->source, $context["op"], "id", [], "any", false, false, false, 1237)]), "html", null, true);
yield "\" data-bs-toggle=\"tooltip\" title=\"Vai alla scheda\"><img class=\"icon_pr\" src=\"";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl((isset($context["icon_sheet"]) || array_key_exists("icon_sheet", $context) ? $context["icon_sheet"] : (function () { throw new RuntimeError('Variable "icon_sheet" does not exist.', 1237, $this->source); })())), "html", null, true);
yield "\"></a></td>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</tr>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['op'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 1240
yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</tbody>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</table>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
} else {
// line 1243
yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"style-msg successmsg m_b_none\">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"sb-msg\"><i class=\"icon-thumbs-up\"></i><strong>Complimenti!</strong> Nessuna operazione senza tariffe inserite!</div>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
}
// line 1247
yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t\t\t\t\t";
}
// line 1249
yield "\t\t\t\t\t\t\t\t\t\t\t\t\t";
if (CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 1249, $this->source); })()), "user", [], "any", false, false, false, 1249), "canRead", ["desk_operation_key_mappings"], "method", false, false, false, 1249)) {
// line 1250
yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
// line 1251
yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"tab-content clearfix\" id=\"key_mappings\">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<h4 class=\"form_title\">Operazioni senza mappatura chiavi ticket</h4>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<hr class=\"m_t_none\">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
// line 1254
if ((Twig\Extension\CoreExtension::length($this->env->getCharset(), (isset($context["operationsWithoutKeyMappings"]) || array_key_exists("operationsWithoutKeyMappings", $context) ? $context["operationsWithoutKeyMappings"] : (function () { throw new RuntimeError('Variable "operationsWithoutKeyMappings" does not exist.', 1254, $this->source); })())) > 0)) {
// line 1255
yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<table class=\"table table-sm\">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<thead>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<tr>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<th>Fornitore</th>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<th>Operazione</th>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<th>Gruppo</th>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<th></th>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</tr>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</thead>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<tbody>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
// line 1265
$context['_parent'] = $context;
$context['_seq'] = CoreExtension::ensureTraversable((isset($context["operationsWithoutKeyMappings"]) || array_key_exists("operationsWithoutKeyMappings", $context) ? $context["operationsWithoutKeyMappings"] : (function () { throw new RuntimeError('Variable "operationsWithoutKeyMappings" does not exist.', 1265, $this->source); })()));
foreach ($context['_seq'] as $context["_key"] => $context["op"]) {
// line 1266
yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<tr>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td>";
// line 1267
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["op"], "supplier", [], "any", false, false, false, 1267), "html", null, true);
yield "</td>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td>";
// line 1268
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["op"], "value", [], "any", false, false, false, 1268), "html", null, true);
yield "</td>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td>";
// line 1269
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["op"], "group", [], "any", false, false, false, 1269), "html", null, true);
yield "</td>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td class=\"td_action\"><a href=\"";
// line 1270
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("user_anagraphic_supplier_operation_sheet", ["operationId" => CoreExtension::getAttribute($this->env, $this->source, $context["op"], "id", [], "any", false, false, false, 1270)]), "html", null, true);
yield "\" data-bs-toggle=\"tooltip\" title=\"Vai alla scheda\"><img class=\"icon_pr\" src=\"";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl((isset($context["icon_sheet"]) || array_key_exists("icon_sheet", $context) ? $context["icon_sheet"] : (function () { throw new RuntimeError('Variable "icon_sheet" does not exist.', 1270, $this->source); })())), "html", null, true);
yield "\"></a></td>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</tr>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['op'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 1273
yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</tbody>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</table>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
} else {
// line 1276
yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"style-msg successmsg m_b_none\">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"sb-msg\"><i class=\"icon-thumbs-up\"></i><strong>Complimenti!</strong> Nessuna operazione senza mappatura chiavi ticket!</div>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
}
// line 1280
yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t\t\t\t\t";
}
// line 1282
yield "\t\t\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t";
}
// line 1288
yield "\t\t\t\t\t\t\t";
// line 1289
yield "\t\t\t\t\t\t\t";
if (CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 1289, $this->source); })()), "user", [], "any", false, false, false, 1289), "canViewTab", ["desk_product"], "method", false, false, false, 1289)) {
// line 1290
yield "\t\t\t\t\t\t\t\t<div class=\"tab-content clearfix\" id=\"products\">
\t\t\t\t\t\t\t\t\t";
// line 1291
yield from $this->unwrap()->yieldBlock('productsData', $context, $blocks);
// line 1385
yield "\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t";
}
// line 1387
yield "\t\t\t\t\t\t\t";
// line 1388
yield "\t\t\t\t\t\t\t";
if (CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 1388, $this->source); })()), "user", [], "any", false, false, false, 1388), "canViewTab", ["desk_search"], "method", false, false, false, 1388)) {
// line 1389
yield "\t\t\t\t\t\t\t\t<div class=\"tab-content clearfix\" id=\"search\">
\t\t\t\t\t\t\t\t\t";
// line 1390
yield $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->renderBlock((isset($context["formSearch"]) || array_key_exists("formSearch", $context) ? $context["formSearch"] : (function () { throw new RuntimeError('Variable "formSearch" does not exist.', 1390, $this->source); })()), 'form_start', ["attr" => ["novalidate" => "novalidate"]]);
yield "
\t\t\t\t\t\t\t\t\t\t<div class=\"row\">
\t\t\t\t\t\t\t\t\t\t\t<div class=\"col-12 col-md-3\">
\t\t\t\t\t\t\t\t\t\t\t\t<h4 class=\"form_title\">Ricerca</h4>
\t\t\t\t\t\t\t\t\t\t\t\t<hr class=\"m_t_none\">
\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"row\">
\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"col-12 form-group\">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t<label class=\"form_label\">Soggetto*</label>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div ";
// line 1398
yield $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(CoreExtension::getAttribute($this->env, $this->source, (isset($context["formSearch"]) || array_key_exists("formSearch", $context) ? $context["formSearch"] : (function () { throw new RuntimeError('Variable "formSearch" does not exist.', 1398, $this->source); })()), "type", [], "any", false, false, false, 1398), 'errors');
yield ">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<table class=\"table b_none table_no_padding m_none\">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
// line 1400
$context['_parent'] = $context;
$context['_seq'] = CoreExtension::ensureTraversable(CoreExtension::getAttribute($this->env, $this->source, (isset($context["formSearch"]) || array_key_exists("formSearch", $context) ? $context["formSearch"] : (function () { throw new RuntimeError('Variable "formSearch" does not exist.', 1400, $this->source); })()), "type", [], "any", false, false, false, 1400));
foreach ($context['_seq'] as $context["_key"] => $context["t"]) {
// line 1401
yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<tr>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td class=\"td_w_40p\">";
// line 1402
yield $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock($context["t"], 'widget', ["attr" => ["class" => "switch-toggle switch-flat-mini switch-toggle-flat"]]);
yield "<label class=\"m_b_none\" for=\"";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, $context["t"], "vars", [], "any", false, false, false, 1402), "id", [], "any", false, false, false, 1402), "html", null, true);
yield "\"></label></td>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td><label class=\"m_b_none form_label\">";
// line 1403
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, $context["t"], "vars", [], "any", false, false, false, 1403), "label", [], "any", false, false, false, 1403), "html", null, true);
yield "</label></td>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</tr>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['t'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 1406
yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</table>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"col-12 form-group\">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t<label class=\"form_label\">Tipologia*</label>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div ";
// line 1411
yield $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(CoreExtension::getAttribute($this->env, $this->source, (isset($context["formSearch"]) || array_key_exists("formSearch", $context) ? $context["formSearch"] : (function () { throw new RuntimeError('Variable "formSearch" does not exist.', 1411, $this->source); })()), "like", [], "any", false, false, false, 1411), 'errors');
yield ">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<table class=\"table b_none table_no_padding m_none\">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
// line 1413
$context['_parent'] = $context;
$context['_seq'] = CoreExtension::ensureTraversable(CoreExtension::getAttribute($this->env, $this->source, (isset($context["formSearch"]) || array_key_exists("formSearch", $context) ? $context["formSearch"] : (function () { throw new RuntimeError('Variable "formSearch" does not exist.', 1413, $this->source); })()), "like", [], "any", false, false, false, 1413));
foreach ($context['_seq'] as $context["_key"] => $context["l"]) {
// line 1414
yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<tr>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td class=\"td_w_40p\">";
// line 1415
yield $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock($context["l"], 'widget', ["attr" => ["class" => "switch-toggle switch-flat-mini switch-toggle-flat"]]);
yield "<label class=\"m_b_none\" for=\"";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, $context["l"], "vars", [], "any", false, false, false, 1415), "id", [], "any", false, false, false, 1415), "html", null, true);
yield "\"></label></td>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td><label class=\"m_b_none form_label\">";
// line 1416
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, $context["l"], "vars", [], "any", false, false, false, 1416), "label", [], "any", false, false, false, 1416), "html", null, true);
yield "</label></td>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</tr>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['l'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 1419
yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</table>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"col-12 form-group\">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t<label class=\"form_label\">Valore*</label>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div ";
// line 1424
yield $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(CoreExtension::getAttribute($this->env, $this->source, (isset($context["formSearch"]) || array_key_exists("formSearch", $context) ? $context["formSearch"] : (function () { throw new RuntimeError('Variable "formSearch" does not exist.', 1424, $this->source); })()), "value", [], "any", false, false, false, 1424), 'errors');
yield ">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
// line 1425
yield $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(CoreExtension::getAttribute($this->env, $this->source, (isset($context["formSearch"]) || array_key_exists("formSearch", $context) ? $context["formSearch"] : (function () { throw new RuntimeError('Variable "formSearch" does not exist.', 1425, $this->source); })()), "value", [], "any", false, false, false, 1425), 'widget');
yield "
\t\t\t\t\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"col-12 txt_a_c\">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t<button type=\"submit\" class=\"button button-3d button-small button-rounded button-green\">Cerca</button>
\t\t\t\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t\t\t<div class=\"col-12 col-md-9 overflow_a\">
\t\t\t\t\t\t\t\t\t\t\t\t<h4 class=\"form_title\">Risultati ricerca</h4>
\t\t\t\t\t\t\t\t\t\t\t\t<hr class=\"m_t_none\">
\t\t\t\t\t\t\t\t\t\t\t\t";
// line 1436
if ((Twig\Extension\CoreExtension::length($this->env->getCharset(), (isset($context["searchResults"]) || array_key_exists("searchResults", $context) ? $context["searchResults"] : (function () { throw new RuntimeError('Variable "searchResults" does not exist.', 1436, $this->source); })())) > 0)) {
// line 1437
yield "\t\t\t\t\t\t\t\t\t\t\t\t\t";
if ((Twig\Extension\CoreExtension::length($this->env->getCharset(), (isset($context["searchResults"]) || array_key_exists("searchResults", $context) ? $context["searchResults"] : (function () { throw new RuntimeError('Variable "searchResults" does not exist.', 1437, $this->source); })())) == 50)) {
// line 1438
yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"style-msg alertmsg m_b_10p\">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"sb-msg\"><i class=\"icon-warning-sign\"></i><strong>Attenzione!</strong> La ricerca ha prodotto più di 50 risultati; utilizza un filtro più stringente per ottenerne meno!</div>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t\t\t\t\t";
}
// line 1442
yield "\t\t\t\t\t\t\t\t\t\t\t\t\t<table class=\"table table-sm\">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t<thead>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<tr>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
// line 1445
if ((((isset($context["searchType"]) || array_key_exists("searchType", $context) ? $context["searchType"] : (function () { throw new RuntimeError('Variable "searchType" does not exist.', 1445, $this->source); })()) == "termid") || ((isset($context["searchType"]) || array_key_exists("searchType", $context) ? $context["searchType"] : (function () { throw new RuntimeError('Variable "searchType" does not exist.', 1445, $this->source); })()) == "n_ticket"))) {
// line 1446
yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<th>Stato</th>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<th>N° ticket</th>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<th>Termid</th>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<th>Cliente</th>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<th>Fornitore</th>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<th>Operazione</th>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
} elseif ((( // line 1452
(isset($context["searchType"]) || array_key_exists("searchType", $context) ? $context["searchType"] : (function () { throw new RuntimeError('Variable "searchType" does not exist.', 1452, $this->source); })()) == "code_producer") || ((isset($context["searchType"]) || array_key_exists("searchType", $context) ? $context["searchType"] : (function () { throw new RuntimeError('Variable "searchType" does not exist.', 1452, $this->source); })()) == "code_supplier"))) {
// line 1453
yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<th>Modello</th>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<th>Matr. Produttore</th>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<th>Matr. Fornitore</th>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<th>Termid</th>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<th>Magazzino attuale</th>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<th>Stato</th>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<th>Condizione</th>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
} elseif (( // line 1460
(isset($context["searchType"]) || array_key_exists("searchType", $context) ? $context["searchType"] : (function () { throw new RuntimeError('Variable "searchType" does not exist.', 1460, $this->source); })()) == "ddt")) {
// line 1461
yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<th>N° DDT</th>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<th>Stato</th>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<th>Data/Ora</th>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<th>Mag. Partenza</th>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<th>Mag. Arrivo</th>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<th>Stock order</th>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
} elseif (( // line 1467
(isset($context["searchType"]) || array_key_exists("searchType", $context) ? $context["searchType"] : (function () { throw new RuntimeError('Variable "searchType" does not exist.', 1467, $this->source); })()) == "client_nickname")) {
// line 1468
yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<th>Codice</th>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<th>Insegna</th>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<th>Indirizzo</th>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<th>Telefoni</th>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
} else {
// line 1473
yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<th>Telefono</th>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<th>Cliente</th>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<th>Indirizzo</th>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
}
// line 1477
yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<th></th>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</tr>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t</thead>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t<tbody>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
// line 1481
$context['_parent'] = $context;
$context['_seq'] = CoreExtension::ensureTraversable((isset($context["searchResults"]) || array_key_exists("searchResults", $context) ? $context["searchResults"] : (function () { throw new RuntimeError('Variable "searchResults" does not exist.', 1481, $this->source); })()));
$context['loop'] = [
'parent' => $context['_parent'],
'index0' => 0,
'index' => 1,
'first' => true,
];
if (is_array($context['_seq']) || (is_object($context['_seq']) && $context['_seq'] instanceof \Countable)) {
$length = count($context['_seq']);
$context['loop']['revindex0'] = $length - 1;
$context['loop']['revindex'] = $length;
$context['loop']['length'] = $length;
$context['loop']['last'] = 1 === $length;
}
foreach ($context['_seq'] as $context["_key"] => $context["r"]) {
// line 1482
yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<tr>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
// line 1483
if ((((isset($context["searchType"]) || array_key_exists("searchType", $context) ? $context["searchType"] : (function () { throw new RuntimeError('Variable "searchType" does not exist.', 1483, $this->source); })()) == "termid") || ((isset($context["searchType"]) || array_key_exists("searchType", $context) ? $context["searchType"] : (function () { throw new RuntimeError('Variable "searchType" does not exist.', 1483, $this->source); })()) == "n_ticket"))) {
// line 1484
yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td>";
yield CoreExtension::getAttribute($this->env, $this->source, $context["r"], "displayStatus", ["string", (isset($context["settingProcessedActive"]) || array_key_exists("settingProcessedActive", $context) ? $context["settingProcessedActive"] : (function () { throw new RuntimeError('Variable "settingProcessedActive" does not exist.', 1484, $this->source); })())], "method", false, false, false, 1484);
yield "</td>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td>";
// line 1485
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["r"], "number", [], "any", false, false, false, 1485), "html", null, true);
yield "</td>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td>";
// line 1486
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["r"], "termid", [], "any", false, false, false, 1486), "html", null, true);
yield "</td>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td>";
// line 1487
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["r"], "client", [], "any", false, false, false, 1487), "html", null, true);
yield "</td>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td>";
// line 1488
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["r"], "supplier", [], "any", false, false, false, 1488), "html", null, true);
yield "</td>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td>";
// line 1489
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["r"], "operation", [], "any", false, false, false, 1489), "html", null, true);
yield "</td>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td class=\"td_action\"><a href=\"";
// line 1490
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("user_ticket_sheet", ["ticketId" => CoreExtension::getAttribute($this->env, $this->source, $context["r"], "id", [], "any", false, false, false, 1490)]), "html", null, true);
yield "\"><img class=\"icon_pr\" data-bs-toggle=\"tooltip\" title=\"Scheda\" src=\"";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl((isset($context["icon_sheet"]) || array_key_exists("icon_sheet", $context) ? $context["icon_sheet"] : (function () { throw new RuntimeError('Variable "icon_sheet" does not exist.', 1490, $this->source); })())), "html", null, true);
yield "\"></a></td>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
} elseif ((( // line 1491
(isset($context["searchType"]) || array_key_exists("searchType", $context) ? $context["searchType"] : (function () { throw new RuntimeError('Variable "searchType" does not exist.', 1491, $this->source); })()) == "code_producer") || ((isset($context["searchType"]) || array_key_exists("searchType", $context) ? $context["searchType"] : (function () { throw new RuntimeError('Variable "searchType" does not exist.', 1491, $this->source); })()) == "code_supplier"))) {
// line 1492
yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td>";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, $context["r"], "model", [], "any", false, false, false, 1492), "name", [], "any", false, false, false, 1492), "html", null, true);
yield "</td>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td>";
// line 1493
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(((CoreExtension::getAttribute($this->env, $this->source, $context["r"], "codeProducer", [], "any", true, true, false, 1493)) ? (Twig\Extension\CoreExtension::default(CoreExtension::getAttribute($this->env, $this->source, $context["r"], "codeProducer", [], "any", false, false, false, 1493), "---")) : ("---")), "html", null, true);
yield "</td>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td>";
// line 1494
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(((CoreExtension::getAttribute($this->env, $this->source, $context["r"], "codeSupplier", [], "any", true, true, false, 1494)) ? (Twig\Extension\CoreExtension::default(CoreExtension::getAttribute($this->env, $this->source, $context["r"], "codeSupplier", [], "any", false, false, false, 1494), "---")) : ("---")), "html", null, true);
yield "</td>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td>";
// line 1495
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(((CoreExtension::getAttribute($this->env, $this->source, $context["r"], "termid", [], "any", true, true, false, 1495)) ? (Twig\Extension\CoreExtension::default(CoreExtension::getAttribute($this->env, $this->source, $context["r"], "termid", [], "any", false, false, false, 1495), "---")) : ("---")), "html", null, true);
yield "</td>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td>";
// line 1496
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["r"], "actualWarehouse", [], "any", false, false, false, 1496), "html", null, true);
yield "</td>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td>";
// line 1497
yield CoreExtension::getAttribute($this->env, $this->source, $context["r"], "displayStatus", ["string"], "method", false, false, false, 1497);
yield "</td>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td>";
// line 1498
yield CoreExtension::getAttribute($this->env, $this->source, $context["r"], "displayCondition", ["string-short"], "method", false, false, false, 1498);
yield "</td>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td class=\"td_action\"><a href=\"";
// line 1499
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("user_product_sheet", ["productId" => CoreExtension::getAttribute($this->env, $this->source, $context["r"], "id", [], "any", false, false, false, 1499)]), "html", null, true);
yield "\" data-bs-toggle=\"tooltip\" title=\"Scheda\"><img class=\"icon_pr\" src=\"";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl((isset($context["icon_sheet"]) || array_key_exists("icon_sheet", $context) ? $context["icon_sheet"] : (function () { throw new RuntimeError('Variable "icon_sheet" does not exist.', 1499, $this->source); })())), "html", null, true);
yield "\"></a></td>\t\t
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
} elseif (( // line 1500
(isset($context["searchType"]) || array_key_exists("searchType", $context) ? $context["searchType"] : (function () { throw new RuntimeError('Variable "searchType" does not exist.', 1500, $this->source); })()) == "ddt")) {
// line 1501
yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td>";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(((CoreExtension::getAttribute($this->env, $this->source, $context["r"], "ddt", [], "any", true, true, false, 1501)) ? (Twig\Extension\CoreExtension::default(CoreExtension::getAttribute($this->env, $this->source, $context["r"], "ddt", [], "any", false, false, false, 1501), "---")) : ("---")), "html", null, true);
yield "</td>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td>";
// line 1502
yield CoreExtension::getAttribute($this->env, $this->source, $context["r"], "displayPhase", ["string"], "method", false, false, false, 1502);
yield "</td>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td>";
// line 1503
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Twig\Extension\CoreExtension']->formatDate(CoreExtension::getAttribute($this->env, $this->source, $context["r"], "date", [], "any", false, false, false, 1503), "d-m-Y H:i"), "html", null, true);
yield "</td>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td>";
// line 1504
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["r"], "warehouseFrom", [], "any", false, false, false, 1504), "html", null, true);
yield "</td>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td>";
// line 1505
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["r"], "warehouseTo", [], "any", false, false, false, 1505), "html", null, true);
yield "</td>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td>";
// line 1506
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(((CoreExtension::getAttribute($this->env, $this->source, $context["r"], "stockOrder", [], "any", true, true, false, 1506)) ? (Twig\Extension\CoreExtension::default(CoreExtension::getAttribute($this->env, $this->source, $context["r"], "stockOrder", [], "any", false, false, false, 1506), "---")) : ("---")), "html", null, true);
yield "</td>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td class=\"td_action\"><a href=\"";
// line 1507
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("user_warehouse_transfer_sheet", ["warehouseId" => CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, $context["r"], "warehouseFrom", [], "any", false, false, false, 1507), "id", [], "any", false, false, false, 1507), "transferId" => CoreExtension::getAttribute($this->env, $this->source, $context["r"], "id", [], "any", false, false, false, 1507)]), "html", null, true);
yield "\" data-bs-toggle=\"tooltip\" title=\"Scheda\"><img class=\"icon_pr\" src=\"";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl((isset($context["icon_sheet"]) || array_key_exists("icon_sheet", $context) ? $context["icon_sheet"] : (function () { throw new RuntimeError('Variable "icon_sheet" does not exist.', 1507, $this->source); })())), "html", null, true);
yield "\"></a></td>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
} elseif (( // line 1508
(isset($context["searchType"]) || array_key_exists("searchType", $context) ? $context["searchType"] : (function () { throw new RuntimeError('Variable "searchType" does not exist.', 1508, $this->source); })()) == "client_nickname")) {
// line 1509
yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td>";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(((CoreExtension::getAttribute($this->env, $this->source, $context["r"], "code", [], "any", true, true, false, 1509)) ? (Twig\Extension\CoreExtension::default(CoreExtension::getAttribute($this->env, $this->source, $context["r"], "code", [], "any", false, false, false, 1509), "---")) : ("---")), "html", null, true);
yield "</td>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td>";
// line 1510
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["r"], "nickname", [], "any", false, false, false, 1510), "html", null, true);
yield "</td>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td>";
// line 1511
yield from $this->loadTemplate("components/twig/display_address.html.twig", "role/user/index.html.twig", 1511)->unwrap()->yield(CoreExtension::merge($context, ["type" => "client", "obj" => $context["r"]]));
yield "</td>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td>";
// line 1512
yield CoreExtension::getAttribute($this->env, $this->source, $context["r"], "displayPhones", [], "any", false, false, false, 1512);
yield "</td>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td class=\"td_action\"><a href=\"";
// line 1513
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("user_anagraphic_client_sheet", ["clientId" => CoreExtension::getAttribute($this->env, $this->source, $context["r"], "id", [], "any", false, false, false, 1513)]), "html", null, true);
yield "\" data-bs-toggle=\"tooltip\" title=\"Scheda\"><img class=\"icon_pr\" src=\"";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl((isset($context["icon_sheet"]) || array_key_exists("icon_sheet", $context) ? $context["icon_sheet"] : (function () { throw new RuntimeError('Variable "icon_sheet" does not exist.', 1513, $this->source); })())), "html", null, true);
yield "\"></a></td>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
} else {
// line 1515
yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td>";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["r"], "number", [], "any", false, false, false, 1515), "html", null, true);
yield "</td>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td>";
// line 1516
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["r"], "client", [], "any", false, false, false, 1516), "html", null, true);
yield "</td>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td>";
// line 1517
yield from $this->loadTemplate("components/twig/display_address.html.twig", "role/user/index.html.twig", 1517)->unwrap()->yield(CoreExtension::merge($context, ["type" => "client", "obj" => CoreExtension::getAttribute($this->env, $this->source, $context["r"], "client", [], "any", false, false, false, 1517)]));
yield "</td>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td class=\"td_action\"><a href=\"tel:";
// line 1518
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["r"], "number", [], "any", false, false, false, 1518), "html", null, true);
yield "\" data-bs-toggle=\"tooltip\" title=\"Chiama\"><img class=\"icon_pr\" src=\"";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl((isset($context["icon_telephone"]) || array_key_exists("icon_telephone", $context) ? $context["icon_telephone"] : (function () { throw new RuntimeError('Variable "icon_telephone" does not exist.', 1518, $this->source); })())), "html", null, true);
yield "\"></a></td>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
}
// line 1520
yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</tr>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
++$context['loop']['index0'];
++$context['loop']['index'];
$context['loop']['first'] = false;
if (isset($context['loop']['length'])) {
--$context['loop']['revindex0'];
--$context['loop']['revindex'];
$context['loop']['last'] = 0 === $context['loop']['revindex0'];
}
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['r'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 1522
yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t</tbody>
\t\t\t\t\t\t\t\t\t\t\t\t\t</table>
\t\t\t\t\t\t\t\t\t\t\t\t";
} else {
// line 1525
yield "\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"style-msg infomsg m_b_none\">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"sb-msg\"><i class=\"icon-info\"></i><strong>Info!</strong> La ricerca non ha dato risultati!</div>
\t\t\t\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t\t\t\t";
}
// line 1529
yield "\t\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t";
// line 1531
yield $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->renderBlock((isset($context["formSearch"]) || array_key_exists("formSearch", $context) ? $context["formSearch"] : (function () { throw new RuntimeError('Variable "formSearch" does not exist.', 1531, $this->source); })()), 'form_end');
yield "
\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t";
}
// line 1534
yield "\t\t\t\t\t\t</div>
\t\t\t\t\t</div>
\t\t\t\t</div>
\t\t\t</div>
\t\t";
} elseif ((CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, // line 1538
(isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 1538, $this->source); })()), "user", [], "any", false, false, false, 1538), "getAccountTypology", [], "any", false, false, false, 1538) == "technician")) {
yield " ";
// line 1539
yield "\t\t\t<div class=\"row\">
\t\t\t\t<div class=\"col-12\">
\t\t\t\t\t<div class=\"tabs clearfix m_b_none\">
\t\t\t\t\t\t<ul class=\"tab-nav clearfix\">
\t\t\t\t\t\t\t<li><a id=\"btn_tab_tickets\" href=\"#tickets\" class=\"tab_session\" data-filterTab=\"tickets\"><i class=\"icon-tag d-block d-md-none\" data-bs-toggle=\"tooltip\" title=\"Ticket\"></i><span class=\"d-none d-md-block\">Ticket</span></a></li>
\t\t\t\t\t\t\t<li><a id=\"btn_tab_warehouse\" href=\"#warehouse\" class=\"tab_session\" data-filterTab=\"warehouse\"><i class=\"icon-warehouse d-block d-md-none\" data-bs-toggle=\"tooltip\" title=\"Magazzini gestiti\"></i><span class=\"d-none d-md-block\">Magazzini gestiti</span></a></li>
\t\t\t\t\t\t\t";
// line 1545
if (CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 1545, $this->source); })()), "user", [], "any", false, false, false, 1545), "canRead", ["desk_search"], "method", false, false, false, 1545)) {
// line 1546
yield "\t\t\t\t\t\t\t\t<li><a href=\"#search\" class=\"tab_session\" id=\"btn_tab_search\" data-filterTab=\"search\"><i class=\"icon-search1 d-block d-md-none\" data-bs-toggle=\"tooltip\" title=\"Ricerca\"></i><span class=\"d-none d-md-block\">Ricerca</span></a></li>
\t\t\t\t\t\t\t";
}
// line 1548
yield "\t\t\t\t\t\t</ul>
\t\t\t\t\t\t<div class=\"tab-container\">
\t\t\t\t\t\t\t";
// line 1551
yield "\t\t\t\t\t\t\t<div class=\"tab-content clearfix\" id=\"tickets\">
\t\t\t\t\t\t\t\t<div class=\"row\">
\t\t\t\t\t\t\t\t\t<div class=\"col-12 overflow_a\">
\t\t\t\t\t\t\t\t\t\t<div class=\"tabs side-tabs clearfix m_b_none\">
\t\t\t\t\t\t\t\t\t\t\t<ul class=\"tab-nav tab-nav2 clearfix\">
\t\t\t\t\t\t\t\t\t\t\t\t<li><a id=\"btn_tab_summary\" href=\"#summary\" class=\"tab_session2\" data-filterTab=\"summary\"><i class=\"icon-table1 d-block d-md-none\" data-bs-toggle=\"tooltip\" title=\"Tabella riassuntiva\"></i><span class=\"d-none d-md-block responsive_font_size\">Tabella riassuntiva</span></a></li>
\t\t\t\t\t\t\t\t\t\t\t\t<li><a id=\"btn_tab_assigned\" href=\"#assigned\" class=\"tab_session2\" data-filterTab=\"assigned\"><i class=\"icon-user-clock d-block d-md-none\" data-bs-toggle=\"tooltip\" title=\"Da prendere in carico (";
// line 1557
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(Twig\Extension\CoreExtension::length($this->env->getCharset(), (isset($context["ticketAssigned"]) || array_key_exists("ticketAssigned", $context) ? $context["ticketAssigned"] : (function () { throw new RuntimeError('Variable "ticketAssigned" does not exist.', 1557, $this->source); })())), "html", null, true);
yield ")\"></i><span class=\"d-none d-md-block responsive_font_size\">Da prendere in carico (";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(Twig\Extension\CoreExtension::length($this->env->getCharset(), (isset($context["ticketAssigned"]) || array_key_exists("ticketAssigned", $context) ? $context["ticketAssigned"] : (function () { throw new RuntimeError('Variable "ticketAssigned" does not exist.', 1557, $this->source); })())), "html", null, true);
yield ")</span></a></li>
\t\t\t\t\t\t\t\t\t\t\t\t<li><a id=\"btn_tab_reminders\" href=\"#reminders\" class=\"tab_session2\" data-filterTab=\"reminders\"><i class=\"icon-clock d-block d-md-none\" data-bs-toggle=\"tooltip\" title=\"Promemoria (";
// line 1558
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(Twig\Extension\CoreExtension::length($this->env->getCharset(), (isset($context["ticketReminders"]) || array_key_exists("ticketReminders", $context) ? $context["ticketReminders"] : (function () { throw new RuntimeError('Variable "ticketReminders" does not exist.', 1558, $this->source); })())), "html", null, true);
yield ")\"></i><span class=\"d-none d-md-block responsive_font_size\">Promemoria (";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(Twig\Extension\CoreExtension::length($this->env->getCharset(), (isset($context["ticketReminders"]) || array_key_exists("ticketReminders", $context) ? $context["ticketReminders"] : (function () { throw new RuntimeError('Variable "ticketReminders" does not exist.', 1558, $this->source); })())), "html", null, true);
yield ")</span></a></li>
\t\t\t\t\t\t\t\t\t\t\t</ul>
\t\t\t\t\t\t\t\t\t\t\t<div class=\"tab-container\">
\t\t\t\t\t\t\t\t\t\t\t\t";
// line 1562
yield "\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"tab-content clearfix\" id=\"summary\">
\t\t\t\t\t\t\t\t\t\t\t\t\t<h4 class=\"form_title\">Tabella riassuntiva</h4>
\t\t\t\t\t\t\t\t\t\t\t\t\t<hr class=\"m_t_none\">
\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"overflow_a\">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t<table class=\"table table-bordered font_12\">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<thead>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<tr class=\"bg_pr color_w\">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<th>Gruppo</th>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<th class=\"td_w_100p txt_a_c a_th_hover\" onclick=\"javascript: goToTicketList('assigned', '')\">Assegnati</th>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<th class=\"td_w_100p txt_a_c a_th_hover\" onclick=\"javascript: goToTicketList('taken_charge', '')\">Presi in carico</th>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<th class=\"td_w_100p txt_a_c a_th_hover\" onclick=\"javascript: goToTicketList('closed', '')\">Chiusi</th>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<th class=\"td_w_100p txt_a_c a_th_hover\" onclick=\"javascript: goToTicketList('suspension_request', '')\">Richieste sosp</th>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<th class=\"td_w_100p txt_a_c a_th_hover\" onclick=\"javascript: goToTicketList('suspended', '')\">Sospesi</th>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<th class=\"td_w_100p txt_a_c a_th_hover\" onclick=\"javascript: goToTicketList('canceled', '')\">Annullati</th>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<th class=\"td_w_100p txt_a_c a_th_hover\" onclick=\"javascript: goToTicketList('closed_portal', '')\">Chiusi su portale</th>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td class=\"bg_pr\" style=\"padding: 0px 0px 0px 0px; width: 0px;\"></td>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<th class=\"td_w_100p txt_a_c\">Totale</th>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</tr>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</thead>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<tbody class=\"table_td_hover\">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
// line 1582
$context["total"] = 0;
// line 1583
yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
$context['_parent'] = $context;
$context['_seq'] = CoreExtension::ensureTraversable((isset($context["operationGroups"]) || array_key_exists("operationGroups", $context) ? $context["operationGroups"] : (function () { throw new RuntimeError('Variable "operationGroups" does not exist.', 1583, $this->source); })()));
foreach ($context['_seq'] as $context["_key"] => $context["og"]) {
// line 1584
yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
$context["rowTotal"] = 0;
// line 1585
yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<tr>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td class=\"bg_w\">";
// line 1586
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["og"], "value", [], "any", false, false, false, 1586), "html", null, true);
yield "</td>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
// line 1587
$context['_parent'] = $context;
$context['_seq'] = CoreExtension::ensureTraversable((isset($context["ticketStatuses"]) || array_key_exists("ticketStatuses", $context) ? $context["ticketStatuses"] : (function () { throw new RuntimeError('Variable "ticketStatuses" does not exist.', 1587, $this->source); })()));
foreach ($context['_seq'] as $context["_key"] => $context["ts"]) {
// line 1588
yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
$context['_parent'] = $context;
$context['_seq'] = CoreExtension::ensureTraversable((isset($context["matrixTickets"]) || array_key_exists("matrixTickets", $context) ? $context["matrixTickets"] : (function () { throw new RuntimeError('Variable "matrixTickets" does not exist.', 1588, $this->source); })()));
foreach ($context['_seq'] as $context["_key"] => $context["ticketGroup"]) {
// line 1589
yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
if ((CoreExtension::getAttribute($this->env, $this->source, $context["ticketGroup"], 0, [], "array", false, false, false, 1589) == CoreExtension::getAttribute($this->env, $this->source, $context["og"], "id", [], "any", false, false, false, 1589))) {
// line 1590
yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
$context['_parent'] = $context;
$context['_seq'] = CoreExtension::ensureTraversable(CoreExtension::getAttribute($this->env, $this->source, $context["ticketGroup"], 1, [], "array", false, false, false, 1590));
foreach ($context['_seq'] as $context["_key"] => $context["grCounts"]) {
// line 1591
yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
if ((CoreExtension::getAttribute($this->env, $this->source, $context["grCounts"], 0, [], "array", false, false, false, 1591) == CoreExtension::getAttribute($this->env, $this->source, $context["ts"], "id", [], "any", false, false, false, 1591))) {
// line 1592
yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
if ((CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 1592, $this->source); })()), "user", [], "any", false, false, false, 1592), "accountTypology", [], "any", false, false, false, 1592) == "technician")) {
// line 1593
yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td class=\"txt_a_c a_td_hover\" onclick=\"javascript: goToTicketList('";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["ts"], "slug", [], "any", false, false, false, 1593), "html", null, true);
yield "', '";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["og"], "slug", [], "any", false, false, false, 1593), "html", null, true);
yield "')\">";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["grCounts"], 1, [], "array", false, false, false, 1593), "html", null, true);
yield "</td>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
} else {
// line 1595
yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td class=\"txt_a_c a_td_hover\" onclick=\"javascript: goToTicketList('";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["ts"], "slug", [], "any", false, false, false, 1595), "html", null, true);
yield "', '";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["og"], "id", [], "any", false, false, false, 1595), "html", null, true);
yield "')\">";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["grCounts"], 1, [], "array", false, false, false, 1595), "html", null, true);
yield "</td>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
}
// line 1597
yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
$context["rowTotal"] = ((isset($context["rowTotal"]) || array_key_exists("rowTotal", $context) ? $context["rowTotal"] : (function () { throw new RuntimeError('Variable "rowTotal" does not exist.', 1597, $this->source); })()) + CoreExtension::getAttribute($this->env, $this->source, $context["grCounts"], 1, [], "array", false, false, false, 1597));
// line 1598
yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
}
// line 1599
yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['grCounts'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 1600
yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
}
// line 1601
yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['ticketGroup'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 1602
yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['ts'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 1603
yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td class=\"bg_pr\"></td>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<th class=\"txt_a_c\">";
// line 1604
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((isset($context["rowTotal"]) || array_key_exists("rowTotal", $context) ? $context["rowTotal"] : (function () { throw new RuntimeError('Variable "rowTotal" does not exist.', 1604, $this->source); })()), "html", null, true);
yield "</th>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</tr>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
// line 1606
$context["total"] = ((isset($context["total"]) || array_key_exists("total", $context) ? $context["total"] : (function () { throw new RuntimeError('Variable "total" does not exist.', 1606, $this->source); })()) + (isset($context["rowTotal"]) || array_key_exists("rowTotal", $context) ? $context["rowTotal"] : (function () { throw new RuntimeError('Variable "rowTotal" does not exist.', 1606, $this->source); })()));
// line 1607
yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['og'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 1608
yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<tr class=\"bg_pr\">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td class=\"bg_pr\"></td>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td class=\"bg_pr\"></td>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td class=\"bg_pr\"></td>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td class=\"bg_pr\"></td>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td class=\"bg_pr\"></td>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td class=\"bg_pr\"></td>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td class=\"bg_pr\"></td>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td class=\"bg_pr\"></td>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td class=\"bg_pr\"></td>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td class=\"bg_pr\"></td>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</tr>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<tr>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<th>Totale</th>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
// line 1622
$context['_parent'] = $context;
$context['_seq'] = CoreExtension::ensureTraversable((isset($context["ticketStatuses"]) || array_key_exists("ticketStatuses", $context) ? $context["ticketStatuses"] : (function () { throw new RuntimeError('Variable "ticketStatuses" does not exist.', 1622, $this->source); })()));
foreach ($context['_seq'] as $context["_key"] => $context["ts"]) {
// line 1623
yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
$context["columnTotal"] = 0;
// line 1624
yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
$context['_parent'] = $context;
$context['_seq'] = CoreExtension::ensureTraversable((isset($context["matrixTickets"]) || array_key_exists("matrixTickets", $context) ? $context["matrixTickets"] : (function () { throw new RuntimeError('Variable "matrixTickets" does not exist.', 1624, $this->source); })()));
foreach ($context['_seq'] as $context["_key"] => $context["ticketGroup"]) {
// line 1625
yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
$context['_parent'] = $context;
$context['_seq'] = CoreExtension::ensureTraversable(CoreExtension::getAttribute($this->env, $this->source, $context["ticketGroup"], 1, [], "array", false, false, false, 1625));
foreach ($context['_seq'] as $context["_key"] => $context["grCounts"]) {
// line 1626
yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
if ((CoreExtension::getAttribute($this->env, $this->source, $context["grCounts"], 0, [], "array", false, false, false, 1626) == CoreExtension::getAttribute($this->env, $this->source, $context["ts"], "id", [], "any", false, false, false, 1626))) {
// line 1627
yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
$context["columnTotal"] = ((isset($context["columnTotal"]) || array_key_exists("columnTotal", $context) ? $context["columnTotal"] : (function () { throw new RuntimeError('Variable "columnTotal" does not exist.', 1627, $this->source); })()) + CoreExtension::getAttribute($this->env, $this->source, $context["grCounts"], 1, [], "array", false, false, false, 1627));
// line 1628
yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
}
// line 1629
yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['grCounts'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 1630
yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['ticketGroup'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 1631
yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<th class=\"txt_a_c\">";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((isset($context["columnTotal"]) || array_key_exists("columnTotal", $context) ? $context["columnTotal"] : (function () { throw new RuntimeError('Variable "columnTotal" does not exist.', 1631, $this->source); })()), "html", null, true);
yield "</th>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['ts'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 1633
yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<th class=\"bg_pr\"></th>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<th class=\"txt_a_c\">";
// line 1634
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((isset($context["total"]) || array_key_exists("total", $context) ? $context["total"] : (function () { throw new RuntimeError('Variable "total" does not exist.', 1634, $this->source); })()), "html", null, true);
yield "</th>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</tr>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</tbody>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t</table>
\t\t\t\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t\t\t\t";
// line 1641
yield "\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"tab-content clearfix\" id=\"assigned\">
\t\t\t\t\t\t\t\t\t\t\t\t\t";
// line 1642
if ((Twig\Extension\CoreExtension::length($this->env->getCharset(), (isset($context["ticketAssigned"]) || array_key_exists("ticketAssigned", $context) ? $context["ticketAssigned"] : (function () { throw new RuntimeError('Variable "ticketAssigned" does not exist.', 1642, $this->source); })())) > 0)) {
// line 1643
yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t<a href=\"javascript: ticketsTakeCharge()\" class=\"button button-3d button-mini button-green f_right font_12 m_t_none m_b_none\">Prendi in carico</a>
\t\t\t\t\t\t\t\t\t\t\t\t\t";
}
// line 1645
yield "\t\t\t\t\t\t\t\t\t\t\t\t\t<h4 class=\"form_title\">Da prendere in carico</h4>
\t\t\t\t\t\t\t\t\t\t\t\t\t<hr class=\"m_t_none m_b_5p\">
\t\t\t\t\t\t\t\t\t\t\t\t\t";
// line 1647
if ((Twig\Extension\CoreExtension::length($this->env->getCharset(), (isset($context["ticketAssigned"]) || array_key_exists("ticketAssigned", $context) ? $context["ticketAssigned"] : (function () { throw new RuntimeError('Variable "ticketAssigned" does not exist.', 1647, $this->source); })())) > 0)) {
// line 1648
yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t<table class=\"table table-sm font_12\">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<tbody>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
// line 1650
$context['_parent'] = $context;
$context['_seq'] = CoreExtension::ensureTraversable((isset($context["ticketAssigned"]) || array_key_exists("ticketAssigned", $context) ? $context["ticketAssigned"] : (function () { throw new RuntimeError('Variable "ticketAssigned" does not exist.', 1650, $this->source); })()));
$context['loop'] = [
'parent' => $context['_parent'],
'index0' => 0,
'index' => 1,
'first' => true,
];
if (is_array($context['_seq']) || (is_object($context['_seq']) && $context['_seq'] instanceof \Countable)) {
$length = count($context['_seq']);
$context['loop']['revindex0'] = $length - 1;
$context['loop']['revindex'] = $length;
$context['loop']['length'] = $length;
$context['loop']['last'] = 1 === $length;
}
foreach ($context['_seq'] as $context["_key"] => $context["t"]) {
// line 1651
yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<tr>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<table class=\"table table_no_padding m_b_none b_none font_12\">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<tr><td><b>Stato</b>: ";
// line 1654
yield CoreExtension::getAttribute($this->env, $this->source, $context["t"], "displayStatus", ["string", (isset($context["settingProcessedActive"]) || array_key_exists("settingProcessedActive", $context) ? $context["settingProcessedActive"] : (function () { throw new RuntimeError('Variable "settingProcessedActive" does not exist.', 1654, $this->source); })())], "method", false, false, false, 1654);
yield "</td></tr>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<tr><td><b>N°</b>: ";
// line 1655
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["t"], "number", [], "any", false, false, false, 1655), "html", null, true);
yield "</td></tr>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<tr><td><b>Indirizzo</b>: ";
// line 1656
yield from $this->loadTemplate("components/twig/display_address.html.twig", "role/user/index.html.twig", 1656)->unwrap()->yield(CoreExtension::merge($context, ["type" => "ticket", "obj" => $context["t"]]));
yield "</td></tr>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<tr><td><b>Cliente</b>: ";
// line 1657
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["t"], "client", [], "any", false, false, false, 1657), "html", null, true);
yield "</td></tr>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<tr><td><b>Cliente - Indirizzo</b>: ";
// line 1658
if ((CoreExtension::getAttribute($this->env, $this->source, $context["t"], "client", [], "any", false, false, false, 1658) != null)) {
yield from $this->loadTemplate("components/twig/display_address.html.twig", "role/user/index.html.twig", 1658)->unwrap()->yield(CoreExtension::merge($context, ["type" => "client", "obj" => CoreExtension::getAttribute($this->env, $this->source, $context["t"], "client", [], "any", false, false, false, 1658)]));
} else {
yield "---";
}
yield "</td></tr>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<tr><td><b>Operazione</b>: ";
// line 1659
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["t"], "operation", [], "any", false, false, false, 1659), "html", null, true);
yield "</td></tr>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<tr><td><b>Fornitore</b>: ";
// line 1660
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["t"], "supplier", [], "any", false, false, false, 1660), "html", null, true);
yield "</td></tr>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<tr><td><b>Ricezione</b>: ";
// line 1661
if ((CoreExtension::getAttribute($this->env, $this->source, $context["t"], "datetimeStart", [], "any", false, false, false, 1661) != null)) {
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Twig\Extension\CoreExtension']->formatDate(CoreExtension::getAttribute($this->env, $this->source, $context["t"], "datetimeStart", [], "any", false, false, false, 1661), "d-m-Y H:i"), "html", null, true);
} else {
yield "---";
}
yield "</td></tr>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<tr><td><b>Scadenza</b>: ";
// line 1662
if ((CoreExtension::getAttribute($this->env, $this->source, $context["t"], "datetimeExpiration", [], "any", false, false, false, 1662) != null)) {
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Twig\Extension\CoreExtension']->formatDate(CoreExtension::getAttribute($this->env, $this->source, $context["t"], "datetimeExpiration", [], "any", false, false, false, 1662), "d-m-Y H:i"), "html", null, true);
} else {
yield "---";
}
yield "</td></tr>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</table>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</td>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td class=\"td_action\"><a href=\"";
// line 1665
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("user_ticket_sheet", ["ticketId" => CoreExtension::getAttribute($this->env, $this->source, $context["t"], "id", [], "any", false, false, false, 1665)]), "html", null, true);
yield "\" data-bs-toggle=\"tooltip\" title=\"Vai alla scheda\"><img class=\"icon_pr\" src=\"";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl((isset($context["icon_sheet"]) || array_key_exists("icon_sheet", $context) ? $context["icon_sheet"] : (function () { throw new RuntimeError('Variable "icon_sheet" does not exist.', 1665, $this->source); })())), "html", null, true);
yield "\"></a></td>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</tr>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
++$context['loop']['index0'];
++$context['loop']['index'];
$context['loop']['first'] = false;
if (isset($context['loop']['length'])) {
--$context['loop']['revindex0'];
--$context['loop']['revindex'];
$context['loop']['last'] = 0 === $context['loop']['revindex0'];
}
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['t'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 1668
yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</tbody>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t</table>
\t\t\t\t\t\t\t\t\t\t\t\t\t";
} else {
// line 1671
yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"style-msg successmsg m_b_none\">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"sb-msg font_12\"><i class=\"icon-thumbs-up\"></i><strong>Complimenti!</strong> Nessun ticket da prendere in carico!</div>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t\t\t\t\t";
}
// line 1675
yield "\t\t\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t\t\t\t";
// line 1677
yield "\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"tab-content clearfix\" id=\"reminders\">
\t\t\t\t\t\t\t\t\t\t\t\t\t<h4 class=\"form_title\">Promemoria</h4>
\t\t\t\t\t\t\t\t\t\t\t\t\t<hr class=\"m_t_none\">
\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"overflow_a\">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
// line 1681
if ((Twig\Extension\CoreExtension::length($this->env->getCharset(), (isset($context["ticketReminders"]) || array_key_exists("ticketReminders", $context) ? $context["ticketReminders"] : (function () { throw new RuntimeError('Variable "ticketReminders" does not exist.', 1681, $this->source); })())) > 0)) {
// line 1682
yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<table class=\"table table-sm responsive_font_size\">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<thead>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<tr>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<th class=\"td_w_150p\">Data/Ora</th>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<th>Dettagli</th>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<th></th>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</tr>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</thead>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<tbody>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
// line 1691
$context['_parent'] = $context;
$context['_seq'] = CoreExtension::ensureTraversable((isset($context["ticketReminders"]) || array_key_exists("ticketReminders", $context) ? $context["ticketReminders"] : (function () { throw new RuntimeError('Variable "ticketReminders" does not exist.', 1691, $this->source); })()));
foreach ($context['_seq'] as $context["_key"] => $context["r"]) {
// line 1692
yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<tr ";
if (($this->extensions['Twig\Extension\CoreExtension']->formatDate(CoreExtension::getAttribute($this->env, $this->source, $context["r"], "datetime", [], "any", false, false, false, 1692), "YmdHi") < $this->extensions['Twig\Extension\CoreExtension']->formatDate("now", "YmdHi"))) {
yield "class=\"bg_r_h\"";
}
yield ">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td>";
// line 1693
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Twig\Extension\CoreExtension']->formatDate(CoreExtension::getAttribute($this->env, $this->source, $context["r"], "datetime", [], "any", false, false, false, 1693), "d-m-Y H:i"), "html", null, true);
yield "</td>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td>";
// line 1694
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["r"], "details", [], "any", false, false, false, 1694), "html", null, true);
yield "</td>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td class=\"td_action\"><a href=\"";
// line 1695
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("user_ticket_sheet", ["ticketId" => CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, $context["r"], "ticket", [], "any", false, false, false, 1695), "id", [], "any", false, false, false, 1695)]), "html", null, true);
yield "\" data-bs-toggle=\"tooltip\" title=\"Vai alla scheda\"><img class=\"icon_pr\" src=\"";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl((isset($context["icon_sheet"]) || array_key_exists("icon_sheet", $context) ? $context["icon_sheet"] : (function () { throw new RuntimeError('Variable "icon_sheet" does not exist.', 1695, $this->source); })())), "html", null, true);
yield "\"></a></td>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</tr>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['r'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 1698
yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</tbody>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</table>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
} else {
// line 1701
yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"style-msg successmsg m_b_none\">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"sb-msg\"><i class=\"icon-thumbs-up\"></i><strong>Complimenti!</strong> Nessun promemoria presente!</div>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
}
// line 1705
yield "\t\t\t\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t";
// line 1713
yield "\t\t\t\t\t\t\t<div class=\"tab-content clearfix\" id=\"warehouse\">
\t\t\t\t\t\t\t\t<div class=\"row\">
\t\t\t\t\t\t\t\t\t<div class=\"col-12 overflow_a\">
\t\t\t\t\t\t\t\t\t\t";
// line 1716
if ((Twig\Extension\CoreExtension::length($this->env->getCharset(), (isset($context["warehousesTransfers"]) || array_key_exists("warehousesTransfers", $context) ? $context["warehousesTransfers"] : (function () { throw new RuntimeError('Variable "warehousesTransfers" does not exist.', 1716, $this->source); })())) == 1)) {
// line 1717
yield "\t\t\t\t\t\t\t\t\t\t\t";
$context['_parent'] = $context;
$context['_seq'] = CoreExtension::ensureTraversable((isset($context["warehousesTransfers"]) || array_key_exists("warehousesTransfers", $context) ? $context["warehousesTransfers"] : (function () { throw new RuntimeError('Variable "warehousesTransfers" does not exist.', 1717, $this->source); })()));
foreach ($context['_seq'] as $context["_key"] => $context["wt"]) {
// line 1718
yield "\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"row\">
\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"col-12\">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t<h4 class=\"form_title\">";
// line 1720
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["wt"], 1, [], "array", false, false, false, 1720), "html", null, true);
yield "</h4>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t<hr class=\"m_t_none\">
\t\t\t\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"col-12 col-lg-4 m_b_20p\">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t<h5 class=\"form_title\">Trasferimenti in entrata non completati</h5>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t<hr class=\"m_t_none m_b_5p\">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
// line 1726
if ((Twig\Extension\CoreExtension::length($this->env->getCharset(), CoreExtension::getAttribute($this->env, $this->source, $context["wt"], 2, [], "array", false, false, false, 1726)) > 0)) {
// line 1727
yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<table class=\"table table-sm font_12\">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<tbody>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
// line 1729
$context['_parent'] = $context;
$context['_seq'] = CoreExtension::ensureTraversable(CoreExtension::getAttribute($this->env, $this->source, $context["wt"], 2, [], "array", false, false, false, 1729));
foreach ($context['_seq'] as $context["_key"] => $context["pt"]) {
// line 1730
yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<tr>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<table class=\"table table_no_padding m_b_none b_none font_12\">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<tr><td><b>Fase</b>: ";
// line 1733
yield CoreExtension::getAttribute($this->env, $this->source, $context["pt"], "displayPhase", ["string"], "method", false, false, false, 1733);
yield "</td></tr>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<tr><td><b>Magazzino provenienza</b>: ";
// line 1734
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["pt"], "warehouseFrom", [], "any", false, false, false, 1734), "html", null, true);
yield "</td></tr>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<tr><td><b>Fornitore</b>: ";
// line 1735
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["pt"], "supplier", [], "any", false, false, false, 1735), "html", null, true);
yield "</td></tr>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<tr><td><b>Data creazione</b>: ";
// line 1736
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Twig\Extension\CoreExtension']->formatDate(CoreExtension::getAttribute($this->env, $this->source, $context["pt"], "datetimeCreation", [], "any", false, false, false, 1736), "d-m-Y H:i"), "html", null, true);
yield "</td></tr>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<tr><td><b>Data invio</b>: ";
// line 1737
if ((CoreExtension::getAttribute($this->env, $this->source, $context["pt"], "datetimeSend", [], "any", false, false, false, 1737) != null)) {
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Twig\Extension\CoreExtension']->formatDate(CoreExtension::getAttribute($this->env, $this->source, $context["pt"], "datetimeSend", [], "any", false, false, false, 1737), "d-m-Y H:i"), "html", null, true);
} else {
yield "---";
}
yield "</td></tr>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<tr><td><b>Data completamento</b>: ";
// line 1738
if (CoreExtension::getAttribute($this->env, $this->source, $context["pt"], "datetimeCompletion", [], "any", false, false, false, 1738)) {
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Twig\Extension\CoreExtension']->formatDate(CoreExtension::getAttribute($this->env, $this->source, $context["pt"], "datetimeCompletion", [], "any", false, false, false, 1738), "d-m-Y H:i"), "html", null, true);
} else {
yield "---";
}
yield "</td></tr>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</table>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</td>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td class=\"td_action\"><a href=\"";
// line 1741
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("user_warehouse_transfer_sheet", ["warehouseId" => CoreExtension::getAttribute($this->env, $this->source, $context["wt"], 0, [], "array", false, false, false, 1741), "transferId" => CoreExtension::getAttribute($this->env, $this->source, $context["pt"], "id", [], "any", false, false, false, 1741)]), "html", null, true);
yield "\" data-bs-toggle=\"tooltip\" title=\"Vai alla scheda trasferimento\"><img class=\"icon_pr\" src=\"";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl((isset($context["icon_sheet"]) || array_key_exists("icon_sheet", $context) ? $context["icon_sheet"] : (function () { throw new RuntimeError('Variable "icon_sheet" does not exist.', 1741, $this->source); })())), "html", null, true);
yield "\"></a></td>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</tr>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['pt'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 1744
yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</tbody>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</table>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
} else {
// line 1747
yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"style-msg successmsg m_b_none\">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"sb-msg font_12\"><i class=\"icon-thumbs-up\"></i><strong>Complimenti!</strong> Nessun trasferimento in entrata!</div>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
}
// line 1751
yield "\t\t\t\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"col-12 col-lg-4 m_b_20p\">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t<h5 class=\"form_title\">Trasferimenti in uscita non completati</h5>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t<hr class=\"m_t_none m_b_5p\">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
// line 1755
if ((Twig\Extension\CoreExtension::length($this->env->getCharset(), CoreExtension::getAttribute($this->env, $this->source, $context["wt"], 3, [], "array", false, false, false, 1755)) > 0)) {
// line 1756
yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<table class=\"table table-sm font_12\">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<tbody>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
// line 1758
$context['_parent'] = $context;
$context['_seq'] = CoreExtension::ensureTraversable(CoreExtension::getAttribute($this->env, $this->source, $context["wt"], 3, [], "array", false, false, false, 1758));
foreach ($context['_seq'] as $context["_key"] => $context["pt"]) {
// line 1759
yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<tr>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<table class=\"table table_no_padding m_b_none b_none font_12\">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<tr><td><b>Fase</b>: ";
// line 1762
yield CoreExtension::getAttribute($this->env, $this->source, $context["pt"], "displayPhase", ["string"], "method", false, false, false, 1762);
yield "</td></tr>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<tr><td><b>Magazzino provenienza</b>: ";
// line 1763
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["pt"], "warehouseFrom", [], "any", false, false, false, 1763), "html", null, true);
yield "</td></tr>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<tr><td><b>Fornitore</b>: ";
// line 1764
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["pt"], "supplier", [], "any", false, false, false, 1764), "html", null, true);
yield "</td></tr>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<tr><td><b>Data creazione</b>: ";
// line 1765
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Twig\Extension\CoreExtension']->formatDate(CoreExtension::getAttribute($this->env, $this->source, $context["pt"], "datetimeCreation", [], "any", false, false, false, 1765), "d-m-Y H:i"), "html", null, true);
yield "</td></tr>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<tr><td><b>Data invio</b>: ";
// line 1766
if ((CoreExtension::getAttribute($this->env, $this->source, $context["pt"], "datetimeSend", [], "any", false, false, false, 1766) != null)) {
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Twig\Extension\CoreExtension']->formatDate(CoreExtension::getAttribute($this->env, $this->source, $context["pt"], "datetimeSend", [], "any", false, false, false, 1766), "d-m-Y H:i"), "html", null, true);
} else {
yield "---";
}
yield "</td></tr>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<tr><td><b>Data completamento</b>: ";
// line 1767
if (CoreExtension::getAttribute($this->env, $this->source, $context["pt"], "datetimeCompletion", [], "any", false, false, false, 1767)) {
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Twig\Extension\CoreExtension']->formatDate(CoreExtension::getAttribute($this->env, $this->source, $context["pt"], "datetimeCompletion", [], "any", false, false, false, 1767), "d-m-Y H:i"), "html", null, true);
} else {
yield "---";
}
yield "</td></tr>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</table>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</td>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td class=\"td_action\"><a href=\"";
// line 1770
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("user_warehouse_transfer_sheet", ["warehouseId" => CoreExtension::getAttribute($this->env, $this->source, $context["wt"], 0, [], "array", false, false, false, 1770), "transferId" => CoreExtension::getAttribute($this->env, $this->source, $context["pt"], "id", [], "any", false, false, false, 1770)]), "html", null, true);
yield "\" data-bs-toggle=\"tooltip\" title=\"Vai alla scheda trasferimento\"><img class=\"icon_pr\" src=\"";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl((isset($context["icon_sheet"]) || array_key_exists("icon_sheet", $context) ? $context["icon_sheet"] : (function () { throw new RuntimeError('Variable "icon_sheet" does not exist.', 1770, $this->source); })())), "html", null, true);
yield "\"></a></td>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</tr>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['pt'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 1773
yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</tbody>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</table>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
} else {
// line 1776
yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"style-msg successmsg m_b_none\">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"sb-msg font_12\"><i class=\"icon-thumbs-up\"></i><strong>Complimenti!</strong> Nessun trasferimento in uscita!</div>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
}
// line 1780
yield "\t\t\t\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"col-12 col-lg-4\">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t<h5 class=\"form_title\">Trasferimenti senza DDT firmato</h5>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t<hr class=\"m_t_none m_b_5p\">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
// line 1784
if ((Twig\Extension\CoreExtension::length($this->env->getCharset(), CoreExtension::getAttribute($this->env, $this->source, $context["wt"], 4, [], "array", false, false, false, 1784)) > 0)) {
// line 1785
yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<table class=\"table table-sm font_12\">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<tbody>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
// line 1787
$context['_parent'] = $context;
$context['_seq'] = CoreExtension::ensureTraversable(CoreExtension::getAttribute($this->env, $this->source, $context["wt"], 4, [], "array", false, false, false, 1787));
foreach ($context['_seq'] as $context["_key"] => $context["pt"]) {
// line 1788
yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<tr>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<table class=\"table table_no_padding m_b_none b_none font_12\">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<tr><td><b>Fase</b>: ";
// line 1791
yield CoreExtension::getAttribute($this->env, $this->source, $context["pt"], "displayPhase", ["string"], "method", false, false, false, 1791);
yield "</td></tr>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<tr><td><b>Fase DDT</b>: ";
// line 1792
yield CoreExtension::getAttribute($this->env, $this->source, $context["pt"], "displayPhaseDdt", ["string"], "method", false, false, false, 1792);
yield "</td></tr>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<tr><td><b>Magazzino provenienza</b>: ";
// line 1793
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["pt"], "warehouseFrom", [], "any", false, false, false, 1793), "html", null, true);
yield "</td></tr>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<tr><td><b>Magazzino destinazione</b>: ";
// line 1794
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["pt"], "warehouseTo", [], "any", false, false, false, 1794), "html", null, true);
yield "</td></tr>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<tr><td><b>Fornitore</b>: ";
// line 1795
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["pt"], "supplier", [], "any", false, false, false, 1795), "html", null, true);
yield "</td></tr>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<tr><td><b>Data creazione</b>: ";
// line 1796
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Twig\Extension\CoreExtension']->formatDate(CoreExtension::getAttribute($this->env, $this->source, $context["pt"], "datetimeCreation", [], "any", false, false, false, 1796), "d-m-Y H:i"), "html", null, true);
yield "</td></tr>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<tr><td><b>Data invio</b>: ";
// line 1797
if ((CoreExtension::getAttribute($this->env, $this->source, $context["pt"], "datetimeSend", [], "any", false, false, false, 1797) != null)) {
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Twig\Extension\CoreExtension']->formatDate(CoreExtension::getAttribute($this->env, $this->source, $context["pt"], "datetimeSend", [], "any", false, false, false, 1797), "d-m-Y H:i"), "html", null, true);
} else {
yield "---";
}
yield "</td></tr>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<tr><td><b>Data completamento</b>: ";
// line 1798
if (CoreExtension::getAttribute($this->env, $this->source, $context["pt"], "datetimeCompletion", [], "any", false, false, false, 1798)) {
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Twig\Extension\CoreExtension']->formatDate(CoreExtension::getAttribute($this->env, $this->source, $context["pt"], "datetimeCompletion", [], "any", false, false, false, 1798), "d-m-Y H:i"), "html", null, true);
} else {
yield "---";
}
yield "</td></tr>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</table>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</td>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td class=\"td_action\"><a href=\"";
// line 1801
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("user_warehouse_transfer_sheet", ["warehouseId" => CoreExtension::getAttribute($this->env, $this->source, $context["wt"], 0, [], "array", false, false, false, 1801), "transferId" => CoreExtension::getAttribute($this->env, $this->source, $context["pt"], "id", [], "any", false, false, false, 1801)]), "html", null, true);
yield "\" data-bs-toggle=\"tooltip\" title=\"Vai alla scheda trasferimento\"><img class=\"icon_pr\" src=\"";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl((isset($context["icon_sheet"]) || array_key_exists("icon_sheet", $context) ? $context["icon_sheet"] : (function () { throw new RuntimeError('Variable "icon_sheet" does not exist.', 1801, $this->source); })())), "html", null, true);
yield "\"></a></td>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</tr>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['pt'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 1804
yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</tbody>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</table>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
} else {
// line 1807
yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"style-msg successmsg m_b_none\">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"sb-msg font_12\"><i class=\"icon-thumbs-up\"></i><strong>Complimenti!</strong> Nessun trasferimento in uscita!</div>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
}
// line 1811
yield "\t\t\t\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t\t\t";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['wt'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 1814
yield "\t\t\t\t\t\t\t\t\t\t";
} else {
// line 1815
yield "\t\t\t\t\t\t\t\t\t\t\t<div class=\"tabs side-tabs clearfix m_b_none\">
\t\t\t\t\t\t\t\t\t\t\t\t<ul class=\"tab-nav tab-nav2 clearfix\">
\t\t\t\t\t\t\t\t\t\t\t\t\t";
// line 1817
$context['_parent'] = $context;
$context['_seq'] = CoreExtension::ensureTraversable((isset($context["warehousesTransfers"]) || array_key_exists("warehousesTransfers", $context) ? $context["warehousesTransfers"] : (function () { throw new RuntimeError('Variable "warehousesTransfers" does not exist.', 1817, $this->source); })()));
foreach ($context['_seq'] as $context["_key"] => $context["wt"]) {
// line 1818
yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t<li><a id=\"btn_tab_wt_";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["wt"], 0, [], "array", false, false, false, 1818), "html", null, true);
yield "\" href=\"#wt_";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["wt"], 0, [], "array", false, false, false, 1818), "html", null, true);
yield "\" class=\"tab_session2\" data-filterTab=\"wt_";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["wt"], 0, [], "array", false, false, false, 1818), "html", null, true);
yield "\"><i class=\"icon-warehouse d-block d-md-none\" data-bs-toggle=\"tooltip\" title=\"";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["wt"], 1, [], "array", false, false, false, 1818), "html", null, true);
yield "\"></i><span class=\"d-none d-md-block font_12\">";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["wt"], 1, [], "array", false, false, false, 1818), "html", null, true);
yield "</span></a></li>
\t\t\t\t\t\t\t\t\t\t\t\t\t";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['wt'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 1820
yield "\t\t\t\t\t\t\t\t\t\t\t\t</ul>
\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"tab-container\">
\t\t\t\t\t\t\t\t\t\t\t\t\t";
// line 1823
yield "\t\t\t\t\t\t\t\t\t\t\t\t\t";
$context['_parent'] = $context;
$context['_seq'] = CoreExtension::ensureTraversable((isset($context["warehousesTransfers"]) || array_key_exists("warehousesTransfers", $context) ? $context["warehousesTransfers"] : (function () { throw new RuntimeError('Variable "warehousesTransfers" does not exist.', 1823, $this->source); })()));
foreach ($context['_seq'] as $context["_key"] => $context["wt"]) {
// line 1824
yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"tab-content clearfix\" id=\"wt_";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["wt"], 0, [], "array", false, false, false, 1824), "html", null, true);
yield "\">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"row\">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"col-12\">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<h4 class=\"form_title\">";
// line 1827
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["wt"], 1, [], "array", false, false, false, 1827), "html", null, true);
yield "</h4>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<hr class=\"m_t_none\">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"col-12 col-lg-4 m_b_20p\">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<h5 class=\"form_title\">Trasferimenti in entrata non completati</h5>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<hr class=\"m_t_none\">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
// line 1833
if ((Twig\Extension\CoreExtension::length($this->env->getCharset(), CoreExtension::getAttribute($this->env, $this->source, $context["wt"], 2, [], "array", false, false, false, 1833)) > 0)) {
// line 1834
yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<table class=\"table table-sm font_12\">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<thead>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<tr>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<th class=\"txt_a_c\">Fase</th>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<th>Magazzino provenienza</th>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<th>Fornitore</th>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<th>Data creazione</th>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<th>Data invio</th>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<th>Data completamento</th>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<th></th>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</tr>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</thead>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<tbody>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
// line 1847
$context['_parent'] = $context;
$context['_seq'] = CoreExtension::ensureTraversable(CoreExtension::getAttribute($this->env, $this->source, $context["wt"], 2, [], "array", false, false, false, 1847));
foreach ($context['_seq'] as $context["_key"] => $context["pt"]) {
// line 1848
yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<tr>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td class=\"txt_a_c\">";
// line 1849
yield CoreExtension::getAttribute($this->env, $this->source, $context["pt"], "displayPhase", ["icon"], "method", false, false, false, 1849);
yield "</td>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td>";
// line 1850
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["pt"], "warehouseFrom", [], "any", false, false, false, 1850), "html", null, true);
yield "</td>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td>";
// line 1851
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["pt"], "supplier", [], "any", false, false, false, 1851), "html", null, true);
yield "</td>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td>";
// line 1852
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Twig\Extension\CoreExtension']->formatDate(CoreExtension::getAttribute($this->env, $this->source, $context["pt"], "datetimeCreation", [], "any", false, false, false, 1852), "d-m-Y H:i"), "html", null, true);
yield "</td>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td>";
// line 1853
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Twig\Extension\CoreExtension']->formatDate(CoreExtension::getAttribute($this->env, $this->source, $context["pt"], "datetimeSend", [], "any", false, false, false, 1853), "d-m-Y H:i"), "html", null, true);
yield "</td>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td>";
// line 1854
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Twig\Extension\CoreExtension']->formatDate(CoreExtension::getAttribute($this->env, $this->source, $context["pt"], "datetimeCompletion", [], "any", false, false, false, 1854), "d-m-Y H:i"), "html", null, true);
yield "</td>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td class=\"td_action\"><a href=\"";
// line 1855
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("user_warehouse_transfer_sheet", ["warehouseId" => CoreExtension::getAttribute($this->env, $this->source, $context["wt"], 0, [], "array", false, false, false, 1855), "transferId" => CoreExtension::getAttribute($this->env, $this->source, $context["pt"], "id", [], "any", false, false, false, 1855)]), "html", null, true);
yield "\" data-bs-toggle=\"tooltip\" title=\"Vai alla scheda trasferimento\"><img class=\"icon_pr\" src=\"";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl((isset($context["icon_sheet"]) || array_key_exists("icon_sheet", $context) ? $context["icon_sheet"] : (function () { throw new RuntimeError('Variable "icon_sheet" does not exist.', 1855, $this->source); })())), "html", null, true);
yield "\"></a></td>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</tr>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['pt'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 1858
yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</tbody>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</table>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
} else {
// line 1861
yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"style-msg successmsg m_b_none\">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"sb-msg font_12\"><i class=\"icon-thumbs-up\"></i><strong>Complimenti!</strong> Nessun trasferimento in entrata non completato!</div>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
}
// line 1865
yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"col-12 col-lg-4 m_b_20p\">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<h5 class=\"form_title\">Trasferimenti in uscita non completati</h5>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<hr class=\"m_t_none\">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
// line 1869
if ((Twig\Extension\CoreExtension::length($this->env->getCharset(), CoreExtension::getAttribute($this->env, $this->source, $context["wt"], 3, [], "array", false, false, false, 1869)) > 0)) {
// line 1870
yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<table class=\"table table-sm font_12\">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<thead>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<tr>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<th class=\"txt_a_c\">Fase</th>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<th>Magazzino destinazione</th>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<th>Fornitore</th>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<th>Data creazione</th>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<th>Data invio</th>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<th>Data completamento</th>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<th></th>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</tr>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</thead>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<tbody>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
// line 1883
$context['_parent'] = $context;
$context['_seq'] = CoreExtension::ensureTraversable(CoreExtension::getAttribute($this->env, $this->source, $context["wt"], 3, [], "array", false, false, false, 1883));
foreach ($context['_seq'] as $context["_key"] => $context["pt"]) {
// line 1884
yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<tr>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td class=\"txt_a_c\">";
// line 1885
yield CoreExtension::getAttribute($this->env, $this->source, $context["pt"], "displayPhase", ["icon"], "method", false, false, false, 1885);
yield "</td>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td>";
// line 1886
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["pt"], "warehouseTo", [], "any", false, false, false, 1886), "html", null, true);
yield "</td>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td>";
// line 1887
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["pt"], "supplier", [], "any", false, false, false, 1887), "html", null, true);
yield "</td>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td>";
// line 1888
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Twig\Extension\CoreExtension']->formatDate(CoreExtension::getAttribute($this->env, $this->source, $context["pt"], "datetimeCreation", [], "any", false, false, false, 1888), "d-m-Y H:i"), "html", null, true);
yield "</td>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td>";
// line 1889
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Twig\Extension\CoreExtension']->formatDate(CoreExtension::getAttribute($this->env, $this->source, $context["pt"], "datetimeSend", [], "any", false, false, false, 1889), "d-m-Y H:i"), "html", null, true);
yield "</td>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td>";
// line 1890
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Twig\Extension\CoreExtension']->formatDate(CoreExtension::getAttribute($this->env, $this->source, $context["pt"], "datetimeCompletion", [], "any", false, false, false, 1890), "d-m-Y H:i"), "html", null, true);
yield "</td>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td class=\"td_action\"><a href=\"";
// line 1891
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("user_warehouse_transfer_sheet", ["warehouseId" => CoreExtension::getAttribute($this->env, $this->source, $context["wt"], 0, [], "array", false, false, false, 1891), "transferId" => CoreExtension::getAttribute($this->env, $this->source, $context["pt"], "id", [], "any", false, false, false, 1891)]), "html", null, true);
yield "\" data-bs-toggle=\"tooltip\" title=\"Vai alla scheda trasferimento\"><img class=\"icon_pr\" src=\"";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl((isset($context["icon_sheet"]) || array_key_exists("icon_sheet", $context) ? $context["icon_sheet"] : (function () { throw new RuntimeError('Variable "icon_sheet" does not exist.', 1891, $this->source); })())), "html", null, true);
yield "\"></a></td>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</tr>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['pt'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 1894
yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</tbody>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</table>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
} else {
// line 1897
yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"style-msg successmsg m_b_none\">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"sb-msg font_12\"><i class=\"icon-thumbs-up\"></i><strong>Complimenti!</strong> Nessun trasferimento in uscita non completato!</div>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
}
// line 1901
yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"col-12 col-lg-4\">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<h5 class=\"form_title\">Trasferimenti senza DDT firmato</h5>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<hr class=\"m_t_none m_b_5p\">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
// line 1905
if ((Twig\Extension\CoreExtension::length($this->env->getCharset(), CoreExtension::getAttribute($this->env, $this->source, $context["wt"], 4, [], "array", false, false, false, 1905)) > 0)) {
// line 1906
yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<table class=\"table table-sm font_12\">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<tbody>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
// line 1908
$context['_parent'] = $context;
$context['_seq'] = CoreExtension::ensureTraversable(CoreExtension::getAttribute($this->env, $this->source, $context["wt"], 4, [], "array", false, false, false, 1908));
foreach ($context['_seq'] as $context["_key"] => $context["pt"]) {
// line 1909
yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<tr>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<table class=\"table table_no_padding m_b_none b_none font_12\">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<tr><td><b>Fase</b>: ";
// line 1912
yield CoreExtension::getAttribute($this->env, $this->source, $context["pt"], "displayPhase", ["string"], "method", false, false, false, 1912);
yield "</td></tr>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<tr><td><b>Fase DDT</b>: ";
// line 1913
yield CoreExtension::getAttribute($this->env, $this->source, $context["pt"], "displayPhaseDdt", ["string"], "method", false, false, false, 1913);
yield "</td></tr>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<tr><td><b>Magazzino provenienza</b>: ";
// line 1914
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["pt"], "warehouseFrom", [], "any", false, false, false, 1914), "html", null, true);
yield "</td></tr>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<tr><td><b>Magazzino destinazione</b>: ";
// line 1915
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["pt"], "warehouseTo", [], "any", false, false, false, 1915), "html", null, true);
yield "</td></tr>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<tr><td><b>Fornitore</b>: ";
// line 1916
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["pt"], "supplier", [], "any", false, false, false, 1916), "html", null, true);
yield "</td></tr>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<tr><td><b>Data creazione</b>: ";
// line 1917
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Twig\Extension\CoreExtension']->formatDate(CoreExtension::getAttribute($this->env, $this->source, $context["pt"], "datetimeCreation", [], "any", false, false, false, 1917), "d-m-Y H:i"), "html", null, true);
yield "</td></tr>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<tr><td><b>Data invio</b>: ";
// line 1918
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Twig\Extension\CoreExtension']->formatDate(CoreExtension::getAttribute($this->env, $this->source, $context["pt"], "datetimeSend", [], "any", false, false, false, 1918), "d-m-Y H:i"), "html", null, true);
yield "</td></tr>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<tr><td><b>Data completamento</b>: ";
// line 1919
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Twig\Extension\CoreExtension']->formatDate(CoreExtension::getAttribute($this->env, $this->source, $context["pt"], "datetimeCompletion", [], "any", false, false, false, 1919), "d-m-Y H:i"), "html", null, true);
yield "</td></tr>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</table>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</td>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td class=\"td_action\"><a href=\"";
// line 1922
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("user_warehouse_transfer_sheet", ["warehouseId" => CoreExtension::getAttribute($this->env, $this->source, $context["wt"], 0, [], "array", false, false, false, 1922), "transferId" => CoreExtension::getAttribute($this->env, $this->source, $context["pt"], "id", [], "any", false, false, false, 1922)]), "html", null, true);
yield "\" data-bs-toggle=\"tooltip\" title=\"Vai alla scheda trasferimento\"><img class=\"icon_pr\" src=\"";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl((isset($context["icon_sheet"]) || array_key_exists("icon_sheet", $context) ? $context["icon_sheet"] : (function () { throw new RuntimeError('Variable "icon_sheet" does not exist.', 1922, $this->source); })())), "html", null, true);
yield "\"></a></td>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</tr>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['pt'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 1925
yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</tbody>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</table>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
} else {
// line 1928
yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"style-msg successmsg m_b_none\">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"sb-msg font_12\"><i class=\"icon-thumbs-up\"></i><strong>Complimenti!</strong> Nessun trasferimento in uscita!</div>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
}
// line 1932
yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t\t\t\t\t";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['wt'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 1937
yield "\t\t\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t\t";
}
// line 1940
yield "\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t";
// line 1944
yield "\t\t\t\t\t\t\t";
if (CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 1944, $this->source); })()), "user", [], "any", false, false, false, 1944), "canRead", ["desk_search"], "method", false, false, false, 1944)) {
// line 1945
yield "\t\t\t\t\t\t\t\t<div class=\"tab-content clearfix\" id=\"search\">
\t\t\t\t\t\t\t\t\t<form action=\"";
// line 1946
yield $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("user_search_redirect");
yield "\" method=\"post\" id=\"form_search\">
\t\t\t\t\t\t\t\t\t\t<div class=\"row\">
\t\t\t\t\t\t\t\t\t\t\t<div class=\"col-12 col-md-6 m_b_20p\">
\t\t\t\t\t\t\t\t\t\t\t\t<h4 class=\"form_title\">Ricerca cliente</h4>
\t\t\t\t\t\t\t\t\t\t\t\t<hr class=\"m_t_none\">
\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"form-group\">
\t\t\t\t\t\t\t\t\t\t\t\t\t<label class=\"form_label m_b_none\">Insegna</label>
\t\t\t\t\t\t\t\t\t\t\t\t\t<input type=\"text\" class=\"form-control\" name=\"clientNickname\">
\t\t\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"form-group\">
\t\t\t\t\t\t\t\t\t\t\t\t\t<label class=\"form_label m_b_none\">Numero di telefono</label>
\t\t\t\t\t\t\t\t\t\t\t\t\t<input type=\"text\" class=\"form-control\" name=\"clientPhone\">
\t\t\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"txt_a_c\">
\t\t\t\t\t\t\t\t\t\t\t\t\t<a href=\"javascript: submitTechnicianSearch('client')\" class=\"button button-3d button-small button-rounded button-green\">Cerca</a>
\t\t\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t\t\t<div class=\"col-12 col-md-6 m_b_20p\">
\t\t\t\t\t\t\t\t\t\t\t\t<h4 class=\"form_title\">Ricerca ticket</h4>
\t\t\t\t\t\t\t\t\t\t\t\t<hr class=\"m_t_none\">
\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"form-group\">
\t\t\t\t\t\t\t\t\t\t\t\t\t<label class=\"form_label m_b_none\">Numero ticket o termid</label>
\t\t\t\t\t\t\t\t\t\t\t\t\t<input type=\"text\" class=\"form-control\" name=\"number\">
\t\t\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"txt_a_c\">
\t\t\t\t\t\t\t\t\t\t\t\t\t<a href=\"javascript: submitTechnicianSearch('ticket')\" class=\"button button-3d button-small button-rounded button-green\">Cerca</a>
\t\t\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t\t\t<div class=\"col-12 col-md-6\">
\t\t\t\t\t\t\t\t\t\t\t\t<h4 class=\"form_title\">Ricerca prodotto</h4>
\t\t\t\t\t\t\t\t\t\t\t\t<hr class=\"m_t_none\">
\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"form-group\">
\t\t\t\t\t\t\t\t\t\t\t\t\t<label class=\"form_label m_b_none\">Matricola produttore</label>
\t\t\t\t\t\t\t\t\t\t\t\t\t<input type=\"text\" class=\"form-control\" name=\"codeProducer\">
\t\t\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"form-group\">
\t\t\t\t\t\t\t\t\t\t\t\t\t<label class=\"form_label m_b_none\">Matricola fornitore</label>
\t\t\t\t\t\t\t\t\t\t\t\t\t<input type=\"text\" class=\"form-control\" name=\"codeSupplier\">
\t\t\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"txt_a_c\">
\t\t\t\t\t\t\t\t\t\t\t\t\t<a href=\"javascript: submitTechnicianSearch('product')\" class=\"button button-3d button-small button-rounded button-green\">Cerca</a>
\t\t\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t\t<input type=\"hidden\" id=\"search_type\" name=\"type\">
\t\t\t\t\t\t\t\t\t</form>
\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t";
}
// line 1994
yield "\t\t\t\t\t\t</div>
\t\t\t\t\t</div>
\t\t\t\t</div>
\t\t\t</div>
\t\t";
}
// line 1999
yield "\t</section>
\t";
// line 2001
if (((CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 2001, $this->source); })()), "user", [], "any", false, false, false, 2001), "getAccountTypology", [], "any", false, false, false, 2001) == "agency") || (CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 2001, $this->source); })()), "user", [], "any", false, false, false, 2001), "getAccountTypology", [], "any", false, false, false, 2001) == "technician"))) {
// line 2002
yield "\t\t<form action=\"";
yield $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("user_ticket_list_tab");
yield "\" method=\"post\" id=\"formGoToTickets\">
\t\t\t<input type=\"hidden\" id=\"ticketTabOpen\" name=\"ticketTabOpen\">
\t\t\t<input type=\"hidden\" id=\"ticketOperationGroup\" name=\"ticketOperationGroup\">
\t\t\t<input type=\"hidden\" id=\"ticketTechnician\" name=\"ticketTechnician\">
\t\t</form>
\t";
}
// line 2008
yield "\t
\t";
// line 2010
yield "\t<div id=\"modalAlerts\" class=\"modal fade\" tabindex=\"-1\" role=\"dialog\">
\t\t<div class=\"modal-dialog\" role=\"document\" style=\"max-width:98%\">
\t\t\t<div class=\"modal-content\">
\t\t\t\t<div class=\"modal-header\"><h3 class=\"modal-title\">Notifiche</h3></div>
\t\t\t\t<div class=\"modal-body\">
\t\t\t\t</div>
\t\t\t\t<div class=\"modal-footer txt_a_c\">
\t\t\t\t\t<a href=\"javascript:void(0)\" class=\"button button-3d button-mini button-pr\" data-bs-dismiss=\"modal\">Chiudi</a>
\t\t\t\t</div>
\t\t\t</div>
\t\t</div>
\t</div>
\t";
// line 2023
if (((CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 2023, $this->source); })()), "user", [], "any", false, false, false, 2023), "getAccountTypology", [], "any", false, false, false, 2023) != "technician") && CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 2023, $this->source); })()), "user", [], "any", false, false, false, 2023), "canWrite", ["ticket"], "method", false, false, false, 2023))) {
// line 2024
yield "\t\t<div id=\"modalTicketUnlockSuspension\" class=\"modal fade\" tabindex=\"-1\" role=\"dialog\">
\t\t\t<div class=\"modal-dialog\" role=\"document\">
\t\t\t\t<div class=\"modal-content\">
\t\t\t\t\t<div class=\"modal-header\"><h3 class=\"modal-title\">Ticket - Sblocca sospensione materiale</h3></div>
\t\t\t\t\t<div class=\"modal-body\">
\t\t\t\t\t\t<input type=\"hidden\" id=\"ticketUnlockId\">
\t\t\t\t\t\t<div class=\"row\">
\t\t\t\t\t\t\t<div class=\"col-12 txt_a_c\">
\t\t\t\t\t\t\t\t<label class=\"modal_subtitle\">Attenzione!</label>
\t\t\t\t\t\t\t\t<p class=\"modal_paragraph\">Cliccando sul bottone <a class='button button-3d button-mini button-green' href='javascript:void(0)'>conferma</a> sbloccherai il ticket.<br>Si è sicuri di voler proseguire?</p>
\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t</div>
\t\t\t\t\t</div>
\t\t\t\t\t<div class=\"modal-footer\">
\t\t\t\t\t\t<a href=\"javascript:void(0)\" class=\"button button-3d button-mini button-red f_left\" data-bs-dismiss=\"modal\">Annulla</a>
\t\t\t\t\t\t<a href=\"javascript:ticketUnlockSuspensionSubmit()\" class=\"button button-3d button-mini button-green f_right\">Conferma</a>
\t\t\t\t\t</div>
\t\t\t\t</div>
\t\t\t</div>
\t\t</div>
\t";
}
// line 2045
yield "
\t";
// line 2046
if ((CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 2046, $this->source); })()), "user", [], "any", false, false, false, 2046), "getAccountTypology", [], "any", false, false, false, 2046) == "technician")) {
yield "\t
\t\t<div id=\"takeChargeModal\" class=\"modal fade\" tabindex=\"-1\" role=\"dialog\">
\t\t\t<div class=\"modal-dialog\" role=\"document\">
\t\t\t\t<div class=\"modal-content\">
\t\t\t\t\t<form action=\"";
// line 2050
yield $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("user_ticket_take_charge");
yield "\" method=\"post\">
\t\t\t\t\t\t<div class=\"modal-header\"><h3 class=\"modal-title\">Ticket - Prendi in carico</h3></div>
\t\t\t\t\t\t<div class=\"modal-body\">
\t\t\t\t\t\t\t<div class=\"row\">
\t\t\t\t\t\t\t\t<div class=\"col-12 txt_a_c\">
\t\t\t\t\t\t\t\t\t<label class=\"modal_subtitle\">Attenzione!</label>
\t\t\t\t\t\t\t\t\t<p class=\"modal_paragraph\">Cliccando sul bottone <a class='button button-3d button-mini button-green' href='javascript:void(0)'>conferma</a> prenderai in carico tutti i ticket che ti sono stati assegnati.<br>Si è sicuri di voler proseguire?</p>
\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t</div>
\t\t\t\t\t\t<div class=\"modal-footer\">
\t\t\t\t\t\t\t<a href=\"javascript:void(0)\" class=\"button button-3d button-mini button-red f_left\" data-bs-dismiss=\"modal\">Annulla</a>
\t\t\t\t\t\t\t<button type=\"submit\" class=\"button button-3d button-mini button-green f_right\">Conferma</button>
\t\t\t\t\t\t</div>
\t\t\t\t\t</form>
\t\t\t\t</div>
\t\t\t</div>
\t\t</div>
\t";
}
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
return; yield '';
}
// line 1291
public function block_productsData($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "productsData"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "productsData"));
// line 1292
yield "\t\t\t\t\t\t\t\t\t\t<div class=\"row\">
\t\t\t\t\t\t\t\t\t\t\t<div class=\"col-12 overflow_a\">
\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"tabs side-tabs clearfix m_b_none\">
\t\t\t\t\t\t\t\t\t\t\t\t\t<ul class=\"tab-nav tab-nav2 clearfix\">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
// line 1296
if (CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 1296, $this->source); })()), "user", [], "any", false, false, false, 1296), "canRead", ["desk_product_doubles"], "method", false, false, false, 1296)) {
yield "<li><a id=\"btn_tab_doubles\" href=\"#doubles\" class=\"tab_session2\" data-filterTab=\"doubles\"><i class=\"icon-euro d-block d-md-none\" data-bs-toggle=\"tooltip\" title=\"Matricole doppie (";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(Twig\Extension\CoreExtension::length($this->env->getCharset(), (isset($context["doubleProducts"]) || array_key_exists("doubleProducts", $context) ? $context["doubleProducts"] : (function () { throw new RuntimeError('Variable "doubleProducts" does not exist.', 1296, $this->source); })())), "html", null, true);
yield ")\"></i><span class=\"d-none d-md-block\">Matricole doppie (";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(Twig\Extension\CoreExtension::length($this->env->getCharset(), (isset($context["doubleProducts"]) || array_key_exists("doubleProducts", $context) ? $context["doubleProducts"] : (function () { throw new RuntimeError('Variable "doubleProducts" does not exist.', 1296, $this->source); })())), "html", null, true);
yield ")</span></a></li>";
}
// line 1297
yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
if (CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 1297, $this->source); })()), "user", [], "any", false, false, false, 1297), "canRead", ["desk_product_models"], "method", false, false, false, 1297)) {
yield "<li><a id=\"btn_tab_models\" href=\"#models\" class=\"tab_session2\" data-filterTab=\"models\"><i class=\"icon-tags d-block d-md-none\" data-bs-toggle=\"tooltip\" title=\"Modelli senza fornitori (";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(Twig\Extension\CoreExtension::length($this->env->getCharset(), (isset($context["productModelsSuppliers"]) || array_key_exists("productModelsSuppliers", $context) ? $context["productModelsSuppliers"] : (function () { throw new RuntimeError('Variable "productModelsSuppliers" does not exist.', 1297, $this->source); })())), "html", null, true);
yield ")\"></i><span class=\"d-none d-md-block\">Modelli senza fornitori (";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(Twig\Extension\CoreExtension::length($this->env->getCharset(), (isset($context["productModelsSuppliers"]) || array_key_exists("productModelsSuppliers", $context) ? $context["productModelsSuppliers"] : (function () { throw new RuntimeError('Variable "productModelsSuppliers" does not exist.', 1297, $this->source); })())), "html", null, true);
yield ")</span></a></li>";
}
// line 1298
yield "\t\t\t\t\t\t\t\t\t\t\t\t\t</ul>
\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"tab-container\">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
// line 1300
if (CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 1300, $this->source); })()), "user", [], "any", false, false, false, 1300), "canRead", ["desk_product_doubles"], "method", false, false, false, 1300)) {
// line 1301
yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
// line 1302
yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"tab-content clearfix\" id=\"doubles\">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<h4 class=\"form_title\">Matricole doppie</h4>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<hr class=\"m_t_none\">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
// line 1305
if ((Twig\Extension\CoreExtension::length($this->env->getCharset(), (isset($context["doubleProducts"]) || array_key_exists("doubleProducts", $context) ? $context["doubleProducts"] : (function () { throw new RuntimeError('Variable "doubleProducts" does not exist.', 1305, $this->source); })())) > 0)) {
// line 1306
yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<table class=\"table table-sm\">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<thead>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<tr>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<th colspan=\"3\">Prodotto 1</th>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<th colspan=\"3\">Prodotto 2</th>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</tr>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<tr>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<th class=\"txt_a_c\">Id</th>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<th>Matricola produttore</th>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<th>Matricola fornitore</th>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<th class=\"txt_a_c\">Id</th>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<th>Matricola produttore</th>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<th>Matricola fornitore</th>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</tr>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</thead>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<tbody>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
// line 1322
$context['_parent'] = $context;
$context['_seq'] = CoreExtension::ensureTraversable((isset($context["doubleProducts"]) || array_key_exists("doubleProducts", $context) ? $context["doubleProducts"] : (function () { throw new RuntimeError('Variable "doubleProducts" does not exist.', 1322, $this->source); })()));
foreach ($context['_seq'] as $context["_key"] => $context["p"]) {
// line 1323
yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<tr>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td class=\"txt_a_c\"><a href=\"";
// line 1324
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("user_product_sheet", ["productId" => CoreExtension::getAttribute($this->env, $this->source, $context["p"], 0, [], "array", false, false, false, 1324)]), "html", null, true);
yield "\" data-bs-toggle=\"tooltip\" title=\"Vai alla scheda prodotto\" target=\"_blank\" class=\"underline\">";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["p"], 0, [], "array", false, false, false, 1324), "html", null, true);
yield "</a></td>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td>";
// line 1325
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["p"], 1, [], "array", false, false, false, 1325), "html", null, true);
yield "</td>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td>";
// line 1326
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["p"], 2, [], "array", false, false, false, 1326), "html", null, true);
yield "</td>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td class=\"txt_a_c\"><a href=\"";
// line 1327
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("user_product_sheet", ["productId" => CoreExtension::getAttribute($this->env, $this->source, $context["p"], 3, [], "array", false, false, false, 1327)]), "html", null, true);
yield "\" data-bs-toggle=\"tooltip\" title=\"Vai alla scheda prodotto\" target=\"_blank\" class=\"underline\">";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["p"], 3, [], "array", false, false, false, 1327), "html", null, true);
yield "</a></td>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td>";
// line 1328
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["p"], 4, [], "array", false, false, false, 1328), "html", null, true);
yield "</td>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td>";
// line 1329
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["p"], 5, [], "array", false, false, false, 1329), "html", null, true);
yield "</td>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</tr>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['p'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 1332
yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</tbody>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</table>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
} else {
// line 1335
yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"style-msg successmsg m_b_none\">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"sb-msg\"><i class=\"icon-thumbs-up\"></i><strong>Complimenti!</strong> Nessuna matricola doppia presente nel software!</div>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
}
// line 1339
yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
}
// line 1341
yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
if (CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 1341, $this->source); })()), "user", [], "any", false, false, false, 1341), "canRead", ["desk_product_models"], "method", false, false, false, 1341)) {
// line 1342
yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
// line 1343
yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"tab-content clearfix\" id=\"models\">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<h4 class=\"form_title\">Modelli senza fornitori configurati</h4>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<hr class=\"m_t_none\">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
// line 1346
if ((Twig\Extension\CoreExtension::length($this->env->getCharset(), (isset($context["productModelsSuppliers"]) || array_key_exists("productModelsSuppliers", $context) ? $context["productModelsSuppliers"] : (function () { throw new RuntimeError('Variable "productModelsSuppliers" does not exist.', 1346, $this->source); })())) > 0)) {
// line 1347
yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<table class=\"table table-sm\">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<thead>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<tr>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<th>Modello</th>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<th>Produttore</th>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<th>Sku</th>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<th>PartNumber</th>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<th>Sottocategoria</th>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<th>Categoria</th>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<th></th>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</tr>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</thead>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<tbody>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
// line 1360
$context['_parent'] = $context;
$context['_seq'] = CoreExtension::ensureTraversable((isset($context["productModelsSuppliers"]) || array_key_exists("productModelsSuppliers", $context) ? $context["productModelsSuppliers"] : (function () { throw new RuntimeError('Variable "productModelsSuppliers" does not exist.', 1360, $this->source); })()));
foreach ($context['_seq'] as $context["_key"] => $context["pm"]) {
// line 1361
yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<tr>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td>";
// line 1362
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["pm"], "name", [], "any", false, false, false, 1362), "html", null, true);
yield "</td>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td>";
// line 1363
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["pm"], "producer", [], "any", false, false, false, 1363), "html", null, true);
yield "</td>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td>";
// line 1364
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["pm"], "sku", [], "any", false, false, false, 1364), "html", null, true);
yield "</td>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td>";
// line 1365
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["pm"], "partNumber", [], "any", false, false, false, 1365), "html", null, true);
yield "</td>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td>";
// line 1366
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["pm"], "subcategory", [], "any", false, false, false, 1366), "html", null, true);
yield "</td>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td>";
// line 1367
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, $context["pm"], "subcategory", [], "any", false, false, false, 1367), "category", [], "any", false, false, false, 1367), "html", null, true);
yield "</td>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td class=\"td_action\"><a href=\"";
// line 1368
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("user_product_model_sheet", ["modelId" => CoreExtension::getAttribute($this->env, $this->source, $context["pm"], "id", [], "any", false, false, false, 1368)]), "html", null, true);
yield "\" data-bs-toggle=\"tooltip\" title=\"Vai alla scheda magazzino\"><img class=\"icon_pr\" src=\"";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl((isset($context["icon_sheet"]) || array_key_exists("icon_sheet", $context) ? $context["icon_sheet"] : (function () { throw new RuntimeError('Variable "icon_sheet" does not exist.', 1368, $this->source); })())), "html", null, true);
yield "\"></a></td>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</tr>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['pm'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 1371
yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</tbody>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</table>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
} else {
// line 1374
yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"style-msg successmsg m_b_none\">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"sb-msg\"><i class=\"icon-thumbs-up\"></i><strong>Complimenti!</strong> Nessun modello senza fornitore configurato!</div>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
}
// line 1378
yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
}
// line 1380
yield "\t\t\t\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
return; yield '';
}
// line 2071
public function block_javascripts($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "javascripts"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "javascripts"));
// line 2072
yield from $this->yieldParentBlock("javascripts", $context, $blocks);
yield "
<script>
\t";
// line 2075
yield "\t";
if (((CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 2075, $this->source); })()), "user", [], "any", false, false, false, 2075), "getAccountTypology", [], "any", false, false, false, 2075) == "agency") || (CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 2075, $this->source); })()), "user", [], "any", false, false, false, 2075), "getAccountTypology", [], "any", false, false, false, 2075) == "technician"))) {
// line 2076
yield "\t\tfunction goToTicketList(tab, operationGroup){
\t\t\tdocument.getElementById('ticketTabOpen').value = tab;
\t\t\tdocument.getElementById('ticketOperationGroup').value = operationGroup;
\t triggerLoading();
\t\t\t\$('#formGoToTickets').submit();
\t\t}
\t";
}
// line 2083
yield "\t
\t";
// line 2084
if ((CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 2084, $this->source); })()), "user", [], "any", false, false, false, 2084), "getAccountTypology", [], "any", false, false, false, 2084) == "agency")) {
// line 2085
yield "\t\tfunction goToTechTicketList(operationGroup, technician){
\t\t\tdocument.getElementById('ticketTabOpen').value = 'taken_charge';
\t\t\tdocument.getElementById('ticketOperationGroup').value = operationGroup;
\t\t\tdocument.getElementById('ticketTechnician').value = technician;
\t triggerLoading();
\t\t\t\$('#formGoToTickets').submit();
\t\t}
\t";
}
// line 2093
yield "
\t";
// line 2094
if (((CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 2094, $this->source); })()), "user", [], "any", false, false, false, 2094), "getAccountTypology", [], "any", false, false, false, 2094) != "technician") && CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 2094, $this->source); })()), "user", [], "any", false, false, false, 2094), "canWrite", ["ticket"], "method", false, false, false, 2094))) {
// line 2095
yield "\t\tfunction unlockSuspension(id){
\t\t\tdocument.getElementById('ticketUnlockId').value = id;
\t\t\t\$('#modalTicketUnlockSuspension').modal({backdrop: 'static', keyboard: false}).modal(\"show\");
\t\t}
\t\tfunction ticketUnlockSuspensionSubmit(){
\t\t\ttriggerLoadingInElement('table_ticket_waiting_for_material');
\t\t\tvar id = document.getElementById('ticketUnlockId').value;
\t\t\t\$.post('";
// line 2103
yield $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("user_ticket_unlock_waiting_material");
yield "', {ticketId: id}, function(response){
\t\t\t\tif(response.code == 200 && response.success){
\t\t\t\t\t\$.get(\"";
// line 2105
yield $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("user_index_ticket_unlock_refresh");
yield "\", function(data) { \$(\"#table_ticket_waiting_for_material\").html(data); });
\t\t\t\t\t\$.get(\"";
// line 2106
yield $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("user_index_ticket_tab_refresh", ["tab" => "waiting_for_material"]);
yield "\", function(data) { \$(\"#btn_tab_waiting_for_material\").html(data); });
\t\t\t\t\t\$('#modalTicketUnlockSuspension').modal(\"hide\");
\t\t\t\t}
\t\t\t}, \"json\");
\$('[data-bs-toggle=\"tooltip\"]').tooltip();
\t\t}
\t";
}
// line 2113
yield "\t
\tfunction openModalAlerts(){
\t\t\$('#modalAlerts').modal({backdrop: 'static', keyboard: false}).modal(\"show\");
\t}
\t";
// line 2118
if ((CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 2118, $this->source); })()), "user", [], "any", false, false, false, 2118), "getAccountTypology", [], "any", false, false, false, 2118) == "technician")) {
// line 2119
yield "\t\tfunction ticketsTakeCharge(){
\t\t\t\$('#takeChargeModal').modal({backdrop: 'static', keyboard: false}).modal(\"show\");
\t\t}
\t\tfunction submitTechnicianSearch(type){
\t\t\tdocument.getElementById('search_type').value = type;
\t\t\ttriggerLoading();
\t\t\t\$('#form_search').submit();
\t\t}
\t";
}
// line 2129
yield "</script>
";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
return; yield '';
}
/**
* @codeCoverageIgnore
*/
public function getTemplateName()
{
return "role/user/index.html.twig";
}
/**
* @codeCoverageIgnore
*/
public function isTraitable()
{
return false;
}
/**
* @codeCoverageIgnore
*/
public function getDebugInfo()
{
return array ( 5492 => 2129, 5480 => 2119, 5478 => 2118, 5471 => 2113, 5461 => 2106, 5457 => 2105, 5452 => 2103, 5442 => 2095, 5440 => 2094, 5437 => 2093, 5427 => 2085, 5425 => 2084, 5422 => 2083, 5413 => 2076, 5410 => 2075, 5405 => 2072, 5395 => 2071, 5380 => 1380, 5376 => 1378, 5370 => 1374, 5365 => 1371, 5354 => 1368, 5350 => 1367, 5346 => 1366, 5342 => 1365, 5338 => 1364, 5334 => 1363, 5330 => 1362, 5327 => 1361, 5323 => 1360, 5308 => 1347, 5306 => 1346, 5301 => 1343, 5299 => 1342, 5296 => 1341, 5292 => 1339, 5286 => 1335, 5281 => 1332, 5272 => 1329, 5268 => 1328, 5262 => 1327, 5258 => 1326, 5254 => 1325, 5248 => 1324, 5245 => 1323, 5241 => 1322, 5223 => 1306, 5221 => 1305, 5216 => 1302, 5214 => 1301, 5212 => 1300, 5208 => 1298, 5199 => 1297, 5191 => 1296, 5185 => 1292, 5175 => 1291, 5144 => 2050, 5137 => 2046, 5134 => 2045, 5111 => 2024, 5109 => 2023, 5094 => 2010, 5091 => 2008, 5081 => 2002, 5079 => 2001, 5075 => 1999, 5068 => 1994, 5017 => 1946, 5014 => 1945, 5011 => 1944, 5006 => 1940, 5001 => 1937, 4991 => 1932, 4985 => 1928, 4980 => 1925, 4969 => 1922, 4963 => 1919, 4959 => 1918, 4955 => 1917, 4951 => 1916, 4947 => 1915, 4943 => 1914, 4939 => 1913, 4935 => 1912, 4930 => 1909, 4926 => 1908, 4922 => 1906, 4920 => 1905, 4914 => 1901, 4908 => 1897, 4903 => 1894, 4892 => 1891, 4888 => 1890, 4884 => 1889, 4880 => 1888, 4876 => 1887, 4872 => 1886, 4868 => 1885, 4865 => 1884, 4861 => 1883, 4846 => 1870, 4844 => 1869, 4838 => 1865, 4832 => 1861, 4827 => 1858, 4816 => 1855, 4812 => 1854, 4808 => 1853, 4804 => 1852, 4800 => 1851, 4796 => 1850, 4792 => 1849, 4789 => 1848, 4785 => 1847, 4770 => 1834, 4768 => 1833, 4759 => 1827, 4752 => 1824, 4747 => 1823, 4743 => 1820, 4726 => 1818, 4722 => 1817, 4718 => 1815, 4715 => 1814, 4707 => 1811, 4701 => 1807, 4696 => 1804, 4685 => 1801, 4675 => 1798, 4667 => 1797, 4663 => 1796, 4659 => 1795, 4655 => 1794, 4651 => 1793, 4647 => 1792, 4643 => 1791, 4638 => 1788, 4634 => 1787, 4630 => 1785, 4628 => 1784, 4622 => 1780, 4616 => 1776, 4611 => 1773, 4600 => 1770, 4590 => 1767, 4582 => 1766, 4578 => 1765, 4574 => 1764, 4570 => 1763, 4566 => 1762, 4561 => 1759, 4557 => 1758, 4553 => 1756, 4551 => 1755, 4545 => 1751, 4539 => 1747, 4534 => 1744, 4523 => 1741, 4513 => 1738, 4505 => 1737, 4501 => 1736, 4497 => 1735, 4493 => 1734, 4489 => 1733, 4484 => 1730, 4480 => 1729, 4476 => 1727, 4474 => 1726, 4465 => 1720, 4461 => 1718, 4456 => 1717, 4454 => 1716, 4449 => 1713, 4440 => 1705, 4434 => 1701, 4429 => 1698, 4418 => 1695, 4414 => 1694, 4410 => 1693, 4403 => 1692, 4399 => 1691, 4388 => 1682, 4386 => 1681, 4380 => 1677, 4377 => 1675, 4371 => 1671, 4366 => 1668, 4347 => 1665, 4337 => 1662, 4329 => 1661, 4325 => 1660, 4321 => 1659, 4313 => 1658, 4309 => 1657, 4305 => 1656, 4301 => 1655, 4297 => 1654, 4292 => 1651, 4275 => 1650, 4271 => 1648, 4269 => 1647, 4265 => 1645, 4261 => 1643, 4259 => 1642, 4256 => 1641, 4247 => 1634, 4244 => 1633, 4235 => 1631, 4229 => 1630, 4223 => 1629, 4220 => 1628, 4217 => 1627, 4214 => 1626, 4209 => 1625, 4204 => 1624, 4201 => 1623, 4197 => 1622, 4181 => 1608, 4175 => 1607, 4173 => 1606, 4168 => 1604, 4165 => 1603, 4159 => 1602, 4153 => 1601, 4150 => 1600, 4144 => 1599, 4141 => 1598, 4138 => 1597, 4128 => 1595, 4118 => 1593, 4115 => 1592, 4112 => 1591, 4107 => 1590, 4104 => 1589, 4099 => 1588, 4095 => 1587, 4091 => 1586, 4088 => 1585, 4085 => 1584, 4080 => 1583, 4078 => 1582, 4056 => 1562, 4048 => 1558, 4042 => 1557, 4034 => 1551, 4030 => 1548, 4026 => 1546, 4024 => 1545, 4016 => 1539, 4013 => 1538, 4007 => 1534, 4001 => 1531, 3997 => 1529, 3991 => 1525, 3986 => 1522, 3971 => 1520, 3964 => 1518, 3960 => 1517, 3956 => 1516, 3951 => 1515, 3944 => 1513, 3940 => 1512, 3936 => 1511, 3932 => 1510, 3927 => 1509, 3925 => 1508, 3919 => 1507, 3915 => 1506, 3911 => 1505, 3907 => 1504, 3903 => 1503, 3899 => 1502, 3894 => 1501, 3892 => 1500, 3886 => 1499, 3882 => 1498, 3878 => 1497, 3874 => 1496, 3870 => 1495, 3866 => 1494, 3862 => 1493, 3857 => 1492, 3855 => 1491, 3849 => 1490, 3845 => 1489, 3841 => 1488, 3837 => 1487, 3833 => 1486, 3829 => 1485, 3824 => 1484, 3822 => 1483, 3819 => 1482, 3802 => 1481, 3796 => 1477, 3790 => 1473, 3783 => 1468, 3781 => 1467, 3773 => 1461, 3771 => 1460, 3762 => 1453, 3760 => 1452, 3752 => 1446, 3750 => 1445, 3745 => 1442, 3739 => 1438, 3736 => 1437, 3734 => 1436, 3720 => 1425, 3716 => 1424, 3709 => 1419, 3700 => 1416, 3694 => 1415, 3691 => 1414, 3687 => 1413, 3682 => 1411, 3675 => 1406, 3666 => 1403, 3660 => 1402, 3657 => 1401, 3653 => 1400, 3648 => 1398, 3637 => 1390, 3634 => 1389, 3631 => 1388, 3629 => 1387, 3625 => 1385, 3623 => 1291, 3620 => 1290, 3617 => 1289, 3615 => 1288, 3607 => 1282, 3603 => 1280, 3597 => 1276, 3592 => 1273, 3581 => 1270, 3577 => 1269, 3573 => 1268, 3569 => 1267, 3566 => 1266, 3562 => 1265, 3550 => 1255, 3548 => 1254, 3543 => 1251, 3541 => 1250, 3538 => 1249, 3534 => 1247, 3528 => 1243, 3523 => 1240, 3512 => 1237, 3508 => 1236, 3504 => 1235, 3500 => 1234, 3497 => 1233, 3493 => 1232, 3481 => 1222, 3479 => 1221, 3474 => 1218, 3472 => 1217, 3470 => 1216, 3466 => 1214, 3457 => 1213, 3449 => 1212, 3442 => 1207, 3439 => 1206, 3437 => 1205, 3433 => 1203, 3428 => 1200, 3417 => 1194, 3413 => 1192, 3407 => 1188, 3404 => 1187, 3398 => 1183, 3396 => 1182, 3392 => 1180, 3378 => 1179, 3372 => 1176, 3368 => 1175, 3364 => 1174, 3360 => 1173, 3356 => 1172, 3353 => 1171, 3350 => 1170, 3333 => 1169, 3320 => 1158, 3318 => 1157, 3311 => 1154, 3309 => 1153, 3306 => 1152, 3302 => 1150, 3296 => 1146, 3293 => 1145, 3287 => 1141, 3285 => 1140, 3281 => 1138, 3267 => 1137, 3261 => 1134, 3257 => 1133, 3253 => 1132, 3249 => 1131, 3246 => 1130, 3243 => 1129, 3226 => 1128, 3214 => 1118, 3212 => 1117, 3205 => 1114, 3203 => 1113, 3200 => 1112, 3196 => 1110, 3190 => 1106, 3185 => 1103, 3174 => 1100, 3170 => 1099, 3166 => 1098, 3162 => 1097, 3158 => 1096, 3155 => 1095, 3151 => 1094, 3138 => 1083, 3136 => 1082, 3129 => 1079, 3127 => 1078, 3124 => 1077, 3120 => 1075, 3114 => 1071, 3109 => 1068, 3098 => 1065, 3094 => 1064, 3090 => 1063, 3086 => 1062, 3082 => 1061, 3078 => 1060, 3074 => 1059, 3070 => 1058, 3066 => 1057, 3063 => 1056, 3059 => 1055, 3042 => 1040, 3040 => 1039, 3033 => 1036, 3031 => 1035, 3028 => 1034, 3024 => 1032, 3018 => 1028, 3013 => 1025, 3002 => 1022, 2998 => 1021, 2994 => 1020, 2990 => 1019, 2986 => 1018, 2982 => 1017, 2978 => 1016, 2975 => 1015, 2971 => 1014, 2956 => 1001, 2954 => 1000, 2947 => 997, 2945 => 996, 2942 => 995, 2938 => 993, 2932 => 989, 2927 => 986, 2916 => 983, 2912 => 982, 2908 => 981, 2904 => 980, 2900 => 979, 2896 => 978, 2892 => 977, 2889 => 976, 2885 => 975, 2870 => 962, 2868 => 961, 2861 => 958, 2859 => 957, 2856 => 956, 2852 => 954, 2846 => 950, 2838 => 947, 2835 => 946, 2833 => 945, 2826 => 942, 2824 => 941, 2821 => 940, 2817 => 937, 2802 => 936, 2787 => 935, 2772 => 934, 2757 => 933, 2742 => 932, 2727 => 931, 2713 => 930, 2704 => 924, 2697 => 921, 2693 => 920, 2689 => 918, 2672 => 916, 2668 => 915, 2664 => 913, 2661 => 912, 2651 => 907, 2647 => 905, 2641 => 901, 2638 => 900, 2632 => 896, 2630 => 895, 2626 => 893, 2612 => 892, 2606 => 889, 2602 => 888, 2598 => 887, 2594 => 886, 2590 => 885, 2587 => 884, 2584 => 883, 2567 => 882, 2554 => 871, 2552 => 870, 2545 => 867, 2543 => 866, 2540 => 865, 2536 => 863, 2530 => 859, 2527 => 858, 2521 => 854, 2519 => 853, 2515 => 851, 2501 => 850, 2495 => 847, 2491 => 846, 2487 => 845, 2483 => 844, 2480 => 843, 2477 => 842, 2460 => 841, 2448 => 831, 2446 => 830, 2439 => 827, 2437 => 826, 2434 => 825, 2430 => 823, 2424 => 819, 2419 => 816, 2408 => 813, 2404 => 812, 2400 => 811, 2396 => 810, 2392 => 809, 2389 => 808, 2385 => 807, 2372 => 796, 2370 => 795, 2363 => 792, 2361 => 791, 2358 => 790, 2354 => 788, 2348 => 784, 2343 => 781, 2332 => 778, 2328 => 777, 2324 => 776, 2320 => 775, 2316 => 774, 2312 => 773, 2308 => 772, 2304 => 771, 2300 => 770, 2297 => 769, 2293 => 768, 2276 => 753, 2274 => 752, 2267 => 749, 2265 => 748, 2262 => 747, 2258 => 745, 2252 => 741, 2247 => 738, 2236 => 735, 2232 => 734, 2228 => 733, 2224 => 732, 2220 => 731, 2216 => 730, 2212 => 729, 2209 => 728, 2205 => 727, 2190 => 714, 2188 => 713, 2181 => 710, 2179 => 709, 2176 => 708, 2172 => 706, 2166 => 702, 2161 => 699, 2150 => 696, 2146 => 695, 2142 => 694, 2138 => 693, 2134 => 692, 2130 => 691, 2126 => 690, 2123 => 689, 2119 => 688, 2104 => 675, 2102 => 674, 2095 => 671, 2093 => 670, 2090 => 669, 2086 => 667, 2080 => 663, 2072 => 660, 2069 => 659, 2067 => 658, 2060 => 655, 2058 => 654, 2055 => 653, 2051 => 650, 2036 => 649, 2021 => 648, 2006 => 647, 1991 => 646, 1976 => 645, 1961 => 644, 1947 => 643, 1938 => 637, 1934 => 635, 1929 => 634, 1927 => 633, 1924 => 632, 1921 => 631, 1919 => 630, 1911 => 624, 1906 => 621, 1900 => 617, 1895 => 614, 1884 => 611, 1880 => 610, 1876 => 609, 1872 => 608, 1865 => 607, 1861 => 606, 1849 => 596, 1847 => 595, 1841 => 591, 1839 => 590, 1836 => 589, 1831 => 586, 1825 => 582, 1820 => 579, 1809 => 576, 1801 => 575, 1793 => 574, 1789 => 573, 1785 => 572, 1781 => 571, 1778 => 570, 1774 => 569, 1760 => 557, 1758 => 556, 1752 => 552, 1750 => 551, 1747 => 550, 1742 => 547, 1736 => 543, 1733 => 542, 1727 => 538, 1725 => 537, 1721 => 535, 1707 => 534, 1699 => 531, 1695 => 530, 1691 => 529, 1687 => 528, 1683 => 527, 1679 => 526, 1675 => 525, 1671 => 524, 1668 => 523, 1665 => 522, 1648 => 521, 1632 => 507, 1630 => 506, 1624 => 502, 1622 => 501, 1619 => 500, 1614 => 497, 1608 => 493, 1603 => 490, 1592 => 487, 1588 => 486, 1584 => 485, 1580 => 484, 1576 => 483, 1572 => 482, 1568 => 481, 1565 => 480, 1561 => 479, 1546 => 466, 1544 => 465, 1538 => 461, 1536 => 460, 1533 => 459, 1528 => 456, 1526 => 455, 1520 => 451, 1518 => 450, 1515 => 449, 1510 => 446, 1504 => 442, 1499 => 439, 1488 => 436, 1474 => 435, 1470 => 434, 1466 => 433, 1462 => 432, 1458 => 431, 1455 => 430, 1451 => 429, 1437 => 417, 1435 => 416, 1429 => 412, 1427 => 411, 1424 => 410, 1419 => 407, 1413 => 403, 1408 => 400, 1397 => 397, 1393 => 396, 1389 => 395, 1385 => 394, 1381 => 393, 1377 => 392, 1373 => 391, 1370 => 390, 1366 => 389, 1351 => 376, 1349 => 375, 1343 => 371, 1341 => 370, 1338 => 369, 1333 => 366, 1327 => 362, 1324 => 361, 1318 => 357, 1316 => 356, 1312 => 354, 1298 => 353, 1290 => 350, 1286 => 349, 1282 => 348, 1278 => 347, 1274 => 346, 1270 => 345, 1267 => 344, 1264 => 343, 1247 => 342, 1233 => 330, 1231 => 329, 1225 => 325, 1223 => 324, 1220 => 323, 1204 => 316, 1201 => 315, 1186 => 313, 1180 => 312, 1174 => 311, 1171 => 310, 1168 => 309, 1165 => 308, 1162 => 307, 1157 => 306, 1152 => 305, 1149 => 304, 1146 => 303, 1142 => 302, 1135 => 297, 1128 => 295, 1124 => 294, 1120 => 292, 1114 => 291, 1111 => 290, 1109 => 289, 1098 => 287, 1095 => 286, 1089 => 285, 1083 => 284, 1080 => 283, 1074 => 282, 1071 => 281, 1068 => 280, 1066 => 279, 1051 => 278, 1048 => 277, 1043 => 276, 1040 => 275, 1035 => 274, 1031 => 273, 1027 => 272, 1024 => 271, 1021 => 270, 1018 => 269, 1013 => 268, 1010 => 267, 1008 => 266, 1001 => 261, 990 => 259, 986 => 258, 976 => 250, 974 => 249, 971 => 248, 961 => 241, 958 => 240, 949 => 238, 943 => 237, 937 => 236, 934 => 235, 931 => 234, 928 => 233, 923 => 232, 918 => 231, 915 => 230, 911 => 229, 904 => 224, 897 => 222, 893 => 221, 889 => 219, 883 => 218, 881 => 217, 876 => 215, 873 => 214, 867 => 213, 861 => 212, 858 => 211, 852 => 210, 849 => 209, 846 => 208, 836 => 206, 826 => 204, 823 => 203, 820 => 202, 815 => 201, 812 => 200, 807 => 199, 803 => 198, 799 => 197, 796 => 196, 793 => 195, 788 => 194, 786 => 193, 762 => 171, 760 => 170, 758 => 169, 754 => 167, 745 => 166, 736 => 165, 727 => 164, 718 => 163, 711 => 162, 702 => 161, 693 => 160, 684 => 159, 679 => 158, 675 => 157, 668 => 152, 665 => 151, 661 => 148, 656 => 147, 651 => 146, 646 => 145, 641 => 144, 637 => 143, 631 => 139, 628 => 138, 625 => 137, 615 => 136, 602 => 132, 596 => 130, 593 => 129, 583 => 128, 564 => 126, 551 => 123, 545 => 120, 540 => 117, 535 => 114, 528 => 113, 521 => 112, 514 => 111, 507 => 110, 500 => 109, 493 => 108, 486 => 107, 479 => 106, 472 => 105, 465 => 104, 459 => 103, 454 => 101, 451 => 100, 448 => 99, 442 => 97, 439 => 96, 434 => 93, 429 => 91, 424 => 90, 421 => 89, 414 => 88, 408 => 87, 403 => 85, 400 => 84, 397 => 83, 391 => 81, 388 => 80, 385 => 79, 382 => 78, 376 => 76, 370 => 74, 367 => 73, 365 => 72, 361 => 70, 350 => 68, 346 => 67, 340 => 65, 337 => 64, 334 => 63, 330 => 61, 326 => 59, 319 => 58, 312 => 57, 305 => 56, 298 => 55, 291 => 54, 284 => 53, 278 => 52, 275 => 51, 273 => 50, 269 => 49, 266 => 48, 263 => 47, 259 => 45, 255 => 43, 248 => 42, 241 => 41, 234 => 40, 228 => 39, 225 => 38, 223 => 37, 219 => 36, 216 => 35, 214 => 34, 210 => 32, 203 => 31, 197 => 30, 193 => 29, 182 => 27, 179 => 26, 172 => 22, 168 => 21, 164 => 19, 162 => 18, 155 => 15, 149 => 13, 147 => 12, 141 => 10, 131 => 9, 107 => 7, 87 => 5, 67 => 3, 44 => 1,);
}
public function getSourceContext()
{
return new Source("{% extends 'base.html.twig' %}
{% block title %}Scrivania{% endblock %}
{% block body_on_load %}onload=\"hidePreloader();\"{% endblock %}
{% block pageTitleH1 %}Benvenuto {{ app.user }} ({{ app.user.accountType }}){% endblock %}
{% block menu %}
\t<li class=\"menu-item\"><a class=\"menu-link\" href=\"{{ path ('user_index') }}\">Scrivania</a>
\t\t<ul class=\"sub-menu-container bg_pr\">
\t\t\t{% if app.user.getAccountTypology == 'agency' %}
\t\t\t\t<li class=\"menu-item\"><a class=\"menu-link color_w\" href=\"{{ path ('user_settings') }}\">Impostazioni</a></li>
\t\t\t{% endif %}
\t\t\t<li class=\"menu-item\"><a class=\"menu-link color_w\" href=\"{{ path ('user_utility') }}\">Utility</a></li>
\t\t</ul>
\t</li>
\t{% if app.user.canRead('company') %}
\t\t<li class=\"menu-item\"><a class=\"menu-link\" href=\"javascript: void(0)\">Azienda</a>
\t\t\t<ul class=\"sub-menu-container bg_pr\">
\t\t\t\t<li class=\"menu-item\"><a class=\"menu-link color_w\" href=\"{{ path ('user_company') }}\">Dati anagrafici</a></li>
\t\t\t\t<li class=\"menu-item\"><a class=\"menu-link color_w\" href=\"{{ path ('user_company_economic') }}\">Economico</a></li>
\t\t\t</ul>
\t\t</li>
\t{% endif %}
\t<li class=\"menu-item\">
\t\t<a class=\"menu-link\" {% if app.user.canRead('anagraphic_users') %}href=\"{{ path ('user_users_index') }}\"{% else %}href=\"javascript: void(0)\"{% endif %}>Utenti</a>
\t\t<ul class=\"sub-menu-container bg_pr\">
\t\t\t<li class=\"menu-item\"><a class=\"menu-link color_w\" href=\"{{ path ('user_user_profile') }}\">Profilo</a></li>
\t\t\t{% if app.user.canRead('staff') %}<li class=\"menu-item\"><a class=\"menu-link color_w\" href=\"{{ path ('user_users_staff') }}\">Staff</a></li>{% endif %}
\t\t\t{% if app.user.canRead('technician') %}<li class=\"menu-item\"><a class=\"menu-link color_w\" href=\"{{ path ('user_users_technicians') }}\">Tecnici</a></li>{% endif %}
\t\t</ul>
\t</li>
\t{% if app.user.canRead('anagraphic') %}
\t\t<li class=\"menu-item\">
\t\t\t<a class=\"menu-link\" href=\"{{ path ('user_anagraphics') }}\">Anagrafiche</a>
\t\t\t{% if app.user.canRead('anagraphic_supplier') or app.user.canRead('anagraphic_producer') or app.user.canRead('anagraphic_client') or app.user.canRead('anagraphic_destination') %}
\t\t\t\t<ul class=\"sub-menu-container bg_pr\">
\t\t\t\t\t{% if app.user.canRead('anagraphic_supplier') %}<li class=\"menu-item\"><a class=\"menu-link color_w\" href=\"{{ path ('user_anagraphic_suppliers') }}\">Fornitori</a></li>{% endif %}
\t\t\t\t\t{% if app.user.canRead('anagraphic_producer') %}<li class=\"menu-item\"><a class=\"menu-link color_w\" href=\"{{ path ('user_anagraphic_producers') }}\">Produttori</a></li>{% endif %}
\t\t\t\t\t{% if app.user.canRead('anagraphic_client') %}<li class=\"menu-item\"><a class=\"menu-link color_w\" href=\"{{ path ('user_anagraphic_clients') }}\">Clienti</a></li>{% endif %}
\t\t\t\t\t{% if app.user.canRead('anagraphic_destination') %}<li class=\"menu-item\"><a class=\"menu-link color_w\" href=\"{{ path ('user_anagraphic_destinations') }}\">Destinazioni</a></li>{% endif %}
\t\t\t\t</ul>
\t\t\t{% endif %}
\t\t</li>
\t{% endif %}
\t{% if app.user.canRead('product') %}
\t\t<li class=\"menu-item\">
\t\t\t<a class=\"menu-link\" href=\"{{ path ('user_product_search') }}\">Prodotti</a>
\t\t\t{% if app.user.canRead('product') or app.user.canRead('product_category') or app.user.canRead('product_subcategory') or app.user.canRead('product_model') or app.user.canRead('product_component') %}
\t\t\t\t<ul class=\"sub-menu-container bg_pr\">
\t\t\t\t\t{% if app.user.canRead('product') %}<li class=\"menu-item\"><a class=\"menu-link color_w\" href=\"{{ path ('user_product_search') }}\">Ricerca</a></li>{% endif %}
\t\t\t\t\t{% if app.user.canRead('product_category') %}<li class=\"menu-item\"><a class=\"menu-link color_w\" href=\"{{ path ('user_product_categories') }}\">Categorie</a></li>{% endif %}
\t\t\t\t\t{% if app.user.canRead('product_subcategory') %}<li class=\"menu-item\"><a class=\"menu-link color_w\" href=\"{{ path ('user_product_subcategories') }}\">Sottocategorie</a></li>{% endif %}
\t\t\t\t\t{% if app.user.canRead('product_component') %}<li class=\"menu-item\"><a class=\"menu-link color_w\" href=\"{{ path ('user_product_components') }}\">Componenti</a></li>{% endif %}
\t\t\t\t\t{% if app.user.canRead('product_model') %}<li class=\"menu-item\"><a class=\"menu-link color_w\" href=\"{{ path ('user_product_models') }}\">Modelli</a></li>{% endif %}
\t\t\t\t\t{% if app.user.canRead('product') %}<li class=\"menu-item\"><a class=\"menu-link color_w\" href=\"{{ path ('user_product_regenerated') }}\" target=\"_blank\">Rigenerati</a></li>{% endif %}
\t\t\t\t\t{% if app.user.canRead('product') %}<li class=\"menu-item\"><a class=\"menu-link color_w\" href=\"{{ path ('user_product_stationary') }}\">Fermi</a></li>{% endif %}
\t\t\t\t</ul>
\t\t\t{% endif %}
\t\t</li>
\t{% endif %}
\t{% if app.user.canRead('warehouse') %}
\t\t{% if app.user.getAccountTypology == 'agency' or app.user.getAccountTypology == 'warehouse' %}
\t\t\t<li class=\"menu-item\"><a class=\"menu-link\" href=\"{{ path ('user_warehouse_list') }}\">Magazzini</a>
\t\t\t\t<ul class=\"sub-menu-container bg_pr\">
\t\t\t\t\t{% for w in global_hqw.headquarterWarehouses %}
\t\t\t\t\t\t<li class=\"menu-item\"><a class=\"menu-link color_w\" href=\"{{ path ('user_warehouse_sheet', {'warehouseId':w.id}) }}\">{{ w.nickname }}</a></li>
\t\t\t\t\t{% endfor %}
\t\t\t\t</ul>
\t\t\t</li>
\t\t{% elseif app.user.getAccountTypology == 'technician' %}
\t\t\t{% if app.user.warehouses|length == 1 %}
\t\t\t\t<li class=\"menu-item\"><a class=\"menu-link\" href=\"{{ path ('user_warehouse_sheet', {'warehouseId':app.user.warehouses[0].warehouse.id}) }}\">Magazzino</a></li>
\t\t\t{% else %}
\t\t\t\t<li class=\"menu-item\"><a class=\"menu-link\" href=\"{{ path ('user_warehouse_list') }}\">Magazzini</a></li>
\t\t\t{% endif %}
\t\t{% endif %}
\t{% endif %}
\t{% if app.user.canRead('transfer') %}
\t\t<li class=\"menu-item\"><a class=\"menu-link\" href=\"{{ path ('user_transfer_search') }}\">Trasferimenti</a></li>
\t{% endif %}
\t{% if app.user.canRead('ticket') %}
\t\t<li class=\"menu-item\">
\t\t\t<a class=\"menu-link\" href=\"{{ path ('user_ticket_list') }}\">Ticket</a>
\t\t\t<ul class=\"sub-menu-container bg_pr\">
\t\t\t\t{% if app.user.canRead('ticket') %}<li class=\"menu-item\"><a class=\"menu-link color_w\" href=\"{{ path ('user_ticket_search') }}\">Ricerca</a></li>{% endif %}
\t\t\t\t{% if app.user.canRead('ticket') %}<li class=\"menu-item\"><a class=\"menu-link color_w\" href=\"{{ path ('user_ticket_list') }}\">Lista</a></li>{% endif %}
\t\t\t\t{% if app.user.getAccountTypology == 'agency' %}
\t\t\t\t\t<li class=\"menu-item\"><a class=\"menu-link color_w\" href=\"{{ path ('user_ticket_import') }}\">Azioni massive da CSV</a></li>
\t\t\t\t\t<li class=\"menu-item\"><a class=\"menu-link color_w\" href=\"{{ path ('user_ticket_new') }}\">Aggiungi manualmente</a></li>
\t\t\t\t{% endif %}
\t\t\t</ul>
\t\t</li>
\t{% endif %}
\t{% if app.user.canRead('intervention') %}
\t\t<li class=\"menu-item\"><a class=\"menu-link\" href=\"{{ path ('user_intervention_search') }}\">Interventi</a></li>
\t{% endif %}
\t{% if app.user.canRead('configuration') %}
\t\t<li class=\"menu-item\">
\t\t\t<a class=\"menu-link\" href=\"{{ path ('user_configurations') }}\">Configurazioni</a>
\t\t\t<ul class=\"sub-menu-container bg_pr\">
\t\t\t\t{% if app.user.canRead('configuration_regions') %}<li class=\"menu-item\"><a class=\"menu-link color_w\" href=\"{{ path ('user_configuration_regions') }}\">Regioni di competenza</a></li>{% endif %}
\t\t\t\t{% if app.user.canRead('configuration_city_alias') %}<li class=\"menu-item\"><a class=\"menu-link color_w\" href=\"{{ path ('user_configuration_city_aliases') }}\">Alias città</a></li>{% endif %}
\t\t\t\t{% if app.user.canRead('configuration_intervention_outcome') %}<li class=\"menu-item\"><a class=\"menu-link color_w\" href=\"{{ path ('user_configuration_intervention_outcomes') }}\">Esiti intervento</a></li>{% endif %}
\t\t\t\t{% if app.user.canRead('configuration_intervention_activity_type') %}<li class=\"menu-item\"><a class=\"menu-link color_w\" href=\"{{ path ('user_configuration_intervention_activity_types') }}\">Tipi attività intervento</a></li>{% endif %}
\t\t\t\t{% if app.user.canRead('configuration_operation_group') %}<li class=\"menu-item\"><a class=\"menu-link color_w\" href=\"{{ path ('user_configuration_operation_groups') }}\">Gruppi operazione</a></li>{% endif %}
\t\t\t\t{% if app.user.canRead('configuration_account_type') %}<li class=\"menu-item\"><a class=\"menu-link color_w\" href=\"{{ path ('user_configuration_account_types') }}\">Tipi account</a></li>{% endif %}
\t\t\t\t{% if app.user.canRead('configuration_courier') %}<li class=\"menu-item\"><a class=\"menu-link color_w\" href=\"{{ path ('user_configuration_couriers') }}\">Corrieri</a></li>{% endif %}
\t\t\t\t{% if app.user.canRead('configuration_ddt_header') %}<li class=\"menu-item\"><a class=\"menu-link color_w\" href=\"{{ path ('user_configuration_ddt_headers') }}\">Intestazioni DDT</a></li>{% endif %}
\t\t\t\t{% if app.user.canRead('configuration_ddt_causal') %}<li class=\"menu-item\"><a class=\"menu-link color_w\" href=\"{{ path ('user_configuration_ddt_causals') }}\">Causali DDT</a></li>{% endif %}
\t\t\t\t{% if app.user.canRead('configuration_ticket_column_value') %}<li class=\"menu-item\"><a class=\"menu-link color_w\" href=\"{{ path ('user_configuration_ticket_column_values') }}\">Descrizione colonna ticket</a></li>{% endif %}
\t\t\t\t{% if global_company.actualCompany.tagTicketActive and app.user.canRead('configuration_ticket_tag') %}<li class=\"menu-item\"><a class=\"menu-link color_w\" href=\"{{ path ('user_configuration_ticket_tags') }}\">Tag ticket</a></li>{% endif %}
\t\t\t</ul>
\t\t</li>
\t{% endif %}
\t<li class=\"menu-item\">
\t\t<a class=\"menu-link\" href=\"javascript: void(0)\">Info</a>
\t\t<ul class=\"sub-menu-container bg_pr\">
\t\t\t<li class=\"menu-item\"><a class=\"menu-link color_w\" href=\"{{ path ('user_info_updates') }}\">Aggiornamenti</a></li>
\t\t</ul>
\t</li>
\t<li class=\"menu-item\"><a class=\"menu-link\" href=\"{{ path ('logout') }}\"><div>Esci</div></a></li>
{% endblock %}
{% block subMenuLeft %}{% endblock %}
{% block subMenuRight %}
\t{% if app.user.getAccountTypology == 'agency' %}
\t\t<li class=\"nav-item\"><a class=\"nav-link\" href=\"{{ path ('user_settings') }}\">Impostazioni</a></li>
\t{% else %}
\t\t<li class=\"nav-item\"><a class=\"nav-link\" href=\"javascript: void(0)\"></a></li>
\t{% endif %}
{% endblock %}
{% block content %}
\t<section class=\"m_tb_40p p_lr_30p\">
\t\t{% if app.user.getAccountTypology == 'agency' or app.user.getAccountTypology == 'administration' or app.user.getAccountTypology == 'commercial' or app.user.getAccountTypology == 'warehouse' %} {# Agenzia / Amministrazione / Commerciale / Magazzino #}
\t\t\t<div class=\"row\">
\t\t\t\t<div class=\"col-12 responsive_font_size\">
\t\t\t\t\t<div class=\"tabs clearfix m_b_none\">
\t\t\t\t\t\t<ul class=\"tab-nav clearfix\">
\t\t\t\t\t\t\t{% if app.user.canViewTab('desk_ticket') %}<li><a id=\"btn_tab_tickets\" href=\"#tickets\" class=\"tab_session\" data-filterTab=\"tickets\"><i class=\"icon-tag d-block d-md-none\" data-bs-toggle=\"tooltip\" title=\"Ticket\"></i><span class=\"d-none d-md-block\">Ticket</span></a></li>{% endif %}
\t\t\t\t\t\t\t{% if app.user.canViewTab('desk_warehouse') %}<li><a id=\"btn_tab_warehouses\" href=\"#warehouses\" class=\"tab_session\" data-filterTab=\"warehouses\"><i class=\"icon-warehouse d-block d-md-none\" data-bs-toggle=\"tooltip\" title=\"Magazzini\"></i><span class=\"d-none d-md-block\">Magazzini</span></a></li>{% endif %}
\t\t\t\t\t\t\t{% if app.user.canViewTab('desk_operation') %}<li><a id=\"btn_tab_operations\" href=\"#operations\" class=\"tab_session\" data-filterTab=\"operations\"><i class=\"icon-wrench d-block d-md-none\" data-bs-toggle=\"tooltip\" title=\"Operazioni\"></i><span class=\"d-none d-md-block\">Operazioni</span></a></li>{% endif %}
\t\t\t\t\t\t\t{% if app.user.canViewTab('desk_product') %}<li><a id=\"btn_tab_products\" href=\"#products\" class=\"tab_session\" data-filterTab=\"products\"><i class=\"icon-box d-block d-md-none\" data-bs-toggle=\"tooltip\" title=\"Prodotti\"></i><span class=\"d-none d-md-block\">Prodotti</span></a></li>{% endif %}
\t\t\t\t\t\t\t{% if app.user.canViewTab('desk_search') %}<li><a id=\"btn_tab_search\" href=\"#search\" class=\"tab_session\" data-filterTabsearch=\"\" id=\"tab_search\"><i class=\"icon-search1 d-block d-md-none\" data-bs-toggle=\"tooltip\" title=\"Ricerca\"></i><span class=\"d-none d-md-block\">Ricerca</span></a></li>{% endif %}
\t\t\t\t\t\t</ul>
\t\t\t\t\t\t<div class=\"tab-container\">
\t\t\t\t\t\t\t{# Ticket #}
\t\t\t\t\t\t\t{% if app.user.canViewTab('desk_ticket') %}
\t\t\t\t\t\t\t\t<div class=\"tab-content clearfix\" id=\"tickets\">
\t\t\t\t\t\t\t\t\t<div class=\"row\">
\t\t\t\t\t\t\t\t\t\t<div class=\"col-12\">
\t\t\t\t\t\t\t\t\t\t\t<div class=\"tabs side-tabs clearfix m_b_none\">
\t\t\t\t\t\t\t\t\t\t\t\t<ul class=\"tab-nav tab-nav2 clearfix\">
\t\t\t\t\t\t\t\t\t\t\t\t\t{% if app.user.canRead('desk_ticket_summary_ticket') %}<li><a id=\"btn_tab_ticket\" href=\"#summary_ticket\" class=\"tab_session2\" data-filterTab=\"ticket\"><i class=\"icon-table1 d-block d-md-none\" data-bs-toggle=\"tooltip\" title=\"Situazione ticket\"></i><span class=\"d-none d-md-block\">Situazione ticket</span></a></li>{% endif %}
\t\t\t\t\t\t\t\t\t\t\t\t\t{% if app.user.canRead('desk_ticket_summary_techs') %}<li><a id=\"btn_tab_techs\" href=\"#summary_techs\" class=\"tab_session2\" data-filterTab=\"techs\"><i class=\"icon-table1 d-block d-md-none\" data-bs-toggle=\"tooltip\" title=\"Situazione tecnici\"></i><span class=\"d-none d-md-block\">Situazione tecnici</span></a></li>{% endif %}
\t\t\t\t\t\t\t\t\t\t\t\t\t{% if app.user.canRead('desk_ticket_errors') %}<li><a id=\"btn_tab_errors\" href=\"#errors\" class=\"tab_session2\" data-filterTab=\"errors\"><i class=\"icon-minus-sign d-block d-md-none\" data-bs-toggle=\"tooltip\" title=\"Con errori ({{ ticketWithErrors|length }})\"></i><span class=\"d-none d-md-block\">Con errori ({{ ticketWithErrors|length }})</span></a></li>{% endif %}
\t\t\t\t\t\t\t\t\t\t\t\t\t{% if app.user.canRead('desk_ticket_suspension_requests') %}<li><a id=\"btn_tab_suspension_requests\" href=\"#suspension_requests\" class=\"tab_session2\" data-filterTab=\"suspension_requests\"><i class=\"icon-stopwatch d-block d-md-none\" data-bs-toggle=\"tooltip\" title=\"Richieste sospensioni ({{ ticketSuspensionRequest|length }})\"></i><span class=\"d-none d-md-block\">Richieste sospensioni ({{ ticketSuspensionRequest|length }})</span></a></li>{% endif %}
\t\t\t\t\t\t\t\t\t\t\t\t\t{% if app.user.canRead('desk_ticket_closed_portal') %}<li><a id=\"btn_tab_closed_portal\" href=\"#closed_portal\" class=\"tab_session2\" data-filterTab=\"closed_portal\"><i class=\"icon-lock d-block d-md-none\" data-bs-toggle=\"tooltip\" title=\"Chiusi su fornitore ({{ ticketClosedPortal|length }})\"></i><span class=\"d-none d-md-block\">Chiusi su fornitore ({{ ticketClosedPortal|length }})</span></a></li>{% endif %}
\t\t\t\t\t\t\t\t\t\t\t\t\t{% if app.user.canRead('desk_ticket_waiting_for_material') %}<li><a id=\"btn_tab_waiting_for_material\" href=\"#waiting_for_material\" class=\"tab_session2\" data-filterTab=\"waiting_for_material\">{% include 'components/twig/index/tab_label.html.twig' with {'icon':'icon-truck-loading', 'text':\"In attesa di materiale (\" ~ ticketWaitingForMaterial|length ~ \")\"} %}</a></li>{% endif %}
\t\t\t\t\t\t\t\t\t\t\t\t\t{% if app.user.canRead('desk_ticket_intervention_without_activities') %}<li><a id=\"btn_tab_intervention_without_activities\" href=\"#intervention_without_activities\" class=\"tab_session2\" data-filterTab=\"intervention_without_activities\"><i class=\"icon-question d-block d-md-none\" data-bs-toggle=\"tooltip\" title=\"Interventi senza attività ({{ interventionWithoutActivities|length }})\"></i><span class=\"d-none d-md-block\">Interventi senza attività ({{ interventionWithoutActivities|length }})</span></a></li>{% endif %}
\t\t\t\t\t\t\t\t\t\t\t\t\t{% if app.user.canRead('desk_ticket_intervention_tariff_out') %}<li><a id=\"btn_tab_intervention_tariff_out\" href=\"#intervention_tariff_out\" class=\"tab_session2\" data-filterTab=\"intervention_tariff_out\"><i class=\"icon-dollar d-block d-md-none\" data-bs-toggle=\"tooltip\" title=\"Interventi fuori zona ({{ interventionTariffOut|length }})\"></i><span class=\"d-none d-md-block\">Interventi fuori zona ({{ interventionTariffOut|length }})</span></a></li>{% endif %}
\t\t\t\t\t\t\t\t\t\t\t\t\t{% if app.user.canRead('desk_ticket_extras') %}<li><a id=\"btn_tab_extras\" href=\"#extras\" class=\"tab_session2\" data-filterTab=\"extras\"><i class=\"icon-plus1 d-block d-md-none\" data-bs-toggle=\"tooltip\" title=\"Extra da gestire ({{ interventionExtras|length }})\"></i><span class=\"d-none d-md-block\">Extra da gestire ({{ interventionExtras|length }})</span></a></li>{% endif %}
\t\t\t\t\t\t\t\t\t\t\t\t\t{% if app.user.canRead('desk_ticket_reminders') %}<li><a id=\"btn_tab_reminders\" href=\"#reminders\" class=\"tab_session2\" data-filterTab=\"reminders\"><i class=\"icon-clock d-block d-md-none\" data-bs-toggle=\"tooltip\" title=\"Promemoria ({{ ticketReminders|length }})\"></i><span class=\"d-none d-md-block\">Promemoria ({{ ticketReminders|length }})</span></a></li>{% endif %}
\t\t\t\t\t\t\t\t\t\t\t\t</ul>
\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"tab-container overflow_a\">
\t\t\t\t\t\t\t\t\t\t\t\t\t{% if app.user.canRead('desk_ticket_summary_ticket') %}
\t\t\t\t\t\t\t\t\t\t\t\t\t\t{# Situazione ticket #}
\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"tab-content clearfix\" id=\"summary_ticket\">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<h4 class=\"form_title\">Situazione ticket</h4>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<hr class=\"m_t_none\">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"overflow_a\">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<table class=\"table table-bordered responsive_font_size\">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<thead>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<tr class=\"bg_pr color_w\">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<th class=\"td_w_120p\">Gruppo</th>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<th class=\"td_w_110p txt_a_c a_th_hover\" onclick=\"goToTicketList('to_assign', '')\">Da assegnare</th>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<th class=\"td_w_110p txt_a_c a_th_hover\" onclick=\"goToTicketList('assigned', '')\">Assegnati</th>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<th class=\"td_w_110p txt_a_c a_th_hover\" onclick=\"goToTicketList('taken_charge', '')\">Presi in carico</th>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<th class=\"td_w_110p txt_a_c a_th_hover\" onclick=\"goToTicketList('closed', '')\">Chiusi</th>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<th class=\"td_w_110p txt_a_c a_th_hover\" onclick=\"goToTicketList('suspension_request', '')\">Richieste sosp</th>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<th class=\"td_w_110p txt_a_c a_th_hover\" onclick=\"goToTicketList('suspended', '')\">Sospesi</th>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<th class=\"td_w_110p txt_a_c a_th_hover\" onclick=\"goToTicketList('canceled', '')\">Annullati</th>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<th class=\"td_w_110p txt_a_c a_th_hover\" onclick=\"goToTicketList('wrong', '')\">Errati</th>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<th class=\"td_w_110p txt_a_c a_th_hover\" onclick=\"goToTicketList('closed_portal', '')\">Chiusi portale</th>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td class=\"bg_pr\" style=\"padding: 0px 0px 0px px; width: 0px;\"></td>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<th class=\"td_w_110p txt_a_c\">Totale</th>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</tr>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</thead>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<tbody>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% set total = 0 %}
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% for og in operationGroups %}
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% set rowTotal = 0 %}
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<tr>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td>{{ og.value }}</td>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% for ts in ticketStatuses %}
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% for ticketGroup in matrixTickets %}
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% if ticketGroup[0] == og.id %}
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% for grCounts in ticketGroup[1] %}
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% if grCounts[0] == ts.id %}
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% if app.user.accountTypology == 'technician' %}
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td class=\"txt_a_c a_td_hover\" onclick=\"goToTicketList('{{ ts.slug }}', '{{ og.slug }}')\">{{ grCounts[1] }}</td>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% else %}
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td class=\"txt_a_c a_td_hover\" onclick=\"goToTicketList('{{ ts.slug }}', '{{ og.id }}')\">{{ grCounts[1] }}</td>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% endif %}
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% set rowTotal = rowTotal + grCounts[1] %}
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% endif %}
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% endfor %}
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% endif %}
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% endfor %}
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% endfor %}
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td class=\"bg_pr\"></td>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<th class=\"txt_a_c\">{{ rowTotal }}</th>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</tr>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% set total = total + rowTotal %}
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% endfor %}
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<tr class=\"bg_pr\">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td></td>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% for ts in ticketStatuses %}
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td></td>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% endfor %}
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td></td>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td></td>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</tr>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<tr>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<th>Totale</th>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% for ts in ticketStatuses %}
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% set columnTotal = 0 %}
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% for ticketGroup in matrixTickets %}
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% for grCounts in ticketGroup[1] %}
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% if grCounts[0] == ts.id %}
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% set columnTotal = columnTotal + grCounts[1] %}
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% endif %}
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% endfor %}
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% endfor %}
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<th class=\"txt_a_c\">{{ columnTotal }}</th>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% endfor %}
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<th class=\"bg_pr\"></th>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<th class=\"txt_a_c\">{{ total }}</th>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</tr>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</tbody>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</table>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t\t\t\t\t{% endif %}
\t\t\t\t\t\t\t\t\t\t\t\t\t{% if app.user.canRead('desk_ticket_summary_techs') %}
\t\t\t\t\t\t\t\t\t\t\t\t\t\t{# Situazione tecnici #}
\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"tab-content clearfix\" id=\"summary_techs\">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<h4 class=\"form_title\">Situazione tecnici - Presi in carico (Assegnati)</h4>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<hr class=\"m_t_none\">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"overflow_a\">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<table class=\"table table-bordered responsive_font_size\">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<thead>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<tr class=\"bg_pr color_w\">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<th class=\"td_w_120p\">Tecnico</th>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% for og in operationGroups %}
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<th class=\"td_w_110p txt_a_c a_th_hover\" onclick=\"goToTechTicketList('{{ og.id }}', '')\">{{ og.value }}</th>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% endfor %}
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td class=\"bg_pr\" style=\"padding: 0px 0px 0px px; width: 0px;\"></td>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<th class=\"td_w_110p txt_a_c\">Totali</th>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</tr>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</thead>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<tbody>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% set totalAssigned = 0 %}
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% set totalTakenCharge = 0 %}
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% for tech in technicians %}
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% set rowTotalAssigned = 0 %}
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% set rowTotalTakenCharge = 0 %}
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<tr>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td>{{ tech }}</td>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% for og in operationGroups %}
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% for techGroup in matrixTechsTickets %}
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% if techGroup[0] == tech.id %}
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% for techCounts in techGroup[1] %}
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% if techCounts[0] == og.id %}
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td class=\"txt_a_c a_td_hover\" onclick='goToTechTicketList(\"{{ og.id }}\", \"{{ tech }}\")'>{{ techCounts[2] }} {% if techCounts[1] > 0 %}({{ techCounts[1] }}){% endif %}</td>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% set rowTotalAssigned = rowTotalAssigned + techCounts[1] %}
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% set rowTotalTakenCharge = rowTotalTakenCharge + techCounts[2] %}
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% endif %}
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% endfor %}
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% endif %}
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% endfor %}
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% endfor %}
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td class=\"bg_pr\"></td>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<th class=\"txt_a_c\">{{ rowTotalTakenCharge }} {% if rowTotalAssigned > 0 %}({{ rowTotalAssigned }}){% endif %}</th>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</tr>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% set totalAssigned = totalAssigned + rowTotalAssigned %}
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% set totalTakenCharge = totalTakenCharge + rowTotalTakenCharge %}
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% endfor %}
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<tr class=\"bg_pr\">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td></td>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% for og in operationGroups %}
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td></td>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% endfor %}
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td></td>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td></td>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</tr>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<tr>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<th>Totale</th>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% for og in operationGroups %}
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% set columnTotalAssigned = 0 %}
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% set columnTotalTakenCharge = 0 %}
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% for techGroup in matrixTechsTickets %}
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% for techCounts in techGroup[1] %}
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% if techCounts[0] == og.id %}
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% set columnTotalAssigned = columnTotalAssigned + techCounts[1] %}
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% set columnTotalTakenCharge = columnTotalTakenCharge + techCounts[2] %}
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% endif %}
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% endfor %}
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% endfor %}
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<th class=\"txt_a_c\">{{ columnTotalTakenCharge }} {% if columnTotalAssigned > 0 %}({{ columnTotalAssigned }}){% endif %}</th>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% endfor %}
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<th class=\"bg_pr\"></th>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<th class=\"txt_a_c\">{{ totalTakenCharge }} {% if totalAssigned > 0 %}({{ totalAssigned }}){% endif %}</th>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</tr>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</tbody>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</table>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t\t\t\t\t{% endif %}
\t\t\t\t\t\t\t\t\t\t\t\t\t{% if app.user.canRead('desk_ticket_errors') %}
\t\t\t\t\t\t\t\t\t\t\t\t\t\t{# Con errori #}
\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"tab-content clearfix\" id=\"errors\">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<h4 class=\"form_title\">Ticket con errori</h4>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<hr class=\"m_t_none\">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"overflow_a\">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% if ticketWithErrors|length > 0 %}
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<table class=\"table table-sm responsive_font_size\">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<thead>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<tr>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<th class=\"td_w_60p\">Numero</th>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<th class=\"td_w_130p\">Fornitore</th>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<th class=\"td_w_150p\">Operazione</th>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<th class=\"td_w_150p\">Cliente</th>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<th class=\"td_w_300p\">Errore</th>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<th></th>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</tr>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</thead>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<tbody>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% for t in ticketWithErrors %}
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% if loop.index < 50 %}
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<tr>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td>{{ t.number }}</td>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td>{{ t.supplier }}</td>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td>{{ t.operation }}</td>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td>{{ t.client }}</td>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td>{{ t.systemErrorDetails }}</td>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td class=\"td_action\"><a href=\"{{ path ('user_ticket_sheet', {'ticketId':t.id}) }}\" data-bs-toggle=\"tooltip\" title=\"Vai alla scheda\"><img class=\"icon_pr\" src=\"{{ asset(icon_sheet) }}\"></a></td>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</tr>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% endif %}
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% endfor %}
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</tbody>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</table>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% if ticketWithErrors|length > 50 %}
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"style-msg alertmsg m_b_none\">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"sb-msg\"><i class=\"icon-warning-sign\"></i><strong>Attenzione!</strong> Per ridurre i tempi di caricamento della scrivania, sono visualizzati solo 50 risultati</div>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% endif %}
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% else %}
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"style-msg successmsg m_b_none\">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"sb-msg\"><i class=\"icon-thumbs-up\"></i><strong>Complimenti!</strong> Nessuna ticket con errori!</div>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% endif %}
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t\t\t\t\t{% endif %}
\t\t\t\t\t\t\t\t\t\t\t\t\t{% if app.user.canRead('desk_ticket_suspension_requests') %}
\t\t\t\t\t\t\t\t\t\t\t\t\t\t{# Richieste sospensioni #}
\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"tab-content clearfix\" id=\"suspension_requests\">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<h4 class=\"form_title\">Ticket con sospensioni da approvare</h4>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<hr class=\"m_t_none\">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"overflow_a\">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% if ticketSuspensionRequest|length > 0 %}
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<table class=\"table table-sm responsive_font_size\">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<thead>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<tr>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<th class=\"td_w_120p\">Tipologia</th>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<th class=\"td_w_100p\">Numero</th>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<th class=\"td_w_140p\">Fornitore</th>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<th class=\"td_w_150p\">Operazione</th>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<th class=\"td_w_140p\">Cliente</th>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<th class=\"td_w_120p\">Tecnico</th>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<th></th>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</tr>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</thead>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<tbody>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% for t in ticketSuspensionRequest %}
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<tr>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td>{{ t.displayStatus('string', settingProcessedActive)|raw }}</td>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td>{{ t.number }}</td>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td>{{ t.supplier }}</td>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td>{{ t.operation }}</td>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td>{{ t.client }}</td>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td>{{ t.technician }}</td>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td class=\"td_action\"><a href=\"{{ path ('user_ticket_sheet', {'ticketId':t.id}) }}\" data-bs-toggle=\"tooltip\" title=\"Vai alla scheda\"><img class=\"icon_pr\" src=\"{{ asset(icon_sheet) }}\"></a></td>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</tr>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% endfor %}
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</tbody>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</table>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% else %}
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"style-msg successmsg m_b_none\">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"sb-msg\"><i class=\"icon-thumbs-up\"></i><strong>Complimenti!</strong> Nessun ticket con sospensioni da approvare!</div>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% endif %}
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t\t\t\t\t{% endif %}
\t\t\t\t\t\t\t\t\t\t\t\t\t{% if app.user.canRead('desk_ticket_closed_portal') %}
\t\t\t\t\t\t\t\t\t\t\t\t\t\t{# Chiusi su portale #}
\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"tab-content clearfix\" id=\"closed_portal\">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<h4 class=\"form_title\">Ticket chiusi su portale e non su piattaforma</h4>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<hr class=\"m_t_none\">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"overflow_a\">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% if ticketClosedPortal|length > 0 %}
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<table class=\"table table-sm responsive_font_size\">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<thead>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<tr>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<th class=\"td_w_100p\">Numero</th>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<th class=\"td_w_140p\">Fornitore</th>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<th class=\"td_w_250p\">Operazione</th>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<th class=\"td_w_200p\">Cliente</th>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<th class=\"td_w_170p\">Data inizio/Data scadenza</th>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<th></th>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</tr>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</thead>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<tbody>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% for t in ticketClosedPortal %}
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<tr>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td>{{ t.number }}</td>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td>{{ t.supplier }}</td>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td>{{ t.operation }}</td>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td>{{ t.client }}</td>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td>{% if t.datetimeStart != null %}{{ t.datetimeStart|date('d-m-Y H:i') }}{% else %}---{% endif %}/{% if t.datetimeExpiration != null %}{{ t.datetimeExpiration|date('d-m-Y H:i') }}{% else %}---{% endif %}</td>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td class=\"td_action\"><a href=\"{{ path ('user_ticket_sheet', {'ticketId':t.id}) }}\" data-bs-toggle=\"tooltip\" title=\"Vai alla scheda\"><img class=\"icon_pr\" src=\"{{ asset(icon_sheet) }}\"></a></td>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</tr>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% endfor %}
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</tbody>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</table>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% else %}
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"style-msg successmsg m_b_none\">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"sb-msg\"><i class=\"icon-thumbs-up\"></i><strong>Complimenti!</strong> Nessuna ticket con ticket chiuso su portale e non su piattaforma!</div>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% endif %}
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t\t\t\t\t{% endif %}
\t\t\t\t\t\t\t\t\t\t\t\t\t{% if app.user.canRead('desk_ticket_waiting_for_material') %}
\t\t\t\t\t\t\t\t\t\t\t\t\t\t{# In attesa di materiale #}
\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"tab-content clearfix\" id=\"waiting_for_material\">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<h4 class=\"form_title\">Ticket in attesa del materiale</h4>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<hr class=\"m_t_none\">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"overflow_a\">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% include 'components/twig/index/ticket_waiting.html.twig' with {'ticketWaitingForMaterial':ticketWaitingForMaterial} %}
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t\t\t\t\t{% endif %}
\t\t\t\t\t\t\t\t\t\t\t\t\t{% if app.user.canRead('desk_ticket_intervention_without_activities') %}
\t\t\t\t\t\t\t\t\t\t\t\t\t\t{# Interventi senza attività #}
\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"tab-content clearfix\" id=\"intervention_without_activities\">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<h4 class=\"form_title\">Interventi senza attività</h4>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<hr class=\"m_t_none\">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"overflow_a\">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% if interventionWithoutActivities|length > 0 %}
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<table class=\"table table-sm responsive_font_size\">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<thead>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<tr>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<th class=\"td_w_100p\">N° ticket</th>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<th class=\"td_w_300p\">Data</th>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<th class=\"td_w_300p\">Intervento</th>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<th class=\"td_w_200p\">Esito</th>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<th class=\"td_w_150p\">Tecnico</th>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<th class=\"td_w_150p\">Operatore</th>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<th></th>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</tr>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</thead>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<tbody>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% for i in interventionWithoutActivities %}
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<tr>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td>{{ i.ticket.number }}</td>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td>{{ i.datetime|date('d-m-Y H:i') }}</td>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td>{{ i }}</td>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td>{{ i.outcome }}</td>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td>{{ i.technician }}</td>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td>{{ i.operator }}</td>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td class=\"td_action\"><a href=\"{{ path ('user_ticket_sheet', {'ticketId':i.ticket.id}) }}\" data-bs-toggle=\"tooltip\" title=\"Vai alla scheda ticket\"><img class=\"icon_pr\" src=\"{{ asset(icon_sheet) }}\"></a></td>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</tr>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% endfor %}
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</tbody>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</table>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% else %}
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"style-msg successmsg m_b_none\">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"sb-msg\"><i class=\"icon-thumbs-up\"></i><strong>Complimenti!</strong> Nessun intervento senza attività!</div>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% endif %}
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t\t\t\t\t{% endif %}
\t\t\t\t\t\t\t\t\t\t\t\t\t{% if app.user.canRead('desk_ticket_intervention_tariff_out') %}
\t\t\t\t\t\t\t\t\t\t\t\t\t\t{# Interventi fuori zona #}
\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"tab-content clearfix\" id=\"intervention_tariff_out\">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<h4 class=\"form_title\">Interventi fuori zona</h4>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<hr class=\"m_t_none\">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"overflow_a\">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% if interventionTariffOut|length > 0 %}
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<table class=\"table table-sm responsive_font_size\">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<thead>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<tr>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<th class=\"td_w_100p\">N° ticket</th>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<th class=\"td_w_150p\">Data/Ora</th>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<th class=\"td_w_300p\">Intervento</th>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<th class=\"td_w_200p\">Esito</th>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<th class=\"td_w_150p\">Tecnico</th>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<th class=\"td_w_150p\">Operatore</th>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<th class=\"td_w_200p\">Città (Provincia)</th>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<th></th>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</tr>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</thead>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<tbody>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% for i in interventionTariffOut %}
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% if loop.index < 50 %}
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<tr>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td>{{ i.ticket.number }}</td>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td>{{ i.datetime|date('d-m-Y H:i') }}</td>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td>{{ i }}</td>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td>{{ i.outcome }}</td>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td>{{ i.technician }}</td>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td>{{ i.operator }}</td>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td>{{ i.ticket.idCity|translate_city() }}</td>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td class=\"td_action\"><a href=\"{{ path ('user_ticket_sheet', {'ticketId':i.ticket.id}) }}\" data-bs-toggle=\"tooltip\" title=\"Vai alla scheda ticket\"><img class=\"icon_pr\" src=\"{{ asset(icon_sheet) }}\"></a></td>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</tr>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% endif %}
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% endfor %}
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</tbody>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</table>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% if interventionTariffOut|length > 50 %}
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"style-msg alertmsg m_b_none\">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"sb-msg\"><i class=\"icon-warning-sign\"></i><strong>Attenzione!</strong> Per ridurre i tempi di caricamento della scrivania, sono visualizzati solo 50 risultati</div>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% endif %}
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% else %}
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"style-msg successmsg m_b_none\">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"sb-msg\"><i class=\"icon-thumbs-up\"></i><strong>Complimenti!</strong> Nessun intervento fuori zona da gestire!</div>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% endif %}
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t\t\t\t\t{% endif %}
\t\t\t\t\t\t\t\t\t\t\t\t\t{% if app.user.canRead('desk_ticket_extras') %}
\t\t\t\t\t\t\t\t\t\t\t\t\t\t{# Extra da gestire #}
\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"tab-content clearfix\" id=\"extras\">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<h4 class=\"form_title\">Extra da gestire</h4>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<hr class=\"m_t_none\">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"overflow_a\">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% if interventionExtras|length > 0 %}
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<table class=\"table table-sm responsive_font_size\">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<thead>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<tr>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<th class=\"td_w_500p\">Intervento</th>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<th class=\"td_w_150p\">Tipo</th>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<th class=\"td_w_150p txt_a_c\">Ammontare</th>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<th class=\"td_w_100p txt_a_c\">Ore</th>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<th>Note</th>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<th></th>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</tr>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</thead>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<tbody>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% for e in interventionExtras %}
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<tr>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td>{{ e.intervention }}</td>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td>{{ e.displayType() }}</td>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td class=\"txt_a_c\">{{ e.cost }} €</td>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td class=\"txt_a_c\">{% if e.hours != null %}{{ e.hours }}{% else %}---{% endif %}</td>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td class=\"font_14\">{% if e.notes != null %}{{ e.notes }}{% else %}---{% endif %}</td>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td class=\"td_action\"><a href=\"{{ path ('user_ticket_sheet', {'ticketId':e.intervention.ticket.id}) }}\" data-bs-toggle=\"tooltip\" title=\"Vai alla scheda\"><img class=\"icon_pr\" src=\"{{ asset(icon_sheet) }}\"></a></td>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</tr>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% endfor %}
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</tbody>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</table>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% else %}
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"style-msg successmsg m_b_none\">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"sb-msg\"><i class=\"icon-thumbs-up\"></i><strong>Complimenti!</strong> Nessun ticket con extra da gestire!</div>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% endif %}
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t\t\t\t\t{% endif %}
\t\t\t\t\t\t\t\t\t\t\t\t\t{% if app.user.canRead('desk_ticket_reminders') %}
\t\t\t\t\t\t\t\t\t\t\t\t\t\t{# Reminder #}
\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"tab-content clearfix\" id=\"reminders\">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<h4 class=\"form_title\">Promemoria</h4>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<hr class=\"m_t_none\">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"overflow_a\">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% if ticketReminders|length > 0 %}
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<table class=\"table table-sm responsive_font_size\">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<thead>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<tr>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<th class=\"td_w_150p\">Data/Ora</th>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<th class=\"td_w_150p\">Utente</th>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<th>Dettagli</th>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<th></th>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</tr>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</thead>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<tbody>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% for r in ticketReminders %}
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<tr {% if r.datetime|date('YmdHi') < \"now\"|date('YmdHi') %}class=\"bg_r_h\"{% endif %}>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td>{{ r.datetime|date('d-m-Y H:i') }}</td>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td>{{ r.technician }}</td>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td>{{ r.details }}</td>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td class=\"td_action\"><a href=\"{{ path ('user_ticket_sheet', {'ticketId':r.ticket.id}) }}\" data-bs-toggle=\"tooltip\" title=\"Vai alla scheda\"><img class=\"icon_pr\" src=\"{{ asset(icon_sheet) }}\"></a></td>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</tr>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% endfor %}
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</tbody>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</table>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% else %}
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"style-msg successmsg m_b_none\">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"sb-msg\"><i class=\"icon-thumbs-up\"></i><strong>Complimenti!</strong> Nessun promemoria presente!</div>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% endif %}
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t\t\t\t\t{% endif %}
\t\t\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t{% endif %}
\t\t\t\t\t\t\t{# Magazzini #}
\t\t\t\t\t\t\t{% if app.user.canViewTab('desk_warehouse') %}
\t\t\t\t\t\t\t\t<div class=\"tab-content clearfix\" id=\"warehouses\">
\t\t\t\t\t\t\t\t\t{% if warehouseAlarms|length == 1 %}
\t\t\t\t\t\t\t\t\t\t{% for warehouseData in warehouseAlarms %}
\t\t\t\t\t\t\t\t\t\t\t<div class=\"row\">
\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"col-12\">
\t\t\t\t\t\t\t\t\t\t\t\t\t<h4 class=\"form_title\">{{ warehouseData[1] }}</h4>
\t\t\t\t\t\t\t\t\t\t\t\t\t<hr class=\"m_t_none m_b_none\">
\t\t\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"col-12 overflow_a\">
\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"tabs side-tabs clearfix m_b_none\">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t<ul class=\"tab-nav tab-nav2 clearfix\">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% if app.user.canRead('desk_warehouse_product_to_manage') %}<li><a id=\"btn_tab_{{ warehouseData[0] }}_product_to_manage\" href=\"#{{ warehouseData[0] }}_product_to_manage\" class=\"tab_session2\" data-filterTab=\"{{ warehouseData[0] }}_product_to_manage\"><i class=\"icon-box d-block d-md-none\" data-bs-toggle=\"tooltip\" title=\"Prodotti da gestire ({{ warehouseData[2] }})\"></i><span class=\"d-none d-md-block\">Prodotti da gestire ({{ warehouseData[2] }})</span></a></li>{% endif %}
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% if app.user.canRead('desk_warehouse_transfer_incoming') %}<li><a id=\"btn_tab_{{ warehouseData[0] }}_transfers_incoming\" href=\"#{{ warehouseData[0] }}_transfers_incoming\" class=\"tab_session2\" data-filterTab=\"{{ warehouseData[0] }}_transfers_incoming\"><i class=\"icon-truck d-block d-md-none\" data-bs-toggle=\"tooltip\" title=\"Trasferimenti in entrata ({{ warehouseData[3]|length }})\"></i><span class=\"d-none d-md-block\">Trasferimenti in entrata ({{ warehouseData[3]|length }})</span></a></li>{% endif %}
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% if app.user.canRead('desk_warehouse_transfer_output') %}<li><a id=\"btn_tab_{{ warehouseData[0] }}_transfers_output\" href=\"#{{ warehouseData[0] }}_transfers_output\" class=\"tab_session2\" data-filterTab=\"{{ warehouseData[0] }}_transfers_output\"><i class=\"icon-truck-loading d-block d-md-none\" data-bs-toggle=\"tooltip\" title=\"Trasferimenti in uscita ({{ warehouseData[4]|length }})\"></i><span class=\"d-none d-md-block\">Trasferimenti in uscita ({{ warehouseData[4]|length }})</span></a></li>{% endif %}
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% if app.user.canRead('desk_warehouse_transfer_ddt_missing') %}<li><a id=\"btn_tab_{{ warehouseData[0] }}_transfers_ddt_missing\" href=\"#{{ warehouseData[0] }}_transfers_ddt_missing\" class=\"tab_session2\" data-filterTab=\"{{ warehouseData[0] }}_transfers_ddt_missing\"><i class=\"icon-signature d-block d-md-none\" data-bs-toggle=\"tooltip\" title=\"Trasferimenti senza DDT firmato ({{ warehouseData[5]|length }})\"></i><span class=\"d-none d-md-block\">Trasferimenti senza DDT firmato ({{ warehouseData[5]|length }})</span></a></li>{% endif %}
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% if app.user.canRead('desk_warehouse_request_technicians') %}<li><a id=\"btn_tab_{{ warehouseData[0] }}_request_technicians\" href=\"#{{ warehouseData[0] }}_request_technicians\" class=\"tab_session2\" data-filterTab=\"{{ warehouseData[0] }}_request_technicians\"><i class=\"icon-question d-block d-md-none\" data-bs-toggle=\"tooltip\" title=\"Richieste tecnici ({{ warehouseData[6]|length }})\"></i><span class=\"d-none d-md-block\">Richieste tecnici ({{ warehouseData[6]|length }})</span></a></li>{% endif %}
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% if app.user.canRead('desk_warehouse_stocks_red') %}<li><a id=\"btn_tab_{{ warehouseData[0] }}_product_stocks_red\" href=\"#{{ warehouseData[0] }}_product_stocks_red\" class=\"tab_session2\" data-filterTab=\"{{ warehouseData[0] }}_product_stocks_red\"><i class=\"icon-box d-block d-md-none\" data-bs-toggle=\"tooltip\" title=\"Scorte prodotti rosse ({{ warehouseData[7]|length }})\"></i><span class=\"d-none d-md-block\">Scorte prodotti rosse ({{ warehouseData[7]|length }})</span></a></li>{% endif %}
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% if app.user.canRead('desk_warehouse_stocks_yellow') %}<li><a id=\"btn_tab_{{ warehouseData[0] }}_product_stocks_yellow\" href=\"#{{ warehouseData[0] }}_product_stocks_yellow\" class=\"tab_session2\" data-filterTab=\"{{ warehouseData[0] }}_product_stocks_yellow\"><i class=\"icon-box d-block d-md-none\" data-bs-toggle=\"tooltip\" title=\"Scorte prodotti gialle ({{ warehouseData[8]|length }})\"></i><span class=\"d-none d-md-block\">Scorte prodotti gialle ({{ warehouseData[8]|length }})</span></a></li>{% endif %}
\t\t\t\t\t\t\t\t\t\t\t\t\t\t</ul>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"tab-container\">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{# Sede centrale #}
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% if app.user.canRead('desk_warehouse_product_to_manage') %}
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{# Prodotti da gestire #}
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"tab-content clearfix\" id=\"{{ warehouseData[0] }}_product_to_manage\">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<h4 class=\"form_title\">Prodotti da gestire</h4>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<hr class=\"m_t_none\">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% if warehouseData[2] > 0 %}
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"style-msg infomsg m_b_none\">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"sb-msg\"><i class=\"icon-info\"></i><strong>Attenzione!</strong> Ci sono {{ warehouseData[2] }} prodotti da gestire in questo magazzino!<a href=\"{{ path ('user_warehouse_sheet', {'warehouseId':warehouseData[0]}) }}\" class=\"button button-3d button-mini button-amber f_right m_none\">Vai al magazzino</a></div>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% else %}
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"style-msg successmsg m_b_none\">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"sb-msg\"><i class=\"icon-thumbs-up\"></i><strong>Complimenti!</strong> Nessun prodotto da gestire presente nel magazzino</div>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</div>\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% endif %}
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% endif %}
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% if app.user.canRead('desk_warehouse_transfer_incoming') %}
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{# Trasferimenti in entrata #}
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"tab-content clearfix\" id=\"{{ warehouseData[0] }}_transfers_incoming\">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<h4 class=\"form_title\">Trasferimenti in entrata non completati</h4>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<hr class=\"m_t_none\">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% if warehouseData[3]|length > 0 %}
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<table class=\"table table-sm\">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<thead>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<tr>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<th class=\"txt_a_c\">Fase</th>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<th>Magazzino provenienza</th>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<th>Fornitore</th>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<th>Data creazione</th>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<th>Data invio</th>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<th>Data completamento</th>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<th></th>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</tr>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</thead>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<tbody>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% for pt in warehouseData[3] %}
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<tr>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td class=\"txt_a_c\">{{ pt.displayPhase('icon')|raw }}</td>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td>{{ pt.warehouseFrom }}</td>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td>{{ pt.supplier }}</td>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td>{{ pt.datetimeCreation|date('d-m-Y H:i') }}</td>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td>{{ pt.datetimeSend|date('d-m-Y H:i') }}</td>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td>{{ pt.datetimeCompletion|date('d-m-Y H:i') }}</td>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td class=\"td_action\"><a href=\"{{ path ('user_warehouse_transfer_sheet', {'warehouseId':warehouseData[0], 'transferId':pt.id}) }}\" data-bs-toggle=\"tooltip\" title=\"Vai alla scheda trasferimento\"><img class=\"icon_pr\" src=\"{{ asset(icon_sheet) }}\"></a></td>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</tr>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% endfor %}
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</tbody>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</table>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% else %}
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"style-msg successmsg m_b_none\">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"sb-msg\"><i class=\"icon-thumbs-up\"></i><strong>Complimenti!</strong> Nessun trasferimento in entrata non completato!</div>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% endif %}
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% endif %}
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% if app.user.canRead('desk_warehouse_transfer_output') %}
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{# Trasferimenti in uscita #}
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"tab-content clearfix\" id=\"{{ warehouseData[0] }}_transfers_output\">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<h4 class=\"form_title\">Trasferimenti in uscita non completati</h4>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<hr class=\"m_t_none\">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% if warehouseData[4]|length > 0 %}
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<table class=\"table table-sm\">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<thead>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<tr>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<th class=\"txt_a_c\">Fase</th>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<th>Magazzino destinazione</th>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<th>Fornitore</th>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<th>Data creazione</th>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<th>Data invio</th>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<th>Data completamento</th>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<th></th>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</tr>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</thead>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<tbody>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% for pt in warehouseData[4] %}
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<tr>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td class=\"txt_a_c\">{{ pt.displayPhase('icon')|raw }}</td>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td>{{ pt.warehouseTo }}</td>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td>{{ pt.supplier }}</td>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td>{{ pt.datetimeCreation|date('d-m-Y H:i') }}</td>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td>{{ pt.datetimeSend|date('d-m-Y H:i') }}</td>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td>{{ pt.datetimeCompletion|date('d-m-Y H:i') }}</td>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td class=\"td_action\"><a href=\"{{ path ('user_warehouse_transfer_sheet', {'warehouseId':warehouseData[0], 'transferId':pt.id}) }}\" data-bs-toggle=\"tooltip\" title=\"Vai alla scheda trasferimento\"><img class=\"icon_pr\" src=\"{{ asset(icon_sheet) }}\"></a></td>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</tr>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% endfor %}
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</tbody>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</table>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% else %}
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"style-msg successmsg m_b_none\">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"sb-msg\"><i class=\"icon-thumbs-up\"></i><strong>Complimenti!</strong> Nessun trasferimento in uscita non completato!</div>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% endif %}
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% endif %}
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% if app.user.canRead('desk_warehouse_transfer_ddt_missing') %}
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{# Trasferimenti senza DDT firmato #}
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"tab-content clearfix\" id=\"{{ warehouseData[0] }}_transfers_ddt_missing\">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<h4 class=\"form_title\">Trasferimenti senza DDT firmato</h4>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<hr class=\"m_t_none\">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% if warehouseData[5]|length > 0 %}
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<table class=\"table table-sm\">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<thead>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<tr>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<th class=\"td_w_80p txt_a_c\">Fase</th>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<th class=\"td_w_80p txt_a_c\">Fase DDT</th>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<th>Magazzino provenienza</th>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<th>Magazzino destinazione</th>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<th>Fornitore</th>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<th>Data creazione</th>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<th>Data invio</th>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<th>Data completamento</th>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<th></th>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</tr>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</thead>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<tbody>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% for pt in warehouseData[5] %}
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<tr>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td class=\"txt_a_c\">{{ pt.displayPhase('icon')|raw }}</td>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td class=\"txt_a_c\">{{ pt.displayPhaseDdt('icon')|raw }}</td>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td>{{ pt.warehouseFrom }}</td>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td>{{ pt.warehouseTo }}</td>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td>{{ pt.supplier }}</td>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td>{{ pt.datetimeCreation|date('d-m-Y H:i') }}</td>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td>{{ pt.datetimeSend|date('d-m-Y H:i') }}</td>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td>{{ pt.datetimeCompletion|date('d-m-Y H:i') }}</td>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td class=\"td_action\"><a href=\"{{ path ('user_warehouse_transfer_sheet', {'warehouseId':warehouseData[0], 'transferId':pt.id}) }}\" data-bs-toggle=\"tooltip\" title=\"Vai alla scheda trasferimento\"><img class=\"icon_pr\" src=\"{{ asset(icon_sheet) }}\"></a></td>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</tr>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% endfor %}
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</tbody>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</table>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% else %}
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"style-msg successmsg m_b_none\">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"sb-msg\"><i class=\"icon-thumbs-up\"></i><strong>Complimenti!</strong> Nessun trasferimento senza DDT firmato!</div>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% endif %}
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% endif %}
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% if app.user.canRead('desk_warehouse_request_technicians') %}
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{# Richieste tecnici #}
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"tab-content clearfix\" id=\"{{ warehouseData[0] }}_request_technicians\">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<h4 class=\"form_title\">Richieste tecnici non gestite</h4>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<hr class=\"m_t_none\">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% if warehouseData[6]|length > 0 %}
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<table class=\"table table-sm\">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<thead>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<tr>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<th>Tecnico</th>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<th>Magazzino</th>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<th>Data</th>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<th>Dettagli</th>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<th></th>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</tr>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</thead>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<tbody>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% for rt in warehouseData[6] %}
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<tr>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td>{{ rt.technician }}</td>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td>{{ rt.warehouse }}</td>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td>{{ rt.datetime|date('d-m-Y H:i') }}</td>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td>{{ rt.displayDetails()|raw }}</td>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td class=\"td_action\"><a href=\"{{ path ('user_warehouse_sheet', {'warehouseId':warehouseData[0]}) }}\" data-bs-toggle=\"tooltip\" title=\"Vai alla scheda magazzino\"><img class=\"icon_pr\" src=\"{{ asset(icon_sheet) }}\"></a></td>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</tr>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% endfor %}
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</tbody>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</table>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% else %}
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"style-msg successmsg m_b_none\">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"sb-msg\"><i class=\"icon-thumbs-up\"></i><strong>Complimenti!</strong> Nessun richiesta tecnico non gestita!</div>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% endif %}
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% endif %}
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% if app.user.canRead('desk_warehouse_stocks_red') %}
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{# Scorte prodotti rosse #}
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"tab-content clearfix\" id=\"{{ warehouseData[0] }}_product_stocks_red\">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<h4 class=\"form_title\">Allarmi scorte prodotti rosse</h4>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<hr class=\"m_t_none\">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% if warehouseData[7]|length > 0 %}
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<table class=\"table table-sm\">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<thead>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<tr>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<th class=\"td_w_120p txt_a_c\">Qtà disponibile</th>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<th class=\"td_w_120p txt_a_c\">Qtà rosso</th>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<th>Modello</th>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<th>Fornitore</th>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</tr>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</thead>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<tbody>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% for ps in warehouseData[7] %}
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% if loop.index < 50 %}
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<tr>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td class=\"txt_a_c\">{{ ps[0] }}</td>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td class=\"txt_a_c\">{{ ps[1] }}</td>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td>{{ ps[2] }}</td>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td>{{ ps[3] }}</td>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</tr>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% endif %}
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% endfor %}
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</tbody>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</table>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% if warehouseData[7]|length > 50 %}
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"style-msg alertmsg m_b_none\">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"sb-msg\"><i class=\"icon-warning-sign\"></i><strong>Attenzione!</strong> Per ridurre i tempi di caricamento della scrivania, sono visualizzati solo 50 risultati</div>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% endif %}
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% else %}
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"style-msg successmsg m_b_none\">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"sb-msg\"><i class=\"icon-thumbs-up\"></i><strong>Complimenti!</strong> Nessun allarme scorte prodotto rosse!</div>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% endif %}
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% endif %}
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% if app.user.canRead('desk_warehouse_stocks_yellow') %}
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{# Scorte prodotti giallo #}
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"tab-content clearfix\" id=\"{{ warehouseData[0] }}_product_stocks_yellow\">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<h4 class=\"form_title\">Allarmi scorte prodotti giallo</h4>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<hr class=\"m_t_none\">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% if warehouseData[8]|length > 0 %}
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<table class=\"table table-sm\">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<thead>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<tr>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<th class=\"td_w_120p txt_a_c\">Qtà disponibile</th>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<th class=\"td_w_120p txt_a_c\">Qtà giallo</th>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<th class=\"td_w_120p txt_a_c\">Qtà rosso</th>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<th>Modello</th>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<th>Fornitore</th>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</tr>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</thead>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<tbody>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% for ps in warehouseData[8] %}
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% if loop.index < 50 %}
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<tr>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td class=\"txt_a_c\">{{ ps[0] }}</td>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td class=\"txt_a_c\">{{ ps[1] }}</td>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td class=\"txt_a_c\">{{ ps[2] }}</td>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td>{{ ps[3] }}</td>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td>{{ ps[4] }}</td>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</tr>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% endif %}
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% endfor %}
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</tbody>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</table>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% if warehouseData[8]|length > 50 %}
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"style-msg alertmsg m_b_none\">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"sb-msg\"><i class=\"icon-warning-sign\"></i><strong>Attenzione!</strong> Per ridurre i tempi di caricamento della scrivania, sono visualizzati solo 50 risultati</div>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% endif %}
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% else %}
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"style-msg successmsg m_b_none\">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"sb-msg\"><i class=\"icon-thumbs-up\"></i><strong>Complimenti!</strong> Nessun allarme scorte prodotto gialle!</div>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% endif %}
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% endif %}
\t\t\t\t\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t\t{% endfor %}
\t\t\t\t\t\t\t\t\t{% else %}
\t\t\t\t\t\t\t\t\t\t<div class=\"tabs clearfix m_b_none\">
\t\t\t\t\t\t\t\t\t\t\t<ul class=\"tab-nav clearfix\">
\t\t\t\t\t\t\t\t\t\t\t\t{% for warehouseData in warehouseAlarms %}
\t\t\t\t\t\t\t\t\t\t\t\t\t<li><a id=\"btn_tab_warehouse_{{ warehouseData[0] }}\" href=\"#warehouse_{{ warehouseData[0] }}\" class=\"tab_session2\" data-filterTab=\"warehouse_{{ warehouseData[0] }}\"><i class=\"icon-warehouse d-block d-md-none\" data-bs-toggle=\"tooltip\" title=\"{{ warehouseData[1] }}\"></i><span class=\"d-none d-md-block\">{{ warehouseData[1] }}</span></a></li>
\t\t\t\t\t\t\t\t\t\t\t\t{% endfor %}
\t\t\t\t\t\t\t\t\t\t\t</ul>
\t\t\t\t\t\t\t\t\t\t\t<div class=\"tab-container\">
\t\t\t\t\t\t\t\t\t\t\t\t{% for warehouseData in warehouseAlarms %}
\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"tab-content clearfix\" id=\"warehouse_{{ warehouseData[0] }}\">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"row\">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"col-12\">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<h4 class=\"form_title\">{{ warehouseData[1] }}</h4>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<hr class=\"m_t_none m_b_none\">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"col-12 overflow_a\">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"tabs side-tabs clearfix m_b_none\">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<ul class=\"tab-nav tab-nav2 clearfix\">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% if app.user.canRead('desk_warehouse_product_to_manage') %}<li><a id=\"btn_tab_{{ warehouseData[0] }}_product_to_manage\" href=\"#{{ warehouseData[0] }}_product_to_manage\" class=\"tab_session2\" data-filterTab=\"{{ warehouseData[0] }}_product_to_manage\"><i class=\"icon-box d-block d-md-none\" data-bs-toggle=\"tooltip\" title=\"Prodotti da gestire ({{ warehouseData[2] }})\"></i><span class=\"d-none d-md-block\">Prodotti da gestire ({{ warehouseData[2] }})</span></a></li>{% endif %}
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% if app.user.canRead('desk_warehouse_transfer_incoming') %}<li><a id=\"btn_tab_{{ warehouseData[0] }}_transfers_incoming\" href=\"#{{ warehouseData[0] }}_transfers_incoming\" class=\"tab_session2\" data-filterTab=\"{{ warehouseData[0] }}_transfers_incoming\"><i class=\"icon-truck d-block d-md-none\" data-bs-toggle=\"tooltip\" title=\"Trasferimenti in entrata ({{ warehouseData[3]|length }})\"></i><span class=\"d-none d-md-block\">Trasferimenti in entrata ({{ warehouseData[3]|length }})</span></a></li>{% endif %}
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% if app.user.canRead('desk_warehouse_transfer_output') %}<li><a id=\"btn_tab_{{ warehouseData[0] }}_transfers_output\" href=\"#{{ warehouseData[0] }}_transfers_output\" class=\"tab_session2\" data-filterTab=\"{{ warehouseData[0] }}_transfers_output\"><i class=\"icon-truck-loading d-block d-md-none\" data-bs-toggle=\"tooltip\" title=\"Trasferimenti in uscita ({{ warehouseData[4]|length }})\"></i><span class=\"d-none d-md-block\">Trasferimenti in uscita ({{ warehouseData[4]|length }})</span></a></li>{% endif %}
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% if app.user.canRead('desk_warehouse_transfer_ddt_missing') %}<li><a id=\"btn_tab_{{ warehouseData[0] }}_transfers_ddt_missing\" href=\"#{{ warehouseData[0] }}_transfers_ddt_missing\" class=\"tab_session2\" data-filterTab=\"{{ warehouseData[0] }}_transfers_ddt_missing\"><i class=\"icon-signature d-block d-md-none\" data-bs-toggle=\"tooltip\" title=\"Trasferimenti senza DDT firmato ({{ warehouseData[5]|length }})\"></i><span class=\"d-none d-md-block\">Trasferimenti senza DDT firmato ({{ warehouseData[5]|length }})</span></a></li>{% endif %}
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% if app.user.canRead('desk_warehouse_request_technicians') %}<li><a id=\"btn_tab_{{ warehouseData[0] }}_request_technicians\" href=\"#{{ warehouseData[0] }}_request_technicians\" class=\"tab_session2\" data-filterTab=\"{{ warehouseData[0] }}_request_technicians\"><i class=\"icon-question d-block d-md-none\" data-bs-toggle=\"tooltip\" title=\"Richieste tecnici ({{ warehouseData[6]|length }})\"></i><span class=\"d-none d-md-block\">Richieste tecnici ({{ warehouseData[6]|length }})</span></a></li>{% endif %}
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% if app.user.canRead('desk_warehouse_stocks_red') %}<li><a id=\"btn_tab_{{ warehouseData[0] }}_product_stocks_red\" href=\"#{{ warehouseData[0] }}_product_stocks_red\" class=\"tab_session2\" data-filterTab=\"{{ warehouseData[0] }}_product_stocks_red\"><i class=\"icon-box d-block d-md-none\" data-bs-toggle=\"tooltip\" title=\"Scorte prodotti rosse ({{ warehouseData[7]|length }})\"></i><span class=\"d-none d-md-block\">Scorte prodotti rosse ({{ warehouseData[7]|length }})</span></a></li>{% endif %}
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% if app.user.canRead('desk_warehouse_stocks_yellow') %}<li><a id=\"btn_tab_{{ warehouseData[0] }}_product_stocks_yellow\" href=\"#{{ warehouseData[0] }}_product_stocks_yellow\" class=\"tab_session2\" data-filterTab=\"{{ warehouseData[0] }}_product_stocks_yellow\"><i class=\"icon-box d-block d-md-none\" data-bs-toggle=\"tooltip\" title=\"Scorte prodotti gialle ({{ warehouseData[8]|length }})\"></i><span class=\"d-none d-md-block\">Scorte prodotti gialle ({{ warehouseData[8]|length }})</span></a></li>{% endif %}
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</ul>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"tab-container\">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{# Sede centrale #}
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% if app.user.canRead('desk_warehouse_product_to_manage') %}
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{# Prodotti da gestire #}
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"tab-content clearfix\" id=\"{{ warehouseData[0] }}_product_to_manage\">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<h4 class=\"form_title\">Prodotti da gestire</h4>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<hr class=\"m_t_none\">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% if warehouseData[2] > 0 %}
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"style-msg infomsg m_b_none\">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"sb-msg\"><i class=\"icon-info\"></i><strong>Attenzione!</strong> Ci sono {{ warehouseData[2] }} prodotti da gestire in questo magazzino!<a href=\"{{ path ('user_warehouse_sheet', {'warehouseId':warehouseData[0]}) }}\" class=\"button button-3d button-mini button-amber f_right m_none\">Vai al magazzino</a></div>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% else %}
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"style-msg successmsg m_b_none\">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"sb-msg\"><i class=\"icon-thumbs-up\"></i><strong>Complimenti!</strong> Nessun prodotto da gestire presente nel magazzino</div>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</div>\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% endif %}
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% endif %}
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% if app.user.canRead('desk_warehouse_transfer_incoming') %}
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{# Trasferimenti in entrata #}
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"tab-content clearfix\" id=\"{{ warehouseData[0] }}_transfers_incoming\">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<h4 class=\"form_title\">Trasferimenti in entrata non completati</h4>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<hr class=\"m_t_none\">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% if warehouseData[3]|length > 0 %}
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<table class=\"table table-sm\">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<thead>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<tr>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<th class=\"txt_a_c\">Fase</th>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<th>Magazzino provenienza</th>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<th>Fornitore</th>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<th>Data creazione</th>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<th>Data invio</th>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<th>Data completamento</th>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<th></th>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</tr>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</thead>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<tbody>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% for pt in warehouseData[3] %}
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<tr>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td class=\"txt_a_c\">{{ pt.displayPhase('icon')|raw }}</td>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td>{{ pt.warehouseFrom }}</td>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td>{{ pt.supplier }}</td>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td>{{ pt.datetimeCreation|date('d-m-Y H:i') }}</td>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td>{{ pt.datetimeSend|date('d-m-Y H:i') }}</td>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td>{{ pt.datetimeCompletion|date('d-m-Y H:i') }}</td>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td class=\"td_action\"><a href=\"{{ path ('user_warehouse_transfer_sheet', {'warehouseId':warehouseData[0], 'transferId':pt.id}) }}\" data-bs-toggle=\"tooltip\" title=\"Vai alla scheda trasferimento\"><img class=\"icon_pr\" src=\"{{ asset(icon_sheet) }}\"></a></td>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</tr>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% endfor %}
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</tbody>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</table>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% else %}
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"style-msg successmsg m_b_none\">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"sb-msg\"><i class=\"icon-thumbs-up\"></i><strong>Complimenti!</strong> Nessun trasferimento in entrata non completato!</div>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% endif %}
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% endif %}
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% if app.user.canRead('desk_warehouse_transfer_output') %}
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{# Trasferimenti in uscita #}
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"tab-content clearfix\" id=\"{{ warehouseData[0] }}_transfers_output\">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<h4 class=\"form_title\">Trasferimenti in uscita non completati</h4>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<hr class=\"m_t_none\">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% if warehouseData[4]|length > 0 %}
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<table class=\"table table-sm\">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<thead>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<tr>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<th class=\"txt_a_c\">Fase</th>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<th>Magazzino destinazione</th>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<th>Fornitore</th>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<th>Data creazione</th>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<th>Data invio</th>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<th>Data completamento</th>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<th></th>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</tr>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</thead>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<tbody>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% for pt in warehouseData[4] %}
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<tr>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td class=\"txt_a_c\">{{ pt.displayPhase('icon')|raw }}</td>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td>{{ pt.warehouseTo }}</td>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td>{{ pt.supplier }}</td>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td>{{ pt.datetimeCreation|date('d-m-Y H:i') }}</td>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td>{{ pt.datetimeSend|date('d-m-Y H:i') }}</td>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td>{{ pt.datetimeCompletion|date('d-m-Y H:i') }}</td>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td class=\"td_action\"><a href=\"{{ path ('user_warehouse_transfer_sheet', {'warehouseId':warehouseData[0], 'transferId':pt.id}) }}\" data-bs-toggle=\"tooltip\" title=\"Vai alla scheda trasferimento\"><img class=\"icon_pr\" src=\"{{ asset(icon_sheet) }}\"></a></td>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</tr>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% endfor %}
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</tbody>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</table>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% else %}
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"style-msg successmsg m_b_none\">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"sb-msg\"><i class=\"icon-thumbs-up\"></i><strong>Complimenti!</strong> Nessun trasferimento in uscita non completato!</div>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% endif %}
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% endif %}
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% if app.user.canRead('desk_warehouse_transfer_ddt_missing') %}
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{# Trasferimenti senza DDT firmato #}
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"tab-content clearfix\" id=\"{{ warehouseData[0] }}_transfers_ddt_missing\">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<h4 class=\"form_title\">Trasferimenti senza DDT firmato</h4>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<hr class=\"m_t_none\">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% if warehouseData[5]|length > 0 %}
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<table class=\"table table-sm\">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<thead>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<tr>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<th class=\"td_w_80p txt_a_c\">Fase</th>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<th class=\"td_w_80p txt_a_c\">Fase DDT</th>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<th>Magazzino provenienza</th>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<th>Magazzino destinazione</th>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<th>Fornitore</th>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<th>Data creazione</th>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<th>Data invio</th>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<th>Data completamento</th>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<th></th>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</tr>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</thead>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<tbody>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% for pt in warehouseData[5] %}
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<tr>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td class=\"txt_a_c\">{{ pt.displayPhase('icon')|raw }}</td>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td class=\"txt_a_c\">{{ pt.displayPhaseDdt('icon')|raw }}</td>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td>{{ pt.warehouseFrom }}</td>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td>{{ pt.warehouseTo }}</td>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td>{{ pt.supplier }}</td>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td>{{ pt.datetimeCreation|date('d-m-Y H:i') }}</td>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td>{{ pt.datetimeSend|date('d-m-Y H:i') }}</td>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td>{{ pt.datetimeCompletion|date('d-m-Y H:i') }}</td>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td class=\"td_action\"><a href=\"{{ path ('user_warehouse_transfer_sheet', {'warehouseId':warehouseData[0], 'transferId':pt.id}) }}\" data-bs-toggle=\"tooltip\" title=\"Vai alla scheda trasferimento\"><img class=\"icon_pr\" src=\"{{ asset(icon_sheet) }}\"></a></td>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</tr>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% endfor %}
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</tbody>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</table>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% else %}
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"style-msg successmsg m_b_none\">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"sb-msg\"><i class=\"icon-thumbs-up\"></i><strong>Complimenti!</strong> Nessun trasferimento senza DDT firmato!</div>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% endif %}
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% endif %}
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% if app.user.canRead('desk_warehouse_request_technicians') %}
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{# Richieste tecnici #}
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"tab-content clearfix\" id=\"{{ warehouseData[0] }}_request_technicians\">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<h4 class=\"form_title\">Richieste tecnici non gestite</h4>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<hr class=\"m_t_none\">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% if warehouseData[6]|length > 0 %}
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<table class=\"table table-sm\">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<thead>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<tr>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<th>Tecnico</th>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<th>Magazzino</th>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<th>Data</th>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<th>Dettagli</th>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<th></th>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</tr>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</thead>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<tbody>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% for rt in warehouseData[6] %}
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<tr>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td>{{ rt.technician }}</td>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td>{{ rt.warehouse }}</td>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td>{{ rt.datetime|date('d-m-Y') }}</td>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td>{{ rt.displayDetails()|raw }}</td>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td class=\"td_action\"><a href=\"{{ path ('user_warehouse_sheet', {'warehouseId':warehouseData[0]}) }}\" data-bs-toggle=\"tooltip\" title=\"Vai alla scheda magazzino\"><img class=\"icon_pr\" src=\"{{ asset(icon_sheet) }}\"></a></td>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</tr>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% endfor %}
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</tbody>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</table>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% else %}
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"style-msg successmsg m_b_none\">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"sb-msg\"><i class=\"icon-thumbs-up\"></i><strong>Complimenti!</strong> Nessun richiesta tecnico non gestita!</div>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% endif %}
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% endif %}
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% if app.user.canRead('desk_warehouse_stocks_red') %}
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{# Scorte prodotti rosse #}
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"tab-content clearfix\" id=\"{{ warehouseData[0] }}_product_stocks_red\">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<h4 class=\"form_title\">Allarmi scorte prodotti rosse</h4>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<hr class=\"m_t_none\">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% if warehouseData[7]|length > 0 %}
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<table class=\"table table-sm\">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<thead>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<tr>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<th class=\"td_w_120p txt_a_c\">Qtà disponibile</th>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<th class=\"td_w_120p txt_a_c\">Qtà rosso</th>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<th>Modello</th>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<th>Fornitore</th>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</tr>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</thead>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<tbody>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% for ps in warehouseData[7] %}
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% if loop.index < 50 %}
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<tr>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td class=\"txt_a_c\">{{ ps[0] }}</td>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td class=\"txt_a_c\">{{ ps[1] }}</td>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td>{{ ps[2] }}</td>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td>{{ ps[3] }}</td>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</tr>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% endif %}
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% endfor %}
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</tbody>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</table>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% if warehouseData[7]|length > 50 %}
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"style-msg alertmsg m_b_none\">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"sb-msg\"><i class=\"icon-warning-sign\"></i><strong>Attenzione!</strong> Per ridurre i tempi di caricamento della scrivania, sono visualizzati solo 50 risultati</div>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% endif %}
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% else %}
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"style-msg successmsg m_b_none\">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"sb-msg\"><i class=\"icon-thumbs-up\"></i><strong>Complimenti!</strong> Nessun allarme scorte prodotto rosse!</div>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% endif %}
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% endif %}
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% if app.user.canRead('desk_warehouse_stocks_yellow') %}
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{# Scorte prodotti giallo #}
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"tab-content clearfix\" id=\"{{ warehouseData[0] }}_product_stocks_yellow\">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<h4 class=\"form_title\">Allarmi scorte prodotti giallo</h4>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<hr class=\"m_t_none\">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% if warehouseData[8]|length > 0 %}
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<table class=\"table table-sm\">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<thead>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<tr>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<th class=\"td_w_120p txt_a_c\">Qtà disponibile</th>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<th class=\"td_w_120p txt_a_c\">Qtà giallo</th>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<th class=\"td_w_120p txt_a_c\">Qtà rosso</th>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<th>Modello</th>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<th>Fornitore</th>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</tr>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</thead>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<tbody>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% for ps in warehouseData[8] %}
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% if loop.index < 50 %}
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<tr>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td class=\"txt_a_c\">{{ ps[0] }}</td>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td class=\"txt_a_c\">{{ ps[1] }}</td>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td class=\"txt_a_c\">{{ ps[2] }}</td>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td>{{ ps[3] }}</td>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td>{{ ps[4] }}</td>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</tr>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% endif %}
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% endfor %}
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</tbody>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</table>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% if warehouseData[8]|length > 50 %}
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"style-msg alertmsg m_b_none\">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"sb-msg\"><i class=\"icon-warning-sign\"></i><strong>Attenzione!</strong> Per ridurre i tempi di caricamento della scrivania, sono visualizzati solo 50 risultati</div>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% endif %}
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% else %}
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"style-msg successmsg m_b_none\">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"sb-msg\"><i class=\"icon-thumbs-up\"></i><strong>Complimenti!</strong> Nessun allarme scorte prodotto gialle!</div>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% endif %}
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% endif %}
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t\t\t\t{% endfor %}
\t\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t{% endif %}
\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t{% endif %}
\t\t\t\t\t\t\t{# Operazioni #}
\t\t\t\t\t\t\t{% if app.user.canViewTab('desk_operation') %}
\t\t\t\t\t\t\t\t<div class=\"tab-content clearfix\" id=\"operations\">
\t\t\t\t\t\t\t\t\t<div class=\"row\">
\t\t\t\t\t\t\t\t\t\t<div class=\"col-12 overflow_a\">
\t\t\t\t\t\t\t\t\t\t\t<div class=\"tabs side-tabs clearfix m_b_none\">
\t\t\t\t\t\t\t\t\t\t\t\t<ul class=\"tab-nav tab-nav2 clearfix\">
\t\t\t\t\t\t\t\t\t\t\t\t\t{% if app.user.canRead('desk_operation_tariffs') %}<li><a id=\"btn_tab_tariffs\" href=\"#tariffs\" class=\"tab_session2\" data-filterTab=\"tariffs\"><i class=\"icon-euro d-block d-md-none\" data-bs-toggle=\"tooltip\" title=\"Senza tariffe ({{ operationsWithoutTariffs|length }})\"></i><span class=\"d-none d-md-block\">Senza tariffe ({{ operationsWithoutTariffs|length }})</span></a></li>{% endif %}
\t\t\t\t\t\t\t\t\t\t\t\t\t{% if app.user.canRead('desk_operation_key_mappings') %}<li><a id=\"btn_tab_key_mappings\" href=\"#key_mappings\" class=\"tab_session2\" data-filterTab=\"key_mappings\"><i class=\"icon-tags d-block d-md-none\" data-bs-toggle=\"tooltip\" title=\"Senza mappatura ticket ({{ operationsWithoutKeyMappings|length }})\"></i><span class=\"d-none d-md-block\">Senza mappatura ticket ({{ operationsWithoutKeyMappings|length }})</span></a></li>{% endif %}
\t\t\t\t\t\t\t\t\t\t\t\t</ul>
\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"tab-container\">
\t\t\t\t\t\t\t\t\t\t\t\t\t{% if app.user.canRead('desk_operation_tariffs') %}
\t\t\t\t\t\t\t\t\t\t\t\t\t\t{# Senza tariffe #}
\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"tab-content clearfix\" id=\"tariffs\">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<h4 class=\"form_title\">Operazioni senza tariffe</h4>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<hr class=\"m_t_none\">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% if operationsWithoutTariffs|length > 0 %}
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<table class=\"table table-sm\">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<thead>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<tr>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<th>Fornitore</th>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<th>Operazione</th>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<th>Gruppo</th>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<th></th>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</tr>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</thead>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<tbody>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% for op in operationsWithoutTariffs %}
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<tr>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td>{{ op.supplier }}</td>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td>{{ op.value }}</td>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td>{{ op.group }}</td>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td class=\"td_action\"><a href=\"{{ path ('user_anagraphic_supplier_operation_sheet', {'operationId':op.id}) }}\" data-bs-toggle=\"tooltip\" title=\"Vai alla scheda\"><img class=\"icon_pr\" src=\"{{ asset(icon_sheet) }}\"></a></td>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</tr>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% endfor %}
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</tbody>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</table>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% else %}
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"style-msg successmsg m_b_none\">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"sb-msg\"><i class=\"icon-thumbs-up\"></i><strong>Complimenti!</strong> Nessuna operazione senza tariffe inserite!</div>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% endif %}
\t\t\t\t\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t\t\t\t\t{% endif %}
\t\t\t\t\t\t\t\t\t\t\t\t\t{% if app.user.canRead('desk_operation_key_mappings') %}
\t\t\t\t\t\t\t\t\t\t\t\t\t\t{# Senza mappatura chiavi ticket #}
\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"tab-content clearfix\" id=\"key_mappings\">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<h4 class=\"form_title\">Operazioni senza mappatura chiavi ticket</h4>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<hr class=\"m_t_none\">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% if operationsWithoutKeyMappings|length > 0 %}
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<table class=\"table table-sm\">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<thead>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<tr>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<th>Fornitore</th>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<th>Operazione</th>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<th>Gruppo</th>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<th></th>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</tr>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</thead>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<tbody>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% for op in operationsWithoutKeyMappings %}
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<tr>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td>{{ op.supplier }}</td>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td>{{ op.value }}</td>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td>{{ op.group }}</td>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td class=\"td_action\"><a href=\"{{ path ('user_anagraphic_supplier_operation_sheet', {'operationId':op.id}) }}\" data-bs-toggle=\"tooltip\" title=\"Vai alla scheda\"><img class=\"icon_pr\" src=\"{{ asset(icon_sheet) }}\"></a></td>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</tr>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% endfor %}
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</tbody>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</table>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% else %}
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"style-msg successmsg m_b_none\">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"sb-msg\"><i class=\"icon-thumbs-up\"></i><strong>Complimenti!</strong> Nessuna operazione senza mappatura chiavi ticket!</div>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% endif %}
\t\t\t\t\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t\t\t\t\t{% endif %}
\t\t\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t{% endif %}
\t\t\t\t\t\t\t{# Prodotti #}
\t\t\t\t\t\t\t{% if app.user.canViewTab('desk_product') %}
\t\t\t\t\t\t\t\t<div class=\"tab-content clearfix\" id=\"products\">
\t\t\t\t\t\t\t\t\t{% block productsData %}
\t\t\t\t\t\t\t\t\t\t<div class=\"row\">
\t\t\t\t\t\t\t\t\t\t\t<div class=\"col-12 overflow_a\">
\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"tabs side-tabs clearfix m_b_none\">
\t\t\t\t\t\t\t\t\t\t\t\t\t<ul class=\"tab-nav tab-nav2 clearfix\">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% if app.user.canRead('desk_product_doubles') %}<li><a id=\"btn_tab_doubles\" href=\"#doubles\" class=\"tab_session2\" data-filterTab=\"doubles\"><i class=\"icon-euro d-block d-md-none\" data-bs-toggle=\"tooltip\" title=\"Matricole doppie ({{ doubleProducts|length }})\"></i><span class=\"d-none d-md-block\">Matricole doppie ({{ doubleProducts|length }})</span></a></li>{% endif %}
\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% if app.user.canRead('desk_product_models') %}<li><a id=\"btn_tab_models\" href=\"#models\" class=\"tab_session2\" data-filterTab=\"models\"><i class=\"icon-tags d-block d-md-none\" data-bs-toggle=\"tooltip\" title=\"Modelli senza fornitori ({{ productModelsSuppliers|length }})\"></i><span class=\"d-none d-md-block\">Modelli senza fornitori ({{ productModelsSuppliers|length }})</span></a></li>{% endif %}
\t\t\t\t\t\t\t\t\t\t\t\t\t</ul>
\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"tab-container\">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% if app.user.canRead('desk_product_doubles') %}
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{# Matricole doppie #}
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"tab-content clearfix\" id=\"doubles\">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<h4 class=\"form_title\">Matricole doppie</h4>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<hr class=\"m_t_none\">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% if doubleProducts|length > 0 %}
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<table class=\"table table-sm\">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<thead>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<tr>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<th colspan=\"3\">Prodotto 1</th>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<th colspan=\"3\">Prodotto 2</th>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</tr>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<tr>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<th class=\"txt_a_c\">Id</th>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<th>Matricola produttore</th>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<th>Matricola fornitore</th>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<th class=\"txt_a_c\">Id</th>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<th>Matricola produttore</th>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<th>Matricola fornitore</th>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</tr>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</thead>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<tbody>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% for p in doubleProducts %}
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<tr>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td class=\"txt_a_c\"><a href=\"{{ path ('user_product_sheet', {'productId':p[0]}) }}\" data-bs-toggle=\"tooltip\" title=\"Vai alla scheda prodotto\" target=\"_blank\" class=\"underline\">{{ p[0] }}</a></td>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td>{{ p[1] }}</td>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td>{{ p[2] }}</td>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td class=\"txt_a_c\"><a href=\"{{ path ('user_product_sheet', {'productId':p[3]}) }}\" data-bs-toggle=\"tooltip\" title=\"Vai alla scheda prodotto\" target=\"_blank\" class=\"underline\">{{ p[3] }}</a></td>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td>{{ p[4] }}</td>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td>{{ p[5] }}</td>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</tr>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% endfor %}
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</tbody>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</table>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% else %}
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"style-msg successmsg m_b_none\">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"sb-msg\"><i class=\"icon-thumbs-up\"></i><strong>Complimenti!</strong> Nessuna matricola doppia presente nel software!</div>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% endif %}
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% endif %}
\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% if app.user.canRead('desk_product_models') %}
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{# Modelli senza fornitore #}
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"tab-content clearfix\" id=\"models\">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<h4 class=\"form_title\">Modelli senza fornitori configurati</h4>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<hr class=\"m_t_none\">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% if productModelsSuppliers|length > 0 %}
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<table class=\"table table-sm\">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<thead>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<tr>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<th>Modello</th>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<th>Produttore</th>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<th>Sku</th>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<th>PartNumber</th>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<th>Sottocategoria</th>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<th>Categoria</th>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<th></th>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</tr>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</thead>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<tbody>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% for pm in productModelsSuppliers %}
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<tr>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td>{{ pm.name }}</td>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td>{{ pm.producer }}</td>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td>{{ pm.sku }}</td>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td>{{ pm.partNumber }}</td>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td>{{ pm.subcategory }}</td>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td>{{ pm.subcategory.category }}</td>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td class=\"td_action\"><a href=\"{{ path ('user_product_model_sheet', {'modelId':pm.id}) }}\" data-bs-toggle=\"tooltip\" title=\"Vai alla scheda magazzino\"><img class=\"icon_pr\" src=\"{{ asset(icon_sheet) }}\"></a></td>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</tr>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% endfor %}
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</tbody>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</table>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% else %}
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"style-msg successmsg m_b_none\">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"sb-msg\"><i class=\"icon-thumbs-up\"></i><strong>Complimenti!</strong> Nessun modello senza fornitore configurato!</div>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% endif %}
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% endif %}
\t\t\t\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t{% endblock %}
\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t{% endif %}
\t\t\t\t\t\t\t{# Cerca #}
\t\t\t\t\t\t\t{% if app.user.canViewTab('desk_search') %}
\t\t\t\t\t\t\t\t<div class=\"tab-content clearfix\" id=\"search\">
\t\t\t\t\t\t\t\t\t{{ form_start(formSearch, {'attr': {'novalidate': 'novalidate'}}) }}
\t\t\t\t\t\t\t\t\t\t<div class=\"row\">
\t\t\t\t\t\t\t\t\t\t\t<div class=\"col-12 col-md-3\">
\t\t\t\t\t\t\t\t\t\t\t\t<h4 class=\"form_title\">Ricerca</h4>
\t\t\t\t\t\t\t\t\t\t\t\t<hr class=\"m_t_none\">
\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"row\">
\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"col-12 form-group\">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t<label class=\"form_label\">Soggetto*</label>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div {{ form_errors(formSearch.type) }}>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<table class=\"table b_none table_no_padding m_none\">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% for t in formSearch.type %}
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<tr>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td class=\"td_w_40p\">{{ form_widget(t, {'attr': {'class':'switch-toggle switch-flat-mini switch-toggle-flat'}}) }}<label class=\"m_b_none\" for=\"{{ t.vars.id }}\"></label></td>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td><label class=\"m_b_none form_label\">{{ t.vars.label }}</label></td>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</tr>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% endfor %}
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</table>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"col-12 form-group\">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t<label class=\"form_label\">Tipologia*</label>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div {{ form_errors(formSearch.like) }}>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<table class=\"table b_none table_no_padding m_none\">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% for l in formSearch.like %}
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<tr>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td class=\"td_w_40p\">{{ form_widget(l, {'attr': {'class':'switch-toggle switch-flat-mini switch-toggle-flat'}}) }}<label class=\"m_b_none\" for=\"{{ l.vars.id }}\"></label></td>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td><label class=\"m_b_none form_label\">{{ l.vars.label }}</label></td>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</tr>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% endfor %}
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</table>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"col-12 form-group\">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t<label class=\"form_label\">Valore*</label>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div {{ form_errors(formSearch.value) }}>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{{ form_widget(formSearch.value) }}
\t\t\t\t\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"col-12 txt_a_c\">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t<button type=\"submit\" class=\"button button-3d button-small button-rounded button-green\">Cerca</button>
\t\t\t\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t\t\t<div class=\"col-12 col-md-9 overflow_a\">
\t\t\t\t\t\t\t\t\t\t\t\t<h4 class=\"form_title\">Risultati ricerca</h4>
\t\t\t\t\t\t\t\t\t\t\t\t<hr class=\"m_t_none\">
\t\t\t\t\t\t\t\t\t\t\t\t{% if searchResults|length > 0 %}
\t\t\t\t\t\t\t\t\t\t\t\t\t{% if searchResults|length == 50 %}
\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"style-msg alertmsg m_b_10p\">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"sb-msg\"><i class=\"icon-warning-sign\"></i><strong>Attenzione!</strong> La ricerca ha prodotto più di 50 risultati; utilizza un filtro più stringente per ottenerne meno!</div>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t\t\t\t\t{% endif %}
\t\t\t\t\t\t\t\t\t\t\t\t\t<table class=\"table table-sm\">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t<thead>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<tr>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% if searchType == 'termid' or searchType == 'n_ticket' %}
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<th>Stato</th>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<th>N° ticket</th>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<th>Termid</th>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<th>Cliente</th>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<th>Fornitore</th>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<th>Operazione</th>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% elseif searchType == 'code_producer' or searchType == 'code_supplier' %}
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<th>Modello</th>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<th>Matr. Produttore</th>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<th>Matr. Fornitore</th>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<th>Termid</th>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<th>Magazzino attuale</th>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<th>Stato</th>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<th>Condizione</th>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% elseif searchType == 'ddt' %}
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<th>N° DDT</th>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<th>Stato</th>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<th>Data/Ora</th>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<th>Mag. Partenza</th>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<th>Mag. Arrivo</th>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<th>Stock order</th>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% elseif searchType == 'client_nickname' %}
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<th>Codice</th>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<th>Insegna</th>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<th>Indirizzo</th>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<th>Telefoni</th>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% else %}
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<th>Telefono</th>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<th>Cliente</th>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<th>Indirizzo</th>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% endif %}
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<th></th>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</tr>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t</thead>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t<tbody>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% for r in searchResults %}
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<tr>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% if searchType == 'termid' or searchType == 'n_ticket' %}
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td>{{ r.displayStatus('string', settingProcessedActive)|raw }}</td>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td>{{ r.number }}</td>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td>{{ r.termid }}</td>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td>{{ r.client }}</td>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td>{{ r.supplier }}</td>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td>{{ r.operation }}</td>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td class=\"td_action\"><a href=\"{{ path ('user_ticket_sheet', {'ticketId':r.id}) }}\"><img class=\"icon_pr\" data-bs-toggle=\"tooltip\" title=\"Scheda\" src=\"{{ asset(icon_sheet) }}\"></a></td>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% elseif searchType == 'code_producer' or searchType == 'code_supplier' %}
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td>{{ r.model.name }}</td>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td>{{ r.codeProducer|default('---') }}</td>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td>{{ r.codeSupplier|default('---') }}</td>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td>{{ r.termid|default('---') }}</td>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td>{{ r.actualWarehouse }}</td>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td>{{ r.displayStatus('string')|raw }}</td>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td>{{ r.displayCondition('string-short')|raw }}</td>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td class=\"td_action\"><a href=\"{{ path ('user_product_sheet', {'productId':r.id}) }}\" data-bs-toggle=\"tooltip\" title=\"Scheda\"><img class=\"icon_pr\" src=\"{{ asset(icon_sheet) }}\"></a></td>\t\t
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% elseif searchType == 'ddt' %}
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td>{{ r.ddt|default('---') }}</td>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td>{{ r.displayPhase('string')|raw }}</td>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td>{{ r.date|date('d-m-Y H:i') }}</td>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td>{{ r.warehouseFrom }}</td>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td>{{ r.warehouseTo }}</td>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td>{{ r.stockOrder|default('---') }}</td>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td class=\"td_action\"><a href=\"{{ path ('user_warehouse_transfer_sheet', {'warehouseId':r.warehouseFrom.id, 'transferId':r.id}) }}\" data-bs-toggle=\"tooltip\" title=\"Scheda\"><img class=\"icon_pr\" src=\"{{ asset(icon_sheet) }}\"></a></td>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% elseif searchType == 'client_nickname' %}
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td>{{ r.code|default('---') }}</td>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td>{{ r.nickname }}</td>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td>{% include 'components/twig/display_address.html.twig' with {'type':'client', 'obj':r} %}</td>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td>{{ r.displayPhones|raw }}</td>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td class=\"td_action\"><a href=\"{{ path ('user_anagraphic_client_sheet', {'clientId':r.id }) }}\" data-bs-toggle=\"tooltip\" title=\"Scheda\"><img class=\"icon_pr\" src=\"{{ asset(icon_sheet) }}\"></a></td>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% else %}
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td>{{ r.number }}</td>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td>{{ r.client }}</td>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td>{% include 'components/twig/display_address.html.twig' with {'type':'client', 'obj':r.client} %}</td>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td class=\"td_action\"><a href=\"tel:{{ r.number }}\" data-bs-toggle=\"tooltip\" title=\"Chiama\"><img class=\"icon_pr\" src=\"{{ asset(icon_telephone) }}\"></a></td>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% endif %}
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</tr>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% endfor %}
\t\t\t\t\t\t\t\t\t\t\t\t\t\t</tbody>
\t\t\t\t\t\t\t\t\t\t\t\t\t</table>
\t\t\t\t\t\t\t\t\t\t\t\t{% else %}
\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"style-msg infomsg m_b_none\">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"sb-msg\"><i class=\"icon-info\"></i><strong>Info!</strong> La ricerca non ha dato risultati!</div>
\t\t\t\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t\t\t\t{% endif %}
\t\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t{{ form_end(formSearch) }}
\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t{% endif %}
\t\t\t\t\t\t</div>
\t\t\t\t\t</div>
\t\t\t\t</div>
\t\t\t</div>
\t\t{% elseif app.user.getAccountTypology == 'technician' %} {# Tecnico interno e tecnico partita IVA #}
\t\t\t<div class=\"row\">
\t\t\t\t<div class=\"col-12\">
\t\t\t\t\t<div class=\"tabs clearfix m_b_none\">
\t\t\t\t\t\t<ul class=\"tab-nav clearfix\">
\t\t\t\t\t\t\t<li><a id=\"btn_tab_tickets\" href=\"#tickets\" class=\"tab_session\" data-filterTab=\"tickets\"><i class=\"icon-tag d-block d-md-none\" data-bs-toggle=\"tooltip\" title=\"Ticket\"></i><span class=\"d-none d-md-block\">Ticket</span></a></li>
\t\t\t\t\t\t\t<li><a id=\"btn_tab_warehouse\" href=\"#warehouse\" class=\"tab_session\" data-filterTab=\"warehouse\"><i class=\"icon-warehouse d-block d-md-none\" data-bs-toggle=\"tooltip\" title=\"Magazzini gestiti\"></i><span class=\"d-none d-md-block\">Magazzini gestiti</span></a></li>
\t\t\t\t\t\t\t{% if app.user.canRead('desk_search') %}
\t\t\t\t\t\t\t\t<li><a href=\"#search\" class=\"tab_session\" id=\"btn_tab_search\" data-filterTab=\"search\"><i class=\"icon-search1 d-block d-md-none\" data-bs-toggle=\"tooltip\" title=\"Ricerca\"></i><span class=\"d-none d-md-block\">Ricerca</span></a></li>
\t\t\t\t\t\t\t{% endif %}
\t\t\t\t\t\t</ul>
\t\t\t\t\t\t<div class=\"tab-container\">
\t\t\t\t\t\t\t{# Ticket #}
\t\t\t\t\t\t\t<div class=\"tab-content clearfix\" id=\"tickets\">
\t\t\t\t\t\t\t\t<div class=\"row\">
\t\t\t\t\t\t\t\t\t<div class=\"col-12 overflow_a\">
\t\t\t\t\t\t\t\t\t\t<div class=\"tabs side-tabs clearfix m_b_none\">
\t\t\t\t\t\t\t\t\t\t\t<ul class=\"tab-nav tab-nav2 clearfix\">
\t\t\t\t\t\t\t\t\t\t\t\t<li><a id=\"btn_tab_summary\" href=\"#summary\" class=\"tab_session2\" data-filterTab=\"summary\"><i class=\"icon-table1 d-block d-md-none\" data-bs-toggle=\"tooltip\" title=\"Tabella riassuntiva\"></i><span class=\"d-none d-md-block responsive_font_size\">Tabella riassuntiva</span></a></li>
\t\t\t\t\t\t\t\t\t\t\t\t<li><a id=\"btn_tab_assigned\" href=\"#assigned\" class=\"tab_session2\" data-filterTab=\"assigned\"><i class=\"icon-user-clock d-block d-md-none\" data-bs-toggle=\"tooltip\" title=\"Da prendere in carico ({{ ticketAssigned|length }})\"></i><span class=\"d-none d-md-block responsive_font_size\">Da prendere in carico ({{ ticketAssigned|length }})</span></a></li>
\t\t\t\t\t\t\t\t\t\t\t\t<li><a id=\"btn_tab_reminders\" href=\"#reminders\" class=\"tab_session2\" data-filterTab=\"reminders\"><i class=\"icon-clock d-block d-md-none\" data-bs-toggle=\"tooltip\" title=\"Promemoria ({{ ticketReminders|length }})\"></i><span class=\"d-none d-md-block responsive_font_size\">Promemoria ({{ ticketReminders|length }})</span></a></li>
\t\t\t\t\t\t\t\t\t\t\t</ul>
\t\t\t\t\t\t\t\t\t\t\t<div class=\"tab-container\">
\t\t\t\t\t\t\t\t\t\t\t\t{# Tabella riassuntiva #}
\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"tab-content clearfix\" id=\"summary\">
\t\t\t\t\t\t\t\t\t\t\t\t\t<h4 class=\"form_title\">Tabella riassuntiva</h4>
\t\t\t\t\t\t\t\t\t\t\t\t\t<hr class=\"m_t_none\">
\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"overflow_a\">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t<table class=\"table table-bordered font_12\">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<thead>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<tr class=\"bg_pr color_w\">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<th>Gruppo</th>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<th class=\"td_w_100p txt_a_c a_th_hover\" onclick=\"javascript: goToTicketList('assigned', '')\">Assegnati</th>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<th class=\"td_w_100p txt_a_c a_th_hover\" onclick=\"javascript: goToTicketList('taken_charge', '')\">Presi in carico</th>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<th class=\"td_w_100p txt_a_c a_th_hover\" onclick=\"javascript: goToTicketList('closed', '')\">Chiusi</th>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<th class=\"td_w_100p txt_a_c a_th_hover\" onclick=\"javascript: goToTicketList('suspension_request', '')\">Richieste sosp</th>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<th class=\"td_w_100p txt_a_c a_th_hover\" onclick=\"javascript: goToTicketList('suspended', '')\">Sospesi</th>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<th class=\"td_w_100p txt_a_c a_th_hover\" onclick=\"javascript: goToTicketList('canceled', '')\">Annullati</th>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<th class=\"td_w_100p txt_a_c a_th_hover\" onclick=\"javascript: goToTicketList('closed_portal', '')\">Chiusi su portale</th>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td class=\"bg_pr\" style=\"padding: 0px 0px 0px 0px; width: 0px;\"></td>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<th class=\"td_w_100p txt_a_c\">Totale</th>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</tr>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</thead>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<tbody class=\"table_td_hover\">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% set total = 0 %}
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% for og in operationGroups %}
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% set rowTotal = 0 %}
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<tr>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td class=\"bg_w\">{{ og.value }}</td>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% for ts in ticketStatuses %}
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% for ticketGroup in matrixTickets %}
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% if ticketGroup[0] == og.id %}
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% for grCounts in ticketGroup[1] %}
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% if grCounts[0] == ts.id %}
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% if app.user.accountTypology == 'technician' %}
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td class=\"txt_a_c a_td_hover\" onclick=\"javascript: goToTicketList('{{ ts.slug }}', '{{ og.slug }}')\">{{ grCounts[1] }}</td>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% else %}
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td class=\"txt_a_c a_td_hover\" onclick=\"javascript: goToTicketList('{{ ts.slug }}', '{{ og.id }}')\">{{ grCounts[1] }}</td>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% endif %}
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% set rowTotal = rowTotal + grCounts[1] %}
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% endif %}
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% endfor %}
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% endif %}
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% endfor %}
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% endfor %}
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td class=\"bg_pr\"></td>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<th class=\"txt_a_c\">{{ rowTotal }}</th>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</tr>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% set total = total + rowTotal %}
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% endfor %}
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<tr class=\"bg_pr\">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td class=\"bg_pr\"></td>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td class=\"bg_pr\"></td>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td class=\"bg_pr\"></td>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td class=\"bg_pr\"></td>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td class=\"bg_pr\"></td>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td class=\"bg_pr\"></td>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td class=\"bg_pr\"></td>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td class=\"bg_pr\"></td>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td class=\"bg_pr\"></td>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td class=\"bg_pr\"></td>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</tr>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<tr>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<th>Totale</th>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% for ts in ticketStatuses %}
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% set columnTotal = 0 %}
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% for ticketGroup in matrixTickets %}
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% for grCounts in ticketGroup[1] %}
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% if grCounts[0] == ts.id %}
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% set columnTotal = columnTotal + grCounts[1] %}
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% endif %}
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% endfor %}
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% endfor %}
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<th class=\"txt_a_c\">{{ columnTotal }}</th>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% endfor %}
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<th class=\"bg_pr\"></th>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<th class=\"txt_a_c\">{{ total }}</th>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</tr>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</tbody>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t</table>
\t\t\t\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t\t\t\t{# Da prendere in carico #}
\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"tab-content clearfix\" id=\"assigned\">
\t\t\t\t\t\t\t\t\t\t\t\t\t{% if ticketAssigned|length > 0 %}
\t\t\t\t\t\t\t\t\t\t\t\t\t\t<a href=\"javascript: ticketsTakeCharge()\" class=\"button button-3d button-mini button-green f_right font_12 m_t_none m_b_none\">Prendi in carico</a>
\t\t\t\t\t\t\t\t\t\t\t\t\t{% endif %}
\t\t\t\t\t\t\t\t\t\t\t\t\t<h4 class=\"form_title\">Da prendere in carico</h4>
\t\t\t\t\t\t\t\t\t\t\t\t\t<hr class=\"m_t_none m_b_5p\">
\t\t\t\t\t\t\t\t\t\t\t\t\t{% if ticketAssigned|length > 0 %}
\t\t\t\t\t\t\t\t\t\t\t\t\t\t<table class=\"table table-sm font_12\">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<tbody>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% for t in ticketAssigned %}
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<tr>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<table class=\"table table_no_padding m_b_none b_none font_12\">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<tr><td><b>Stato</b>: {{ t.displayStatus('string', settingProcessedActive)|raw }}</td></tr>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<tr><td><b>N°</b>: {{ t.number }}</td></tr>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<tr><td><b>Indirizzo</b>: {% include 'components/twig/display_address.html.twig' with {'type':'ticket', 'obj':t} %}</td></tr>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<tr><td><b>Cliente</b>: {{ t.client }}</td></tr>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<tr><td><b>Cliente - Indirizzo</b>: {% if t.client != null %}{% include 'components/twig/display_address.html.twig' with {'type':'client', 'obj':t.client} %}{% else %}---{% endif %}</td></tr>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<tr><td><b>Operazione</b>: {{ t.operation }}</td></tr>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<tr><td><b>Fornitore</b>: {{ t.supplier }}</td></tr>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<tr><td><b>Ricezione</b>: {% if t.datetimeStart != null %}{{ t.datetimeStart|date('d-m-Y H:i') }}{% else %}---{% endif %}</td></tr>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<tr><td><b>Scadenza</b>: {% if t.datetimeExpiration != null %}{{ t.datetimeExpiration|date('d-m-Y H:i') }}{% else %}---{% endif %}</td></tr>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</table>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</td>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td class=\"td_action\"><a href=\"{{ path ('user_ticket_sheet', {'ticketId':t.id}) }}\" data-bs-toggle=\"tooltip\" title=\"Vai alla scheda\"><img class=\"icon_pr\" src=\"{{ asset(icon_sheet) }}\"></a></td>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</tr>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% endfor %}
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</tbody>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t</table>
\t\t\t\t\t\t\t\t\t\t\t\t\t{% else %}
\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"style-msg successmsg m_b_none\">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"sb-msg font_12\"><i class=\"icon-thumbs-up\"></i><strong>Complimenti!</strong> Nessun ticket da prendere in carico!</div>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t\t\t\t\t{% endif %}
\t\t\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t\t\t\t{# Reminder #}
\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"tab-content clearfix\" id=\"reminders\">
\t\t\t\t\t\t\t\t\t\t\t\t\t<h4 class=\"form_title\">Promemoria</h4>
\t\t\t\t\t\t\t\t\t\t\t\t\t<hr class=\"m_t_none\">
\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"overflow_a\">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% if ticketReminders|length > 0 %}
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<table class=\"table table-sm responsive_font_size\">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<thead>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<tr>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<th class=\"td_w_150p\">Data/Ora</th>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<th>Dettagli</th>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<th></th>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</tr>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</thead>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<tbody>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% for r in ticketReminders %}
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<tr {% if r.datetime|date('YmdHi') < \"now\"|date('YmdHi') %}class=\"bg_r_h\"{% endif %}>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td>{{ r.datetime|date('d-m-Y H:i') }}</td>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td>{{ r.details }}</td>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td class=\"td_action\"><a href=\"{{ path ('user_ticket_sheet', {'ticketId':r.ticket.id}) }}\" data-bs-toggle=\"tooltip\" title=\"Vai alla scheda\"><img class=\"icon_pr\" src=\"{{ asset(icon_sheet) }}\"></a></td>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</tr>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% endfor %}
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</tbody>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</table>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% else %}
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"style-msg successmsg m_b_none\">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"sb-msg\"><i class=\"icon-thumbs-up\"></i><strong>Complimenti!</strong> Nessun promemoria presente!</div>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% endif %}
\t\t\t\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t{# Magazzini #}
\t\t\t\t\t\t\t<div class=\"tab-content clearfix\" id=\"warehouse\">
\t\t\t\t\t\t\t\t<div class=\"row\">
\t\t\t\t\t\t\t\t\t<div class=\"col-12 overflow_a\">
\t\t\t\t\t\t\t\t\t\t{% if warehousesTransfers|length == 1 %}
\t\t\t\t\t\t\t\t\t\t\t{% for wt in warehousesTransfers %}
\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"row\">
\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"col-12\">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t<h4 class=\"form_title\">{{ wt[1] }}</h4>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t<hr class=\"m_t_none\">
\t\t\t\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"col-12 col-lg-4 m_b_20p\">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t<h5 class=\"form_title\">Trasferimenti in entrata non completati</h5>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t<hr class=\"m_t_none m_b_5p\">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% if wt[2]|length > 0 %}
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<table class=\"table table-sm font_12\">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<tbody>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% for pt in wt[2] %}
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<tr>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<table class=\"table table_no_padding m_b_none b_none font_12\">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<tr><td><b>Fase</b>: {{ pt.displayPhase('string')|raw }}</td></tr>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<tr><td><b>Magazzino provenienza</b>: {{ pt.warehouseFrom }}</td></tr>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<tr><td><b>Fornitore</b>: {{ pt.supplier }}</td></tr>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<tr><td><b>Data creazione</b>: {{ pt.datetimeCreation|date('d-m-Y H:i') }}</td></tr>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<tr><td><b>Data invio</b>: {% if pt.datetimeSend != null %}{{ pt.datetimeSend|date('d-m-Y H:i') }}{% else %}---{% endif %}</td></tr>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<tr><td><b>Data completamento</b>: {% if pt.datetimeCompletion %}{{ pt.datetimeCompletion|date('d-m-Y H:i') }}{% else %}---{% endif %}</td></tr>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</table>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</td>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td class=\"td_action\"><a href=\"{{ path ('user_warehouse_transfer_sheet', {'warehouseId':wt[0], 'transferId':pt.id}) }}\" data-bs-toggle=\"tooltip\" title=\"Vai alla scheda trasferimento\"><img class=\"icon_pr\" src=\"{{ asset(icon_sheet) }}\"></a></td>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</tr>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% endfor %}
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</tbody>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</table>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% else %}
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"style-msg successmsg m_b_none\">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"sb-msg font_12\"><i class=\"icon-thumbs-up\"></i><strong>Complimenti!</strong> Nessun trasferimento in entrata!</div>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% endif %}
\t\t\t\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"col-12 col-lg-4 m_b_20p\">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t<h5 class=\"form_title\">Trasferimenti in uscita non completati</h5>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t<hr class=\"m_t_none m_b_5p\">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% if wt[3]|length > 0 %}
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<table class=\"table table-sm font_12\">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<tbody>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% for pt in wt[3] %}
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<tr>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<table class=\"table table_no_padding m_b_none b_none font_12\">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<tr><td><b>Fase</b>: {{ pt.displayPhase('string')|raw }}</td></tr>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<tr><td><b>Magazzino provenienza</b>: {{ pt.warehouseFrom }}</td></tr>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<tr><td><b>Fornitore</b>: {{ pt.supplier }}</td></tr>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<tr><td><b>Data creazione</b>: {{ pt.datetimeCreation|date('d-m-Y H:i') }}</td></tr>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<tr><td><b>Data invio</b>: {% if pt.datetimeSend != null %}{{ pt.datetimeSend|date('d-m-Y H:i') }}{% else %}---{% endif %}</td></tr>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<tr><td><b>Data completamento</b>: {% if pt.datetimeCompletion %}{{ pt.datetimeCompletion|date('d-m-Y H:i') }}{% else %}---{% endif %}</td></tr>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</table>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</td>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td class=\"td_action\"><a href=\"{{ path ('user_warehouse_transfer_sheet', {'warehouseId':wt[0], 'transferId':pt.id}) }}\" data-bs-toggle=\"tooltip\" title=\"Vai alla scheda trasferimento\"><img class=\"icon_pr\" src=\"{{ asset(icon_sheet) }}\"></a></td>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</tr>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% endfor %}
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</tbody>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</table>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% else %}
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"style-msg successmsg m_b_none\">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"sb-msg font_12\"><i class=\"icon-thumbs-up\"></i><strong>Complimenti!</strong> Nessun trasferimento in uscita!</div>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% endif %}
\t\t\t\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"col-12 col-lg-4\">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t<h5 class=\"form_title\">Trasferimenti senza DDT firmato</h5>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t<hr class=\"m_t_none m_b_5p\">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% if wt[4]|length > 0 %}
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<table class=\"table table-sm font_12\">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<tbody>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% for pt in wt[4] %}
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<tr>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<table class=\"table table_no_padding m_b_none b_none font_12\">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<tr><td><b>Fase</b>: {{ pt.displayPhase('string')|raw }}</td></tr>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<tr><td><b>Fase DDT</b>: {{ pt.displayPhaseDdt('string')|raw }}</td></tr>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<tr><td><b>Magazzino provenienza</b>: {{ pt.warehouseFrom }}</td></tr>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<tr><td><b>Magazzino destinazione</b>: {{ pt.warehouseTo }}</td></tr>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<tr><td><b>Fornitore</b>: {{ pt.supplier }}</td></tr>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<tr><td><b>Data creazione</b>: {{ pt.datetimeCreation|date('d-m-Y H:i') }}</td></tr>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<tr><td><b>Data invio</b>: {% if pt.datetimeSend != null %}{{ pt.datetimeSend|date('d-m-Y H:i') }}{% else %}---{% endif %}</td></tr>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<tr><td><b>Data completamento</b>: {% if pt.datetimeCompletion %}{{ pt.datetimeCompletion|date('d-m-Y H:i') }}{% else %}---{% endif %}</td></tr>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</table>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</td>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td class=\"td_action\"><a href=\"{{ path ('user_warehouse_transfer_sheet', {'warehouseId':wt[0], 'transferId':pt.id}) }}\" data-bs-toggle=\"tooltip\" title=\"Vai alla scheda trasferimento\"><img class=\"icon_pr\" src=\"{{ asset(icon_sheet) }}\"></a></td>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</tr>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% endfor %}
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</tbody>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</table>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% else %}
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"style-msg successmsg m_b_none\">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"sb-msg font_12\"><i class=\"icon-thumbs-up\"></i><strong>Complimenti!</strong> Nessun trasferimento in uscita!</div>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% endif %}
\t\t\t\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t\t\t{% endfor %}
\t\t\t\t\t\t\t\t\t\t{% else %}
\t\t\t\t\t\t\t\t\t\t\t<div class=\"tabs side-tabs clearfix m_b_none\">
\t\t\t\t\t\t\t\t\t\t\t\t<ul class=\"tab-nav tab-nav2 clearfix\">
\t\t\t\t\t\t\t\t\t\t\t\t\t{% for wt in warehousesTransfers %}
\t\t\t\t\t\t\t\t\t\t\t\t\t\t<li><a id=\"btn_tab_wt_{{ wt[0] }}\" href=\"#wt_{{ wt[0] }}\" class=\"tab_session2\" data-filterTab=\"wt_{{ wt[0] }}\"><i class=\"icon-warehouse d-block d-md-none\" data-bs-toggle=\"tooltip\" title=\"{{ wt[1] }}\"></i><span class=\"d-none d-md-block font_12\">{{ wt[1] }}</span></a></li>
\t\t\t\t\t\t\t\t\t\t\t\t\t{% endfor %}
\t\t\t\t\t\t\t\t\t\t\t\t</ul>
\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"tab-container\">
\t\t\t\t\t\t\t\t\t\t\t\t\t{# Magazzini tecnico #}
\t\t\t\t\t\t\t\t\t\t\t\t\t{% for wt in warehousesTransfers %}
\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"tab-content clearfix\" id=\"wt_{{ wt[0] }}\">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"row\">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"col-12\">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<h4 class=\"form_title\">{{ wt[1] }}</h4>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<hr class=\"m_t_none\">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"col-12 col-lg-4 m_b_20p\">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<h5 class=\"form_title\">Trasferimenti in entrata non completati</h5>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<hr class=\"m_t_none\">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% if wt[2]|length > 0 %}
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<table class=\"table table-sm font_12\">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<thead>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<tr>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<th class=\"txt_a_c\">Fase</th>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<th>Magazzino provenienza</th>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<th>Fornitore</th>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<th>Data creazione</th>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<th>Data invio</th>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<th>Data completamento</th>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<th></th>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</tr>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</thead>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<tbody>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% for pt in wt[2] %}
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<tr>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td class=\"txt_a_c\">{{ pt.displayPhase('icon')|raw }}</td>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td>{{ pt.warehouseFrom }}</td>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td>{{ pt.supplier }}</td>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td>{{ pt.datetimeCreation|date('d-m-Y H:i') }}</td>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td>{{ pt.datetimeSend|date('d-m-Y H:i') }}</td>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td>{{ pt.datetimeCompletion|date('d-m-Y H:i') }}</td>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td class=\"td_action\"><a href=\"{{ path ('user_warehouse_transfer_sheet', {'warehouseId':wt[0], 'transferId':pt.id}) }}\" data-bs-toggle=\"tooltip\" title=\"Vai alla scheda trasferimento\"><img class=\"icon_pr\" src=\"{{ asset(icon_sheet) }}\"></a></td>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</tr>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% endfor %}
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</tbody>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</table>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% else %}
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"style-msg successmsg m_b_none\">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"sb-msg font_12\"><i class=\"icon-thumbs-up\"></i><strong>Complimenti!</strong> Nessun trasferimento in entrata non completato!</div>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% endif %}
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"col-12 col-lg-4 m_b_20p\">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<h5 class=\"form_title\">Trasferimenti in uscita non completati</h5>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<hr class=\"m_t_none\">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% if wt[3]|length > 0 %}
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<table class=\"table table-sm font_12\">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<thead>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<tr>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<th class=\"txt_a_c\">Fase</th>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<th>Magazzino destinazione</th>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<th>Fornitore</th>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<th>Data creazione</th>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<th>Data invio</th>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<th>Data completamento</th>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<th></th>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</tr>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</thead>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<tbody>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% for pt in wt[3] %}
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<tr>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td class=\"txt_a_c\">{{ pt.displayPhase('icon')|raw }}</td>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td>{{ pt.warehouseTo }}</td>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td>{{ pt.supplier }}</td>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td>{{ pt.datetimeCreation|date('d-m-Y H:i') }}</td>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td>{{ pt.datetimeSend|date('d-m-Y H:i') }}</td>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td>{{ pt.datetimeCompletion|date('d-m-Y H:i') }}</td>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td class=\"td_action\"><a href=\"{{ path ('user_warehouse_transfer_sheet', {'warehouseId':wt[0], 'transferId':pt.id}) }}\" data-bs-toggle=\"tooltip\" title=\"Vai alla scheda trasferimento\"><img class=\"icon_pr\" src=\"{{ asset(icon_sheet) }}\"></a></td>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</tr>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% endfor %}
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</tbody>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</table>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% else %}
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"style-msg successmsg m_b_none\">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"sb-msg font_12\"><i class=\"icon-thumbs-up\"></i><strong>Complimenti!</strong> Nessun trasferimento in uscita non completato!</div>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% endif %}
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"col-12 col-lg-4\">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<h5 class=\"form_title\">Trasferimenti senza DDT firmato</h5>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<hr class=\"m_t_none m_b_5p\">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% if wt[4]|length > 0 %}
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<table class=\"table table-sm font_12\">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<tbody>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% for pt in wt[4] %}
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<tr>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<table class=\"table table_no_padding m_b_none b_none font_12\">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<tr><td><b>Fase</b>: {{ pt.displayPhase('string')|raw }}</td></tr>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<tr><td><b>Fase DDT</b>: {{ pt.displayPhaseDdt('string')|raw }}</td></tr>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<tr><td><b>Magazzino provenienza</b>: {{ pt.warehouseFrom }}</td></tr>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<tr><td><b>Magazzino destinazione</b>: {{ pt.warehouseTo }}</td></tr>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<tr><td><b>Fornitore</b>: {{ pt.supplier }}</td></tr>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<tr><td><b>Data creazione</b>: {{ pt.datetimeCreation|date('d-m-Y H:i') }}</td></tr>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<tr><td><b>Data invio</b>: {{ pt.datetimeSend|date('d-m-Y H:i') }}</td></tr>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<tr><td><b>Data completamento</b>: {{ pt.datetimeCompletion|date('d-m-Y H:i') }}</td></tr>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</table>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</td>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td class=\"td_action\"><a href=\"{{ path ('user_warehouse_transfer_sheet', {'warehouseId':wt[0], 'transferId':pt.id}) }}\" data-bs-toggle=\"tooltip\" title=\"Vai alla scheda trasferimento\"><img class=\"icon_pr\" src=\"{{ asset(icon_sheet) }}\"></a></td>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</tr>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% endfor %}
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</tbody>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</table>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% else %}
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"style-msg successmsg m_b_none\">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"sb-msg font_12\"><i class=\"icon-thumbs-up\"></i><strong>Complimenti!</strong> Nessun trasferimento in uscita!</div>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% endif %}
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t\t\t\t\t{% endfor %}
\t\t\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t\t{% endif %}
\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t{# Cerca #}
\t\t\t\t\t\t\t{% if app.user.canRead('desk_search') %}
\t\t\t\t\t\t\t\t<div class=\"tab-content clearfix\" id=\"search\">
\t\t\t\t\t\t\t\t\t<form action=\"{{ path ('user_search_redirect') }}\" method=\"post\" id=\"form_search\">
\t\t\t\t\t\t\t\t\t\t<div class=\"row\">
\t\t\t\t\t\t\t\t\t\t\t<div class=\"col-12 col-md-6 m_b_20p\">
\t\t\t\t\t\t\t\t\t\t\t\t<h4 class=\"form_title\">Ricerca cliente</h4>
\t\t\t\t\t\t\t\t\t\t\t\t<hr class=\"m_t_none\">
\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"form-group\">
\t\t\t\t\t\t\t\t\t\t\t\t\t<label class=\"form_label m_b_none\">Insegna</label>
\t\t\t\t\t\t\t\t\t\t\t\t\t<input type=\"text\" class=\"form-control\" name=\"clientNickname\">
\t\t\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"form-group\">
\t\t\t\t\t\t\t\t\t\t\t\t\t<label class=\"form_label m_b_none\">Numero di telefono</label>
\t\t\t\t\t\t\t\t\t\t\t\t\t<input type=\"text\" class=\"form-control\" name=\"clientPhone\">
\t\t\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"txt_a_c\">
\t\t\t\t\t\t\t\t\t\t\t\t\t<a href=\"javascript: submitTechnicianSearch('client')\" class=\"button button-3d button-small button-rounded button-green\">Cerca</a>
\t\t\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t\t\t<div class=\"col-12 col-md-6 m_b_20p\">
\t\t\t\t\t\t\t\t\t\t\t\t<h4 class=\"form_title\">Ricerca ticket</h4>
\t\t\t\t\t\t\t\t\t\t\t\t<hr class=\"m_t_none\">
\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"form-group\">
\t\t\t\t\t\t\t\t\t\t\t\t\t<label class=\"form_label m_b_none\">Numero ticket o termid</label>
\t\t\t\t\t\t\t\t\t\t\t\t\t<input type=\"text\" class=\"form-control\" name=\"number\">
\t\t\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"txt_a_c\">
\t\t\t\t\t\t\t\t\t\t\t\t\t<a href=\"javascript: submitTechnicianSearch('ticket')\" class=\"button button-3d button-small button-rounded button-green\">Cerca</a>
\t\t\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t\t\t<div class=\"col-12 col-md-6\">
\t\t\t\t\t\t\t\t\t\t\t\t<h4 class=\"form_title\">Ricerca prodotto</h4>
\t\t\t\t\t\t\t\t\t\t\t\t<hr class=\"m_t_none\">
\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"form-group\">
\t\t\t\t\t\t\t\t\t\t\t\t\t<label class=\"form_label m_b_none\">Matricola produttore</label>
\t\t\t\t\t\t\t\t\t\t\t\t\t<input type=\"text\" class=\"form-control\" name=\"codeProducer\">
\t\t\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"form-group\">
\t\t\t\t\t\t\t\t\t\t\t\t\t<label class=\"form_label m_b_none\">Matricola fornitore</label>
\t\t\t\t\t\t\t\t\t\t\t\t\t<input type=\"text\" class=\"form-control\" name=\"codeSupplier\">
\t\t\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"txt_a_c\">
\t\t\t\t\t\t\t\t\t\t\t\t\t<a href=\"javascript: submitTechnicianSearch('product')\" class=\"button button-3d button-small button-rounded button-green\">Cerca</a>
\t\t\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t\t<input type=\"hidden\" id=\"search_type\" name=\"type\">
\t\t\t\t\t\t\t\t\t</form>
\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t{% endif %}
\t\t\t\t\t\t</div>
\t\t\t\t\t</div>
\t\t\t\t</div>
\t\t\t</div>
\t\t{% endif %}
\t</section>
\t{% if app.user.getAccountTypology == 'agency' or app.user.getAccountTypology == 'technician' %}
\t\t<form action=\"{{ path ('user_ticket_list_tab') }}\" method=\"post\" id=\"formGoToTickets\">
\t\t\t<input type=\"hidden\" id=\"ticketTabOpen\" name=\"ticketTabOpen\">
\t\t\t<input type=\"hidden\" id=\"ticketOperationGroup\" name=\"ticketOperationGroup\">
\t\t\t<input type=\"hidden\" id=\"ticketTechnician\" name=\"ticketTechnician\">
\t\t</form>
\t{% endif %}
\t
\t{# Modale notifiche #}
\t<div id=\"modalAlerts\" class=\"modal fade\" tabindex=\"-1\" role=\"dialog\">
\t\t<div class=\"modal-dialog\" role=\"document\" style=\"max-width:98%\">
\t\t\t<div class=\"modal-content\">
\t\t\t\t<div class=\"modal-header\"><h3 class=\"modal-title\">Notifiche</h3></div>
\t\t\t\t<div class=\"modal-body\">
\t\t\t\t</div>
\t\t\t\t<div class=\"modal-footer txt_a_c\">
\t\t\t\t\t<a href=\"javascript:void(0)\" class=\"button button-3d button-mini button-pr\" data-bs-dismiss=\"modal\">Chiudi</a>
\t\t\t\t</div>
\t\t\t</div>
\t\t</div>
\t</div>
\t{% if app.user.getAccountTypology != 'technician' and app.user.canWrite('ticket') %}
\t\t<div id=\"modalTicketUnlockSuspension\" class=\"modal fade\" tabindex=\"-1\" role=\"dialog\">
\t\t\t<div class=\"modal-dialog\" role=\"document\">
\t\t\t\t<div class=\"modal-content\">
\t\t\t\t\t<div class=\"modal-header\"><h3 class=\"modal-title\">Ticket - Sblocca sospensione materiale</h3></div>
\t\t\t\t\t<div class=\"modal-body\">
\t\t\t\t\t\t<input type=\"hidden\" id=\"ticketUnlockId\">
\t\t\t\t\t\t<div class=\"row\">
\t\t\t\t\t\t\t<div class=\"col-12 txt_a_c\">
\t\t\t\t\t\t\t\t<label class=\"modal_subtitle\">Attenzione!</label>
\t\t\t\t\t\t\t\t<p class=\"modal_paragraph\">Cliccando sul bottone <a class='button button-3d button-mini button-green' href='javascript:void(0)'>conferma</a> sbloccherai il ticket.<br>Si è sicuri di voler proseguire?</p>
\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t</div>
\t\t\t\t\t</div>
\t\t\t\t\t<div class=\"modal-footer\">
\t\t\t\t\t\t<a href=\"javascript:void(0)\" class=\"button button-3d button-mini button-red f_left\" data-bs-dismiss=\"modal\">Annulla</a>
\t\t\t\t\t\t<a href=\"javascript:ticketUnlockSuspensionSubmit()\" class=\"button button-3d button-mini button-green f_right\">Conferma</a>
\t\t\t\t\t</div>
\t\t\t\t</div>
\t\t\t</div>
\t\t</div>
\t{% endif %}
\t{% if app.user.getAccountTypology == 'technician' %}\t
\t\t<div id=\"takeChargeModal\" class=\"modal fade\" tabindex=\"-1\" role=\"dialog\">
\t\t\t<div class=\"modal-dialog\" role=\"document\">
\t\t\t\t<div class=\"modal-content\">
\t\t\t\t\t<form action=\"{{ path ('user_ticket_take_charge') }}\" method=\"post\">
\t\t\t\t\t\t<div class=\"modal-header\"><h3 class=\"modal-title\">Ticket - Prendi in carico</h3></div>
\t\t\t\t\t\t<div class=\"modal-body\">
\t\t\t\t\t\t\t<div class=\"row\">
\t\t\t\t\t\t\t\t<div class=\"col-12 txt_a_c\">
\t\t\t\t\t\t\t\t\t<label class=\"modal_subtitle\">Attenzione!</label>
\t\t\t\t\t\t\t\t\t<p class=\"modal_paragraph\">Cliccando sul bottone <a class='button button-3d button-mini button-green' href='javascript:void(0)'>conferma</a> prenderai in carico tutti i ticket che ti sono stati assegnati.<br>Si è sicuri di voler proseguire?</p>
\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t</div>
\t\t\t\t\t\t<div class=\"modal-footer\">
\t\t\t\t\t\t\t<a href=\"javascript:void(0)\" class=\"button button-3d button-mini button-red f_left\" data-bs-dismiss=\"modal\">Annulla</a>
\t\t\t\t\t\t\t<button type=\"submit\" class=\"button button-3d button-mini button-green f_right\">Conferma</button>
\t\t\t\t\t\t</div>
\t\t\t\t\t</form>
\t\t\t\t</div>
\t\t\t</div>
\t\t</div>
\t{% endif %}
{% endblock %}
{% block javascripts %}
{{ parent() }}
<script>
\t{# Agenzia #}
\t{% if app.user.getAccountTypology == 'agency' or app.user.getAccountTypology == 'technician' %}
\t\tfunction goToTicketList(tab, operationGroup){
\t\t\tdocument.getElementById('ticketTabOpen').value = tab;
\t\t\tdocument.getElementById('ticketOperationGroup').value = operationGroup;
\t triggerLoading();
\t\t\t\$('#formGoToTickets').submit();
\t\t}
\t{% endif %}
\t
\t{% if app.user.getAccountTypology == 'agency' %}
\t\tfunction goToTechTicketList(operationGroup, technician){
\t\t\tdocument.getElementById('ticketTabOpen').value = 'taken_charge';
\t\t\tdocument.getElementById('ticketOperationGroup').value = operationGroup;
\t\t\tdocument.getElementById('ticketTechnician').value = technician;
\t triggerLoading();
\t\t\t\$('#formGoToTickets').submit();
\t\t}
\t{% endif %}
\t{% if app.user.getAccountTypology != 'technician' and app.user.canWrite('ticket') %}
\t\tfunction unlockSuspension(id){
\t\t\tdocument.getElementById('ticketUnlockId').value = id;
\t\t\t\$('#modalTicketUnlockSuspension').modal({backdrop: 'static', keyboard: false}).modal(\"show\");
\t\t}
\t\tfunction ticketUnlockSuspensionSubmit(){
\t\t\ttriggerLoadingInElement('table_ticket_waiting_for_material');
\t\t\tvar id = document.getElementById('ticketUnlockId').value;
\t\t\t\$.post('{{ path (\"user_ticket_unlock_waiting_material\") }}', {ticketId: id}, function(response){
\t\t\t\tif(response.code == 200 && response.success){
\t\t\t\t\t\$.get(\"{{ path ('user_index_ticket_unlock_refresh') }}\", function(data) { \$(\"#table_ticket_waiting_for_material\").html(data); });
\t\t\t\t\t\$.get(\"{{ path ('user_index_ticket_tab_refresh', {'tab':'waiting_for_material'}) }}\", function(data) { \$(\"#btn_tab_waiting_for_material\").html(data); });
\t\t\t\t\t\$('#modalTicketUnlockSuspension').modal(\"hide\");
\t\t\t\t}
\t\t\t}, \"json\");
\$('[data-bs-toggle=\"tooltip\"]').tooltip();
\t\t}
\t{% endif %}
\t
\tfunction openModalAlerts(){
\t\t\$('#modalAlerts').modal({backdrop: 'static', keyboard: false}).modal(\"show\");
\t}
\t{% if app.user.getAccountTypology == 'technician' %}
\t\tfunction ticketsTakeCharge(){
\t\t\t\$('#takeChargeModal').modal({backdrop: 'static', keyboard: false}).modal(\"show\");
\t\t}
\t\tfunction submitTechnicianSearch(type){
\t\t\tdocument.getElementById('search_type').value = type;
\t\t\ttriggerLoading();
\t\t\t\$('#form_search').submit();
\t\t}
\t{% endif %}
</script>
{% endblock %}", "role/user/index.html.twig", "/var/www/vhosts/eposmanager.software/templates/role/user/index.html.twig");
}
}