<?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 "\">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 "\">Importa 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 "\">Aggiungi valore colonna ticket</a></li>";
}
// line 113
yield "\t\t\t</ul>
\t\t</li>
\t";
}
// line 116
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 119
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 122
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 125
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 127
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 128
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.', 128, $this->source); })()), "user", [], "any", false, false, false, 128), "getAccountTypology", [], "any", false, false, false, 128) == "agency")) {
yield "<li class=\"nav-item\"><a class=\"nav-link\" href=\"";
yield $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("user_settings");
yield "\">Impostazioni</a></li>";
}
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
return; yield '';
}
// line 131
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 132
yield "\t<section class=\"m_tb_40p p_lr_30p\">
\t\t";
// line 133
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.', 133, $this->source); })()), "user", [], "any", false, false, false, 133), "getAccountTypology", [], "any", false, false, false, 133) == "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.', 133, $this->source); })()), "user", [], "any", false, false, false, 133), "getAccountTypology", [], "any", false, false, false, 133) == "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.', 133, $this->source); })()), "user", [], "any", false, false, false, 133), "getAccountTypology", [], "any", false, false, false, 133) == "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.', 133, $this->source); })()), "user", [], "any", false, false, false, 133), "getAccountTypology", [], "any", false, false, false, 133) == "warehouse"))) {
yield " ";
// line 134
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 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), "canViewTab", ["desk_ticket"], "method", false, false, false, 138)) {
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 139
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.', 139, $this->source); })()), "user", [], "any", false, false, false, 139), "canViewTab", ["desk_warehouse"], "method", false, false, false, 139)) {
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 140
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.', 140, $this->source); })()), "user", [], "any", false, false, false, 140), "canViewTab", ["desk_operation"], "method", false, false, false, 140)) {
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 141
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.', 141, $this->source); })()), "user", [], "any", false, false, false, 141), "canViewTab", ["desk_product"], "method", false, false, false, 141)) {
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 142
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.', 142, $this->source); })()), "user", [], "any", false, false, false, 142), "canViewTab", ["desk_search"], "method", false, false, false, 142)) {
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 143
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 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_ticket"], "method", false, false, false, 146)) {
// line 147
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 152
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.', 152, $this->source); })()), "user", [], "any", false, false, false, 152), "canRead", ["desk_ticket_summary_ticket"], "method", false, false, false, 152)) {
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 153
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.', 153, $this->source); })()), "user", [], "any", false, false, false, 153), "canRead", ["desk_ticket_summary_techs"], "method", false, false, false, 153)) {
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 154
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.', 154, $this->source); })()), "user", [], "any", false, false, false, 154), "canRead", ["desk_ticket_errors"], "method", false, false, false, 154)) {
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.', 154, $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.', 154, $this->source); })())), "html", null, true);
yield ")</span></a></li>";
}
// line 155
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.', 155, $this->source); })()), "user", [], "any", false, false, false, 155), "canRead", ["desk_ticket_suspension_requests"], "method", false, false, false, 155)) {
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.', 155, $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.', 155, $this->source); })())), "html", null, true);
yield ")</span></a></li>";
}
// line 156
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.', 156, $this->source); })()), "user", [], "any", false, false, false, 156), "canRead", ["desk_ticket_closed_portal"], "method", false, false, false, 156)) {
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.', 156, $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.', 156, $this->source); })())), "html", null, true);
yield ")</span></a></li>";
}
// line 157
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.', 157, $this->source); })()), "user", [], "any", false, false, false, 157), "canRead", ["desk_ticket_waiting_for_material"], "method", false, false, false, 157)) {
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", 157)->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.', 157, $this->source); })()))) . ")")]));
yield "</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_intervention_without_activities"], "method", false, false, false, 158)) {
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.', 158, $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.', 158, $this->source); })())), "html", null, true);
yield ")</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_intervention_tariff_out"], "method", false, false, false, 159)) {
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.', 159, $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.', 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_extras"], "method", false, false, false, 160)) {
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.', 160, $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.', 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_reminders"], "method", false, false, false, 161)) {
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.', 161, $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.', 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</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 164
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_summary_ticket"], "method", false, false, false, 164)) {
// line 165
yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
// line 166
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 188
$context["total"] = 0;
// line 189
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.', 189, $this->source); })()));
foreach ($context['_seq'] as $context["_key"] => $context["og"]) {
// line 190
yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
$context["rowTotal"] = 0;
// line 191
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 192
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["og"], "value", [], "any", false, false, false, 192), "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 193
$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.', 193, $this->source); })()));
foreach ($context['_seq'] as $context["_key"] => $context["ts"]) {
// line 194
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.', 194, $this->source); })()));
foreach ($context['_seq'] as $context["_key"] => $context["ticketGroup"]) {
// line 195
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, 195) == CoreExtension::getAttribute($this->env, $this->source, $context["og"], "id", [], "any", false, false, false, 195))) {
// line 196
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, 196));
foreach ($context['_seq'] as $context["_key"] => $context["grCounts"]) {
// line 197
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, 197) == CoreExtension::getAttribute($this->env, $this->source, $context["ts"], "id", [], "any", false, false, false, 197))) {
// line 198
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.', 198, $this->source); })()), "user", [], "any", false, false, false, 198), "accountTypology", [], "any", false, false, false, 198) == "technician")) {
// line 199
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, 199), "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, 199), "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, 199), "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 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\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, 201), "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, 201), "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, 201), "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 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";
$context["rowTotal"] = ((isset($context["rowTotal"]) || array_key_exists("rowTotal", $context) ? $context["rowTotal"] : (function () { throw new RuntimeError('Variable "rowTotal" does not exist.', 203, $this->source); })()) + CoreExtension::getAttribute($this->env, $this->source, $context["grCounts"], 1, [], "array", false, false, false, 203));
// 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";
}
// line 205
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 206
yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
}
// line 207
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 208
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 209
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 210
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.', 210, $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 212
$context["total"] = ((isset($context["total"]) || array_key_exists("total", $context) ? $context["total"] : (function () { throw new RuntimeError('Variable "total" does not exist.', 212, $this->source); })()) + (isset($context["rowTotal"]) || array_key_exists("rowTotal", $context) ? $context["rowTotal"] : (function () { throw new RuntimeError('Variable "rowTotal" does not exist.', 212, $this->source); })()));
// line 213
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 214
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 216
$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.', 216, $this->source); })()));
foreach ($context['_seq'] as $context["_key"] => $context["ts"]) {
// line 217
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 219
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 224
$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.', 224, $this->source); })()));
foreach ($context['_seq'] as $context["_key"] => $context["ts"]) {
// line 225
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 226
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.', 226, $this->source); })()));
foreach ($context['_seq'] as $context["_key"] => $context["ticketGroup"]) {
// line 227
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, 227));
foreach ($context['_seq'] as $context["_key"] => $context["grCounts"]) {
// line 228
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, 228) == CoreExtension::getAttribute($this->env, $this->source, $context["ts"], "id", [], "any", false, false, false, 228))) {
// line 229
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.', 229, $this->source); })()) + CoreExtension::getAttribute($this->env, $this->source, $context["grCounts"], 1, [], "array", false, false, false, 229));
// line 230
yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
}
// line 231
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 232
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 233
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.', 233, $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 235
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 236
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.', 236, $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 243
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.', 243, $this->source); })()), "user", [], "any", false, false, false, 243), "canRead", ["desk_ticket_summary_techs"], "method", false, false, false, 243)) {
// line 244
yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
// line 245
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 253
$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.', 253, $this->source); })()));
foreach ($context['_seq'] as $context["_key"] => $context["og"]) {
// line 254
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, 254), "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, 254), "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 256
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 261
$context["totalAssigned"] = 0;
// line 262
yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
$context["totalTakenCharge"] = 0;
// line 263
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.', 263, $this->source); })()));
foreach ($context['_seq'] as $context["_key"] => $context["tech"]) {
// line 264
yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
$context["rowTotalAssigned"] = 0;
// line 265
yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
$context["rowTotalTakenCharge"] = 0;
// line 266
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 267
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 268
$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.', 268, $this->source); })()));
foreach ($context['_seq'] as $context["_key"] => $context["og"]) {
// line 269
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.', 269, $this->source); })()));
foreach ($context['_seq'] as $context["_key"] => $context["techGroup"]) {
// line 270
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, 270) == CoreExtension::getAttribute($this->env, $this->source, $context["tech"], "id", [], "any", false, false, false, 270))) {
// line 271
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, 271));
foreach ($context['_seq'] as $context["_key"] => $context["techCounts"]) {
// line 272
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, 272) == CoreExtension::getAttribute($this->env, $this->source, $context["og"], "id", [], "any", false, false, false, 272))) {
// line 273
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, 273), "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, 273), "html", null, true);
yield " ";
if ((CoreExtension::getAttribute($this->env, $this->source, $context["techCounts"], 1, [], "array", false, false, false, 273) > 0)) {
yield "(";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["techCounts"], 1, [], "array", false, false, false, 273), "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 274
$context["rowTotalAssigned"] = ((isset($context["rowTotalAssigned"]) || array_key_exists("rowTotalAssigned", $context) ? $context["rowTotalAssigned"] : (function () { throw new RuntimeError('Variable "rowTotalAssigned" does not exist.', 274, $this->source); })()) + CoreExtension::getAttribute($this->env, $this->source, $context["techCounts"], 1, [], "array", false, false, false, 274));
// 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\t\t\t";
$context["rowTotalTakenCharge"] = ((isset($context["rowTotalTakenCharge"]) || array_key_exists("rowTotalTakenCharge", $context) ? $context["rowTotalTakenCharge"] : (function () { throw new RuntimeError('Variable "rowTotalTakenCharge" does not exist.', 275, $this->source); })()) + CoreExtension::getAttribute($this->env, $this->source, $context["techCounts"], 2, [], "array", 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\t";
}
// 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";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['techCounts'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// 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";
}
// line 279
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 280
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 281
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 282
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.', 282, $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.', 282, $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.', 282, $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 284
$context["totalAssigned"] = ((isset($context["totalAssigned"]) || array_key_exists("totalAssigned", $context) ? $context["totalAssigned"] : (function () { throw new RuntimeError('Variable "totalAssigned" does not exist.', 284, $this->source); })()) + (isset($context["rowTotalAssigned"]) || array_key_exists("rowTotalAssigned", $context) ? $context["rowTotalAssigned"] : (function () { throw new RuntimeError('Variable "rowTotalAssigned" does not exist.', 284, $this->source); })()));
// line 285
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.', 285, $this->source); })()) + (isset($context["rowTotalTakenCharge"]) || array_key_exists("rowTotalTakenCharge", $context) ? $context["rowTotalTakenCharge"] : (function () { throw new RuntimeError('Variable "rowTotalTakenCharge" does not exist.', 285, $this->source); })()));
// line 286
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 287
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 289
$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.', 289, $this->source); })()));
foreach ($context['_seq'] as $context["_key"] => $context["og"]) {
// line 290
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 292
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 297
$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.', 297, $this->source); })()));
foreach ($context['_seq'] as $context["_key"] => $context["og"]) {
// line 298
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 299
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 300
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.', 300, $this->source); })()));
foreach ($context['_seq'] as $context["_key"] => $context["techGroup"]) {
// line 301
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, 301));
foreach ($context['_seq'] as $context["_key"] => $context["techCounts"]) {
// line 302
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, 302) == CoreExtension::getAttribute($this->env, $this->source, $context["og"], "id", [], "any", false, false, false, 302))) {
// line 303
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.', 303, $this->source); })()) + CoreExtension::getAttribute($this->env, $this->source, $context["techCounts"], 1, [], "array", false, false, false, 303));
// line 304
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.', 304, $this->source); })()) + CoreExtension::getAttribute($this->env, $this->source, $context["techCounts"], 2, [], "array", false, false, false, 304));
// line 305
yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
}
// line 306
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 307
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 308
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.', 308, $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.', 308, $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.', 308, $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 310
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 311
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.', 311, $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.', 311, $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.', 311, $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 318
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.', 318, $this->source); })()), "user", [], "any", false, false, false, 318), "canRead", ["desk_ticket_errors"], "method", false, false, false, 318)) {
// line 319
yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
// line 320
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 324
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.', 324, $this->source); })())) > 0)) {
// line 325
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 337
$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.', 337, $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 338
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, 338) < 50)) {
// line 339
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 340
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["t"], "number", [], "any", false, false, false, 340), "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 341
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["t"], "supplier", [], "any", false, false, false, 341), "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 342
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["t"], "operation", [], "any", false, false, false, 342), "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 343
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["t"], "client", [], "any", false, false, false, 343), "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 344
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["t"], "systemErrorDetails", [], "any", false, false, false, 344), "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 345
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, 345)]), "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.', 345, $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 348
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 349
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 351
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.', 351, $this->source); })())) > 50)) {
// line 352
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 356
yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
} else {
// line 357
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 361
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 364
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.', 364, $this->source); })()), "user", [], "any", false, false, false, 364), "canRead", ["desk_ticket_suspension_requests"], "method", false, false, false, 364)) {
// line 365
yield "\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<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 370
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.', 370, $this->source); })())) > 0)) {
// line 371
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_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 383
$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.', 383, $this->source); })()));
foreach ($context['_seq'] as $context["_key"] => $context["t"]) {
// line 384
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 385
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["t"], "number", [], "any", false, false, false, 385), "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 386
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["t"], "supplier", [], "any", false, false, false, 386), "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 387
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["t"], "operation", [], "any", false, false, false, 387), "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 388
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["t"], "client", [], "any", false, false, false, 388), "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 389
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["t"], "technician", [], "any", false, false, false, 389), "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 390
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, 390)]), "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.', 390, $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 393
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 396
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 400
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 403
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.', 403, $this->source); })()), "user", [], "any", false, false, false, 403), "canRead", ["desk_ticket_closed_portal"], "method", false, false, false, 403)) {
// line 404
yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
// line 405
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 409
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.', 409, $this->source); })())) > 0)) {
// line 410
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 422
$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.', 422, $this->source); })()));
foreach ($context['_seq'] as $context["_key"] => $context["t"]) {
// line 423
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 424
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["t"], "number", [], "any", false, false, false, 424), "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 425
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["t"], "supplier", [], "any", false, false, false, 425), "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 426
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["t"], "operation", [], "any", false, false, false, 426), "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 427
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["t"], "client", [], "any", false, false, false, 427), "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 428
if ((CoreExtension::getAttribute($this->env, $this->source, $context["t"], "datetimeStart", [], "any", false, false, false, 428) != 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, 428), "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, 428) != 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, 428), "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 429
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, 429)]), "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.', 429, $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 432
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 435
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 439
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 442
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.', 442, $this->source); })()), "user", [], "any", false, false, false, 442), "canRead", ["desk_ticket_waiting_for_material"], "method", false, false, false, 442)) {
// line 443
yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
// line 444
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 448
yield from $this->loadTemplate("components/twig/index/ticket_waiting.html.twig", "role/user/index.html.twig", 448)->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.', 448, $this->source); })())]));
// line 449
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 452
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.', 452, $this->source); })()), "user", [], "any", false, false, false, 452), "canRead", ["desk_ticket_intervention_without_activities"], "method", false, false, false, 452)) {
// line 453
yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
// line 454
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 458
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.', 458, $this->source); })())) > 0)) {
// line 459
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 472
$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.', 472, $this->source); })()));
foreach ($context['_seq'] as $context["_key"] => $context["i"]) {
// line 473
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 474
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, 474), "number", [], "any", false, false, false, 474), "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 475
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, 475), "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 476
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 477
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["i"], "outcome", [], "any", false, false, false, 477), "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 478
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["i"], "technician", [], "any", false, false, false, 478), "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 479
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["i"], "operator", [], "any", false, false, false, 479), "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 480
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, 480), "id", [], "any", false, false, false, 480)]), "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.', 480, $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 483
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 486
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 490
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 493
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.', 493, $this->source); })()), "user", [], "any", false, false, false, 493), "canRead", ["desk_ticket_intervention_tariff_out"], "method", false, false, false, 493)) {
// line 494
yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
// line 495
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 499
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.', 499, $this->source); })())) > 0)) {
// line 500
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 514
$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.', 514, $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 515
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, 515) < 50)) {
// line 516
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 517
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, 517), "number", [], "any", false, false, false, 517), "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 518
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, 518), "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 519
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 520
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["i"], "outcome", [], "any", false, false, false, 520), "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 521
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["i"], "technician", [], "any", false, false, false, 521), "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 522
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["i"], "operator", [], "any", false, false, false, 522), "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 523
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, 523), "idCity", [], "any", false, false, false, 523)), "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 524
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, 524), "id", [], "any", false, false, false, 524)]), "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.', 524, $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 527
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 528
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 530
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.', 530, $this->source); })())) > 50)) {
// line 531
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 535
yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
} else {
// line 536
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 540
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 543
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.', 543, $this->source); })()), "user", [], "any", false, false, false, 543), "canRead", ["desk_ticket_extras"], "method", false, false, false, 543)) {
// line 544
yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
// line 545
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 549
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.', 549, $this->source); })())) > 0)) {
// line 550
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 562
$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.', 562, $this->source); })()));
foreach ($context['_seq'] as $context["_key"] => $context["e"]) {
// line 563
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 564
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["e"], "intervention", [], "any", false, false, false, 564), "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 565
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["e"], "displayType", [], "method", false, false, false, 565), "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 566
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["e"], "cost", [], "any", false, false, false, 566), "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 567
if ((CoreExtension::getAttribute($this->env, $this->source, $context["e"], "hours", [], "any", false, false, false, 567) != null)) {
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["e"], "hours", [], "any", false, false, false, 567), "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 568
if ((CoreExtension::getAttribute($this->env, $this->source, $context["e"], "notes", [], "any", false, false, false, 568) != null)) {
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["e"], "notes", [], "any", false, false, false, 568), "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 569
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, 569), "ticket", [], "any", false, false, false, 569), "id", [], "any", false, false, false, 569)]), "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.', 569, $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 572
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 575
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 579
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 582
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.', 582, $this->source); })()), "user", [], "any", false, false, false, 582), "canRead", ["desk_ticket_reminders"], "method", false, false, false, 582)) {
// line 583
yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
// line 584
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 588
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.', 588, $this->source); })())) > 0)) {
// line 589
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 599
$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.', 599, $this->source); })()));
foreach ($context['_seq'] as $context["_key"] => $context["r"]) {
// line 600
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, 600), "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 601
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, 601), "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 602
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["r"], "technician", [], "any", false, false, false, 602), "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 603
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["r"], "details", [], "any", false, false, false, 603), "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 604
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, 604), "id", [], "any", false, false, false, 604)]), "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.', 604, $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 607
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 610
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 614
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 617
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 623
yield "\t\t\t\t\t\t\t";
// line 624
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.', 624, $this->source); })()), "user", [], "any", false, false, false, 624), "canViewTab", ["desk_warehouse"], "method", false, false, false, 624)) {
// line 625
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 626
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.', 626, $this->source); })())) == 1)) {
// line 627
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.', 627, $this->source); })()));
foreach ($context['_seq'] as $context["_key"] => $context["warehouseData"]) {
// line 628
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 630
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["warehouseData"], 1, [], "array", false, false, false, 630), "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 636
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.', 636, $this->source); })()), "user", [], "any", false, false, false, 636), "canRead", ["desk_warehouse_product_to_manage"], "method", false, false, false, 636)) {
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, 636), "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, 636), "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, 636), "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, 636), "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, 636), "html", null, true);
yield ")</span></a></li>";
}
// line 637
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.', 637, $this->source); })()), "user", [], "any", false, false, false, 637), "canRead", ["desk_warehouse_transfer_incoming"], "method", false, false, false, 637)) {
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, 637), "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, 637), "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, 637), "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, 637)), "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, 637)), "html", null, true);
yield ")</span></a></li>";
}
// line 638
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.', 638, $this->source); })()), "user", [], "any", false, false, false, 638), "canRead", ["desk_warehouse_transfer_output"], "method", false, false, false, 638)) {
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, 638), "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, 638), "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, 638), "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, 638)), "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, 638)), "html", null, true);
yield ")</span></a></li>";
}
// line 639
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.', 639, $this->source); })()), "user", [], "any", false, false, false, 639), "canRead", ["desk_warehouse_transfer_ddt_missing"], "method", false, false, false, 639)) {
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, 639), "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, 639), "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, 639), "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, 639)), "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, 639)), "html", null, true);
yield ")</span></a></li>";
}
// line 640
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.', 640, $this->source); })()), "user", [], "any", false, false, false, 640), "canRead", ["desk_warehouse_request_technicians"], "method", false, false, false, 640)) {
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, 640), "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, 640), "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, 640), "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, 640)), "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, 640)), "html", null, true);
yield ")</span></a></li>";
}
// line 641
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.', 641, $this->source); })()), "user", [], "any", false, false, false, 641), "canRead", ["desk_warehouse_stocks_red"], "method", false, false, false, 641)) {
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, 641), "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, 641), "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, 641), "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, 641)), "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, 641)), "html", null, true);
yield ")</span></a></li>";
}
// line 642
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.', 642, $this->source); })()), "user", [], "any", false, false, false, 642), "canRead", ["desk_warehouse_stocks_yellow"], "method", false, false, false, 642)) {
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, 642), "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, 642), "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, 642), "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, 642)), "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, 642)), "html", null, true);
yield ")</span></a></li>";
}
// line 643
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 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_product_to_manage"], "method", false, false, false, 646)) {
// line 647
yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
// line 648
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, 648), "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 651
if ((CoreExtension::getAttribute($this->env, $this->source, $context["warehouseData"], 2, [], "array", false, false, false, 651) > 0)) {
// line 652
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 653
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["warehouseData"], 2, [], "array", false, false, false, 653), "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, 653)]), "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 656
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 660
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 662
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.', 662, $this->source); })()), "user", [], "any", false, false, false, 662), "canRead", ["desk_warehouse_transfer_incoming"], "method", false, false, false, 662)) {
// line 663
yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
// line 664
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, 664), "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 667
if ((Twig\Extension\CoreExtension::length($this->env->getCharset(), CoreExtension::getAttribute($this->env, $this->source, $context["warehouseData"], 3, [], "array", false, false, false, 667)) > 0)) {
// line 668
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 681
$context['_parent'] = $context;
$context['_seq'] = CoreExtension::ensureTraversable(CoreExtension::getAttribute($this->env, $this->source, $context["warehouseData"], 3, [], "array", false, false, false, 681));
foreach ($context['_seq'] as $context["_key"] => $context["pt"]) {
// line 682
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 683
yield CoreExtension::getAttribute($this->env, $this->source, $context["pt"], "displayPhase", ["icon"], "method", false, false, false, 683);
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 684
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["pt"], "warehouseFrom", [], "any", false, false, false, 684), "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 685
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["pt"], "supplier", [], "any", false, false, false, 685), "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 686
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, 686), "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 687
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, 687), "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 688
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, 688), "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 689
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, 689), "transferId" => CoreExtension::getAttribute($this->env, $this->source, $context["pt"], "id", [], "any", false, false, false, 689)]), "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.', 689, $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 692
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 695
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 699
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 701
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.', 701, $this->source); })()), "user", [], "any", false, false, false, 701), "canRead", ["desk_warehouse_transfer_output"], "method", false, false, false, 701)) {
// line 702
yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
// line 703
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, 703), "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 706
if ((Twig\Extension\CoreExtension::length($this->env->getCharset(), CoreExtension::getAttribute($this->env, $this->source, $context["warehouseData"], 4, [], "array", false, false, false, 706)) > 0)) {
// line 707
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 720
$context['_parent'] = $context;
$context['_seq'] = CoreExtension::ensureTraversable(CoreExtension::getAttribute($this->env, $this->source, $context["warehouseData"], 4, [], "array", false, false, false, 720));
foreach ($context['_seq'] as $context["_key"] => $context["pt"]) {
// line 721
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 722
yield CoreExtension::getAttribute($this->env, $this->source, $context["pt"], "displayPhase", ["icon"], "method", false, false, false, 722);
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 723
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["pt"], "warehouseTo", [], "any", false, false, false, 723), "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 724
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["pt"], "supplier", [], "any", false, false, false, 724), "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 725
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, 725), "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 726
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, 726), "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 727
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, 727), "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 728
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, 728), "transferId" => CoreExtension::getAttribute($this->env, $this->source, $context["pt"], "id", [], "any", false, false, false, 728)]), "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.', 728, $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 731
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 734
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 738
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 740
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.', 740, $this->source); })()), "user", [], "any", false, false, false, 740), "canRead", ["desk_warehouse_transfer_ddt_missing"], "method", false, false, false, 740)) {
// line 741
yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
// line 742
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, 742), "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 745
if ((Twig\Extension\CoreExtension::length($this->env->getCharset(), CoreExtension::getAttribute($this->env, $this->source, $context["warehouseData"], 5, [], "array", false, false, false, 745)) > 0)) {
// line 746
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 761
$context['_parent'] = $context;
$context['_seq'] = CoreExtension::ensureTraversable(CoreExtension::getAttribute($this->env, $this->source, $context["warehouseData"], 5, [], "array", false, false, false, 761));
foreach ($context['_seq'] as $context["_key"] => $context["pt"]) {
// line 762
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 763
yield CoreExtension::getAttribute($this->env, $this->source, $context["pt"], "displayPhase", ["icon"], "method", false, false, false, 763);
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 764
yield CoreExtension::getAttribute($this->env, $this->source, $context["pt"], "displayPhaseDdt", ["icon"], "method", false, false, false, 764);
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 765
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["pt"], "warehouseFrom", [], "any", false, false, false, 765), "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 766
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["pt"], "warehouseTo", [], "any", false, false, false, 766), "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 767
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["pt"], "supplier", [], "any", false, false, false, 767), "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 768
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, 768), "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 769
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, 769), "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 770
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, 770), "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 771
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, 771), "transferId" => CoreExtension::getAttribute($this->env, $this->source, $context["pt"], "id", [], "any", false, false, false, 771)]), "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.', 771, $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 774
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 777
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 781
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 783
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.', 783, $this->source); })()), "user", [], "any", false, false, false, 783), "canRead", ["desk_warehouse_request_technicians"], "method", false, false, false, 783)) {
// line 784
yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
// line 785
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, 785), "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 788
if ((Twig\Extension\CoreExtension::length($this->env->getCharset(), CoreExtension::getAttribute($this->env, $this->source, $context["warehouseData"], 6, [], "array", false, false, false, 788)) > 0)) {
// line 789
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 800
$context['_parent'] = $context;
$context['_seq'] = CoreExtension::ensureTraversable(CoreExtension::getAttribute($this->env, $this->source, $context["warehouseData"], 6, [], "array", false, false, false, 800));
foreach ($context['_seq'] as $context["_key"] => $context["rt"]) {
// line 801
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 802
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["rt"], "technician", [], "any", false, false, false, 802), "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 803
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["rt"], "warehouse", [], "any", false, false, false, 803), "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 804
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, 804), "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 805
yield CoreExtension::getAttribute($this->env, $this->source, $context["rt"], "displayDetails", [], "method", false, false, false, 805);
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 806
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, 806)]), "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.', 806, $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 809
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 812
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 816
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 818
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.', 818, $this->source); })()), "user", [], "any", false, false, false, 818), "canRead", ["desk_warehouse_stocks_red"], "method", false, false, false, 818)) {
// line 819
yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
// line 820
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, 820), "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 823
if ((Twig\Extension\CoreExtension::length($this->env->getCharset(), CoreExtension::getAttribute($this->env, $this->source, $context["warehouseData"], 7, [], "array", false, false, false, 823)) > 0)) {
// line 824
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 834
$context['_parent'] = $context;
$context['_seq'] = CoreExtension::ensureTraversable(CoreExtension::getAttribute($this->env, $this->source, $context["warehouseData"], 7, [], "array", false, false, false, 834));
$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 835
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, 835) < 50)) {
// line 836
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 837
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["ps"], 0, [], "array", false, false, false, 837), "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 838
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["ps"], 1, [], "array", false, false, false, 838), "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 839
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["ps"], 2, [], "array", false, false, false, 839), "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 840
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["ps"], 3, [], "array", false, false, false, 840), "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 843
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 844
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 846
if ((Twig\Extension\CoreExtension::length($this->env->getCharset(), CoreExtension::getAttribute($this->env, $this->source, $context["warehouseData"], 7, [], "array", false, false, false, 846)) > 50)) {
// line 847
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 851
yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
} else {
// line 852
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 856
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 858
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.', 858, $this->source); })()), "user", [], "any", false, false, false, 858), "canRead", ["desk_warehouse_stocks_yellow"], "method", false, false, false, 858)) {
// line 859
yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
// line 860
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, 860), "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 863
if ((Twig\Extension\CoreExtension::length($this->env->getCharset(), CoreExtension::getAttribute($this->env, $this->source, $context["warehouseData"], 8, [], "array", false, false, false, 863)) > 0)) {
// line 864
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 875
$context['_parent'] = $context;
$context['_seq'] = CoreExtension::ensureTraversable(CoreExtension::getAttribute($this->env, $this->source, $context["warehouseData"], 8, [], "array", false, false, false, 875));
$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 876
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, 876) < 50)) {
// line 877
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 878
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["ps"], 0, [], "array", false, false, false, 878), "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 879
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["ps"], 1, [], "array", false, false, false, 879), "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 880
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["ps"], 2, [], "array", false, false, false, 880), "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 881
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["ps"], 3, [], "array", false, false, false, 881), "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 882
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["ps"], 4, [], "array", false, false, false, 882), "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 885
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 886
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 888
if ((Twig\Extension\CoreExtension::length($this->env->getCharset(), CoreExtension::getAttribute($this->env, $this->source, $context["warehouseData"], 8, [], "array", false, false, false, 888)) > 50)) {
// line 889
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 893
yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
} else {
// line 894
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 898
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 900
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 905
yield "\t\t\t\t\t\t\t\t\t";
} else {
// line 906
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 908
$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.', 908, $this->source); })()));
foreach ($context['_seq'] as $context["_key"] => $context["warehouseData"]) {
// line 909
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, 909), "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, 909), "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, 909), "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, 909), "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, 909), "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 911
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 913
$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.', 913, $this->source); })()));
foreach ($context['_seq'] as $context["_key"] => $context["warehouseData"]) {
// line 914
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, 914), "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 917
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["warehouseData"], 1, [], "array", false, false, false, 917), "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 923
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.', 923, $this->source); })()), "user", [], "any", false, false, false, 923), "canRead", ["desk_warehouse_product_to_manage"], "method", false, false, false, 923)) {
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, 923), "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, 923), "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, 923), "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, 923), "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, 923), "html", null, true);
yield ")</span></a></li>";
}
// line 924
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.', 924, $this->source); })()), "user", [], "any", false, false, false, 924), "canRead", ["desk_warehouse_transfer_incoming"], "method", false, false, false, 924)) {
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, 924), "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, 924), "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, 924), "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, 924)), "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, 924)), "html", null, true);
yield ")</span></a></li>";
}
// line 925
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.', 925, $this->source); })()), "user", [], "any", false, false, false, 925), "canRead", ["desk_warehouse_transfer_output"], "method", false, false, false, 925)) {
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, 925), "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, 925), "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, 925), "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, 925)), "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, 925)), "html", null, true);
yield ")</span></a></li>";
}
// line 926
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.', 926, $this->source); })()), "user", [], "any", false, false, false, 926), "canRead", ["desk_warehouse_transfer_ddt_missing"], "method", false, false, false, 926)) {
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, 926), "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, 926), "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, 926), "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, 926)), "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, 926)), "html", null, true);
yield ")</span></a></li>";
}
// line 927
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.', 927, $this->source); })()), "user", [], "any", false, false, false, 927), "canRead", ["desk_warehouse_request_technicians"], "method", false, false, false, 927)) {
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, 927), "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, 927), "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, 927), "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, 927)), "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, 927)), "html", null, true);
yield ")</span></a></li>";
}
// line 928
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.', 928, $this->source); })()), "user", [], "any", false, false, false, 928), "canRead", ["desk_warehouse_stocks_red"], "method", false, false, false, 928)) {
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, 928), "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, 928), "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, 928), "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, 928)), "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, 928)), "html", null, true);
yield ")</span></a></li>";
}
// line 929
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.', 929, $this->source); })()), "user", [], "any", false, false, false, 929), "canRead", ["desk_warehouse_stocks_yellow"], "method", false, false, false, 929)) {
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, 929), "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, 929), "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, 929), "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, 929)), "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, 929)), "html", null, true);
yield ")</span></a></li>";
}
// line 930
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 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_product_to_manage"], "method", false, false, false, 933)) {
// line 934
yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
// line 935
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, 935), "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 938
if ((CoreExtension::getAttribute($this->env, $this->source, $context["warehouseData"], 2, [], "array", false, false, false, 938) > 0)) {
// line 939
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 940
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["warehouseData"], 2, [], "array", false, false, false, 940), "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, 940)]), "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 943
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 947
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 949
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.', 949, $this->source); })()), "user", [], "any", false, false, false, 949), "canRead", ["desk_warehouse_transfer_incoming"], "method", false, false, false, 949)) {
// line 950
yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
// line 951
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, 951), "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 954
if ((Twig\Extension\CoreExtension::length($this->env->getCharset(), CoreExtension::getAttribute($this->env, $this->source, $context["warehouseData"], 3, [], "array", false, false, false, 954)) > 0)) {
// line 955
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 968
$context['_parent'] = $context;
$context['_seq'] = CoreExtension::ensureTraversable(CoreExtension::getAttribute($this->env, $this->source, $context["warehouseData"], 3, [], "array", false, false, false, 968));
foreach ($context['_seq'] as $context["_key"] => $context["pt"]) {
// line 969
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 970
yield CoreExtension::getAttribute($this->env, $this->source, $context["pt"], "displayPhase", ["icon"], "method", false, false, false, 970);
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 971
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["pt"], "warehouseFrom", [], "any", false, false, false, 971), "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 972
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["pt"], "supplier", [], "any", false, false, false, 972), "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 973
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, 973), "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 974
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, 974), "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 975
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, 975), "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 976
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, 976), "transferId" => CoreExtension::getAttribute($this->env, $this->source, $context["pt"], "id", [], "any", false, false, false, 976)]), "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.', 976, $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 979
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 982
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 986
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 988
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.', 988, $this->source); })()), "user", [], "any", false, false, false, 988), "canRead", ["desk_warehouse_transfer_output"], "method", false, false, false, 988)) {
// line 989
yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
// line 990
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, 990), "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 993
if ((Twig\Extension\CoreExtension::length($this->env->getCharset(), CoreExtension::getAttribute($this->env, $this->source, $context["warehouseData"], 4, [], "array", false, false, false, 993)) > 0)) {
// line 994
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 1007
$context['_parent'] = $context;
$context['_seq'] = CoreExtension::ensureTraversable(CoreExtension::getAttribute($this->env, $this->source, $context["warehouseData"], 4, [], "array", false, false, false, 1007));
foreach ($context['_seq'] as $context["_key"] => $context["pt"]) {
// line 1008
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 1009
yield CoreExtension::getAttribute($this->env, $this->source, $context["pt"], "displayPhase", ["icon"], "method", false, false, false, 1009);
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 1010
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["pt"], "warehouseTo", [], "any", false, false, false, 1010), "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 1011
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["pt"], "supplier", [], "any", false, false, false, 1011), "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 1012
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, 1012), "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 1013
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, 1013), "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 1014
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, 1014), "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 1015
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, 1015), "transferId" => CoreExtension::getAttribute($this->env, $this->source, $context["pt"], "id", [], "any", false, false, false, 1015)]), "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.', 1015, $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 1018
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 1021
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 1025
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 1027
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.', 1027, $this->source); })()), "user", [], "any", false, false, false, 1027), "canRead", ["desk_warehouse_transfer_ddt_missing"], "method", false, false, false, 1027)) {
// line 1028
yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
// line 1029
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, 1029), "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 1032
if ((Twig\Extension\CoreExtension::length($this->env->getCharset(), CoreExtension::getAttribute($this->env, $this->source, $context["warehouseData"], 5, [], "array", false, false, false, 1032)) > 0)) {
// line 1033
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 1048
$context['_parent'] = $context;
$context['_seq'] = CoreExtension::ensureTraversable(CoreExtension::getAttribute($this->env, $this->source, $context["warehouseData"], 5, [], "array", false, false, false, 1048));
foreach ($context['_seq'] as $context["_key"] => $context["pt"]) {
// line 1049
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 1050
yield CoreExtension::getAttribute($this->env, $this->source, $context["pt"], "displayPhase", ["icon"], "method", false, false, false, 1050);
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 1051
yield CoreExtension::getAttribute($this->env, $this->source, $context["pt"], "displayPhaseDdt", ["icon"], "method", false, false, false, 1051);
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 1052
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["pt"], "warehouseFrom", [], "any", false, false, false, 1052), "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 1053
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["pt"], "warehouseTo", [], "any", false, false, false, 1053), "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 1054
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["pt"], "supplier", [], "any", false, false, false, 1054), "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 1055
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, 1055), "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 1056
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, 1056), "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 1057
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, 1057), "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 1058
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, 1058), "transferId" => CoreExtension::getAttribute($this->env, $this->source, $context["pt"], "id", [], "any", false, false, false, 1058)]), "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.', 1058, $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 1061
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 1064
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 1068
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 1070
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.', 1070, $this->source); })()), "user", [], "any", false, false, false, 1070), "canRead", ["desk_warehouse_request_technicians"], "method", false, false, false, 1070)) {
// line 1071
yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
// line 1072
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, 1072), "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 1075
if ((Twig\Extension\CoreExtension::length($this->env->getCharset(), CoreExtension::getAttribute($this->env, $this->source, $context["warehouseData"], 6, [], "array", false, false, false, 1075)) > 0)) {
// line 1076
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 1087
$context['_parent'] = $context;
$context['_seq'] = CoreExtension::ensureTraversable(CoreExtension::getAttribute($this->env, $this->source, $context["warehouseData"], 6, [], "array", false, false, false, 1087));
foreach ($context['_seq'] as $context["_key"] => $context["rt"]) {
// line 1088
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 1089
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["rt"], "technician", [], "any", false, false, false, 1089), "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 1090
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["rt"], "warehouse", [], "any", false, false, false, 1090), "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 1091
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, 1091), "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 1092
yield CoreExtension::getAttribute($this->env, $this->source, $context["rt"], "displayDetails", [], "method", false, false, false, 1092);
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 1093
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, 1093)]), "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.', 1093, $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 1096
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 1099
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 1103
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 1105
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.', 1105, $this->source); })()), "user", [], "any", false, false, false, 1105), "canRead", ["desk_warehouse_stocks_red"], "method", false, false, false, 1105)) {
// line 1106
yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
// line 1107
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, 1107), "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 1110
if ((Twig\Extension\CoreExtension::length($this->env->getCharset(), CoreExtension::getAttribute($this->env, $this->source, $context["warehouseData"], 7, [], "array", false, false, false, 1110)) > 0)) {
// line 1111
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 1121
$context['_parent'] = $context;
$context['_seq'] = CoreExtension::ensureTraversable(CoreExtension::getAttribute($this->env, $this->source, $context["warehouseData"], 7, [], "array", false, false, false, 1121));
$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 1122
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, 1122) < 50)) {
// line 1123
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 1124
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["ps"], 0, [], "array", false, false, false, 1124), "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 1125
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["ps"], 1, [], "array", false, false, false, 1125), "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 1126
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["ps"], 2, [], "array", false, false, false, 1126), "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 1127
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["ps"], 3, [], "array", false, false, false, 1127), "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 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";
++$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 1131
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 1133
if ((Twig\Extension\CoreExtension::length($this->env->getCharset(), CoreExtension::getAttribute($this->env, $this->source, $context["warehouseData"], 7, [], "array", false, false, false, 1133)) > 50)) {
// line 1134
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 1138
yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
} else {
// line 1139
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 1143
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 1145
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.', 1145, $this->source); })()), "user", [], "any", false, false, false, 1145), "canRead", ["desk_warehouse_stocks_yellow"], "method", false, false, false, 1145)) {
// line 1146
yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
// line 1147
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, 1147), "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 1150
if ((Twig\Extension\CoreExtension::length($this->env->getCharset(), CoreExtension::getAttribute($this->env, $this->source, $context["warehouseData"], 8, [], "array", false, false, false, 1150)) > 0)) {
// line 1151
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 1162
$context['_parent'] = $context;
$context['_seq'] = CoreExtension::ensureTraversable(CoreExtension::getAttribute($this->env, $this->source, $context["warehouseData"], 8, [], "array", false, false, false, 1162));
$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 1163
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, 1163) < 50)) {
// line 1164
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 1165
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["ps"], 0, [], "array", false, false, false, 1165), "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 1166
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["ps"], 1, [], "array", false, false, false, 1166), "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 1167
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["ps"], 2, [], "array", false, false, false, 1167), "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 1168
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["ps"], 3, [], "array", false, false, false, 1168), "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 1169
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["ps"], 4, [], "array", false, false, false, 1169), "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 1172
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 1173
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 1175
if ((Twig\Extension\CoreExtension::length($this->env->getCharset(), CoreExtension::getAttribute($this->env, $this->source, $context["warehouseData"], 8, [], "array", false, false, false, 1175)) > 50)) {
// line 1176
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 1180
yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
} else {
// line 1181
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 1185
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 1187
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 1193
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 1196
yield "\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t";
}
// line 1198
yield "\t\t\t\t\t\t\t";
// line 1199
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.', 1199, $this->source); })()), "user", [], "any", false, false, false, 1199), "canViewTab", ["desk_operation"], "method", false, false, false, 1199)) {
// line 1200
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 1205
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.', 1205, $this->source); })()), "user", [], "any", false, false, false, 1205), "canRead", ["desk_operation_tariffs"], "method", false, false, false, 1205)) {
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.', 1205, $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.', 1205, $this->source); })())), "html", null, true);
yield ")</span></a></li>";
}
// line 1206
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.', 1206, $this->source); })()), "user", [], "any", false, false, false, 1206), "canRead", ["desk_operation_key_mappings"], "method", false, false, false, 1206)) {
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.', 1206, $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.', 1206, $this->source); })())), "html", null, true);
yield ")</span></a></li>";
}
// line 1207
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 1209
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.', 1209, $this->source); })()), "user", [], "any", false, false, false, 1209), "canRead", ["desk_operation_tariffs"], "method", false, false, false, 1209)) {
// line 1210
yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
// line 1211
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 1214
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.', 1214, $this->source); })())) > 0)) {
// line 1215
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 1225
$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.', 1225, $this->source); })()));
foreach ($context['_seq'] as $context["_key"] => $context["op"]) {
// line 1226
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 1227
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["op"], "supplier", [], "any", false, false, false, 1227), "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 1228
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["op"], "value", [], "any", false, false, false, 1228), "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 1229
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["op"], "group", [], "any", false, false, false, 1229), "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 1230
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, 1230)]), "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.', 1230, $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 1233
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 1236
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 1240
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 1242
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.', 1242, $this->source); })()), "user", [], "any", false, false, false, 1242), "canRead", ["desk_operation_key_mappings"], "method", false, false, false, 1242)) {
// line 1243
yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
// line 1244
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 1247
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.', 1247, $this->source); })())) > 0)) {
// line 1248
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 1258
$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.', 1258, $this->source); })()));
foreach ($context['_seq'] as $context["_key"] => $context["op"]) {
// line 1259
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 1260
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["op"], "supplier", [], "any", false, false, false, 1260), "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 1261
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["op"], "value", [], "any", false, false, false, 1261), "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 1262
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["op"], "group", [], "any", false, false, false, 1262), "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 1263
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, 1263)]), "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.', 1263, $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 1266
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 1269
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 1273
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 1275
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 1281
yield "\t\t\t\t\t\t\t";
// line 1282
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.', 1282, $this->source); })()), "user", [], "any", false, false, false, 1282), "canViewTab", ["desk_product"], "method", false, false, false, 1282)) {
// line 1283
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 1284
yield from $this->unwrap()->yieldBlock('productsData', $context, $blocks);
// line 1378
yield "\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t";
}
// line 1380
yield "\t\t\t\t\t\t\t";
// line 1381
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.', 1381, $this->source); })()), "user", [], "any", false, false, false, 1381), "canViewTab", ["desk_search"], "method", false, false, false, 1381)) {
// line 1382
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 1383
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.', 1383, $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 1391
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.', 1391, $this->source); })()), "type", [], "any", false, false, false, 1391), '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 1393
$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.', 1393, $this->source); })()), "type", [], "any", false, false, false, 1393));
foreach ($context['_seq'] as $context["_key"] => $context["t"]) {
// line 1394
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 1395
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, 1395), "id", [], "any", false, false, false, 1395), "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 1396
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, 1396), "label", [], "any", false, false, false, 1396), "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 1399
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 1404
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.', 1404, $this->source); })()), "like", [], "any", false, false, false, 1404), '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 1406
$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.', 1406, $this->source); })()), "like", [], "any", false, false, false, 1406));
foreach ($context['_seq'] as $context["_key"] => $context["l"]) {
// line 1407
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 1408
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, 1408), "id", [], "any", false, false, false, 1408), "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 1409
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, 1409), "label", [], "any", false, false, false, 1409), "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 1412
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 1417
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.', 1417, $this->source); })()), "value", [], "any", false, false, false, 1417), 'errors');
yield ">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
// line 1418
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.', 1418, $this->source); })()), "value", [], "any", false, false, false, 1418), '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 1429
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.', 1429, $this->source); })())) > 0)) {
// line 1430
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.', 1430, $this->source); })())) == 50)) {
// line 1431
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 1435
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 1438
if ((((isset($context["searchType"]) || array_key_exists("searchType", $context) ? $context["searchType"] : (function () { throw new RuntimeError('Variable "searchType" does not exist.', 1438, $this->source); })()) == "termid") || ((isset($context["searchType"]) || array_key_exists("searchType", $context) ? $context["searchType"] : (function () { throw new RuntimeError('Variable "searchType" does not exist.', 1438, $this->source); })()) == "n_ticket"))) {
// line 1439
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 1445
(isset($context["searchType"]) || array_key_exists("searchType", $context) ? $context["searchType"] : (function () { throw new RuntimeError('Variable "searchType" does not exist.', 1445, $this->source); })()) == "code_producer") || ((isset($context["searchType"]) || array_key_exists("searchType", $context) ? $context["searchType"] : (function () { throw new RuntimeError('Variable "searchType" does not exist.', 1445, $this->source); })()) == "code_supplier"))) {
// line 1446
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 1453
(isset($context["searchType"]) || array_key_exists("searchType", $context) ? $context["searchType"] : (function () { throw new RuntimeError('Variable "searchType" does not exist.', 1453, $this->source); })()) == "ddt")) {
// line 1454
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 1460
(isset($context["searchType"]) || array_key_exists("searchType", $context) ? $context["searchType"] : (function () { throw new RuntimeError('Variable "searchType" does not exist.', 1460, $this->source); })()) == "client_nickname")) {
// line 1461
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 1466
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 1470
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 1474
$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.', 1474, $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 1475
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 1476
if ((((isset($context["searchType"]) || array_key_exists("searchType", $context) ? $context["searchType"] : (function () { throw new RuntimeError('Variable "searchType" does not exist.', 1476, $this->source); })()) == "termid") || ((isset($context["searchType"]) || array_key_exists("searchType", $context) ? $context["searchType"] : (function () { throw new RuntimeError('Variable "searchType" does not exist.', 1476, $this->source); })()) == "n_ticket"))) {
// line 1477
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"], "method", false, false, false, 1477);
yield "</td>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td>";
// line 1478
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["r"], "number", [], "any", false, false, false, 1478), "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 1479
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["r"], "termid", [], "any", false, false, false, 1479), "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 1480
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["r"], "client", [], "any", false, false, false, 1480), "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 1481
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["r"], "supplier", [], "any", false, false, false, 1481), "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 1482
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["r"], "operation", [], "any", false, false, false, 1482), "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 1483
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, 1483)]), "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.', 1483, $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 1484
(isset($context["searchType"]) || array_key_exists("searchType", $context) ? $context["searchType"] : (function () { throw new RuntimeError('Variable "searchType" does not exist.', 1484, $this->source); })()) == "code_producer") || ((isset($context["searchType"]) || array_key_exists("searchType", $context) ? $context["searchType"] : (function () { throw new RuntimeError('Variable "searchType" does not exist.', 1484, $this->source); })()) == "code_supplier"))) {
// line 1485
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, 1485), "name", [], "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"], "codeProducer", [], "any", true, true, false, 1486)) ? (Twig\Extension\CoreExtension::default(CoreExtension::getAttribute($this->env, $this->source, $context["r"], "codeProducer", [], "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"], "codeSupplier", [], "any", true, true, false, 1487)) ? (Twig\Extension\CoreExtension::default(CoreExtension::getAttribute($this->env, $this->source, $context["r"], "codeSupplier", [], "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"], "termid", [], "any", true, true, false, 1488)) ? (Twig\Extension\CoreExtension::default(CoreExtension::getAttribute($this->env, $this->source, $context["r"], "termid", [], "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"], "actualWarehouse", [], "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>";
// line 1490
yield CoreExtension::getAttribute($this->env, $this->source, $context["r"], "displayStatus", ["string"], "method", false, false, false, 1490);
yield "</td>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td>";
// line 1491
yield CoreExtension::getAttribute($this->env, $this->source, $context["r"], "displayCondition", ["string-short"], "method", false, false, false, 1491);
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 1492
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, 1492)]), "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.', 1492, $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 1493
(isset($context["searchType"]) || array_key_exists("searchType", $context) ? $context["searchType"] : (function () { throw new RuntimeError('Variable "searchType" does not exist.', 1493, $this->source); })()) == "ddt")) {
// line 1494
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, 1494)) ? (Twig\Extension\CoreExtension::default(CoreExtension::getAttribute($this->env, $this->source, $context["r"], "ddt", [], "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 CoreExtension::getAttribute($this->env, $this->source, $context["r"], "displayPhase", ["string"], "method", false, false, false, 1495);
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($this->extensions['Twig\Extension\CoreExtension']->formatDate(CoreExtension::getAttribute($this->env, $this->source, $context["r"], "date", [], "any", false, false, false, 1496), "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 1497
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["r"], "warehouseFrom", [], "any", false, false, false, 1497), "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 1498
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["r"], "warehouseTo", [], "any", false, false, false, 1498), "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 1499
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(((CoreExtension::getAttribute($this->env, $this->source, $context["r"], "stockOrder", [], "any", true, true, false, 1499)) ? (Twig\Extension\CoreExtension::default(CoreExtension::getAttribute($this->env, $this->source, $context["r"], "stockOrder", [], "any", false, false, false, 1499), "---")) : ("---")), "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 1500
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, 1500), "id", [], "any", false, false, false, 1500), "transferId" => CoreExtension::getAttribute($this->env, $this->source, $context["r"], "id", [], "any", false, false, false, 1500)]), "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.', 1500, $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 1501
(isset($context["searchType"]) || array_key_exists("searchType", $context) ? $context["searchType"] : (function () { throw new RuntimeError('Variable "searchType" does not exist.', 1501, $this->source); })()) == "client_nickname")) {
// line 1502
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, 1502)) ? (Twig\Extension\CoreExtension::default(CoreExtension::getAttribute($this->env, $this->source, $context["r"], "code", [], "any", false, false, false, 1502), "---")) : ("---")), "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 1503
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["r"], "nickname", [], "any", false, false, false, 1503), "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 from $this->loadTemplate("components/twig/display_address.html.twig", "role/user/index.html.twig", 1504)->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 1505
yield CoreExtension::getAttribute($this->env, $this->source, $context["r"], "displayPhones", [], "any", false, false, false, 1505);
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 1506
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, 1506)]), "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.', 1506, $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 1508
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, 1508), "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 1509
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["r"], "client", [], "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 from $this->loadTemplate("components/twig/display_address.html.twig", "role/user/index.html.twig", 1510)->unwrap()->yield(CoreExtension::merge($context, ["type" => "client", "obj" => CoreExtension::getAttribute($this->env, $this->source, $context["r"], "client", [], "any", false, false, false, 1510)]));
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 1511
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["r"], "number", [], "any", false, false, false, 1511), "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.', 1511, $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 1513
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 1515
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 1518
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 1522
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 1524
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.', 1524, $this->source); })()), 'form_end');
yield "
\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t";
}
// line 1527
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 1531
(isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 1531, $this->source); })()), "user", [], "any", false, false, false, 1531), "getAccountTypology", [], "any", false, false, false, 1531) == "technician")) {
yield " ";
// line 1532
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 1538
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.', 1538, $this->source); })()), "user", [], "any", false, false, false, 1538), "canRead", ["desk_search"], "method", false, false, false, 1538)) {
// line 1539
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 1541
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 1544
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 1550
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.', 1550, $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.', 1550, $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 1551
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.', 1551, $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.', 1551, $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 1555
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 1575
$context["total"] = 0;
// line 1576
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.', 1576, $this->source); })()));
foreach ($context['_seq'] as $context["_key"] => $context["og"]) {
// line 1577
yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
$context["rowTotal"] = 0;
// line 1578
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 1579
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["og"], "value", [], "any", false, false, false, 1579), "html", null, true);
yield "</td>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
// line 1580
$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.', 1580, $this->source); })()));
foreach ($context['_seq'] as $context["_key"] => $context["ts"]) {
// line 1581
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.', 1581, $this->source); })()));
foreach ($context['_seq'] as $context["_key"] => $context["ticketGroup"]) {
// line 1582
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, 1582) == CoreExtension::getAttribute($this->env, $this->source, $context["og"], "id", [], "any", false, false, false, 1582))) {
// line 1583
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, 1583));
foreach ($context['_seq'] as $context["_key"] => $context["grCounts"]) {
// line 1584
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, 1584) == CoreExtension::getAttribute($this->env, $this->source, $context["ts"], "id", [], "any", false, false, false, 1584))) {
// line 1585
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.', 1585, $this->source); })()), "user", [], "any", false, false, false, 1585), "accountTypology", [], "any", false, false, false, 1585) == "technician")) {
// line 1586
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, 1586), "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, 1586), "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, 1586), "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 1588
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, 1588), "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, 1588), "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, 1588), "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 1590
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.', 1590, $this->source); })()) + CoreExtension::getAttribute($this->env, $this->source, $context["grCounts"], 1, [], "array", false, false, false, 1590));
// 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";
}
// line 1592
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 1593
yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
}
// line 1594
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 1595
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 1596
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 1597
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.', 1597, $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 1599
$context["total"] = ((isset($context["total"]) || array_key_exists("total", $context) ? $context["total"] : (function () { throw new RuntimeError('Variable "total" does not exist.', 1599, $this->source); })()) + (isset($context["rowTotal"]) || array_key_exists("rowTotal", $context) ? $context["rowTotal"] : (function () { throw new RuntimeError('Variable "rowTotal" does not exist.', 1599, $this->source); })()));
// line 1600
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 1601
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 1615
$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.', 1615, $this->source); })()));
foreach ($context['_seq'] as $context["_key"] => $context["ts"]) {
// line 1616
yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
$context["columnTotal"] = 0;
// line 1617
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.', 1617, $this->source); })()));
foreach ($context['_seq'] as $context["_key"] => $context["ticketGroup"]) {
// line 1618
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, 1618));
foreach ($context['_seq'] as $context["_key"] => $context["grCounts"]) {
// line 1619
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, 1619) == CoreExtension::getAttribute($this->env, $this->source, $context["ts"], "id", [], "any", false, false, false, 1619))) {
// line 1620
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.', 1620, $this->source); })()) + CoreExtension::getAttribute($this->env, $this->source, $context["grCounts"], 1, [], "array", false, false, false, 1620));
// line 1621
yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
}
// line 1622
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 1623
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 1624
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.', 1624, $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 1626
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 1627
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.', 1627, $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 1634
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 1635
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.', 1635, $this->source); })())) > 0)) {
// line 1636
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 1638
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 1640
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.', 1640, $this->source); })())) > 0)) {
// line 1641
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 1643
$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.', 1643, $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 1644
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 1647
yield CoreExtension::getAttribute($this->env, $this->source, $context["t"], "displayStatus", ["string"], "method", false, false, false, 1647);
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 1648
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["t"], "number", [], "any", false, false, false, 1648), "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 1649
yield from $this->loadTemplate("components/twig/display_address.html.twig", "role/user/index.html.twig", 1649)->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 1650
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["t"], "client", [], "any", false, false, false, 1650), "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 1651
if ((CoreExtension::getAttribute($this->env, $this->source, $context["t"], "client", [], "any", false, false, false, 1651) != null)) {
yield from $this->loadTemplate("components/twig/display_address.html.twig", "role/user/index.html.twig", 1651)->unwrap()->yield(CoreExtension::merge($context, ["type" => "client", "obj" => CoreExtension::getAttribute($this->env, $this->source, $context["t"], "client", [], "any", false, false, false, 1651)]));
} 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 1652
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["t"], "operation", [], "any", false, false, false, 1652), "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 1653
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["t"], "supplier", [], "any", false, false, false, 1653), "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 1654
if ((CoreExtension::getAttribute($this->env, $this->source, $context["t"], "datetimeStart", [], "any", false, false, false, 1654) != 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, 1654), "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 1655
if ((CoreExtension::getAttribute($this->env, $this->source, $context["t"], "datetimeExpiration", [], "any", false, false, false, 1655) != 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, 1655), "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 1658
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, 1658)]), "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.', 1658, $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 1661
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 1664
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 1668
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 1670
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 1674
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.', 1674, $this->source); })())) > 0)) {
// line 1675
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 1684
$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.', 1684, $this->source); })()));
foreach ($context['_seq'] as $context["_key"] => $context["r"]) {
// line 1685
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, 1685), "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 1686
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, 1686), "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 1687
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["r"], "details", [], "any", false, false, false, 1687), "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 1688
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, 1688), "id", [], "any", false, false, false, 1688)]), "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.', 1688, $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 1691
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 1694
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 1698
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 1706
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 1709
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.', 1709, $this->source); })())) == 1)) {
// line 1710
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.', 1710, $this->source); })()));
foreach ($context['_seq'] as $context["_key"] => $context["wt"]) {
// line 1711
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 1713
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["wt"], 1, [], "array", false, false, false, 1713), "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 1719
if ((Twig\Extension\CoreExtension::length($this->env->getCharset(), CoreExtension::getAttribute($this->env, $this->source, $context["wt"], 2, [], "array", false, false, false, 1719)) > 0)) {
// line 1720
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 1722
$context['_parent'] = $context;
$context['_seq'] = CoreExtension::ensureTraversable(CoreExtension::getAttribute($this->env, $this->source, $context["wt"], 2, [], "array", false, false, false, 1722));
foreach ($context['_seq'] as $context["_key"] => $context["pt"]) {
// line 1723
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 1726
yield CoreExtension::getAttribute($this->env, $this->source, $context["pt"], "displayPhase", ["string"], "method", false, false, false, 1726);
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 1727
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["pt"], "warehouseFrom", [], "any", false, false, false, 1727), "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 1728
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["pt"], "supplier", [], "any", false, false, false, 1728), "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 1729
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, 1729), "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 1730
if ((CoreExtension::getAttribute($this->env, $this->source, $context["pt"], "datetimeSend", [], "any", false, false, false, 1730) != 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, 1730), "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 1731
if (CoreExtension::getAttribute($this->env, $this->source, $context["pt"], "datetimeCompletion", [], "any", false, false, false, 1731)) {
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, 1731), "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 1734
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, 1734), "transferId" => CoreExtension::getAttribute($this->env, $this->source, $context["pt"], "id", [], "any", false, false, false, 1734)]), "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.', 1734, $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 1737
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 1740
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 1744
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 1748
if ((Twig\Extension\CoreExtension::length($this->env->getCharset(), CoreExtension::getAttribute($this->env, $this->source, $context["wt"], 3, [], "array", false, false, false, 1748)) > 0)) {
// line 1749
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 1751
$context['_parent'] = $context;
$context['_seq'] = CoreExtension::ensureTraversable(CoreExtension::getAttribute($this->env, $this->source, $context["wt"], 3, [], "array", false, false, false, 1751));
foreach ($context['_seq'] as $context["_key"] => $context["pt"]) {
// line 1752
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 1755
yield CoreExtension::getAttribute($this->env, $this->source, $context["pt"], "displayPhase", ["string"], "method", false, false, false, 1755);
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 1756
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["pt"], "warehouseFrom", [], "any", false, false, false, 1756), "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 1757
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["pt"], "supplier", [], "any", false, false, false, 1757), "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 1758
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, 1758), "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 1759
if ((CoreExtension::getAttribute($this->env, $this->source, $context["pt"], "datetimeSend", [], "any", false, false, false, 1759) != 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, 1759), "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 1760
if (CoreExtension::getAttribute($this->env, $this->source, $context["pt"], "datetimeCompletion", [], "any", false, false, false, 1760)) {
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, 1760), "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 1763
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, 1763), "transferId" => CoreExtension::getAttribute($this->env, $this->source, $context["pt"], "id", [], "any", false, false, false, 1763)]), "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.', 1763, $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 1766
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 1769
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 1773
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 1777
if ((Twig\Extension\CoreExtension::length($this->env->getCharset(), CoreExtension::getAttribute($this->env, $this->source, $context["wt"], 4, [], "array", false, false, false, 1777)) > 0)) {
// line 1778
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 1780
$context['_parent'] = $context;
$context['_seq'] = CoreExtension::ensureTraversable(CoreExtension::getAttribute($this->env, $this->source, $context["wt"], 4, [], "array", false, false, false, 1780));
foreach ($context['_seq'] as $context["_key"] => $context["pt"]) {
// line 1781
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 1784
yield CoreExtension::getAttribute($this->env, $this->source, $context["pt"], "displayPhase", ["string"], "method", false, false, false, 1784);
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 1785
yield CoreExtension::getAttribute($this->env, $this->source, $context["pt"], "displayPhaseDdt", ["string"], "method", false, false, false, 1785);
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 1786
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["pt"], "warehouseFrom", [], "any", false, false, false, 1786), "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 1787
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["pt"], "warehouseTo", [], "any", false, false, false, 1787), "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 1788
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["pt"], "supplier", [], "any", false, false, false, 1788), "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 1789
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, 1789), "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 1790
if ((CoreExtension::getAttribute($this->env, $this->source, $context["pt"], "datetimeSend", [], "any", false, false, false, 1790) != 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, 1790), "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 1791
if (CoreExtension::getAttribute($this->env, $this->source, $context["pt"], "datetimeCompletion", [], "any", false, false, false, 1791)) {
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, 1791), "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 1794
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, 1794), "transferId" => CoreExtension::getAttribute($this->env, $this->source, $context["pt"], "id", [], "any", false, false, false, 1794)]), "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.', 1794, $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 1797
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 1800
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 1804
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 1807
yield "\t\t\t\t\t\t\t\t\t\t";
} else {
// line 1808
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 1810
$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.', 1810, $this->source); })()));
foreach ($context['_seq'] as $context["_key"] => $context["wt"]) {
// line 1811
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, 1811), "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, 1811), "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, 1811), "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, 1811), "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, 1811), "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 1813
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 1816
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.', 1816, $this->source); })()));
foreach ($context['_seq'] as $context["_key"] => $context["wt"]) {
// line 1817
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, 1817), "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 1820
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["wt"], 1, [], "array", false, false, false, 1820), "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 1826
if ((Twig\Extension\CoreExtension::length($this->env->getCharset(), CoreExtension::getAttribute($this->env, $this->source, $context["wt"], 2, [], "array", false, false, false, 1826)) > 0)) {
// line 1827
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 1840
$context['_parent'] = $context;
$context['_seq'] = CoreExtension::ensureTraversable(CoreExtension::getAttribute($this->env, $this->source, $context["wt"], 2, [], "array", false, false, false, 1840));
foreach ($context['_seq'] as $context["_key"] => $context["pt"]) {
// line 1841
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 1842
yield CoreExtension::getAttribute($this->env, $this->source, $context["pt"], "displayPhase", ["icon"], "method", false, false, false, 1842);
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 1843
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["pt"], "warehouseFrom", [], "any", false, false, false, 1843), "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 1844
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["pt"], "supplier", [], "any", false, false, false, 1844), "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 1845
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, 1845), "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 1846
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, 1846), "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 1847
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, 1847), "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 1848
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, 1848), "transferId" => CoreExtension::getAttribute($this->env, $this->source, $context["pt"], "id", [], "any", false, false, false, 1848)]), "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.', 1848, $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 1851
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 1854
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 1858
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 1862
if ((Twig\Extension\CoreExtension::length($this->env->getCharset(), CoreExtension::getAttribute($this->env, $this->source, $context["wt"], 3, [], "array", false, false, false, 1862)) > 0)) {
// line 1863
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 1876
$context['_parent'] = $context;
$context['_seq'] = CoreExtension::ensureTraversable(CoreExtension::getAttribute($this->env, $this->source, $context["wt"], 3, [], "array", false, false, false, 1876));
foreach ($context['_seq'] as $context["_key"] => $context["pt"]) {
// line 1877
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 1878
yield CoreExtension::getAttribute($this->env, $this->source, $context["pt"], "displayPhase", ["icon"], "method", false, false, false, 1878);
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 1879
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["pt"], "warehouseTo", [], "any", false, false, false, 1879), "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 1880
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["pt"], "supplier", [], "any", false, false, false, 1880), "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 1881
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, 1881), "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 1882
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, 1882), "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 1883
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, 1883), "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 1884
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, 1884), "transferId" => CoreExtension::getAttribute($this->env, $this->source, $context["pt"], "id", [], "any", false, false, false, 1884)]), "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.', 1884, $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 1887
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 1890
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 1894
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 1898
if ((Twig\Extension\CoreExtension::length($this->env->getCharset(), CoreExtension::getAttribute($this->env, $this->source, $context["wt"], 4, [], "array", false, false, false, 1898)) > 0)) {
// line 1899
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 1901
$context['_parent'] = $context;
$context['_seq'] = CoreExtension::ensureTraversable(CoreExtension::getAttribute($this->env, $this->source, $context["wt"], 4, [], "array", false, false, false, 1901));
foreach ($context['_seq'] as $context["_key"] => $context["pt"]) {
// line 1902
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 1905
yield CoreExtension::getAttribute($this->env, $this->source, $context["pt"], "displayPhase", ["string"], "method", false, false, false, 1905);
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 1906
yield CoreExtension::getAttribute($this->env, $this->source, $context["pt"], "displayPhaseDdt", ["string"], "method", false, false, false, 1906);
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 1907
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["pt"], "warehouseFrom", [], "any", false, false, false, 1907), "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 1908
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["pt"], "warehouseTo", [], "any", false, false, false, 1908), "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 1909
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["pt"], "supplier", [], "any", false, false, false, 1909), "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 1910
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, 1910), "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 1911
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, 1911), "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 1912
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, 1912), "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 1915
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, 1915), "transferId" => CoreExtension::getAttribute($this->env, $this->source, $context["pt"], "id", [], "any", false, false, false, 1915)]), "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.', 1915, $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 1918
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 1921
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 1925
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 1930
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 1933
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 1937
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.', 1937, $this->source); })()), "user", [], "any", false, false, false, 1937), "canRead", ["desk_search"], "method", false, false, false, 1937)) {
// line 1938
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 1939
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 1987
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 1992
yield "\t</section>
\t";
// line 1994
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.', 1994, $this->source); })()), "user", [], "any", false, false, false, 1994), "getAccountTypology", [], "any", false, false, false, 1994) == "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.', 1994, $this->source); })()), "user", [], "any", false, false, false, 1994), "getAccountTypology", [], "any", false, false, false, 1994) == "technician"))) {
// line 1995
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 2001
yield "\t
\t";
// line 2003
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 2016
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.', 2016, $this->source); })()), "user", [], "any", false, false, false, 2016), "getAccountTypology", [], "any", false, false, false, 2016) != "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.', 2016, $this->source); })()), "user", [], "any", false, false, false, 2016), "canWrite", ["ticket"], "method", false, false, false, 2016))) {
// line 2017
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 2038
yield "
\t";
// line 2039
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.', 2039, $this->source); })()), "user", [], "any", false, false, false, 2039), "getAccountTypology", [], "any", false, false, false, 2039) == "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 2043
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 1284
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 1285
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 1289
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), "canRead", ["desk_product_doubles"], "method", false, false, false, 1289)) {
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.', 1289, $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.', 1289, $this->source); })())), "html", null, true);
yield ")</span></a></li>";
}
// line 1290
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.', 1290, $this->source); })()), "user", [], "any", false, false, false, 1290), "canRead", ["desk_product_models"], "method", false, false, false, 1290)) {
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.', 1290, $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.', 1290, $this->source); })())), "html", null, true);
yield ")</span></a></li>";
}
// line 1291
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 1293
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.', 1293, $this->source); })()), "user", [], "any", false, false, false, 1293), "canRead", ["desk_product_doubles"], "method", false, false, false, 1293)) {
// line 1294
yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
// line 1295
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 1298
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.', 1298, $this->source); })())) > 0)) {
// line 1299
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 1315
$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.', 1315, $this->source); })()));
foreach ($context['_seq'] as $context["_key"] => $context["p"]) {
// line 1316
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 1317
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, 1317)]), "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, 1317), "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 1318
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["p"], 1, [], "array", false, false, false, 1318), "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 1319
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["p"], 2, [], "array", false, false, false, 1319), "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 1320
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, 1320)]), "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, 1320), "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 1321
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["p"], 4, [], "array", false, false, false, 1321), "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 1322
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["p"], 5, [], "array", false, false, false, 1322), "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 1325
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 1328
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 1332
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 1334
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.', 1334, $this->source); })()), "user", [], "any", false, false, false, 1334), "canRead", ["desk_product_models"], "method", false, false, false, 1334)) {
// line 1335
yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
// line 1336
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 1339
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.', 1339, $this->source); })())) > 0)) {
// line 1340
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 1353
$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.', 1353, $this->source); })()));
foreach ($context['_seq'] as $context["_key"] => $context["pm"]) {
// line 1354
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 1355
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["pm"], "name", [], "any", false, false, false, 1355), "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 1356
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["pm"], "producer", [], "any", false, false, false, 1356), "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 1357
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["pm"], "sku", [], "any", false, false, false, 1357), "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 1358
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["pm"], "partNumber", [], "any", false, false, false, 1358), "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 1359
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["pm"], "subcategory", [], "any", false, false, false, 1359), "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 1360
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, 1360), "category", [], "any", false, false, false, 1360), "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 1361
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, 1361)]), "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.', 1361, $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 1364
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 1367
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 1371
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 1373
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 2064
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 2065
yield from $this->yieldParentBlock("javascripts", $context, $blocks);
yield "
<script>
\t";
// line 2068
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.', 2068, $this->source); })()), "user", [], "any", false, false, false, 2068), "getAccountTypology", [], "any", false, false, false, 2068) == "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.', 2068, $this->source); })()), "user", [], "any", false, false, false, 2068), "getAccountTypology", [], "any", false, false, false, 2068) == "technician"))) {
// line 2069
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 2076
yield "\t
\t";
// line 2077
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.', 2077, $this->source); })()), "user", [], "any", false, false, false, 2077), "getAccountTypology", [], "any", false, false, false, 2077) == "agency")) {
// line 2078
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 2086
yield "
\t";
// line 2087
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.', 2087, $this->source); })()), "user", [], "any", false, false, false, 2087), "getAccountTypology", [], "any", false, false, false, 2087) != "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.', 2087, $this->source); })()), "user", [], "any", false, false, false, 2087), "canWrite", ["ticket"], "method", false, false, false, 2087))) {
// line 2088
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 2096
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 2098
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 2099
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 2106
yield "\t
\tfunction openModalAlerts(){
\t\t\$('#modalAlerts').modal({backdrop: 'static', keyboard: false}).modal(\"show\");
\t}
\t";
// line 2111
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.', 2111, $this->source); })()), "user", [], "any", false, false, false, 2111), "getAccountTypology", [], "any", false, false, false, 2111) == "technician")) {
// line 2112
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 2122
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 ( 5474 => 2122, 5462 => 2112, 5460 => 2111, 5453 => 2106, 5443 => 2099, 5439 => 2098, 5434 => 2096, 5424 => 2088, 5422 => 2087, 5419 => 2086, 5409 => 2078, 5407 => 2077, 5404 => 2076, 5395 => 2069, 5392 => 2068, 5387 => 2065, 5377 => 2064, 5362 => 1373, 5358 => 1371, 5352 => 1367, 5347 => 1364, 5336 => 1361, 5332 => 1360, 5328 => 1359, 5324 => 1358, 5320 => 1357, 5316 => 1356, 5312 => 1355, 5309 => 1354, 5305 => 1353, 5290 => 1340, 5288 => 1339, 5283 => 1336, 5281 => 1335, 5278 => 1334, 5274 => 1332, 5268 => 1328, 5263 => 1325, 5254 => 1322, 5250 => 1321, 5244 => 1320, 5240 => 1319, 5236 => 1318, 5230 => 1317, 5227 => 1316, 5223 => 1315, 5205 => 1299, 5203 => 1298, 5198 => 1295, 5196 => 1294, 5194 => 1293, 5190 => 1291, 5181 => 1290, 5173 => 1289, 5167 => 1285, 5157 => 1284, 5126 => 2043, 5119 => 2039, 5116 => 2038, 5093 => 2017, 5091 => 2016, 5076 => 2003, 5073 => 2001, 5063 => 1995, 5061 => 1994, 5057 => 1992, 5050 => 1987, 4999 => 1939, 4996 => 1938, 4993 => 1937, 4988 => 1933, 4983 => 1930, 4973 => 1925, 4967 => 1921, 4962 => 1918, 4951 => 1915, 4945 => 1912, 4941 => 1911, 4937 => 1910, 4933 => 1909, 4929 => 1908, 4925 => 1907, 4921 => 1906, 4917 => 1905, 4912 => 1902, 4908 => 1901, 4904 => 1899, 4902 => 1898, 4896 => 1894, 4890 => 1890, 4885 => 1887, 4874 => 1884, 4870 => 1883, 4866 => 1882, 4862 => 1881, 4858 => 1880, 4854 => 1879, 4850 => 1878, 4847 => 1877, 4843 => 1876, 4828 => 1863, 4826 => 1862, 4820 => 1858, 4814 => 1854, 4809 => 1851, 4798 => 1848, 4794 => 1847, 4790 => 1846, 4786 => 1845, 4782 => 1844, 4778 => 1843, 4774 => 1842, 4771 => 1841, 4767 => 1840, 4752 => 1827, 4750 => 1826, 4741 => 1820, 4734 => 1817, 4729 => 1816, 4725 => 1813, 4708 => 1811, 4704 => 1810, 4700 => 1808, 4697 => 1807, 4689 => 1804, 4683 => 1800, 4678 => 1797, 4667 => 1794, 4657 => 1791, 4649 => 1790, 4645 => 1789, 4641 => 1788, 4637 => 1787, 4633 => 1786, 4629 => 1785, 4625 => 1784, 4620 => 1781, 4616 => 1780, 4612 => 1778, 4610 => 1777, 4604 => 1773, 4598 => 1769, 4593 => 1766, 4582 => 1763, 4572 => 1760, 4564 => 1759, 4560 => 1758, 4556 => 1757, 4552 => 1756, 4548 => 1755, 4543 => 1752, 4539 => 1751, 4535 => 1749, 4533 => 1748, 4527 => 1744, 4521 => 1740, 4516 => 1737, 4505 => 1734, 4495 => 1731, 4487 => 1730, 4483 => 1729, 4479 => 1728, 4475 => 1727, 4471 => 1726, 4466 => 1723, 4462 => 1722, 4458 => 1720, 4456 => 1719, 4447 => 1713, 4443 => 1711, 4438 => 1710, 4436 => 1709, 4431 => 1706, 4422 => 1698, 4416 => 1694, 4411 => 1691, 4400 => 1688, 4396 => 1687, 4392 => 1686, 4385 => 1685, 4381 => 1684, 4370 => 1675, 4368 => 1674, 4362 => 1670, 4359 => 1668, 4353 => 1664, 4348 => 1661, 4329 => 1658, 4319 => 1655, 4311 => 1654, 4307 => 1653, 4303 => 1652, 4295 => 1651, 4291 => 1650, 4287 => 1649, 4283 => 1648, 4279 => 1647, 4274 => 1644, 4257 => 1643, 4253 => 1641, 4251 => 1640, 4247 => 1638, 4243 => 1636, 4241 => 1635, 4238 => 1634, 4229 => 1627, 4226 => 1626, 4217 => 1624, 4211 => 1623, 4205 => 1622, 4202 => 1621, 4199 => 1620, 4196 => 1619, 4191 => 1618, 4186 => 1617, 4183 => 1616, 4179 => 1615, 4163 => 1601, 4157 => 1600, 4155 => 1599, 4150 => 1597, 4147 => 1596, 4141 => 1595, 4135 => 1594, 4132 => 1593, 4126 => 1592, 4123 => 1591, 4120 => 1590, 4110 => 1588, 4100 => 1586, 4097 => 1585, 4094 => 1584, 4089 => 1583, 4086 => 1582, 4081 => 1581, 4077 => 1580, 4073 => 1579, 4070 => 1578, 4067 => 1577, 4062 => 1576, 4060 => 1575, 4038 => 1555, 4030 => 1551, 4024 => 1550, 4016 => 1544, 4012 => 1541, 4008 => 1539, 4006 => 1538, 3998 => 1532, 3995 => 1531, 3989 => 1527, 3983 => 1524, 3979 => 1522, 3973 => 1518, 3968 => 1515, 3953 => 1513, 3946 => 1511, 3942 => 1510, 3938 => 1509, 3933 => 1508, 3926 => 1506, 3922 => 1505, 3918 => 1504, 3914 => 1503, 3909 => 1502, 3907 => 1501, 3901 => 1500, 3897 => 1499, 3893 => 1498, 3889 => 1497, 3885 => 1496, 3881 => 1495, 3876 => 1494, 3874 => 1493, 3868 => 1492, 3864 => 1491, 3860 => 1490, 3856 => 1489, 3852 => 1488, 3848 => 1487, 3844 => 1486, 3839 => 1485, 3837 => 1484, 3831 => 1483, 3827 => 1482, 3823 => 1481, 3819 => 1480, 3815 => 1479, 3811 => 1478, 3806 => 1477, 3804 => 1476, 3801 => 1475, 3784 => 1474, 3778 => 1470, 3772 => 1466, 3765 => 1461, 3763 => 1460, 3755 => 1454, 3753 => 1453, 3744 => 1446, 3742 => 1445, 3734 => 1439, 3732 => 1438, 3727 => 1435, 3721 => 1431, 3718 => 1430, 3716 => 1429, 3702 => 1418, 3698 => 1417, 3691 => 1412, 3682 => 1409, 3676 => 1408, 3673 => 1407, 3669 => 1406, 3664 => 1404, 3657 => 1399, 3648 => 1396, 3642 => 1395, 3639 => 1394, 3635 => 1393, 3630 => 1391, 3619 => 1383, 3616 => 1382, 3613 => 1381, 3611 => 1380, 3607 => 1378, 3605 => 1284, 3602 => 1283, 3599 => 1282, 3597 => 1281, 3589 => 1275, 3585 => 1273, 3579 => 1269, 3574 => 1266, 3563 => 1263, 3559 => 1262, 3555 => 1261, 3551 => 1260, 3548 => 1259, 3544 => 1258, 3532 => 1248, 3530 => 1247, 3525 => 1244, 3523 => 1243, 3520 => 1242, 3516 => 1240, 3510 => 1236, 3505 => 1233, 3494 => 1230, 3490 => 1229, 3486 => 1228, 3482 => 1227, 3479 => 1226, 3475 => 1225, 3463 => 1215, 3461 => 1214, 3456 => 1211, 3454 => 1210, 3452 => 1209, 3448 => 1207, 3439 => 1206, 3431 => 1205, 3424 => 1200, 3421 => 1199, 3419 => 1198, 3415 => 1196, 3410 => 1193, 3399 => 1187, 3395 => 1185, 3389 => 1181, 3386 => 1180, 3380 => 1176, 3378 => 1175, 3374 => 1173, 3360 => 1172, 3354 => 1169, 3350 => 1168, 3346 => 1167, 3342 => 1166, 3338 => 1165, 3335 => 1164, 3332 => 1163, 3315 => 1162, 3302 => 1151, 3300 => 1150, 3293 => 1147, 3291 => 1146, 3288 => 1145, 3284 => 1143, 3278 => 1139, 3275 => 1138, 3269 => 1134, 3267 => 1133, 3263 => 1131, 3249 => 1130, 3243 => 1127, 3239 => 1126, 3235 => 1125, 3231 => 1124, 3228 => 1123, 3225 => 1122, 3208 => 1121, 3196 => 1111, 3194 => 1110, 3187 => 1107, 3185 => 1106, 3182 => 1105, 3178 => 1103, 3172 => 1099, 3167 => 1096, 3156 => 1093, 3152 => 1092, 3148 => 1091, 3144 => 1090, 3140 => 1089, 3137 => 1088, 3133 => 1087, 3120 => 1076, 3118 => 1075, 3111 => 1072, 3109 => 1071, 3106 => 1070, 3102 => 1068, 3096 => 1064, 3091 => 1061, 3080 => 1058, 3076 => 1057, 3072 => 1056, 3068 => 1055, 3064 => 1054, 3060 => 1053, 3056 => 1052, 3052 => 1051, 3048 => 1050, 3045 => 1049, 3041 => 1048, 3024 => 1033, 3022 => 1032, 3015 => 1029, 3013 => 1028, 3010 => 1027, 3006 => 1025, 3000 => 1021, 2995 => 1018, 2984 => 1015, 2980 => 1014, 2976 => 1013, 2972 => 1012, 2968 => 1011, 2964 => 1010, 2960 => 1009, 2957 => 1008, 2953 => 1007, 2938 => 994, 2936 => 993, 2929 => 990, 2927 => 989, 2924 => 988, 2920 => 986, 2914 => 982, 2909 => 979, 2898 => 976, 2894 => 975, 2890 => 974, 2886 => 973, 2882 => 972, 2878 => 971, 2874 => 970, 2871 => 969, 2867 => 968, 2852 => 955, 2850 => 954, 2843 => 951, 2841 => 950, 2838 => 949, 2834 => 947, 2828 => 943, 2820 => 940, 2817 => 939, 2815 => 938, 2808 => 935, 2806 => 934, 2803 => 933, 2799 => 930, 2784 => 929, 2769 => 928, 2754 => 927, 2739 => 926, 2724 => 925, 2709 => 924, 2695 => 923, 2686 => 917, 2679 => 914, 2675 => 913, 2671 => 911, 2654 => 909, 2650 => 908, 2646 => 906, 2643 => 905, 2633 => 900, 2629 => 898, 2623 => 894, 2620 => 893, 2614 => 889, 2612 => 888, 2608 => 886, 2594 => 885, 2588 => 882, 2584 => 881, 2580 => 880, 2576 => 879, 2572 => 878, 2569 => 877, 2566 => 876, 2549 => 875, 2536 => 864, 2534 => 863, 2527 => 860, 2525 => 859, 2522 => 858, 2518 => 856, 2512 => 852, 2509 => 851, 2503 => 847, 2501 => 846, 2497 => 844, 2483 => 843, 2477 => 840, 2473 => 839, 2469 => 838, 2465 => 837, 2462 => 836, 2459 => 835, 2442 => 834, 2430 => 824, 2428 => 823, 2421 => 820, 2419 => 819, 2416 => 818, 2412 => 816, 2406 => 812, 2401 => 809, 2390 => 806, 2386 => 805, 2382 => 804, 2378 => 803, 2374 => 802, 2371 => 801, 2367 => 800, 2354 => 789, 2352 => 788, 2345 => 785, 2343 => 784, 2340 => 783, 2336 => 781, 2330 => 777, 2325 => 774, 2314 => 771, 2310 => 770, 2306 => 769, 2302 => 768, 2298 => 767, 2294 => 766, 2290 => 765, 2286 => 764, 2282 => 763, 2279 => 762, 2275 => 761, 2258 => 746, 2256 => 745, 2249 => 742, 2247 => 741, 2244 => 740, 2240 => 738, 2234 => 734, 2229 => 731, 2218 => 728, 2214 => 727, 2210 => 726, 2206 => 725, 2202 => 724, 2198 => 723, 2194 => 722, 2191 => 721, 2187 => 720, 2172 => 707, 2170 => 706, 2163 => 703, 2161 => 702, 2158 => 701, 2154 => 699, 2148 => 695, 2143 => 692, 2132 => 689, 2128 => 688, 2124 => 687, 2120 => 686, 2116 => 685, 2112 => 684, 2108 => 683, 2105 => 682, 2101 => 681, 2086 => 668, 2084 => 667, 2077 => 664, 2075 => 663, 2072 => 662, 2068 => 660, 2062 => 656, 2054 => 653, 2051 => 652, 2049 => 651, 2042 => 648, 2040 => 647, 2037 => 646, 2033 => 643, 2018 => 642, 2003 => 641, 1988 => 640, 1973 => 639, 1958 => 638, 1943 => 637, 1929 => 636, 1920 => 630, 1916 => 628, 1911 => 627, 1909 => 626, 1906 => 625, 1903 => 624, 1901 => 623, 1893 => 617, 1888 => 614, 1882 => 610, 1877 => 607, 1866 => 604, 1862 => 603, 1858 => 602, 1854 => 601, 1847 => 600, 1843 => 599, 1831 => 589, 1829 => 588, 1823 => 584, 1821 => 583, 1818 => 582, 1813 => 579, 1807 => 575, 1802 => 572, 1791 => 569, 1783 => 568, 1775 => 567, 1771 => 566, 1767 => 565, 1763 => 564, 1760 => 563, 1756 => 562, 1742 => 550, 1740 => 549, 1734 => 545, 1732 => 544, 1729 => 543, 1724 => 540, 1718 => 536, 1715 => 535, 1709 => 531, 1707 => 530, 1703 => 528, 1689 => 527, 1681 => 524, 1677 => 523, 1673 => 522, 1669 => 521, 1665 => 520, 1661 => 519, 1657 => 518, 1653 => 517, 1650 => 516, 1647 => 515, 1630 => 514, 1614 => 500, 1612 => 499, 1606 => 495, 1604 => 494, 1601 => 493, 1596 => 490, 1590 => 486, 1585 => 483, 1574 => 480, 1570 => 479, 1566 => 478, 1562 => 477, 1558 => 476, 1554 => 475, 1550 => 474, 1547 => 473, 1543 => 472, 1528 => 459, 1526 => 458, 1520 => 454, 1518 => 453, 1515 => 452, 1510 => 449, 1508 => 448, 1502 => 444, 1500 => 443, 1497 => 442, 1492 => 439, 1486 => 435, 1481 => 432, 1470 => 429, 1456 => 428, 1452 => 427, 1448 => 426, 1444 => 425, 1440 => 424, 1437 => 423, 1433 => 422, 1419 => 410, 1417 => 409, 1411 => 405, 1409 => 404, 1406 => 403, 1401 => 400, 1395 => 396, 1390 => 393, 1379 => 390, 1375 => 389, 1371 => 388, 1367 => 387, 1363 => 386, 1359 => 385, 1356 => 384, 1352 => 383, 1338 => 371, 1336 => 370, 1330 => 366, 1328 => 365, 1325 => 364, 1320 => 361, 1314 => 357, 1311 => 356, 1305 => 352, 1303 => 351, 1299 => 349, 1285 => 348, 1277 => 345, 1273 => 344, 1269 => 343, 1265 => 342, 1261 => 341, 1257 => 340, 1254 => 339, 1251 => 338, 1234 => 337, 1220 => 325, 1218 => 324, 1212 => 320, 1210 => 319, 1207 => 318, 1191 => 311, 1188 => 310, 1173 => 308, 1167 => 307, 1161 => 306, 1158 => 305, 1155 => 304, 1152 => 303, 1149 => 302, 1144 => 301, 1139 => 300, 1136 => 299, 1133 => 298, 1129 => 297, 1122 => 292, 1115 => 290, 1111 => 289, 1107 => 287, 1101 => 286, 1098 => 285, 1096 => 284, 1085 => 282, 1082 => 281, 1076 => 280, 1070 => 279, 1067 => 278, 1061 => 277, 1058 => 276, 1055 => 275, 1053 => 274, 1038 => 273, 1035 => 272, 1030 => 271, 1027 => 270, 1022 => 269, 1018 => 268, 1014 => 267, 1011 => 266, 1008 => 265, 1005 => 264, 1000 => 263, 997 => 262, 995 => 261, 988 => 256, 977 => 254, 973 => 253, 963 => 245, 961 => 244, 958 => 243, 948 => 236, 945 => 235, 936 => 233, 930 => 232, 924 => 231, 921 => 230, 918 => 229, 915 => 228, 910 => 227, 905 => 226, 902 => 225, 898 => 224, 891 => 219, 884 => 217, 880 => 216, 876 => 214, 870 => 213, 868 => 212, 863 => 210, 860 => 209, 854 => 208, 848 => 207, 845 => 206, 839 => 205, 836 => 204, 833 => 203, 823 => 201, 813 => 199, 810 => 198, 807 => 197, 802 => 196, 799 => 195, 794 => 194, 790 => 193, 786 => 192, 783 => 191, 780 => 190, 775 => 189, 773 => 188, 749 => 166, 747 => 165, 745 => 164, 741 => 162, 732 => 161, 723 => 160, 714 => 159, 705 => 158, 698 => 157, 689 => 156, 680 => 155, 671 => 154, 666 => 153, 662 => 152, 655 => 147, 652 => 146, 648 => 143, 643 => 142, 638 => 141, 633 => 140, 628 => 139, 624 => 138, 618 => 134, 615 => 133, 612 => 132, 602 => 131, 586 => 128, 576 => 127, 557 => 125, 544 => 122, 538 => 119, 533 => 116, 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') }}\">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') }}\">Importa 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') }}\">Aggiungi valore colonna 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' %}<li class=\"nav-item\"><a class=\"nav-link\" href=\"{{ path ('user_settings') }}\">Impostazioni</a></li>{% 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_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.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')|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')|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");
}
}