var/cache/dev/twig/01/01fd989f9c9e4d1c2c476692a8799695.php line 201

Open in your IDE?
  1. <?php
  2. use Twig\Environment;
  3. use Twig\Error\LoaderError;
  4. use Twig\Error\RuntimeError;
  5. use Twig\Extension\CoreExtension;
  6. use Twig\Extension\SandboxExtension;
  7. use Twig\Markup;
  8. use Twig\Sandbox\SecurityError;
  9. use Twig\Sandbox\SecurityNotAllowedTagError;
  10. use Twig\Sandbox\SecurityNotAllowedFilterError;
  11. use Twig\Sandbox\SecurityNotAllowedFunctionError;
  12. use Twig\Source;
  13. use Twig\Template;
  14. /* role/user/warehouse/sheet.html.twig */
  15. class __TwigTemplate_02b4364e834ca0e3b081089f332b5fa2 extends Template
  16. {
  17.     private $source;
  18.     private $macros = [];
  19.     public function __construct(Environment $env)
  20.     {
  21.         parent::__construct($env);
  22.         $this->source $this->getSourceContext();
  23.         $this->blocks = [
  24.             'title' => [$this'block_title'],
  25.             'pageTitleH1' => [$this'block_pageTitleH1'],
  26.             'pageTitleBreadcrumb' => [$this'block_pageTitleBreadcrumb'],
  27.             'subMenuLeft' => [$this'block_subMenuLeft'],
  28.             'subMenuRight' => [$this'block_subMenuRight'],
  29.             'content' => [$this'block_content'],
  30.             'tableStocks' => [$this'block_tableStocks'],
  31.             'tableTransfers' => [$this'block_tableTransfers'],
  32.             'tableRequests' => [$this'block_tableRequests'],
  33.             'modals' => [$this'block_modals'],
  34.             'javascripts' => [$this'block_javascripts'],
  35.         ];
  36.     }
  37.     protected function doGetParent(array $context)
  38.     {
  39.         // line 1
  40.         return "role/user/index.html.twig";
  41.     }
  42.     protected function doDisplay(array $context, array $blocks = [])
  43.     {
  44.         $macros $this->macros;
  45.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  46.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""role/user/warehouse/sheet.html.twig"));
  47.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  48.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""role/user/warehouse/sheet.html.twig"));
  49.         $this->parent $this->loadTemplate("role/user/index.html.twig""role/user/warehouse/sheet.html.twig"1);
  50.         yield from $this->parent->unwrap()->yield($contextarray_merge($this->blocks$blocks));
  51.         
  52.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  53.         
  54.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  55.     }
  56.     // line 3
  57.     public function block_title($context, array $blocks = [])
  58.     {
  59.         $macros $this->macros;
  60.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  61.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""title"));
  62.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  63.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""title"));
  64.         yield "Magazzino - Scheda";
  65.         
  66.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  67.         
  68.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  69.         return; yield '';
  70.     }
  71.     // line 5
  72.     public function block_pageTitleH1($context, array $blocks = [])
  73.     {
  74.         $macros $this->macros;
  75.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  76.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""pageTitleH1"));
  77.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  78.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""pageTitleH1"));
  79.         yield "Magazzino - Scheda";
  80.         
  81.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  82.         
  83.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  84.         return; yield '';
  85.     }
  86.     // line 7
  87.     public function block_pageTitleBreadcrumb($context, array $blocks = [])
  88.     {
  89.         $macros $this->macros;
  90.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  91.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""pageTitleBreadcrumb"));
  92.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  93.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""pageTitleBreadcrumb"));
  94.         // line 8
  95.         yield "\t<li class=\"breadcrumb-item\"><a href=\"";
  96.         yield $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("user_warehouse_list");
  97.         yield "\">Magazzini</a></li>
  98. \t<li class=\"breadcrumb-item\"><a href=\"javascript:void(0)\">Scheda</a></li>
  99. ";
  100.         
  101.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  102.         
  103.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  104.         return; yield '';
  105.     }
  106.     // line 12
  107.     public function block_subMenuLeft($context, array $blocks = [])
  108.     {
  109.         $macros $this->macros;
  110.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  111.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""subMenuLeft"));
  112.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  113.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""subMenuLeft"));
  114.         // line 13
  115.         yield "\t";
  116.         if ((Twig\Extension\CoreExtension::length($this->env->getCharset(), CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source, (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'13$this->source); })()), "user", [], "any"falsefalsefalse13), "warehouses", [], "any"falsefalsefalse13)) == 1)) {
  117.             // line 14
  118.             yield "\t\t<li class=\"nav-item\"><a class=\"nav-link\" href=\"";
  119.             yield $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("user_index");
  120.             yield "\">Scrivania</a></li>
  121. \t";
  122.         } else {
  123.             // line 16
  124.             yield "\t\t<li class=\"nav-item\"><a class=\"nav-link\" href=\"";
  125.             yield $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("user_warehouse_list");
  126.             yield "\">Magazzini</a></li>
  127. \t";
  128.         }
  129.         
  130.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  131.         
  132.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  133.         return; yield '';
  134.     }
  135.     // line 20
  136.     public function block_subMenuRight($context, array $blocks = [])
  137.     {
  138.         $macros $this->macros;
  139.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  140.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""subMenuRight"));
  141.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  142.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""subMenuRight"));
  143.         // line 21
  144.         yield "\t";
  145.         if ((CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source, (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'21$this->source); })()), "user", [], "any"falsefalsefalse21), "canWrite", ["warehouse"], "method"falsefalsefalse21) || ( !(null === CoreExtension::getAttribute($this->env$this->source, (isset($context["warehouse"]) || array_key_exists("warehouse"$context) ? $context["warehouse"] : (function () { throw new RuntimeError('Variable "warehouse" does not exist.'21$this->source); })()), "jtUser", [CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source, (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'21$this->source); })()), "user", [], "any"falsefalsefalse21), "id", [], "any"falsefalsefalse21)], "method"falsefalsefalse21)) && (CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source, (isset($context["warehouse"]) || array_key_exists("warehouse"$context) ? $context["warehouse"] : (function () { throw new RuntimeError('Variable "warehouse" does not exist.'21$this->source); })()), "jtUser", [CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source, (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'21$this->source); })()), "user", [], "any"falsefalsefalse21), "id", [], "any"falsefalsefalse21)], "method"falsefalsefalse21), "permission", [], "any"falsefalsefalse21) == "RW")))) {
  146.             // line 22
  147.             yield "\t\t";
  148.             if ((CoreExtension::getAttribute($this->env$this->source, (isset($context["warehouse"]) || array_key_exists("warehouse"$context) ? $context["warehouse"] : (function () { throw new RuntimeError('Variable "warehouse" does not exist.'22$this->source); })()), "headquarter", [], "any"falsefalsefalse22) && (CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source, (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'22$this->source); })()), "user", [], "any"falsefalsefalse22), "canWrite", ["warehouse"], "method"falsefalsefalse22) || CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source, (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'22$this->source); })()), "user", [], "any"falsefalsefalse22), "canWrite", ["warehouse_receive_material"], "method"falsefalsefalse22)))) {
  149.                 // line 23
  150.                 yield "\t\t\t<li class=\"nav-item\"><a class=\"nav-link\" href=\"javascript: transferReceive()\">Ricevi materiale</a></li>
  151. \t\t";
  152.             }
  153.             // line 25
  154.             yield "\t\t<li class=\"nav-item\"><a class=\"nav-link\" href=\"javascript: transferSend()\">Invia materiale</a></li>
  155. \t";
  156.         }
  157.         
  158.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  159.         
  160.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  161.         return; yield '';
  162.     }
  163.     // line 29
  164.     public function block_content($context, array $blocks = [])
  165.     {
  166.         $macros $this->macros;
  167.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  168.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""content"));
  169.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  170.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""content"));
  171.         // line 30
  172.         yield "\t";
  173.         if (((CoreExtension::getAttribute($this->env$this->sourceCoreExtension::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"falsefalsefalse30), "getAccountTypology", [], "any"falsefalsefalse30) == "agency") || (CoreExtension::getAttribute($this->env$this->sourceCoreExtension::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"falsefalsefalse30), "getAccountTypology", [], "any"falsefalsefalse30) == "warehouse"))) {
  174.             // line 31
  175.             yield "\t\t";
  176.             $context["prReqTitle"] = "Richieste tecnici";
  177.             // line 32
  178.             yield "\t\t";
  179.             $context["prReqInserted"] = "Da gestire";
  180.             // line 33
  181.             yield "\t\t";
  182.             $context["prReqTakeCharge"] = "Prese in carico";
  183.             // line 34
  184.             yield "\t\t";
  185.             $context["prReqCompleted"] = "Gestite";
  186.             // line 35
  187.             yield "\t";
  188.         } elseif ((CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source, (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'35$this->source); })()), "user", [], "any"falsefalsefalse35), "getAccountTypology", [], "any"falsefalsefalse35) == "technician")) {
  189.             // line 36
  190.             yield "\t\t";
  191.             $context["prReqTitle"] = "Le tue richieste";
  192.             // line 37
  193.             yield "\t\t";
  194.             $context["prReqInserted"] = "Inviate";
  195.             // line 38
  196.             yield "\t\t";
  197.             $context["prReqTakeCharge"] = "Prese in carico";
  198.             // line 39
  199.             yield "\t\t";
  200.             $context["prReqCompleted"] = "Completate";
  201.             // line 40
  202.             yield "\t";
  203.         }
  204.         // line 41
  205.         yield "\t<section class=\"p_lr_30p m_tb_40p\">
  206. \t\t<div class=\"row\">
  207. \t\t\t<div class=\"col-12\">
  208. \t\t\t\t<h3 class=\"form_title\">Magazzino: ";
  209.         // line 44
  210.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source, (isset($context["warehouse"]) || array_key_exists("warehouse"$context) ? $context["warehouse"] : (function () { throw new RuntimeError('Variable "warehouse" does not exist.'44$this->source); })()), "nickname", [], "any"falsefalsefalse44), "html"nulltrue);
  211.         yield "</h3>
  212. \t\t\t\t<hr class=\"m_t_none\">
  213. \t\t\t\t<div class=\"tabs clearfix\">
  214. \t\t\t\t\t<ul class=\"tab-nav clearfix\">
  215. \t\t\t\t\t\t<li><a id=\"btn_tab_stocks\" href=\"#stocks\" class=\"tab_session\" data-filterTab=\"stocks\"><i class=\"icon-warehouse d-block d-md-none\" data-bs-toggle=\"tooltip\" title=\"Scorte\"></i><span class=\"d-none d-md-block\">Scorte</span></a></li>
  216. \t\t\t\t\t\t<li><a id=\"btn_tab_transfers\" href=\"#transfers\" class=\"tab_session\" data-filterTab=\"transfers\"><i class=\"icon-exchange d-block d-md-none\" data-bs-toggle=\"tooltip\" title=\"Trasferimenti\"></i><span class=\"d-none d-md-block\">Trasferimenti</span></a></li>
  217. \t\t\t\t\t\t<li><a id=\"btn_tab_data\" href=\"#data\" class=\"tab_session\" data-filterTab=\"data\"><i class=\"icon-users d-block d-md-none\" data-bs-toggle=\"tooltip\" title=\"Dati e utenti\"></i><span class=\"d-none d-md-block\">Dati e utenti</span></a></li>
  218. \t\t\t\t\t\t";
  219.         // line 51
  220.         if (((CoreExtension::getAttribute($this->env$this->source, (isset($context["warehouse"]) || array_key_exists("warehouse"$context) ? $context["warehouse"] : (function () { throw new RuntimeError('Variable "warehouse" does not exist.'51$this->source); })()), "headquarter", [], "any"falsefalsefalse51) && ((CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source, (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'51$this->source); })()), "user", [], "any"falsefalsefalse51), "getAccountTypology", [], "any"falsefalsefalse51) == "agency") || (CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source, (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'51$this->source); })()), "user", [], "any"falsefalsefalse51), "getAccountTypology", [], "any"falsefalsefalse51) == "warehouse"))) || (CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source, (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'51$this->source); })()), "user", [], "any"falsefalsefalse51), "getAccountTypology", [], "any"falsefalsefalse51) == "technician"))) {
  221.             // line 52
  222.             yield "\t\t\t\t\t\t\t<li><a id=\"btn_tab_request\" href=\"#technicianRequests\" class=\"tab_session\" data-filterTab=\"request\"><i class=\"icon-question d-block d-md-none\" data-bs-toggle=\"tooltip\" title=\"";
  223.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((isset($context["prReqTitle"]) || array_key_exists("prReqTitle"$context) ? $context["prReqTitle"] : (function () { throw new RuntimeError('Variable "prReqTitle" does not exist.'52$this->source); })()), "html"nulltrue);
  224.             yield "\"></i><span class=\"d-none d-md-block\">";
  225.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((isset($context["prReqTitle"]) || array_key_exists("prReqTitle"$context) ? $context["prReqTitle"] : (function () { throw new RuntimeError('Variable "prReqTitle" does not exist.'52$this->source); })()), "html"nulltrue);
  226.             yield "</span></a></li>
  227. \t\t\t\t\t\t";
  228.         }
  229.         // line 54
  230.         yield "\t\t\t\t\t</ul>
  231. \t\t\t\t\t<div class=\"tab-container\">
  232. \t\t\t\t\t\t";
  233.         // line 57
  234.         yield "\t\t\t\t\t\t<div class=\"tab-content clearfix\" id=\"stocks\">
  235. \t\t\t\t\t\t\t<div class=\"row\">
  236. \t\t\t\t\t\t\t\t<div class=\"col-12\">
  237. \t\t\t\t\t\t\t\t\t<h4 class=\"form_title\">Scorte in magazzino
  238. \t\t\t\t\t\t\t\t\t\t<a href=\"";
  239.         // line 61
  240.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("user_warehouse_stocks_export_csv", ["warehouseId" => CoreExtension::getAttribute($this->env$this->source, (isset($context["warehouse"]) || array_key_exists("warehouse"$context) ? $context["warehouse"] : (function () { throw new RuntimeError('Variable "warehouse" does not exist.'61$this->source); })()), "id", [], "any"falsefalsefalse61)]), "html"nulltrue);
  241.         yield "\" class=\"button button-3d button-mini button-pr m_t_none m_b_none f_right\"><i class=\"icon-file-excel d-block d-lg-none m_r_none\" data-bs-toggle=\"tooltip\" title=\"Esporta in csv\"></i><span class=\"d-none d-lg-block\">Esporta in csv</span></a>
  242. \t\t\t\t\t\t\t\t\t\t";
  243.         // line 62
  244.         if (((CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source, (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'62$this->source); })()), "user", [], "any"falsefalsefalse62), "getAccountTypology", [], "any"falsefalsefalse62) == "agency") || (CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source, (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'62$this->source); })()), "user", [], "any"falsefalsefalse62), "getAccountTypology", [], "any"falsefalsefalse62) == "warehouse"))) {
  245.             // line 63
  246.             yield "\t\t\t\t\t\t\t\t\t\t\t";
  247.             if ((CoreExtension::getAttribute($this->env$this->source, (isset($context["warehouse"]) || array_key_exists("warehouse"$context) ? $context["warehouse"] : (function () { throw new RuntimeError('Variable "warehouse" does not exist.'63$this->source); })()), "headquarter", [], "any"falsefalsefalse63) && (CoreExtension::getAttribute($this->env$this->source, (isset($context["settingRecoverStock"]) || array_key_exists("settingRecoverStock"$context) ? $context["settingRecoverStock"] : (function () { throw new RuntimeError('Variable "settingRecoverStock" does not exist.'63$this->source); })()), "value", [], "any"falsefalsefalse63) == 1))) {
  248.                 // line 64
  249.                 yield "\t\t\t\t\t\t\t\t\t\t\t\t<a href=\"";
  250.                 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("user_warehouse_stocks_recover", ["warehouseId" => CoreExtension::getAttribute($this->env$this->source, (isset($context["warehouse"]) || array_key_exists("warehouse"$context) ? $context["warehouse"] : (function () { throw new RuntimeError('Variable "warehouse" does not exist.'64$this->source); })()), "id", [], "any"falsefalsefalse64)]), "html"nulltrue);
  251.                 yield "\" class=\"button button-3d button-mini button-green m_t_none m_b_none f_right\"><i class=\"icon-barcode d-block d-lg-none m_r_none\" data-bs-toggle=\"tooltip\" title=\"Rientra scorte\"></i><span class=\"d-none d-lg-block\">Rientra scorte</span></a>
  252. \t\t\t\t\t\t\t\t\t\t\t";
  253.             }
  254.             // line 66
  255.             yield "\t\t\t\t\t\t\t\t\t\t\t";
  256.             if ((CoreExtension::getAttribute($this->env$this->source, (isset($context["settingRegisterStock"]) || array_key_exists("settingRegisterStock"$context) ? $context["settingRegisterStock"] : (function () { throw new RuntimeError('Variable "settingRegisterStock" does not exist.'66$this->source); })()), "value", [], "any"falsefalsefalse66) == 1)) {
  257.                 // line 67
  258.                 yield "\t\t\t\t\t\t\t\t\t\t\t\t<a href=\"";
  259.                 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("user_warehouse_stocks_register", ["warehouseId" => CoreExtension::getAttribute($this->env$this->source, (isset($context["warehouse"]) || array_key_exists("warehouse"$context) ? $context["warehouse"] : (function () { throw new RuntimeError('Variable "warehouse" does not exist.'67$this->source); })()), "id", [], "any"falsefalsefalse67)]), "html"nulltrue);
  260.                 yield "\" class=\"button button-3d button-mini button-green m_t_none m_b_none f_right\"><i class=\"icon-barcode d-block d-lg-none m_r_none\" data-bs-toggle=\"tooltip\" title=\"Registra scorte\"></i><span class=\"d-none d-lg-block\">Registra scorte</span></a>
  261. \t\t\t\t\t\t\t\t\t\t\t";
  262.             }
  263.             // line 69
  264.             yield "\t\t\t\t\t\t\t\t\t\t";
  265.         }
  266.         // line 70
  267.         yield "\t\t\t\t\t\t\t\t\t\t";
  268.         if (CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source, (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'70$this->source); })()), "user", [], "any"falsefalsefalse70), "canWrite", ["warehouse_inventory"], "method"falsefalsefalse70)) {
  269.             // line 71
  270.             yield "\t\t\t\t\t\t\t\t\t\t\t<a href=\"javascript: stockInventory()\" class=\"button button-3d button-mini button-amber m_t_none m_b_none f_right\"><i class=\"icon-boxes d-block d-lg-none m_r_none\" data-bs-toggle=\"tooltip\" title=\"Inventario\"></i><span class=\"d-none d-lg-block\">Inventario</span></a>
  271. \t\t\t\t\t\t\t\t\t\t";
  272.         }
  273.         // line 73
  274.         yield "\t\t\t\t\t\t\t\t\t</h4>
  275. \t\t\t\t\t\t\t\t\t<hr class=\"m_t_none\">
  276. \t\t\t\t\t\t\t\t</div>
  277. \t\t\t\t\t\t\t\t<div class=\"col-12\">
  278. \t\t\t\t\t\t\t\t\t<div class=\"tabs clearfix\">
  279. \t\t\t\t\t\t\t\t\t\t<ul class=\"tab-nav clearfix\">
  280. \t\t\t\t\t\t\t\t\t\t\t";
  281.         // line 79
  282.         if (CoreExtension::getAttribute($this->env$this->source, (isset($context["warehouse"]) || array_key_exists("warehouse"$context) ? $context["warehouse"] : (function () { throw new RuntimeError('Variable "warehouse" does not exist.'79$this->source); })()), "headquarter", [], "any"falsefalsefalse79)) {
  283.             // line 80
  284.             yield "\t\t\t\t\t\t\t\t\t\t\t\t<li><a id=\"btn_tab_s_to_manage\" href=\"#to_manage\" class=\"tab_session2\" data-filterTab=\"s_to_manage\"><i class=\"icon-question d-block d-md-none\" data-bs-toggle=\"tooltip\" title=\"Da gestire (";
  285.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source, (isset($context["toManageProducts"]) || array_key_exists("toManageProducts"$context) ? $context["toManageProducts"] : (function () { throw new RuntimeError('Variable "toManageProducts" does not exist.'80$this->source); })()), "getTotalItemCount", [], "any"falsefalsefalse80), "html"nulltrue);
  286.             yield ")\"></i><span class=\"d-none d-md-block\">Da gestire (";
  287.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source, (isset($context["toManageProducts"]) || array_key_exists("toManageProducts"$context) ? $context["toManageProducts"] : (function () { throw new RuntimeError('Variable "toManageProducts" does not exist.'80$this->source); })()), "getTotalItemCount", [], "any"falsefalsefalse80), "html"nulltrue);
  288.             yield ")</span></a></li>
  289. \t\t\t\t\t\t\t\t\t\t\t";
  290.         }
  291.         // line 82
  292.         yield "\t\t\t\t\t\t\t\t\t\t\t<li><a id=\"btn_tab_s_available\" href=\"#available\" class=\"tab_session2\" data-filterTab=\"s_available\"><i class=\"icon-check d-block d-md-none\" data-bs-toggle=\"tooltip\" title=\"Disponibili (";
  293.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source, (isset($context["availableProducts"]) || array_key_exists("availableProducts"$context) ? $context["availableProducts"] : (function () { throw new RuntimeError('Variable "availableProducts" does not exist.'82$this->source); })()), "getTotalItemCount", [], "any"falsefalsefalse82), "html"nulltrue);
  294.         yield ")\"></i><span class=\"d-none d-md-block\">Disponibili (";
  295.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source, (isset($context["availableProducts"]) || array_key_exists("availableProducts"$context) ? $context["availableProducts"] : (function () { throw new RuntimeError('Variable "availableProducts" does not exist.'82$this->source); })()), "getTotalItemCount", [], "any"falsefalsefalse82), "html"nulltrue);
  296.         yield ")</span></a></li>
  297. \t\t\t\t\t\t\t\t\t\t\t<li><a id=\"btn_tab_s_not_available\" href=\"#not_available\" class=\"tab_session2\" data-filterTab=\"s_not_available\"><i class=\"icon-minus d-block d-md-none\" data-bs-toggle=\"tooltip\" title=\"Non disponibili (";
  298.         // line 83
  299.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source, (isset($context["notAvailableProducts"]) || array_key_exists("notAvailableProducts"$context) ? $context["notAvailableProducts"] : (function () { throw new RuntimeError('Variable "notAvailableProducts" does not exist.'83$this->source); })()), "getTotalItemCount", [], "any"falsefalsefalse83), "html"nulltrue);
  300.         yield ")\"></i><span class=\"d-none d-md-block\">Non disponibili (";
  301.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source, (isset($context["notAvailableProducts"]) || array_key_exists("notAvailableProducts"$context) ? $context["notAvailableProducts"] : (function () { throw new RuntimeError('Variable "notAvailableProducts" does not exist.'83$this->source); })()), "getTotalItemCount", [], "any"falsefalsefalse83), "html"nulltrue);
  302.         yield ")</span></a></li>
  303. \t\t\t\t\t\t\t\t\t\t\t<li><a id=\"btn_tab_s_transfer\" href=\"#transfer\" class=\"tab_session2\" data-filterTab=\"s_transfer\"><i class=\"icon-exchange d-block d-md-none\" data-bs-toggle=\"tooltip\" title=\"In trasferimento (";
  304.         // line 84
  305.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source, (isset($context["transferProducts"]) || array_key_exists("transferProducts"$context) ? $context["transferProducts"] : (function () { throw new RuntimeError('Variable "transferProducts" does not exist.'84$this->source); })()), "getTotalItemCount", [], "any"falsefalsefalse84), "html"nulltrue);
  306.         yield ")\"></i><span class=\"d-none d-md-block\">In trasferimento (";
  307.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source, (isset($context["transferProducts"]) || array_key_exists("transferProducts"$context) ? $context["transferProducts"] : (function () { throw new RuntimeError('Variable "transferProducts" does not exist.'84$this->source); })()), "getTotalItemCount", [], "any"falsefalsefalse84), "html"nulltrue);
  308.         yield ")</span></a></li>
  309. \t\t\t\t\t\t\t\t\t\t</ul>
  310. \t\t\t\t\t\t\t\t\t\t<div class=\"tab-container\">
  311. \t\t\t\t\t\t\t\t\t\t\t";
  312.         // line 87
  313.         if (CoreExtension::getAttribute($this->env$this->source, (isset($context["warehouse"]) || array_key_exists("warehouse"$context) ? $context["warehouse"] : (function () { throw new RuntimeError('Variable "warehouse" does not exist.'87$this->source); })()), "headquarter", [], "any"falsefalsefalse87)) {
  314.             // line 88
  315.             yield "\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"tab-content clearfix\" id=\"to_manage\">
  316. \t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"row\">
  317. \t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"col-12\">
  318. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<a id=\"button_0_print\" href=\"javascript: void(0)\" class=\"button button-3d button-mini button-grey f_right m_b_10p p_tb4_lr6\"><i class=\"icon-print d-block d-lg-none m_r_none\" data-bs-toggle=\"tooltip\" title=\"Stampa etichette\"></i><span class=\"d-none d-lg-block\">Stampa etichette</span></a>
  319. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<a id=\"button_0_model\" href=\"javascript: void(0)\" class=\"button button-3d button-mini button-grey f_right m_b_10p p_tb4_lr6\"><i class=\"icon-line-alert-circle d-block d-lg-none m_r_none\" data-bs-toggle=\"tooltip\" title=\"Cambia modello\"></i><span class=\"d-none d-lg-block\">Cambia modello</span></a>
  320. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<a id=\"button_0_condition\" href=\"javascript: void(0)\" class=\"button button-3d button-mini button-grey f_right m_b_10p p_tb4_lr6\"><i class=\"icon-line-alert-circle d-block d-lg-none m_r_none\" data-bs-toggle=\"tooltip\" title=\"Cambia condizione\"></i><span class=\"d-none d-lg-block\">Cambia condizione</span></a>
  321. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<a id=\"button_0_supplier\" href=\"javascript: void(0)\" class=\"button button-3d button-mini button-grey f_right m_b_10p p_tb4_lr6\"><i class=\"icon-hand-holding d-block d-lg-none m_r_none\" data-bs-toggle=\"tooltip\" title=\"Modifica fornitori\"></i><span class=\"d-none d-lg-block\">Modifica fornitori</span></a>
  322. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<a id=\"button_0_managed\" href=\"javascript: void(0)\" class=\"button button-3d button-mini button-grey f_right m_b_10p p_tb4_lr6\"><i class=\"icon-wrench d-block d-lg-none m_r_none\" data-bs-toggle=\"tooltip\" title=\"Gestito\"></i><span class=\"d-none d-lg-block\">Gestito</span></a>
  323. \t\t\t\t\t\t\t\t\t\t\t\t\t\t</div>
  324. \t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"col-12 overflow_a\">
  325. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<table class=\"table table-sm table-bordered responsive_font_size\">
  326. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<thead>
  327. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<tr>
  328. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<form method=\"get\" action=\"";
  329.             // line 101
  330.             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, (isset($context["warehouse"]) || array_key_exists("warehouse"$context) ? $context["warehouse"] : (function () { throw new RuntimeError('Variable "warehouse" does not exist.'101$this->source); })()), "id", [], "any"falsefalsefalse101)]), "html"nulltrue);
  331.             yield "\" id=\"formFilter_0\">
  332. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td colspan=\"3\"><a href=\"";
  333.             // line 102
  334.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("remove_filter", ["route" => CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source, (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'102$this->source); })()), "request", [], "any"falsefalsefalse102), "attributes", [], "any"falsefalsefalse102), "get", ["_route"], "method"falsefalsefalse102), "route_params" => CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source, (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'102$this->source); })()), "request", [], "any"falsefalsefalse102), "attributes", [], "any"falsefalsefalse102), "get", ["_route_params"], "method"falsefalsefalse102)]), "html"nulltrue);
  335.             yield "\" class=\"f_right\" data-bs-toggle=\"tooltip\" title=\"Escludi filtri\"><img class=\"icon_action icon_red\" src=\"";
  336.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl((isset($context["icon_delete"]) || array_key_exists("icon_delete"$context) ? $context["icon_delete"] : (function () { throw new RuntimeError('Variable "icon_delete" does not exist.'102$this->source); })())), "html"nulltrue);
  337.             yield "\"></a></td>
  338. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td class=\"td_w_150p\"><input type=\"text\" inputmode=\"search\" class=\"form-control\" name=\"codeProducer_0\" value=\"";
  339.             // line 103
  340.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(((CoreExtension::getAttribute($this->env$this->source, ($context["filters"] ?? null), "codeProducer_0", [], "any"truetruefalse103)) ? (Twig\Extension\CoreExtension::default(CoreExtension::getAttribute($this->env$this->source, ($context["filters"] ?? null), "codeProducer_0", [], "any"falsefalsefalse103))) : ("")), "html"nulltrue);
  341.             yield "\"/></td>
  342. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td class=\"td_w_180p\"><input type=\"text\" inputmode=\"search\" class=\"form-control\" name=\"model_0\" value=\"";
  343.             // line 104
  344.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(((CoreExtension::getAttribute($this->env$this->source, ($context["filters"] ?? null), "model_0", [], "any"truetruefalse104)) ? (Twig\Extension\CoreExtension::default(CoreExtension::getAttribute($this->env$this->source, ($context["filters"] ?? null), "model_0", [], "any"falsefalsefalse104))) : ("")), "html"nulltrue);
  345.             yield "\"/></td>
  346. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td class=\"td_w_120p\"><input type=\"text\" class=\"form-control\" id=\"filter_supplier_value_0\" readonly onClick=\"filterSuppliers0()\" data-bs-toggle=\"tooltip\"/><input type=\"hidden\" id=\"filter_supplier_id_0\" name=\"supplier_0\" value=\"";
  347.             // line 105
  348.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(((CoreExtension::getAttribute($this->env$this->source, ($context["filters"] ?? null), "supplier_0", [], "any"truetruefalse105)) ? (Twig\Extension\CoreExtension::default(CoreExtension::getAttribute($this->env$this->source, ($context["filters"] ?? null), "supplier_0", [], "any"falsefalsefalse105))) : ("")), "html"nulltrue);
  349.             yield "\"/></td>
  350. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td class=\"td_w_120p\"><input type=\"text\" inputmode=\"search\" class=\"form-control\" name=\"condition_0\" value=\"";
  351.             // line 106
  352.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(((CoreExtension::getAttribute($this->env$this->source, ($context["filters"] ?? null), "condition_0", [], "any"truetruefalse106)) ? (Twig\Extension\CoreExtension::default(CoreExtension::getAttribute($this->env$this->source, ($context["filters"] ?? null), "condition_0", [], "any"falsefalsefalse106))) : ("")), "html"nulltrue);
  353.             yield "\"/></td>
  354. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td class=\"td_w_120p\"><input type=\"text\" inputmode=\"search\" class=\"form-control\" name=\"producer_0\" value=\"";
  355.             // line 107
  356.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(((CoreExtension::getAttribute($this->env$this->source, ($context["filters"] ?? null), "producer_0", [], "any"truetruefalse107)) ? (Twig\Extension\CoreExtension::default(CoreExtension::getAttribute($this->env$this->source, ($context["filters"] ?? null), "producer_0", [], "any"falsefalsefalse107))) : ("")), "html"nulltrue);
  357.             yield "\"/></td>
  358. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td class=\"td_w_150p\"><input type=\"text\" inputmode=\"search\" class=\"form-control\" name=\"codeSupplier_0\" value=\"";
  359.             // line 108
  360.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(((CoreExtension::getAttribute($this->env$this->source, ($context["filters"] ?? null), "codeSupplier_0", [], "any"truetruefalse108)) ? (Twig\Extension\CoreExtension::default(CoreExtension::getAttribute($this->env$this->source, ($context["filters"] ?? null), "codeSupplier_0", [], "any"falsefalsefalse108))) : ("")), "html"nulltrue);
  361.             yield "\"/></td>
  362. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td class=\"td_w_120p\"><input type=\"text\" inputmode=\"search\" class=\"form-control\" name=\"sku_0\" value=\"";
  363.             // line 109
  364.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(((CoreExtension::getAttribute($this->env$this->source, ($context["filters"] ?? null), "sku_0", [], "any"truetruefalse109)) ? (Twig\Extension\CoreExtension::default(CoreExtension::getAttribute($this->env$this->source, ($context["filters"] ?? null), "sku_0", [], "any"falsefalsefalse109))) : ("")), "html"nulltrue);
  365.             yield "\"/></td>
  366. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td class=\"td_w_120p\"><input type=\"text\" inputmode=\"search\" class=\"form-control\" name=\"technician_0\" value=\"";
  367.             // line 110
  368.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(((CoreExtension::getAttribute($this->env$this->source, ($context["filters"] ?? null), "technician_0", [], "any"truetruefalse110)) ? (Twig\Extension\CoreExtension::default(CoreExtension::getAttribute($this->env$this->source, ($context["filters"] ?? null), "technician_0", [], "any"falsefalsefalse110))) : ("")), "html"nulltrue);
  369.             yield "\"/></td>
  370. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td class=\"td_w_60p\"><input type=\"text\" inputmode=\"search\" class=\"form-control\" name=\"ddt_0\" value=\"";
  371.             // line 111
  372.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(((CoreExtension::getAttribute($this->env$this->source, ($context["filters"] ?? null), "ddt_0", [], "any"truetruefalse111)) ? (Twig\Extension\CoreExtension::default(CoreExtension::getAttribute($this->env$this->source, ($context["filters"] ?? null), "ddt_0", [], "any"falsefalsefalse111))) : ("")), "html"nulltrue);
  373.             yield "\"/></td>
  374. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td class=\"td_w_120p\"><input type=\"text\" inputmode=\"search\" class=\"form-control\" name=\"lastUser_0\" value=\"";
  375.             // line 112
  376.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(((CoreExtension::getAttribute($this->env$this->source, ($context["filters"] ?? null), "lastUser_0", [], "any"truetruefalse112)) ? (Twig\Extension\CoreExtension::default(CoreExtension::getAttribute($this->env$this->source, ($context["filters"] ?? null), "lastUser_0", [], "any"falsefalsefalse112))) : ("")), "html"nulltrue);
  377.             yield "\"/></td>
  378. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
  379.             // line 114
  380.             yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td class=\"td_w_60p\">
  381. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<button type=\"submit\" class=\"btn bg_w f_left p_0p\" data-bs-toggle=\"tooltip\" title=\"Filtra\"><img class=\"icon_action icon_green\" src=\"";
  382.             // line 115
  383.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl((isset($context["icon_search"]) || array_key_exists("icon_search"$context) ? $context["icon_search"] : (function () { throw new RuntimeError('Variable "icon_search" does not exist.'115$this->source); })())), "html"nulltrue);
  384.             yield "\"></button>
  385. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<a href=\"";
  386.             // line 116
  387.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("user_warehouse_stocks_export_csv_filtered", ["warehouseId" => CoreExtension::getAttribute($this->env$this->source, (isset($context["warehouse"]) || array_key_exists("warehouse"$context) ? $context["warehouse"] : (function () { throw new RuntimeError('Variable "warehouse" does not exist.'116$this->source); })()), "id", [], "any"falsefalsefalse116), "status" => "to_manage"]), "html"nulltrue);
  388.             yield "\" class=\"f_right\" data-bs-toggle=\"tooltip\" title=\"Esporta filtrati\"><img class=\"icon_action icon_amber\" src=\"";
  389.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl((isset($context["icon_xls"]) || array_key_exists("icon_xls"$context) ? $context["icon_xls"] : (function () { throw new RuntimeError('Variable "icon_xls" does not exist.'116$this->source); })())), "html"nulltrue);
  390.             yield "\"></a>
  391. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</td>
  392. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<input type=\"hidden\" name=\"filter_tab\" value=\"s_to_manage\">
  393. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<input id=\"sort_field_0\" type=\"hidden\" name=\"sortField_0\" value=\"";
  394.             // line 119
  395.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(((CoreExtension::getAttribute($this->env$this->source, ($context["filters"] ?? null), "sortField_0", [], "any"truetruefalse119)) ? (Twig\Extension\CoreExtension::default(CoreExtension::getAttribute($this->env$this->source, ($context["filters"] ?? null), "sortField_0", [], "any"falsefalsefalse119))) : ("")), "html"nulltrue);
  396.             yield "\"/>
  397. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<input id=\"sort_order_0\" type=\"hidden\" name=\"sortOrder_0\" value=\"";
  398.             // line 120
  399.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(((CoreExtension::getAttribute($this->env$this->source, ($context["filters"] ?? null), "sortOrder_0", [], "any"truetruefalse120)) ? (Twig\Extension\CoreExtension::default(CoreExtension::getAttribute($this->env$this->source, ($context["filters"] ?? null), "sortOrder_0", [], "any"falsefalsefalse120))) : ("")), "html"nulltrue);
  400.             yield "\"/>
  401. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</form>
  402. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</tr>
  403. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<tr class=\"bg_pr color_w\">
  404. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<th class=\"td_w_20p\"></th>
  405. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<th class=\"td_w_20p\">
  406. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"switch\" data-bs-toggle=\"tooltip\" title=\"Seleziona tutti\">
  407. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<input id=\"stock_0_all_checkboxes\" class=\"switch-toggle switch-flat-mini switch-toggle-flat\" type=\"checkbox\" onChange=\"javascript: selectAll(0, 's_to_manage')\">
  408. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<label for=\"stock_0_all_checkboxes\" class=\"m_b_none\"></label>
  409. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</div>
  410. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</th>
  411. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<th class=\"td_w_40p txt_a_c\">Ptà<button type=\"button\" onClick=\"setOrderBy0('p.toManagePriority')\" data-orderField=\"p.toManagePriority\" class=\"f_right filter_arrow_0\"><img width=\"18\" data-bs-toggle=\"tooltip\" title=\"Ordina in ordine alfabetico\"></button></th>
  412. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<th>Matr. produttore<button type=\"button\" onClick=\"setOrderBy0('p.codeProducer')\" data-orderField=\"p.codeProducer\" class=\"f_right filter_arrow_0\"><img width=\"18\" data-bs-toggle=\"tooltip\" title=\"Ordina in ordine alfabetico\"></button></th>
  413. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<th>Modello<button type=\"button\" onClick=\"setOrderBy0('m.name')\" data-orderField=\"m.name\" class=\"f_right filter_arrow_0\"><img width=\"18\" data-bs-toggle=\"tooltip\" title=\"Ordina in ordine alfabetico\"></button></th>
  414. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<th>Fornitori</th>\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
  415. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<th>Condizione<button type=\"button\" onClick=\"setOrderBy0('c.value')\" data-orderField=\"c.value\" class=\"f_right filter_arrow_0\"><img width=\"18\" data-bs-toggle=\"tooltip\" title=\"Ordina in ordine alfabetico\"></button></th>
  416. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<th>Produttore<button type=\"button\" onClick=\"setOrderBy0('pr.name')\" data-orderField=\"pr.name\" class=\"f_right filter_arrow_0\"><img width=\"18\" data-bs-toggle=\"tooltip\" title=\"Ordina in ordine alfabetico\"></button></th>
  417. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<th>Matr. fornitore<button type=\"button\" onClick=\"setOrderBy0('p.codeSupplier')\" data-orderField=\"p.codeSupplier\" class=\"f_right filter_arrow_0\"><img width=\"18\" data-bs-toggle=\"tooltip\" title=\"Ordina in ordine alfabetico\"></button></th>
  418. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<th>SKU<button type=\"button\" onClick=\"setOrderBy0('m.sku')\" data-orderField=\"m.sku\" class=\"f_right filter_arrow_0\"><img width=\"18\" data-bs-toggle=\"tooltip\" title=\"Ordina in ordine alfabetico\"></button></th>
  419. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<th>Tecnico</th>
  420. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<th>DDT</th>
  421. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<th colspan=\"2\">Ultimo utente log</th>
  422. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</tr>
  423. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</thead>
  424. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<tbody>
  425. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
  426.             // line 145
  427.             if ((Twig\Extension\CoreExtension::length($this->env->getCharset(), (isset($context["toManageProducts"]) || array_key_exists("toManageProducts"$context) ? $context["toManageProducts"] : (function () { throw new RuntimeError('Variable "toManageProducts" does not exist.'145$this->source); })())) > 0)) {
  428.                 // line 146
  429.                 yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
  430.                 $context['_parent'] = $context;
  431.                 $context['_seq'] = CoreExtension::ensureTraversable((isset($context["toManageProducts"]) || array_key_exists("toManageProducts"$context) ? $context["toManageProducts"] : (function () { throw new RuntimeError('Variable "toManageProducts" does not exist.'146$this->source); })()));
  432.                 foreach ($context['_seq'] as $context["_key"] => $context["product"]) {
  433.                     // line 147
  434.                     yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
  435.                     $context["first"] = true;
  436.                     // line 148
  437.                     yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
  438.                     $context["suppliersString"] = "";
  439.                     // line 149
  440.                     yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
  441.                     $context['_parent'] = $context;
  442.                     $context['_seq'] = CoreExtension::ensureTraversable(CoreExtension::getAttribute($this->env$this->source$context["product"], "suppliers", [], "any"falsefalsefalse149));
  443.                     foreach ($context['_seq'] as $context["_key"] => $context["supplier"]) {
  444.                         // line 150
  445.                         yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
  446.                         if ((isset($context["first"]) || array_key_exists("first"$context) ? $context["first"] : (function () { throw new RuntimeError('Variable "first" does not exist.'150$this->source); })())) {
  447.                             $context["first"] = false;
  448.                         } else {
  449.                             $context["suppliersString"] = ((isset($context["suppliersString"]) || array_key_exists("suppliersString"$context) ? $context["suppliersString"] : (function () { throw new RuntimeError('Variable "suppliersString" does not exist.'150$this->source); })()) . "-");
  450.                         }
  451.                         // line 151
  452.                         yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
  453.                         $context["suppliersString"] = ((isset($context["suppliersString"]) || array_key_exists("suppliersString"$context) ? $context["suppliersString"] : (function () { throw new RuntimeError('Variable "suppliersString" does not exist.'151$this->source); })()) . CoreExtension::getAttribute($this->env$this->source$context["supplier"], "id", [], "any"falsefalsefalse151));
  454.                         // line 152
  455.                         yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
  456.                     }
  457.                     $_parent $context['_parent'];
  458.                     unset($context['_seq'], $context['_iterated'], $context['_key'], $context['supplier'], $context['_parent'], $context['loop']);
  459.                     $context array_intersect_key($context$_parent) + $_parent;
  460.                     // line 153
  461.                     yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<input type=\"hidden\" id=\"suppliers_ids_string\" value=\"";
  462.                     yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((isset($context["suppliersString"]) || array_key_exists("suppliersString"$context) ? $context["suppliersString"] : (function () { throw new RuntimeError('Variable "suppliersString" does not exist.'153$this->source); })()), "html"nulltrue);
  463.                     yield "\">
  464. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<tr ";
  465.                     // line 154
  466.                     if (CoreExtension::getAttribute($this->env$this->source$context["product"], "toManage", [], "any"falsefalsefalse154)) {
  467.                         yield "class=\"bg_to_manage_";
  468.                         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source$context["product"], "toManagePriority", [], "any"falsefalsefalse154), "html"nulltrue);
  469.                         yield "\"";
  470.                     }
  471.                     yield ">
  472. \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=\"";
  473.                     // line 155
  474.                     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["product"], "id", [], "any"falsefalsefalse155)]), "html"nulltrue);
  475.                     yield "\" data-bs-toggle=\"tooltip\" title=\"Scheda\"><img class=\"icon_action icon_pr\" src=\"";
  476.                     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.'155$this->source); })())), "html"nulltrue);
  477.                     yield "\"></a></td>
  478. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td>
  479. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"switch\">
  480. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<input id=\"stock_checkbox_";
  481.                     // line 158
  482.                     yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source$context["product"], "id", [], "any"falsefalsefalse158), "html"nulltrue);
  483.                     yield "\" class=\"switch-toggle switch-flat-mini switch-toggle-flat stock_0_checkbox\" type=\"checkbox\" value=\"";
  484.                     yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source$context["product"], "id", [], "any"falsefalsefalse158), "html"nulltrue);
  485.                     yield "\" onChange=\"javascript: updateButtons(0, 's_to_manage')\">
  486. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<label for=\"stock_checkbox_";
  487.                     // line 159
  488.                     yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source$context["product"], "id", [], "any"falsefalsefalse159), "html"nulltrue);
  489.                     yield "\" class=\"m_b_none\"></label>
  490. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</div>
  491. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</td>
  492. \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\">";
  493.                     // line 162
  494.                     yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source$context["product"], "toManagePriority", [], "any"falsefalsefalse162), "html"nulltrue);
  495.                     yield "</td>
  496. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td id=\"product_codeProducer_";
  497.                     // line 163
  498.                     yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source$context["product"], "id", [], "any"falsefalsefalse163), "html"nulltrue);
  499.                     yield "\"><a href=\"";
  500.                     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["product"], "id", [], "any"falsefalsefalse163)]), "html"nulltrue);
  501.                     yield "\" class=\"underline\" target=\"_blank\">";
  502.                     yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(((CoreExtension::getAttribute($this->env$this->source$context["product"], "codeProducer", [], "any"truetruefalse163)) ? (Twig\Extension\CoreExtension::default(CoreExtension::getAttribute($this->env$this->source$context["product"], "codeProducer", [], "any"falsefalsefalse163), "---")) : ("---")), "html"nulltrue);
  503.                     yield "</a></td>
  504. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td id=\"product_model_";
  505.                     // line 164
  506.                     yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source$context["product"], "id", [], "any"falsefalsefalse164), "html"nulltrue);
  507.                     yield "\">";
  508.                     yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source$context["product"], "model", [], "any"falsefalsefalse164), "name", [], "any"falsefalsefalse164), "html"nulltrue);
  509.                     yield "</td>
  510. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td>";
  511.                     // line 165
  512.                     yield CoreExtension::getAttribute($this->env$this->source$context["product"], "displaySuppliers", [], "method"falsefalsefalse165);
  513.                     yield "</td>
  514. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td>";
  515.                     // line 166
  516.                     yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source$context["product"], "displayCondition", ["string-short"], "method"falsefalsefalse166), "html"nulltrue);
  517.                     yield "</td>
  518. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td>";
  519.                     // line 167
  520.                     yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source$context["product"], "model", [], "any"falsefalsefalse167), "producer", [], "any"falsefalsefalse167), "html"nulltrue);
  521.                     yield "</td>
  522. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td id=\"product_codeSupplier_";
  523.                     // line 168
  524.                     yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source$context["product"], "id", [], "any"falsefalsefalse168), "html"nulltrue);
  525.                     yield "\">";
  526.                     yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(((CoreExtension::getAttribute($this->env$this->source$context["product"], "codeSupplier", [], "any"truetruefalse168)) ? (Twig\Extension\CoreExtension::default(CoreExtension::getAttribute($this->env$this->source$context["product"], "codeSupplier", [], "any"falsefalsefalse168), "---")) : ("---")), "html"nulltrue);
  527.                     yield "</td>
  528. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td>";
  529.                     // line 169
  530.                     yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source$context["product"], "model", [], "any"falsefalsefalse169), "sku", [], "any"falsefalsefalse169), "html"nulltrue);
  531.                     yield "</td>
  532. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td>";
  533.                     // line 170
  534.                     if ( !(null === CoreExtension::getAttribute($this->env$this->source$context["product"], "getLastTransfer", [], "any"falsefalsefalse170))) {
  535.                         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source$context["product"], "getLastTransfer", [], "method"falsefalsefalse170), "userFrom", [], "any"falsefalsefalse170), "html"nulltrue);
  536.                     }
  537.                     yield "</td>
  538. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td>";
  539.                     // line 171
  540.                     yield CoreExtension::getAttribute($this->env$this->source$context["product"], "displayTransfersDdt", [], "method"falsefalsefalse171);
  541.                     yield "</td>
  542. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td colspan=\"2\">";
  543.                     // line 172
  544.                     yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source$context["product"], "lastUserLog", [], "any"falsefalsefalse172), "html"nulltrue);
  545.                     yield "</td>
  546. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</tr>
  547. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
  548.                 }
  549.                 $_parent $context['_parent'];
  550.                 unset($context['_seq'], $context['_iterated'], $context['_key'], $context['product'], $context['_parent'], $context['loop']);
  551.                 $context array_intersect_key($context$_parent) + $_parent;
  552.                 // line 175
  553.                 yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
  554.             } else {
  555.                 // line 176
  556.                 yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
  557.                 yield from                 $this->loadTemplate("components/twig/notice_no_values.html.twig""role/user/warehouse/sheet.html.twig"176)->unwrap()->yield(CoreExtension::merge($context, ["message" => "Nessun prodotto in questo stato"]));
  558.                 // line 177
  559.                 yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
  560.             }
  561.             // line 178
  562.             yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</tbody>
  563. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</table>
  564. \t\t\t\t\t\t\t\t\t\t\t\t\t\t</div>
  565. \t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"col-12 navigation txt_a_r\">
  566. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
  567.             // line 182
  568.             yield $this->extensions['Knp\Bundle\PaginatorBundle\Twig\Extension\PaginationExtension']->render($this->env, (isset($context["toManageProducts"]) || array_key_exists("toManageProducts"$context) ? $context["toManageProducts"] : (function () { throw new RuntimeError('Variable "toManageProducts" does not exist.'182$this->source); })()));
  569.             yield "
  570. \t\t\t\t\t\t\t\t\t\t\t\t\t\t</div>
  571. \t\t\t\t\t\t\t\t\t\t\t\t\t</div>
  572. \t\t\t\t\t\t\t\t\t\t\t\t</div>
  573. \t\t\t\t\t\t\t\t\t\t\t";
  574.         }
  575.         // line 187
  576.         yield "\t\t\t\t\t\t\t\t\t\t\t<div class=\"tab-content clearfix\" id=\"available\">
  577. \t\t\t\t\t\t\t\t\t\t\t\t";
  578.         // line 188
  579.         $context["number"] = 1;
  580.         // line 189
  581.         yield "\t\t\t\t\t\t\t\t\t\t\t\t";
  582.         $context["tab"] = "s_available";
  583.         // line 190
  584.         yield "\t\t\t\t\t\t\t\t\t\t\t\t";
  585.         $context["status"] = "available";
  586.         // line 191
  587.         yield "\t\t\t\t\t\t\t\t\t\t\t\t";
  588.         $context["products"] = (isset($context["availableProducts"]) || array_key_exists("availableProducts"$context) ? $context["availableProducts"] : (function () { throw new RuntimeError('Variable "availableProducts" does not exist.'191$this->source); })());
  589.         // line 192
  590.         yield "\t\t\t\t\t\t\t\t\t\t\t\t";
  591.         $context["multipleSelection"] = [false1, []];
  592.         // line 193
  593.         yield "\t\t\t\t\t\t\t\t\t\t\t\t";
  594.         if ((CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source, (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'193$this->source); })()), "user", [], "any"falsefalsefalse193), "canWrite", ["warehouse"], "method"falsefalsefalse193) || ((CoreExtension::getAttribute($this->env$this->source, (isset($context["warehouse"]) || array_key_exists("warehouse"$context) ? $context["warehouse"] : (function () { throw new RuntimeError('Variable "warehouse" does not exist.'193$this->source); })()), "jtUser", [CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source, (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'193$this->source); })()), "user", [], "any"falsefalsefalse193), "id", [], "any"falsefalsefalse193)], "method"falsefalsefalse193) != null) && (CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source, (isset($context["warehouse"]) || array_key_exists("warehouse"$context) ? $context["warehouse"] : (function () { throw new RuntimeError('Variable "warehouse" does not exist.'193$this->source); })()), "jtUser", [CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source, (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'193$this->source); })()), "user", [], "any"falsefalsefalse193), "id", [], "any"falsefalsefalse193)], "method"falsefalsefalse193), "permission", [], "any"falsefalsefalse193) == "RW")))) {
  595.             // line 194
  596.             yield "\t\t\t\t\t\t\t\t\t\t\t\t\t";
  597.             if ((CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source, (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'194$this->source); })()), "user", [], "any"falsefalsefalse194), "getAccountTypology", [], "any"falsefalsefalse194) != "technician")) {
  598.                 // line 195
  599.                 yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
  600.                 $context["multipleSelection"] = [true1, ["supplier""condition""send""export""print"]];
  601.                 // line 196
  602.                 yield "\t\t\t\t\t\t\t\t\t\t\t\t\t";
  603.             } else {
  604.                 // line 197
  605.                 yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
  606.                 $context["multipleSelection"] = [true1, ["condition""send""export"]];
  607.                 // line 198
  608.                 yield "\t\t\t\t\t\t\t\t\t\t\t\t\t";
  609.             }
  610.             // line 199
  611.             yield "\t\t\t\t\t\t\t\t\t\t\t\t";
  612.         }
  613.         // line 200
  614.         yield "\t\t\t\t\t\t\t\t\t\t\t\t";
  615.         yield from $this->unwrap()->yieldBlock('tableStocks'$context$blocks);
  616.         // line 300
  617.         yield "\t\t\t\t\t\t\t\t\t\t\t</div>
  618. \t\t\t\t\t\t\t\t\t\t\t<div class=\"tab-content clearfix\" id=\"not_available\">
  619. \t\t\t\t\t\t\t\t\t\t\t\t";
  620.         // line 302
  621.         $context["number"] = 2;
  622.         // line 303
  623.         yield "\t\t\t\t\t\t\t\t\t\t\t\t";
  624.         $context["tab"] = "s_not_available";
  625.         // line 304
  626.         yield "\t\t\t\t\t\t\t\t\t\t\t\t";
  627.         $context["status"] = "not_available";
  628.         // line 305
  629.         yield "\t\t\t\t\t\t\t\t\t\t\t\t";
  630.         $context["products"] = (isset($context["notAvailableProducts"]) || array_key_exists("notAvailableProducts"$context) ? $context["notAvailableProducts"] : (function () { throw new RuntimeError('Variable "notAvailableProducts" does not exist.'305$this->source); })());
  631.         // line 306
  632.         yield "\t\t\t\t\t\t\t\t\t\t\t\t";
  633.         $context["index"] = 1;
  634.         // line 307
  635.         yield "\t\t\t\t\t\t\t\t\t\t\t\t";
  636.         $context["multipleSelection"] = [false2, []];
  637.         // line 308
  638.         yield "\t\t\t\t\t\t\t\t\t\t\t\t";
  639.         if ((CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source, (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'308$this->source); })()), "user", [], "any"falsefalsefalse308), "canWrite", ["warehouse"], "method"falsefalsefalse308) || ((CoreExtension::getAttribute($this->env$this->source, (isset($context["warehouse"]) || array_key_exists("warehouse"$context) ? $context["warehouse"] : (function () { throw new RuntimeError('Variable "warehouse" does not exist.'308$this->source); })()), "jtUser", [CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source, (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'308$this->source); })()), "user", [], "any"falsefalsefalse308), "id", [], "any"falsefalsefalse308)], "method"falsefalsefalse308) != null) && (CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source, (isset($context["warehouse"]) || array_key_exists("warehouse"$context) ? $context["warehouse"] : (function () { throw new RuntimeError('Variable "warehouse" does not exist.'308$this->source); })()), "jtUser", [CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source, (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'308$this->source); })()), "user", [], "any"falsefalsefalse308), "id", [], "any"falsefalsefalse308)], "method"falsefalsefalse308), "permission", [], "any"falsefalsefalse308) == "RW")))) {
  640.             // line 309
  641.             yield "\t\t\t\t\t\t\t\t\t\t\t\t\t";
  642.             if ((CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source, (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'309$this->source); })()), "user", [], "any"falsefalsefalse309), "getAccountTypology", [], "any"falsefalsefalse309) != "technician")) {
  643.                 // line 310
  644.                 yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
  645.                 $context["multipleSelection"] = [true2, ["supplier""condition""send""export""print"]];
  646.                 // line 311
  647.                 yield "\t\t\t\t\t\t\t\t\t\t\t\t\t";
  648.             } else {
  649.                 // line 312
  650.                 yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
  651.                 $context["multipleSelection"] = [true2, ["condition""send""export"]];
  652.                 // line 313
  653.                 yield "\t\t\t\t\t\t\t\t\t\t\t\t\t";
  654.             }
  655.             // line 314
  656.             yield "\t\t\t\t\t\t\t\t\t\t\t\t";
  657.         }
  658.         // line 315
  659.         yield "\t\t\t\t\t\t\t\t\t\t\t\t";
  660.         yield from         $this->unwrap()->yieldBlock("tableStocks"$context$blocks);
  661.         yield "
  662. \t\t\t\t\t\t\t\t\t\t\t</div>
  663. \t\t\t\t\t\t\t\t\t\t\t<div class=\"tab-content clearfix\" id=\"transfer\">
  664. \t\t\t\t\t\t\t\t\t\t\t\t";
  665.         // line 318
  666.         $context["number"] = 3;
  667.         // line 319
  668.         yield "\t\t\t\t\t\t\t\t\t\t\t\t";
  669.         $context["tab"] = "s_transfer";
  670.         // line 320
  671.         yield "\t\t\t\t\t\t\t\t\t\t\t\t";
  672.         $context["status"] = "transfer";
  673.         // line 321
  674.         yield "\t\t\t\t\t\t\t\t\t\t\t\t";
  675.         $context["products"] = (isset($context["transferProducts"]) || array_key_exists("transferProducts"$context) ? $context["transferProducts"] : (function () { throw new RuntimeError('Variable "transferProducts" does not exist.'321$this->source); })());
  676.         // line 322
  677.         yield "\t\t\t\t\t\t\t\t\t\t\t\t";
  678.         $context["index"] = 1;
  679.         // line 323
  680.         yield "\t\t\t\t\t\t\t\t\t\t\t\t";
  681.         $context["multipleSelection"] = [falsenull, []];
  682.         // line 324
  683.         yield "\t\t\t\t\t\t\t\t\t\t\t\t";
  684.         yield from         $this->unwrap()->yieldBlock("tableStocks"$context$blocks);
  685.         yield "
  686. \t\t\t\t\t\t\t\t\t\t\t</div>
  687. \t\t\t\t\t\t\t\t\t\t</div>
  688. \t\t\t\t\t\t\t\t\t</div>
  689. \t\t\t\t\t\t\t\t</div>
  690. \t\t\t\t\t\t\t</div>
  691. \t\t\t\t\t\t</div>
  692. \t\t\t\t\t\t";
  693.         // line 332
  694.         yield "\t\t\t\t\t\t<div class=\"tab-content clearfix\" id=\"transfers\">
  695. \t\t\t\t\t\t\t<div class=\"row\">
  696. \t\t\t\t\t\t\t\t<div class=\"col-12\">
  697. \t\t\t\t\t\t\t\t\t<h4 class=\"form_title\">Trasferimenti</h4>
  698. \t\t\t\t\t\t\t\t\t<hr class=\"m_t_none\">
  699. \t\t\t\t\t\t\t\t\t<div class=\"tabs clearfix\">
  700. \t\t\t\t\t\t\t\t\t\t<ul class=\"tab-nav clearfix\">
  701. \t\t\t\t\t\t\t\t\t\t\t<li><a id=\"btn_tab_pt_incoming\" href=\"#incoming\" class=\"tab_session2\" data-filterTab=\"pt_incoming\"><i class=\"icon-download d-block d-md-none\" data-bs-toggle=\"tooltip\" title=\"In entrata (";
  702.         // line 339
  703.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source, (isset($context["incomingTransfers"]) || array_key_exists("incomingTransfers"$context) ? $context["incomingTransfers"] : (function () { throw new RuntimeError('Variable "incomingTransfers" does not exist.'339$this->source); })()), "getTotalItemCount", [], "any"falsefalsefalse339), "html"nulltrue);
  704.         yield ")\"></i><span class=\"d-none d-md-block\">In entrata (";
  705.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source, (isset($context["incomingTransfers"]) || array_key_exists("incomingTransfers"$context) ? $context["incomingTransfers"] : (function () { throw new RuntimeError('Variable "incomingTransfers" does not exist.'339$this->source); })()), "getTotalItemCount", [], "any"falsefalsefalse339), "html"nulltrue);
  706.         yield ")</span></a></li>
  707. \t\t\t\t\t\t\t\t\t\t\t<li><a id=\"btn_tab_pt_output\" href=\"#output\" class=\"tab_session2\" data-filterTab=\"pt_output\"><i class=\"icon-upload d-block d-md-none\" data-bs-toggle=\"tooltip\" title=\"In uscita (";
  708.         // line 340
  709.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source, (isset($context["outputTransfers"]) || array_key_exists("outputTransfers"$context) ? $context["outputTransfers"] : (function () { throw new RuntimeError('Variable "outputTransfers" does not exist.'340$this->source); })()), "getTotalItemCount", [], "any"falsefalsefalse340), "html"nulltrue);
  710.         yield ")\"></i><span class=\"d-none d-md-block\">In uscita (";
  711.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source, (isset($context["outputTransfers"]) || array_key_exists("outputTransfers"$context) ? $context["outputTransfers"] : (function () { throw new RuntimeError('Variable "outputTransfers" does not exist.'340$this->source); })()), "getTotalItemCount", [], "any"falsefalsefalse340), "html"nulltrue);
  712.         yield ")</span></a></li>
  713. \t\t\t\t\t\t\t\t\t\t</ul>
  714. \t\t\t\t\t\t\t\t\t\t<div class=\"tab-container\">
  715. \t\t\t\t\t\t\t\t\t\t\t<div class=\"tab-content clearfix\" id=\"incoming\">
  716. \t\t\t\t\t\t\t\t\t\t\t\t";
  717.         // line 344
  718.         $context["transfers"] = (isset($context["incomingTransfers"]) || array_key_exists("incomingTransfers"$context) ? $context["incomingTransfers"] : (function () { throw new RuntimeError('Variable "incomingTransfers" does not exist.'344$this->source); })());
  719.         // line 345
  720.         yield "\t\t\t\t\t\t\t\t\t\t\t\t";
  721.         $context["number"] = 1;
  722.         // line 346
  723.         yield "\t\t\t\t\t\t\t\t\t\t\t\t";
  724.         $context["tabType"] = "pt_incoming";
  725.         // line 347
  726.         yield "\t\t\t\t\t\t\t\t\t\t\t\t";
  727.         yield from $this->unwrap()->yieldBlock('tableTransfers'$context$blocks);
  728.         // line 425
  729.         yield "\t\t\t\t\t\t\t\t\t\t\t</div>
  730. \t\t\t\t\t\t\t\t\t\t\t<div class=\"tab-content clearfix\" id=\"output\">
  731. \t\t\t\t\t\t\t\t\t\t\t\t";
  732.         // line 427
  733.         $context["transfers"] = (isset($context["outputTransfers"]) || array_key_exists("outputTransfers"$context) ? $context["outputTransfers"] : (function () { throw new RuntimeError('Variable "outputTransfers" does not exist.'427$this->source); })());
  734.         // line 428
  735.         yield "\t\t\t\t\t\t\t\t\t\t\t\t";
  736.         $context["number"] = 2;
  737.         // line 429
  738.         yield "\t\t\t\t\t\t\t\t\t\t\t\t";
  739.         $context["tabType"] = "pt_output";
  740.         // line 430
  741.         yield "\t\t\t\t\t\t\t\t\t\t\t\t";
  742.         yield from         $this->unwrap()->yieldBlock("tableTransfers"$context$blocks);
  743.         yield "
  744. \t\t\t\t\t\t\t\t\t\t\t</div>
  745. \t\t\t\t\t\t\t\t\t\t</div>
  746. \t\t\t\t\t\t\t\t\t</div>
  747. \t\t\t\t\t\t\t\t</div>
  748. \t\t\t\t\t\t\t</div>
  749. \t\t\t\t\t\t</div>
  750. \t\t\t\t\t\t";
  751.         // line 438
  752.         yield "\t\t\t\t\t\t<div class=\"tab-content clearfix\" id=\"data\">
  753. \t\t\t\t\t\t\t<div class=\"row\">
  754. \t\t\t\t\t\t\t\t<div class=\"col-12 col-lg-6\">
  755. \t\t\t\t\t\t\t\t\t<h4 class=\"form_title\">Dati generici
  756. \t\t\t\t\t\t\t\t\t\t";
  757.         // line 442
  758.         if (CoreExtension::getAttribute($this->env$this->sourceCoreExtension::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"falsefalsefalse442), "canWrite", ["warehouse"], "method"falsefalsefalse442)) {
  759.             // line 443
  760.             yield "\t\t\t\t\t\t\t\t\t\t\t<a href=\"javascript: warehouseEdit()\" class=\"f_right\" data-bs-toggle=\"tooltip\" title=\"Modifica\"><img class=\"icon_action icon_amber\" src=\"";
  761.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl((isset($context["icon_edit"]) || array_key_exists("icon_edit"$context) ? $context["icon_edit"] : (function () { throw new RuntimeError('Variable "icon_edit" does not exist.'443$this->source); })())), "html"nulltrue);
  762.             yield "\"></a>
  763. \t\t\t\t\t\t\t\t\t\t";
  764.         }
  765.         // line 445
  766.         yield "\t\t\t\t\t\t\t\t\t</h4>
  767. \t\t\t\t\t\t\t\t\t<hr class=\"m_t_none\">
  768. \t\t\t\t\t\t\t\t\t<table class=\"table table-hover responsive_font_size\">
  769. \t\t\t\t\t\t\t\t\t\t<tr>
  770. \t\t\t\t\t\t\t\t\t\t\t<th>Nickname</th>
  771. \t\t\t\t\t\t\t\t\t\t\t<td>";
  772.         // line 450
  773.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source, (isset($context["warehouse"]) || array_key_exists("warehouse"$context) ? $context["warehouse"] : (function () { throw new RuntimeError('Variable "warehouse" does not exist.'450$this->source); })()), "nickname", [], "any"falsefalsefalse450), "html"nulltrue);
  774.         yield "</td>
  775. \t\t\t\t\t\t\t\t\t\t</tr>
  776. \t\t\t\t\t\t\t\t\t\t<tr>
  777. \t\t\t\t\t\t\t\t\t\t\t<th>Attivo</th>
  778. \t\t\t\t\t\t\t\t\t\t\t<td>";
  779.         // line 454
  780.         if (CoreExtension::getAttribute($this->env$this->source, (isset($context["warehouse"]) || array_key_exists("warehouse"$context) ? $context["warehouse"] : (function () { throw new RuntimeError('Variable "warehouse" does not exist.'454$this->source); })()), "active", [], "any"falsefalsefalse454)) {
  781.             yield "Sì";
  782.         } else {
  783.             yield "No";
  784.         }
  785.         yield "</td>
  786. \t\t\t\t\t\t\t\t\t\t</tr>
  787. \t\t\t\t\t\t\t\t\t\t<tr>
  788. \t\t\t\t\t\t\t\t\t\t\t<th>Sede</th>
  789. \t\t\t\t\t\t\t\t\t\t\t<td>";
  790.         // line 458
  791.         if (CoreExtension::getAttribute($this->env$this->source, (isset($context["warehouse"]) || array_key_exists("warehouse"$context) ? $context["warehouse"] : (function () { throw new RuntimeError('Variable "warehouse" does not exist.'458$this->source); })()), "headquarter", [], "any"falsefalsefalse458)) {
  792.             yield "Sì";
  793.         } else {
  794.             yield "No";
  795.         }
  796.         yield "</td>
  797. \t\t\t\t\t\t\t\t\t\t</tr>
  798. \t\t\t\t\t\t\t\t\t\t<tr>
  799. \t\t\t\t\t\t\t\t\t\t\t<th>Indirizzo DDT</th>
  800. \t\t\t\t\t\t\t\t\t\t\t<td>";
  801.         // line 462
  802.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source, (isset($context["warehouse"]) || array_key_exists("warehouse"$context) ? $context["warehouse"] : (function () { throw new RuntimeError('Variable "warehouse" does not exist.'462$this->source); })()), "address", [], "any"falsefalsefalse462), "html"nulltrue);
  803.         yield "</td>
  804. \t\t\t\t\t\t\t\t\t\t</tr>
  805. \t\t\t\t\t\t\t\t\t\t<tr>
  806. \t\t\t\t\t\t\t\t\t\t\t<th>Fisso/Mobile</th>
  807. \t\t\t\t\t\t\t\t\t\t\t<td>";
  808.         // line 466
  809.         if (CoreExtension::getAttribute($this->env$this->source, (isset($context["warehouse"]) || array_key_exists("warehouse"$context) ? $context["warehouse"] : (function () { throw new RuntimeError('Variable "warehouse" does not exist.'466$this->source); })()), "movable", [], "any"falsefalsefalse466)) {
  810.             yield "Mobile";
  811.         } else {
  812.             yield "Fisso";
  813.         }
  814.         yield "</td>
  815. \t\t\t\t\t\t\t\t\t\t</tr>
  816. \t\t\t\t\t\t\t\t\t</table>
  817. \t\t\t\t\t\t\t\t</div>
  818. \t\t\t\t\t\t\t\t<div class=\"col-12 col-lg-6\">
  819. \t\t\t\t\t\t\t\t\t<h4 class=\"form_title\">Utenti</h4>
  820. \t\t\t\t\t\t\t\t\t<hr class=\"m_t_none\">
  821. \t\t\t\t\t\t\t\t\t<table class=\"table table-hover responsive_font_size\">
  822. \t\t\t\t\t\t\t\t\t\t<thead>
  823. \t\t\t\t\t\t\t\t\t\t\t<tr>
  824. \t\t\t\t\t\t\t\t\t\t\t\t<th>Utente</th>
  825. \t\t\t\t\t\t\t\t\t\t\t\t<th>Permessi</th>
  826. \t\t\t\t\t\t\t\t\t\t\t\t<th class=\"txt_a_c\">Principale</th>
  827. \t\t\t\t\t\t\t\t\t\t\t</tr>
  828. \t\t\t\t\t\t\t\t\t\t</thead>
  829. \t\t\t\t\t\t\t\t\t\t<tbody>
  830. \t\t\t\t\t\t\t\t\t\t\t";
  831.         // line 482
  832.         $context['_parent'] = $context;
  833.         $context['_seq'] = CoreExtension::ensureTraversable(CoreExtension::getAttribute($this->env$this->source, (isset($context["warehouse"]) || array_key_exists("warehouse"$context) ? $context["warehouse"] : (function () { throw new RuntimeError('Variable "warehouse" does not exist.'482$this->source); })()), "users", [], "any"falsefalsefalse482));
  834.         foreach ($context['_seq'] as $context["_key"] => $context["jtuw"]) {
  835.             // line 483
  836.             yield "\t\t\t\t\t\t\t\t\t\t\t\t<tr>
  837. \t\t\t\t\t\t\t\t\t\t\t\t\t<td>";
  838.             // line 484
  839.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source$context["jtuw"], "user", [], "any"falsefalsefalse484), "html"nulltrue);
  840.             yield "</td>
  841. \t\t\t\t\t\t\t\t\t\t\t\t\t<td>";
  842.             // line 485
  843.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source$context["jtuw"], "displayPermission", [], "any"falsefalsefalse485), "html"nulltrue);
  844.             yield "</td>
  845. \t\t\t\t\t\t\t\t\t\t\t\t\t<td class=\"txt_a_c\">";
  846.             // line 486
  847.             if (CoreExtension::getAttribute($this->env$this->source$context["jtuw"], "main", [], "any"falsefalsefalse486)) {
  848.                 yield "Sì";
  849.             } else {
  850.                 yield "No";
  851.             }
  852.             yield "</td>
  853. \t\t\t\t\t\t\t\t\t\t\t\t</tr>
  854. \t\t\t\t\t\t\t\t\t\t\t";
  855.         }
  856.         $_parent $context['_parent'];
  857.         unset($context['_seq'], $context['_iterated'], $context['_key'], $context['jtuw'], $context['_parent'], $context['loop']);
  858.         $context array_intersect_key($context$_parent) + $_parent;
  859.         // line 489
  860.         yield "\t\t\t\t\t\t\t\t\t\t</tbody>
  861. \t\t\t\t\t\t\t\t\t</table>
  862. \t\t\t\t\t\t\t\t</div>
  863. \t\t\t\t\t\t\t</div>
  864. \t\t\t\t\t\t</div>
  865. \t\t\t\t\t\t";
  866.         // line 495
  867.         yield "\t\t\t\t\t\t";
  868.         if (((CoreExtension::getAttribute($this->env$this->source, (isset($context["warehouse"]) || array_key_exists("warehouse"$context) ? $context["warehouse"] : (function () { throw new RuntimeError('Variable "warehouse" does not exist.'495$this->source); })()), "headquarter", [], "any"falsefalsefalse495) && ((CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source, (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'495$this->source); })()), "user", [], "any"falsefalsefalse495), "getAccountTypology", [], "any"falsefalsefalse495) == "agency") || (CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source, (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'495$this->source); })()), "user", [], "any"falsefalsefalse495), "getAccountTypology", [], "any"falsefalsefalse495) == "warehouse"))) || (CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source, (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'495$this->source); })()), "user", [], "any"falsefalsefalse495), "getAccountTypology", [], "any"falsefalsefalse495) == "technician"))) {
  869.             // line 496
  870.             yield "\t\t\t\t\t\t\t<div class=\"tab-content clearfix\" id=\"technicianRequests\">
  871. \t\t\t\t\t\t\t\t<div class=\"row\">
  872. \t\t\t\t\t\t\t\t\t<div class=\"col-12\">
  873. \t\t\t\t\t\t\t\t\t\t<h4 class=\"form_title\">";
  874.             // line 499
  875.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((isset($context["prReqTitle"]) || array_key_exists("prReqTitle"$context) ? $context["prReqTitle"] : (function () { throw new RuntimeError('Variable "prReqTitle" does not exist.'499$this->source); })()), "html"nulltrue);
  876.             yield "
  877. \t\t\t\t\t\t\t\t\t\t\t";
  878.             // line 500
  879.             if ((CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source, (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'500$this->source); })()), "user", [], "any"falsefalsefalse500), "getAccountTypology", [], "any"falsefalsefalse500) == "technician")) {
  880.                 // line 501
  881.                 yield "\t\t\t\t\t\t\t\t\t\t\t\t<a href=\"";
  882.                 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("user_warehouse_product_request_new", ["warehouseId" => CoreExtension::getAttribute($this->env$this->source, (isset($context["warehouse"]) || array_key_exists("warehouse"$context) ? $context["warehouse"] : (function () { throw new RuntimeError('Variable "warehouse" does not exist.'501$this->source); })()), "id", [], "any"falsefalsefalse501)]), "html"nulltrue);
  883.                 yield "\" class=\"button button-3d button-mini button-green m_t_none m_b_none f_right\"><i class=\"icon-plus d-block d-lg-none m_r_none\" data-bs-toggle=\"tooltip\" title=\"Richiedi materiale\"></i><span class=\"d-none d-lg-block\">Richiedi materiale</span></a></li>
  884. \t\t\t\t\t\t\t\t\t\t\t";
  885.             }
  886.             // line 503
  887.             yield "\t\t\t\t\t\t\t\t\t\t</h4>
  888. \t\t\t\t\t\t\t\t\t\t<hr class=\"m_t_none\">
  889. \t\t\t\t\t\t\t\t\t\t<div class=\"tabs clearfix\">
  890. \t\t\t\t\t\t\t\t\t\t\t<ul class=\"tab-nav clearfix\">
  891. \t\t\t\t\t\t\t\t\t\t\t\t<li><a id=\"btn_tab_pr_inserted\" href=\"#inserted\" class=\"tab_session2\" data-filterTab=\"pr_inserted\"><i class=\"icon-line-send d-block d-md-none\" data-bs-toggle=\"tooltip\" title=\"";
  892.             // line 507
  893.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((isset($context["prReqInserted"]) || array_key_exists("prReqInserted"$context) ? $context["prReqInserted"] : (function () { throw new RuntimeError('Variable "prReqInserted" does not exist.'507$this->source); })()), "html"nulltrue);
  894.             yield " (";
  895.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source, (isset($context["insertedProductRequests"]) || array_key_exists("insertedProductRequests"$context) ? $context["insertedProductRequests"] : (function () { throw new RuntimeError('Variable "insertedProductRequests" does not exist.'507$this->source); })()), "getTotalItemCount", [], "any"falsefalsefalse507), "html"nulltrue);
  896.             yield ")\"></i><span class=\"d-none d-md-block\">";
  897.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((isset($context["prReqInserted"]) || array_key_exists("prReqInserted"$context) ? $context["prReqInserted"] : (function () { throw new RuntimeError('Variable "prReqInserted" does not exist.'507$this->source); })()), "html"nulltrue);
  898.             yield " (";
  899.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source, (isset($context["insertedProductRequests"]) || array_key_exists("insertedProductRequests"$context) ? $context["insertedProductRequests"] : (function () { throw new RuntimeError('Variable "insertedProductRequests" does not exist.'507$this->source); })()), "getTotalItemCount", [], "any"falsefalsefalse507), "html"nulltrue);
  900.             yield ")</span></a></li>
  901. \t\t\t\t\t\t\t\t\t\t\t\t<li><a id=\"btn_tab_pr_take_charge\" href=\"#take_charge\" class=\"tab_session2\" data-filterTab=\"pr_take_charge\"><i class=\"icon-cog d-block d-md-none\" data-bs-toggle=\"tooltip\" title=\"";
  902.             // line 508
  903.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((isset($context["prReqTakeCharge"]) || array_key_exists("prReqTakeCharge"$context) ? $context["prReqTakeCharge"] : (function () { throw new RuntimeError('Variable "prReqTakeCharge" does not exist.'508$this->source); })()), "html"nulltrue);
  904.             yield " (";
  905.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source, (isset($context["takeChargeProductRequests"]) || array_key_exists("takeChargeProductRequests"$context) ? $context["takeChargeProductRequests"] : (function () { throw new RuntimeError('Variable "takeChargeProductRequests" does not exist.'508$this->source); })()), "getTotalItemCount", [], "any"falsefalsefalse508), "html"nulltrue);
  906.             yield ")\"></i><span class=\"d-none d-md-block\">";
  907.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((isset($context["prReqTakeCharge"]) || array_key_exists("prReqTakeCharge"$context) ? $context["prReqTakeCharge"] : (function () { throw new RuntimeError('Variable "prReqTakeCharge" does not exist.'508$this->source); })()), "html"nulltrue);
  908.             yield " (";
  909.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source, (isset($context["takeChargeProductRequests"]) || array_key_exists("takeChargeProductRequests"$context) ? $context["takeChargeProductRequests"] : (function () { throw new RuntimeError('Variable "takeChargeProductRequests" does not exist.'508$this->source); })()), "getTotalItemCount", [], "any"falsefalsefalse508), "html"nulltrue);
  910.             yield ")</span></a></li>
  911. \t\t\t\t\t\t\t\t\t\t\t\t<li><a id=\"btn_tab_pr_completed\" href=\"#completed\" class=\"tab_session2\" data-filterTab=\"pr_completed\"><i class=\"icon-checkmark d-block d-md-none\" data-bs-toggle=\"tooltip\" title=\"";
  912.             // line 509
  913.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((isset($context["prReqCompleted"]) || array_key_exists("prReqCompleted"$context) ? $context["prReqCompleted"] : (function () { throw new RuntimeError('Variable "prReqCompleted" does not exist.'509$this->source); })()), "html"nulltrue);
  914.             yield " (";
  915.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source, (isset($context["completedProductRequests"]) || array_key_exists("completedProductRequests"$context) ? $context["completedProductRequests"] : (function () { throw new RuntimeError('Variable "completedProductRequests" does not exist.'509$this->source); })()), "getTotalItemCount", [], "any"falsefalsefalse509), "html"nulltrue);
  916.             yield ")\"></i><span class=\"d-none d-md-block\">";
  917.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((isset($context["prReqCompleted"]) || array_key_exists("prReqCompleted"$context) ? $context["prReqCompleted"] : (function () { throw new RuntimeError('Variable "prReqCompleted" does not exist.'509$this->source); })()), "html"nulltrue);
  918.             yield " (";
  919.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source, (isset($context["completedProductRequests"]) || array_key_exists("completedProductRequests"$context) ? $context["completedProductRequests"] : (function () { throw new RuntimeError('Variable "completedProductRequests" does not exist.'509$this->source); })()), "getTotalItemCount", [], "any"falsefalsefalse509), "html"nulltrue);
  920.             yield ")</span></a></li>
  921. \t\t\t\t\t\t\t\t\t\t\t</ul>
  922. \t\t\t\t\t\t\t\t\t\t\t<div class=\"tab-container\">
  923. \t\t\t\t\t\t\t\t\t\t\t\t<div class=\"tab-content clearfix\" id=\"inserted\">
  924. \t\t\t\t\t\t\t\t\t\t\t\t\t";
  925.             // line 513
  926.             $context["requests"] = (isset($context["insertedProductRequests"]) || array_key_exists("insertedProductRequests"$context) ? $context["insertedProductRequests"] : (function () { throw new RuntimeError('Variable "insertedProductRequests" does not exist.'513$this->source); })());
  927.             // line 514
  928.             yield "\t\t\t\t\t\t\t\t\t\t\t\t\t";
  929.             $context["tabType"] = "pr_inserted";
  930.             // line 515
  931.             yield "\t\t\t\t\t\t\t\t\t\t\t\t\t";
  932.             $context["number"] = 1;
  933.             // line 516
  934.             yield "\t\t\t\t\t\t\t\t\t\t\t\t\t";
  935.             $context["tabAction"] = "";
  936.             // line 517
  937.             yield "\t\t\t\t\t\t\t\t\t\t\t\t\t";
  938.             if (((CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source, (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'517$this->source); })()), "user", [], "any"falsefalsefalse517), "getAccountTypology", [], "any"falsefalsefalse517) == "agency") || ((CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source, (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'517$this->source); })()), "user", [], "any"falsefalsefalse517), "getAccountTypology", [], "any"falsefalsefalse517) == "warehouse") && CoreExtension::getAttribute($this->env$this->source, (isset($context["warehouse"]) || array_key_exists("warehouse"$context) ? $context["warehouse"] : (function () { throw new RuntimeError('Variable "warehouse" does not exist.'517$this->source); })()), "headquarter", [], "any"falsefalsefalse517)))) {
  939.                 // line 518
  940.                 yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
  941.                 $context["tabAction"] = "take_charge";
  942.                 // line 519
  943.                 yield "\t\t\t\t\t\t\t\t\t\t\t\t\t";
  944.             } elseif ((CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source, (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'519$this->source); })()), "user", [], "any"falsefalsefalse519), "getAccountTypology", [], "any"falsefalsefalse519) == "technician")) {
  945.                 // line 520
  946.                 yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
  947.                 $context["tabAction"] = "delete";
  948.                 // line 521
  949.                 yield "\t\t\t\t\t\t\t\t\t\t\t\t\t";
  950.             }
  951.             // line 522
  952.             yield "\t\t\t\t\t\t\t\t\t\t\t\t\t";
  953.             yield from $this->unwrap()->yieldBlock('tableRequests'$context$blocks);
  954.             // line 594
  955.             yield "\t\t\t\t\t\t\t\t\t\t\t\t</div>
  956. \t\t\t\t\t\t\t\t\t\t\t\t<div class=\"tab-content clearfix\" id=\"take_charge\">
  957. \t\t\t\t\t\t\t\t\t\t\t\t\t";
  958.             // line 596
  959.             $context["requests"] = (isset($context["takeChargeProductRequests"]) || array_key_exists("takeChargeProductRequests"$context) ? $context["takeChargeProductRequests"] : (function () { throw new RuntimeError('Variable "takeChargeProductRequests" does not exist.'596$this->source); })());
  960.             // line 597
  961.             yield "\t\t\t\t\t\t\t\t\t\t\t\t\t";
  962.             $context["tabType"] = "pr_take_charge";
  963.             // line 598
  964.             yield "\t\t\t\t\t\t\t\t\t\t\t\t\t";
  965.             $context["number"] = 2;
  966.             // line 599
  967.             yield "\t\t\t\t\t\t\t\t\t\t\t\t\t";
  968.             $context["tabAction"] = "";
  969.             // line 600
  970.             yield "\t\t\t\t\t\t\t\t\t\t\t\t\t";
  971.             if (((CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source, (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'600$this->source); })()), "user", [], "any"falsefalsefalse600), "getAccountTypology", [], "any"falsefalsefalse600) == "agency") || ((CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source, (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'600$this->source); })()), "user", [], "any"falsefalsefalse600), "getAccountTypology", [], "any"falsefalsefalse600) == "warehouse") && CoreExtension::getAttribute($this->env$this->source, (isset($context["warehouse"]) || array_key_exists("warehouse"$context) ? $context["warehouse"] : (function () { throw new RuntimeError('Variable "warehouse" does not exist.'600$this->source); })()), "headquarter", [], "any"falsefalsefalse600)))) {
  972.                 // line 601
  973.                 yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
  974.                 $context["tabAction"] = "complete";
  975.                 // line 602
  976.                 yield "\t\t\t\t\t\t\t\t\t\t\t\t\t";
  977.             }
  978.             // line 603
  979.             yield "\t\t\t\t\t\t\t\t\t\t\t\t\t";
  980.             yield from             $this->unwrap()->yieldBlock("tableRequests"$context$blocks);
  981.             yield "
  982. \t\t\t\t\t\t\t\t\t\t\t\t</div>
  983. \t\t\t\t\t\t\t\t\t\t\t\t<div class=\"tab-content clearfix\" id=\"completed\">
  984. \t\t\t\t\t\t\t\t\t\t\t\t\t";
  985.             // line 606
  986.             $context["requests"] = (isset($context["completedProductRequests"]) || array_key_exists("completedProductRequests"$context) ? $context["completedProductRequests"] : (function () { throw new RuntimeError('Variable "completedProductRequests" does not exist.'606$this->source); })());
  987.             // line 607
  988.             yield "\t\t\t\t\t\t\t\t\t\t\t\t\t";
  989.             $context["tabType"] = "pr_completed";
  990.             // line 608
  991.             yield "\t\t\t\t\t\t\t\t\t\t\t\t\t";
  992.             $context["number"] = 3;
  993.             // line 609
  994.             yield "\t\t\t\t\t\t\t\t\t\t\t\t\t";
  995.             $context["tabAction"] = "";
  996.             // line 610
  997.             yield "\t\t\t\t\t\t\t\t\t\t\t\t\t";
  998.             yield from             $this->unwrap()->yieldBlock("tableRequests"$context$blocks);
  999.             yield "
  1000. \t\t\t\t\t\t\t\t\t\t\t\t</div>
  1001. \t\t\t\t\t\t\t\t\t\t\t</div>
  1002. \t\t\t\t\t\t\t\t\t\t</div>
  1003. \t\t\t\t\t\t\t\t\t</div>
  1004. \t\t\t\t\t\t\t\t</div>
  1005. \t\t\t\t\t\t\t</div>
  1006. \t\t\t\t\t\t";
  1007.         }
  1008.         // line 618
  1009.         yield "\t\t\t\t\t</div>
  1010. \t\t\t\t</div>
  1011. \t\t\t</div>
  1012. \t\t</div>
  1013. \t</section>
  1014. \t";
  1015.         // line 625
  1016.         yield "\t<div id=\"stockInventoryModal\" class=\"modal fade\" tabindex=\"-1\" role=\"dialog\">
  1017. \t\t<div class=\"modal-dialog\" role=\"document\">
  1018. \t\t\t<div class=\"modal-content\">
  1019. \t\t\t\t";
  1020.         // line 628
  1021.         yield         $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->renderBlock((isset($context["formInventory"]) || array_key_exists("formInventory"$context) ? $context["formInventory"] : (function () { throw new RuntimeError('Variable "formInventory" does not exist.'628$this->source); })()), 'form_start', ["attr" => ["novalidate" => "novalidate"]]);
  1022.         yield "
  1023. \t\t\t\t\t<div class=\"modal-header\"><h3 class=\"modal-title\">Verifica inventario</h3></div>
  1024. \t\t\t\t\t<div class=\"modal-body\">
  1025. \t\t\t\t\t\t<div class=\"row\">
  1026. \t\t\t\t\t\t\t<div class=\"col-12 form-group\">
  1027. \t\t\t\t\t\t\t\t<label class=\"form_label\">Fornitore*</label>
  1028. \t\t\t\t\t\t\t\t<div ";
  1029.         // line 634
  1030.         yield $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(CoreExtension::getAttribute($this->env$this->source, (isset($context["formInventory"]) || array_key_exists("formInventory"$context) ? $context["formInventory"] : (function () { throw new RuntimeError('Variable "formInventory" does not exist.'634$this->source); })()), "supplier", [], "any"falsefalsefalse634), 'errors');
  1031.         yield ">
  1032. \t\t\t\t\t\t\t\t\t";
  1033.         // line 635
  1034.         yield $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(CoreExtension::getAttribute($this->env$this->source, (isset($context["formInventory"]) || array_key_exists("formInventory"$context) ? $context["formInventory"] : (function () { throw new RuntimeError('Variable "formInventory" does not exist.'635$this->source); })()), "supplier", [], "any"falsefalsefalse635), 'widget', ["attr" => ["class" => "form-control form-select"]]);
  1035.         yield "
  1036. \t\t\t\t\t\t\t\t</div>
  1037. \t\t\t\t\t\t\t</div>
  1038. \t\t\t\t\t\t\t<div class=\"col-12 form-group\">
  1039. \t\t\t\t\t\t\t\t<label class=\"form_label\">Stato*</label>
  1040. \t\t\t\t\t\t\t\t<div ";
  1041.         // line 640
  1042.         yield $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(CoreExtension::getAttribute($this->env$this->source, (isset($context["formInventory"]) || array_key_exists("formInventory"$context) ? $context["formInventory"] : (function () { throw new RuntimeError('Variable "formInventory" does not exist.'640$this->source); })()), "status", [], "any"falsefalsefalse640), 'errors');
  1043.         yield ">
  1044. \t\t\t\t\t\t\t\t\t";
  1045.         // line 641
  1046.         yield $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(CoreExtension::getAttribute($this->env$this->source, (isset($context["formInventory"]) || array_key_exists("formInventory"$context) ? $context["formInventory"] : (function () { throw new RuntimeError('Variable "formInventory" does not exist.'641$this->source); })()), "status", [], "any"falsefalsefalse641), 'widget', ["attr" => ["class" => "form-control form-select"]]);
  1047.         yield "
  1048. \t\t\t\t\t\t\t\t</div>
  1049. \t\t\t\t\t\t\t</div>
  1050. \t\t\t\t\t\t\t<div class=\"col-12\">
  1051. \t\t\t\t\t\t\t\t<label class=\"form_label\">File*</label>
  1052. \t\t\t\t\t\t\t\t<div ";
  1053.         // line 646
  1054.         yield $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(CoreExtension::getAttribute($this->env$this->source, (isset($context["formInventory"]) || array_key_exists("formInventory"$context) ? $context["formInventory"] : (function () { throw new RuntimeError('Variable "formInventory" does not exist.'646$this->source); })()), "path", [], "any"falsefalsefalse646), 'errors');
  1055.         yield ">
  1056. \t\t\t\t\t\t\t\t\t";
  1057.         // line 647
  1058.         yield $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(CoreExtension::getAttribute($this->env$this->source, (isset($context["formInventory"]) || array_key_exists("formInventory"$context) ? $context["formInventory"] : (function () { throw new RuntimeError('Variable "formInventory" does not exist.'647$this->source); })()), "path", [], "any"falsefalsefalse647), 'widget', ["attr" => ["class" => "display_n"]]);
  1059.         yield "
  1060. \t\t\t\t\t\t\t\t\t";
  1061.         // line 648
  1062.         yield $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(CoreExtension::getAttribute($this->env$this->source, (isset($context["formInventory"]) || array_key_exists("formInventory"$context) ? $context["formInventory"] : (function () { throw new RuntimeError('Variable "formInventory" does not exist.'648$this->source); })()), "file", [], "any"falsefalsefalse648), 'widget', ["attr" => ["class" => "display_n"]]);
  1063.         yield "
  1064. \t\t\t\t\t\t\t\t\t<div class=\"input-group\">
  1065. \t\t\t\t\t\t\t\t\t\t<span class=\"input-group-btn\"><button id=\"selectFile2\" class=\"button button-3d button-small button-rounded button-pr button_input_group\" type=\"button\">Seleziona</button></span>
  1066. \t\t\t\t\t\t\t\t\t\t<input id=\"filename2\" type=\"text\" class=\"form-control\" readonly>
  1067. \t\t\t\t\t\t\t\t\t</div>
  1068. \t\t\t\t\t\t\t\t</div>
  1069. \t\t\t\t\t\t\t</div>
  1070. \t\t\t\t\t\t</div>
  1071. \t\t\t\t\t</div>
  1072. \t\t\t\t\t<div class=\"modal-footer\">
  1073. \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>
  1074. \t\t\t\t\t\t<button type=\"submit\" class=\"button button-3d button-mini button-green f_right\">Prosegui</button>
  1075. \t\t\t\t\t</div>
  1076. \t\t\t\t";
  1077.         // line 661
  1078.         yield         $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->renderBlock((isset($context["formInventory"]) || array_key_exists("formInventory"$context) ? $context["formInventory"] : (function () { throw new RuntimeError('Variable "formInventory" does not exist.'661$this->source); })()), 'form_end');
  1079.         yield "
  1080. \t\t\t</div>
  1081. \t\t</div>
  1082. \t</div>
  1083. \t
  1084. \t";
  1085.         // line 667
  1086.         yield "\t<div id=\"transferReceiveModal\" class=\"modal fade\" tabindex=\"-1\" role=\"dialog\">
  1087. \t\t<div class=\"modal-dialog\" role=\"document\">
  1088. \t\t\t<div class=\"modal-content\">
  1089. \t\t\t\t";
  1090.         // line 670
  1091.         yield         $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->renderBlock((isset($context["formReceive"]) || array_key_exists("formReceive"$context) ? $context["formReceive"] : (function () { throw new RuntimeError('Variable "formReceive" does not exist.'670$this->source); })()), 'form_start', ["attr" => ["novalidate" => "novalidate"]]);
  1092.         yield 
  1093. \t\t\t\t\t<div class=\"modal-header\"><h3 class=\"modal-title\">Ricevi materiale</h3></div>
  1094. \t\t\t\t\t<div class=\"modal-body\">
  1095. \t\t\t\t\t\t<div class=\"row\">
  1096. \t\t\t\t\t\t\t<div class=\"col-12 form-group\">
  1097. \t\t\t\t\t\t\t\t<label class=\"form_label\">Magazzino di provenienza*</label>
  1098. \t\t\t\t\t\t\t\t<div ";
  1099.         // line 676
  1100.         yield $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(CoreExtension::getAttribute($this->env$this->source, (isset($context["formReceive"]) || array_key_exists("formReceive"$context) ? $context["formReceive"] : (function () { throw new RuntimeError('Variable "formReceive" does not exist.'676$this->source); })()), "warehouse", [], "any"falsefalsefalse676), 'errors');
  1101.         yield ">
  1102. \t\t\t\t\t\t\t\t\t";
  1103.         // line 677
  1104.         yield $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(CoreExtension::getAttribute($this->env$this->source, (isset($context["formReceive"]) || array_key_exists("formReceive"$context) ? $context["formReceive"] : (function () { throw new RuntimeError('Variable "formReceive" does not exist.'677$this->source); })()), "warehouse", [], "any"falsefalsefalse677), 'widget', ["attr" => ["class" => "form-control form-select"]]);
  1105.         yield "
  1106. \t\t\t\t\t\t\t\t</div>
  1107. \t\t\t\t\t\t\t</div>
  1108. \t\t\t\t\t\t\t<div class=\"col-6 form-group\">
  1109. \t\t\t\t\t\t\t\t<label class=\"form_label\">Stock order</label>
  1110. \t\t\t\t\t\t\t\t<div ";
  1111.         // line 682
  1112.         yield $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(CoreExtension::getAttribute($this->env$this->source, (isset($context["formReceive"]) || array_key_exists("formReceive"$context) ? $context["formReceive"] : (function () { throw new RuntimeError('Variable "formReceive" does not exist.'682$this->source); })()), "stockOrder", [], "any"falsefalsefalse682), 'errors');
  1113.         yield ">
  1114. \t\t\t\t\t\t\t\t\t";
  1115.         // line 683
  1116.         yield $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(CoreExtension::getAttribute($this->env$this->source, (isset($context["formReceive"]) || array_key_exists("formReceive"$context) ? $context["formReceive"] : (function () { throw new RuntimeError('Variable "formReceive" does not exist.'683$this->source); })()), "stockOrder", [], "any"falsefalsefalse683), 'widget');
  1117.         yield "
  1118. \t\t\t\t\t\t\t\t</div>
  1119. \t\t\t\t\t\t\t</div>
  1120. \t\t\t\t\t\t\t<div class=\"col-6 form-group\">
  1121. \t\t\t\t\t\t\t\t<label class=\"form_label\">Inserire DDT?</label>
  1122. \t\t\t\t\t\t\t\t<div ";
  1123.         // line 688
  1124.         yield $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(CoreExtension::getAttribute($this->env$this->source, (isset($context["formReceive"]) || array_key_exists("formReceive"$context) ? $context["formReceive"] : (function () { throw new RuntimeError('Variable "formReceive" does not exist.'688$this->source); })()), "ddtMandatory", [], "any"falsefalsefalse688), 'errors');
  1125.         yield ">
  1126. \t\t\t\t\t\t\t\t\t<table class=\"m_none\">
  1127. \t\t\t\t\t\t\t\t\t\t<tr>
  1128. \t\t\t\t\t\t\t\t\t\t\t<td class=\"txt_a_l\"><label class=\"m_b_none m_r_10p l_s_none f_w_500\">No</label></td>
  1129. \t\t\t\t\t\t\t\t\t\t\t<td>";
  1130.         // line 692
  1131.         yield $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(CoreExtension::getAttribute($this->env$this->source, (isset($context["formReceive"]) || array_key_exists("formReceive"$context) ? $context["formReceive"] : (function () { throw new RuntimeError('Variable "formReceive" does not exist.'692$this->source); })()), "ddtMandatory", [], "any"falsefalsefalse692), 'widget', ["attr" => ["class" => "switch-toggle switch-flat-mini switch-toggle-flat""onChange" => "javascript: tranferReceiveShowHideDDT()""checked" => true]]);
  1132.         yield "<label class=\"m_auto\" for=\"";
  1133.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source, (isset($context["formReceive"]) || array_key_exists("formReceive"$context) ? $context["formReceive"] : (function () { throw new RuntimeError('Variable "formReceive" does not exist.'692$this->source); })()), "ddtMandatory", [], "any"falsefalsefalse692), "vars", [], "any"falsefalsefalse692), "id", [], "any"falsefalsefalse692), "html"nulltrue);
  1134.         yield "\"></label></td>
  1135. \t\t\t\t\t\t\t\t\t\t\t<td class=\"txt_a_l\"><label class=\"m_b_none m_l_10p l_s_none f_w_500\">Sì</label></td>
  1136. \t\t\t\t\t\t\t\t\t\t</tr>
  1137. \t\t\t\t\t\t\t\t\t</table>
  1138. \t\t\t\t\t\t\t\t</div>
  1139. \t\t\t\t\t\t\t</div>
  1140. \t\t\t\t\t\t</div>
  1141. \t\t\t\t\t\t<div class=\"row\" id=\"row_receive_ddt\">
  1142. \t\t\t\t\t\t\t<div class=\"col-6 form-group\">
  1143. \t\t\t\t\t\t\t\t<label class=\"form_label\">Numero DDT*</label>
  1144. \t\t\t\t\t\t\t\t<div ";
  1145.         // line 702
  1146.         yield $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(CoreExtension::getAttribute($this->env$this->source, (isset($context["formReceive"]) || array_key_exists("formReceive"$context) ? $context["formReceive"] : (function () { throw new RuntimeError('Variable "formReceive" does not exist.'702$this->source); })()), "ddt", [], "any"falsefalsefalse702), 'errors');
  1147.         yield ">
  1148. \t\t\t\t\t\t\t\t\t";
  1149.         // line 703
  1150.         yield $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(CoreExtension::getAttribute($this->env$this->source, (isset($context["formReceive"]) || array_key_exists("formReceive"$context) ? $context["formReceive"] : (function () { throw new RuntimeError('Variable "formReceive" does not exist.'703$this->source); })()), "ddt", [], "any"falsefalsefalse703), 'widget');
  1151.         yield "
  1152. \t\t\t\t\t\t\t\t</div>
  1153. \t\t\t\t\t\t\t</div>
  1154. \t\t\t\t\t\t\t<div class=\"col-6 form-group\">
  1155. \t\t\t\t\t\t\t\t<label class=\"form_label\">DDT*</label>
  1156. \t\t\t\t\t\t\t\t<div ";
  1157.         // line 708
  1158.         yield $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(CoreExtension::getAttribute($this->env$this->source, (isset($context["formReceive"]) || array_key_exists("formReceive"$context) ? $context["formReceive"] : (function () { throw new RuntimeError('Variable "formReceive" does not exist.'708$this->source); })()), "ddtPath", [], "any"falsefalsefalse708), 'errors');
  1159.         yield ">
  1160. \t\t\t\t\t\t\t\t\t";
  1161.         // line 709
  1162.         yield $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(CoreExtension::getAttribute($this->env$this->source, (isset($context["formReceive"]) || array_key_exists("formReceive"$context) ? $context["formReceive"] : (function () { throw new RuntimeError('Variable "formReceive" does not exist.'709$this->source); })()), "ddtPath", [], "any"falsefalsefalse709), 'widget', ["attr" => ["class" => "display_n"]]);
  1163.         yield "
  1164. \t\t\t\t\t\t\t\t\t";
  1165.         // line 710
  1166.         yield $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(CoreExtension::getAttribute($this->env$this->source, (isset($context["formReceive"]) || array_key_exists("formReceive"$context) ? $context["formReceive"] : (function () { throw new RuntimeError('Variable "formReceive" does not exist.'710$this->source); })()), "file", [], "any"falsefalsefalse710), 'widget', ["attr" => ["class" => "display_n"]]);
  1167.         yield "
  1168. \t\t\t\t\t\t\t\t\t<div class=\"input-group\">
  1169. \t\t\t\t\t\t\t\t\t\t<span class=\"input-group-btn\"><button id=\"selectFile1\" class=\"button button-3d button-small button-rounded button-pr button_input_group\" type=\"button\">Seleziona</button></span>
  1170. \t\t\t\t\t\t\t\t\t\t<input id=\"filename1\" type=\"text\" class=\"form-control\" readonly>
  1171. \t\t\t\t\t\t\t\t\t</div>
  1172. \t\t\t\t\t\t\t\t</div>
  1173. \t\t\t\t\t\t\t</div>
  1174. \t\t\t\t\t\t</div>
  1175. \t\t\t\t\t</div>
  1176. \t\t\t\t\t<div class=\"modal-footer\">
  1177. \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>
  1178. \t\t\t\t\t\t<button type=\"submit\" class=\"button button-3d button-mini button-green f_right\">Continua</button>
  1179. \t\t\t\t\t</div>
  1180. \t\t\t\t";
  1181.         // line 723
  1182.         yield         $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->renderBlock((isset($context["formReceive"]) || array_key_exists("formReceive"$context) ? $context["formReceive"] : (function () { throw new RuntimeError('Variable "formReceive" does not exist.'723$this->source); })()), 'form_end');
  1183.         yield "
  1184. \t\t\t</div>
  1185. \t\t</div>
  1186. \t</div>
  1187. \t
  1188. \t";
  1189.         // line 729
  1190.         yield "\t<div id=\"transferSendModal\" class=\"modal fade\" tabindex=\"-1\" role=\"dialog\">
  1191. \t\t<div class=\"modal-dialog\" role=\"document\">
  1192. \t\t\t<div class=\"modal-content\">
  1193. \t\t\t\t";
  1194.         // line 732
  1195.         yield         $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->renderBlock((isset($context["formSend"]) || array_key_exists("formSend"$context) ? $context["formSend"] : (function () { throw new RuntimeError('Variable "formSend" does not exist.'732$this->source); })()), 'form_start', ["attr" => ["novalidate" => "novalidate""id" => "formSend"]]);
  1196.         yield "
  1197. \t\t\t\t\t<div class=\"modal-header\"><h3 class=\"modal-title\">Invia materiale</h3></div>
  1198. \t\t\t\t\t<div class=\"modal-body\">
  1199. \t\t\t\t\t\t<div class=\"row\" id=\"row_select_type\">
  1200. \t\t\t\t\t\t\t<div class=\"col-12 txt_a_c\">
  1201. \t\t\t\t\t\t\t\t<label class=\"form_label\">A chi stai inviando il materiale?</label>
  1202. \t\t\t\t\t\t\t</div>
  1203. \t\t\t\t\t\t\t";
  1204.         // line 739
  1205.         if (CoreExtension::getAttribute($this->env$this->source, (isset($context["warehouse"]) || array_key_exists("warehouse"$context) ? $context["warehouse"] : (function () { throw new RuntimeError('Variable "warehouse" does not exist.'739$this->source); })()), "headquarter", [], "any"falsefalsefalse739)) {
  1206.             // line 740
  1207.             yield "\t\t\t\t\t\t\t\t<div class=\"col-12 col-md-6 txt_a_c\">
  1208. \t\t\t\t\t\t\t\t\t<a href=\"javascript: transferSendSetType('destination')\" class=\"button button-3d button-mini button-pr width_200p txt_a_c\">Destinazione esterna</a>
  1209. \t\t\t\t\t\t\t\t</div>
  1210. \t\t\t\t\t\t\t";
  1211.         } else {
  1212.             // line 744
  1213.             yield "\t\t\t\t\t\t\t\t<div class=\"col-12 col-md-6 txt_a_c\">
  1214. \t\t\t\t\t\t\t\t\t<a href=\"javascript: transferSendSetType('main')\" class=\"button button-3d button-mini button-pr width_200p txt_a_c\">Sede centrale</a>
  1215. \t\t\t\t\t\t\t\t</div>
  1216. \t\t\t\t\t\t\t";
  1217.         }
  1218.         // line 748
  1219.         yield "\t\t\t\t\t\t\t<div class=\"col-12 col-md-6 txt_a_c\">
  1220. \t\t\t\t\t\t\t\t<a href=\"javascript: transferSendSetType('technician')\" class=\"button button-3d button-mini button-pr width_200p txt_a_c\" id=\"a_send_technician\">Tecnico</a>
  1221. \t\t\t\t\t\t\t</div>
  1222. \t\t\t\t\t\t\t";
  1223.         // line 751
  1224.         yield $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(CoreExtension::getAttribute($this->env$this->source, (isset($context["formSend"]) || array_key_exists("formSend"$context) ? $context["formSend"] : (function () { throw new RuntimeError('Variable "formSend" does not exist.'751$this->source); })()), "type", [], "any"falsefalsefalse751), 'widget', ["attr" => ["class" => "display_n"]]);
  1225.         yield "
  1226. \t\t\t\t\t\t</div>
  1227. \t\t\t\t\t\t<div class=\"row m_t_30p\" id=\"row_send_data\" style=\"display: none\">
  1228. \t\t\t\t\t\t\t<div class=\"col-12\">
  1229. \t\t\t\t\t\t\t\t<h4 class=\"form_title\">Invia materiale a: <span id=\"span_send_type\" class=\"f_w_b\"></span></h4>
  1230. \t\t\t\t\t\t\t\t<hr class=\"m_t_none\">
  1231. \t\t\t\t\t\t\t</div>
  1232. \t\t\t\t\t\t\t<div class=\"col-12 form-group\" id=\"row_user_from_select\" style=\"display: none\">
  1233. \t\t\t\t\t\t\t\t<label class=\"form_label\">Tecnico di partenza*</label>
  1234. \t\t\t\t\t\t\t\t<div ";
  1235.         // line 760
  1236.         yield $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(CoreExtension::getAttribute($this->env$this->source, (isset($context["formSend"]) || array_key_exists("formSend"$context) ? $context["formSend"] : (function () { throw new RuntimeError('Variable "formSend" does not exist.'760$this->source); })()), "userFrom", [], "any"falsefalsefalse760), 'errors');
  1237.         yield ">
  1238. \t\t\t\t\t\t\t\t\t";
  1239.         // line 761
  1240.         yield $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(CoreExtension::getAttribute($this->env$this->source, (isset($context["formSend"]) || array_key_exists("formSend"$context) ? $context["formSend"] : (function () { throw new RuntimeError('Variable "formSend" does not exist.'761$this->source); })()), "userFrom", [], "any"falsefalsefalse761), 'widget', ["attr" => ["class" => "form-control form-select"]]);
  1241.         yield "
  1242. \t\t\t\t\t\t\t\t</div>
  1243. \t\t\t\t\t\t\t</div>
  1244. \t\t\t\t\t\t\t<div class=\"col-12 form-group\" id=\"row_user_to_select\">
  1245. \t\t\t\t\t\t\t\t<label class=\"form_label\">Tecnico di destinazione*</label>
  1246. \t\t\t\t\t\t\t\t<div ";
  1247.         // line 766
  1248.         yield $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(CoreExtension::getAttribute($this->env$this->source, (isset($context["formSend"]) || array_key_exists("formSend"$context) ? $context["formSend"] : (function () { throw new RuntimeError('Variable "formSend" does not exist.'766$this->source); })()), "userTo", [], "any"falsefalsefalse766), 'errors');
  1249.         yield ">
  1250. \t\t\t\t\t\t\t\t\t";
  1251.         // line 767
  1252.         yield $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(CoreExtension::getAttribute($this->env$this->source, (isset($context["formSend"]) || array_key_exists("formSend"$context) ? $context["formSend"] : (function () { throw new RuntimeError('Variable "formSend" does not exist.'767$this->source); })()), "userTo", [], "any"falsefalsefalse767), 'widget', ["attr" => ["class" => "form-control form-select""onchange" => "updateTechnicianWarehouses()"]]);
  1253.         yield "
  1254. \t\t\t\t\t\t\t\t</div>
  1255. \t\t\t\t\t\t\t</div>
  1256. \t\t\t\t\t\t\t<div class=\"col-12 form-group\" id=\"row_warehouse_select\">
  1257. \t\t\t\t\t\t\t\t<label class=\"form_label\">Magazzino di destinazione*</label>
  1258. \t\t\t\t\t\t\t\t<div ";
  1259.         // line 772
  1260.         yield $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(CoreExtension::getAttribute($this->env$this->source, (isset($context["formSend"]) || array_key_exists("formSend"$context) ? $context["formSend"] : (function () { throw new RuntimeError('Variable "formSend" does not exist.'772$this->source); })()), "warehouse", [], "any"falsefalsefalse772), 'errors');
  1261.         yield ">
  1262. \t\t\t\t\t\t\t\t\t";
  1263.         // line 773
  1264.         yield $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(CoreExtension::getAttribute($this->env$this->source, (isset($context["formSend"]) || array_key_exists("formSend"$context) ? $context["formSend"] : (function () { throw new RuntimeError('Variable "formSend" does not exist.'773$this->source); })()), "warehouse", [], "any"falsefalsefalse773), 'widget', ["attr" => ["class" => "form-control form-select"]]);
  1265.         yield "
  1266. \t\t\t\t\t\t\t\t</div>
  1267. \t\t\t\t\t\t\t</div>
  1268. \t\t\t\t\t\t\t<div class=\"col-12 form-group\" id=\"row_warehouse_selected\" style=\"display: none\">
  1269. \t\t\t\t\t\t\t\t<label class=\"form_label\">Magazzino di destinazione*</label>
  1270. \t\t\t\t\t\t\t\t<input type=\"text\" readonly=\"true\" class=\"form-control\" id=\"input_warehouse_display\">
  1271. \t\t\t\t\t\t\t</div>
  1272. \t\t\t\t\t\t\t<div class=\"col-12 form-group\" id=\"div_send_supplier\">
  1273. \t\t\t\t\t\t\t\t<label class=\"form_label\">Fornitore*</label>
  1274. \t\t\t\t\t\t\t\t<div ";
  1275.         // line 782
  1276.         yield $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(CoreExtension::getAttribute($this->env$this->source, (isset($context["formSend"]) || array_key_exists("formSend"$context) ? $context["formSend"] : (function () { throw new RuntimeError('Variable "formSend" does not exist.'782$this->source); })()), "supplier", [], "any"falsefalsefalse782), 'errors');
  1277.         yield ">
  1278. \t\t\t\t\t\t\t\t\t";
  1279.         // line 783
  1280.         yield $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(CoreExtension::getAttribute($this->env$this->source, (isset($context["formSend"]) || array_key_exists("formSend"$context) ? $context["formSend"] : (function () { throw new RuntimeError('Variable "formSend" does not exist.'783$this->source); })()), "supplier", [], "any"falsefalsefalse783), 'widget', ["attr" => ["class" => "form-control form-select""onChange" => "showHideDivestment()"]]);
  1281.         yield "
  1282. \t\t\t\t\t\t\t\t</div>
  1283. \t\t\t\t\t\t\t</div>
  1284. \t\t\t\t\t\t\t<div class=\"col-12 form-group\" id=\"div_send_stock_order\">
  1285. \t\t\t\t\t\t\t\t<label class=\"form_label\">Stock Order</label>
  1286. \t\t\t\t\t\t\t\t<div ";
  1287.         // line 788
  1288.         yield $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(CoreExtension::getAttribute($this->env$this->source, (isset($context["formSend"]) || array_key_exists("formSend"$context) ? $context["formSend"] : (function () { throw new RuntimeError('Variable "formSend" does not exist.'788$this->source); })()), "stockOrder", [], "any"falsefalsefalse788), 'errors');
  1289.         yield ">
  1290. \t\t\t\t\t\t\t\t\t";
  1291.         // line 789
  1292.         yield $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(CoreExtension::getAttribute($this->env$this->source, (isset($context["formSend"]) || array_key_exists("formSend"$context) ? $context["formSend"] : (function () { throw new RuntimeError('Variable "formSend" does not exist.'789$this->source); })()), "stockOrder", [], "any"falsefalsefalse789), 'widget', ["attr" => ["class" => "form-control"]]);
  1293.         yield "
  1294. \t\t\t\t\t\t\t\t</div>
  1295. \t\t\t\t\t\t\t</div>
  1296. \t\t\t\t\t\t\t<div class=\"col-12 form-group\" id=\"div_send_ddt_mandatory\" style=\"display: none\">
  1297. \t\t\t\t\t\t\t\t<div ";
  1298.         // line 793
  1299.         yield $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(CoreExtension::getAttribute($this->env$this->source, (isset($context["formSend"]) || array_key_exists("formSend"$context) ? $context["formSend"] : (function () { throw new RuntimeError('Variable "formSend" does not exist.'793$this->source); })()), "ddtMandatory", [], "any"falsefalsefalse793), 'errors');
  1300.         yield ">
  1301. \t\t\t\t\t\t\t\t\t";
  1302.         // line 794
  1303.         $context["checked"] = false;
  1304.         // line 795
  1305.         yield "\t\t\t\t\t\t\t\t\t";
  1306.         if (CoreExtension::getAttribute($this->env$this->source, (isset($context["settingDdtMandatory"]) || array_key_exists("settingDdtMandatory"$context) ? $context["settingDdtMandatory"] : (function () { throw new RuntimeError('Variable "settingDdtMandatory" does not exist.'795$this->source); })()), "value", [], "any"falsefalsefalse795)) {
  1307.             // line 796
  1308.             yield "\t\t\t\t\t\t\t\t\t\t";
  1309.             $context["checked"] = true;
  1310.             // line 797
  1311.             yield "\t\t\t\t\t\t\t\t\t";
  1312.         }
  1313.         // line 798
  1314.         yield "\t\t\t\t\t\t\t\t\t<table class=\"table table-sm b_none m_b_none\">
  1315. \t\t\t\t\t\t\t\t\t\t<tr>
  1316. \t\t\t\t\t\t\t\t\t\t\t<td><label class=\"form_label m_b_none\">Caricamento DDT firmato obbligatorio?</label></td>
  1317. \t\t\t\t\t\t\t\t\t\t\t<td class=\"td_w_40p txt_a_r\"><label class=\"m_b_none m_r_10p l_s_none f_w_500\">No</label></td>
  1318. \t\t\t\t\t\t\t\t\t\t\t<td class=\"td_w_40p\">";
  1319.         // line 802
  1320.         yield $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(CoreExtension::getAttribute($this->env$this->source, (isset($context["formSend"]) || array_key_exists("formSend"$context) ? $context["formSend"] : (function () { throw new RuntimeError('Variable "formSend" does not exist.'802$this->source); })()), "ddtMandatory", [], "any"falsefalsefalse802), 'widget', ["attr" => ["class" => "switch-toggle switch-flat-mini switch-toggle-flat""checked" => (isset($context["checked"]) || array_key_exists("checked"$context) ? $context["checked"] : (function () { throw new RuntimeError('Variable "checked" does not exist.'802$this->source); })())]]);
  1321.         yield "<label class=\"m_auto\" for=\"";
  1322.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source, (isset($context["formSend"]) || array_key_exists("formSend"$context) ? $context["formSend"] : (function () { throw new RuntimeError('Variable "formSend" does not exist.'802$this->source); })()), "ddtMandatory", [], "any"falsefalsefalse802), "vars", [], "any"falsefalsefalse802), "id", [], "any"falsefalsefalse802), "html"nulltrue);
  1323.         yield "\"></label></td>
  1324. \t\t\t\t\t\t\t\t\t\t\t<td class=\"td_w_40p txt_a_l\"><label class=\"m_b_none m_l_10p l_s_none f_w_500\">Sì</label></td>
  1325. \t\t\t\t\t\t\t\t\t\t</tr>
  1326. \t\t\t\t\t\t\t\t\t</table>
  1327. \t\t\t\t\t\t\t\t</div>
  1328. \t\t\t\t\t\t\t</div>
  1329. \t\t\t\t\t\t\t<div class=\"col-12 form-group\" id=\"div_send_divestment\" style=\"display: none\">
  1330. \t\t\t\t\t\t\t\t<div ";
  1331.         // line 809
  1332.         yield $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(CoreExtension::getAttribute($this->env$this->source, (isset($context["formSend"]) || array_key_exists("formSend"$context) ? $context["formSend"] : (function () { throw new RuntimeError('Variable "formSend" does not exist.'809$this->source); })()), "divestment", [], "any"falsefalsefalse809), 'errors');
  1333.         yield ">
  1334. \t\t\t\t\t\t\t\t\t<table class=\"table table-sm b_none m_b_none\">
  1335. \t\t\t\t\t\t\t\t\t\t<tr>
  1336. \t\t\t\t\t\t\t\t\t\t\t<td><label class=\"form_label m_b_none\">è dismissione?</label></td>
  1337. \t\t\t\t\t\t\t\t\t\t\t<td class=\"td_w_40p txt_a_r\"><label class=\"m_b_none m_r_10p l_s_none f_w_500\">No</label></td>
  1338. \t\t\t\t\t\t\t\t\t\t\t<td class=\"td_w_40p\">";
  1339.         // line 814
  1340.         yield $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(CoreExtension::getAttribute($this->env$this->source, (isset($context["formSend"]) || array_key_exists("formSend"$context) ? $context["formSend"] : (function () { throw new RuntimeError('Variable "formSend" does not exist.'814$this->source); })()), "divestment", [], "any"falsefalsefalse814), 'widget', ["attr" => ["class" => "switch-toggle switch-flat-mini switch-toggle-flat"]]);
  1341.         yield "<label class=\"m_auto\" for=\"";
  1342.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source, (isset($context["formSend"]) || array_key_exists("formSend"$context) ? $context["formSend"] : (function () { throw new RuntimeError('Variable "formSend" does not exist.'814$this->source); })()), "divestment", [], "any"falsefalsefalse814), "vars", [], "any"falsefalsefalse814), "id", [], "any"falsefalsefalse814), "html"nulltrue);
  1343.         yield "\"></label></td>
  1344. \t\t\t\t\t\t\t\t\t\t\t<td class=\"td_w_40p txt_a_l\"><label class=\"m_b_none m_l_10p l_s_none f_w_500\">Sì</label></td>
  1345. \t\t\t\t\t\t\t\t\t\t</tr>
  1346. \t\t\t\t\t\t\t\t\t</table>
  1347. \t\t\t\t\t\t\t\t</div>
  1348. \t\t\t\t\t\t\t</div>
  1349. \t\t\t\t\t\t</div>
  1350. \t\t\t\t\t</div>
  1351. \t\t\t\t\t";
  1352.         // line 822
  1353.         yield $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(CoreExtension::getAttribute($this->env$this->source, (isset($context["formSend"]) || array_key_exists("formSend"$context) ? $context["formSend"] : (function () { throw new RuntimeError('Variable "formSend" does not exist.'822$this->source); })()), "sendStocksIds", [], "any"falsefalsefalse822), 'widget', ["attr" => ["class" => "display_n"]]);
  1354.         yield "
  1355. \t\t\t\t\t";
  1356.         // line 823
  1357.         yield $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(CoreExtension::getAttribute($this->env$this->source, (isset($context["formSend"]) || array_key_exists("formSend"$context) ? $context["formSend"] : (function () { throw new RuntimeError('Variable "formSend" does not exist.'823$this->source); })()), "productRequestId", [], "any"falsefalsefalse823), 'widget', ["attr" => ["class" => "display_n"]]);
  1358.         yield "
  1359. \t\t\t\t\t<div class=\"modal-footer\">
  1360. \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>
  1361. \t\t\t\t\t\t<a id=\"button_send_submit\" href=\"javascript:void(0)\" class=\"button button-3d button-mini button-grey f_right\">Continua</a>
  1362. \t\t\t\t\t</div>
  1363. \t\t\t\t";
  1364.         // line 828
  1365.         yield         $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->renderBlock((isset($context["formSend"]) || array_key_exists("formSend"$context) ? $context["formSend"] : (function () { throw new RuntimeError('Variable "formSend" does not exist.'828$this->source); })()), 'form_end');
  1366.         yield "
  1367. \t\t\t</div>
  1368. \t\t</div>
  1369. \t</div>
  1370. \t
  1371. \t";
  1372.         // line 834
  1373.         yield "\t<div id=\"stockPrintModal\" class=\"modal fade\" tabindex=\"-1\" role=\"dialog\">
  1374. \t\t<div class=\"modal-dialog\" role=\"document\">
  1375. \t\t\t<div class=\"modal-content\">
  1376. \t\t\t\t<form action=\"";
  1377.         // line 837
  1378.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("user_warehouse_stock_multiple_select_action", ["warehouseId" => CoreExtension::getAttribute($this->env$this->source, (isset($context["warehouse"]) || array_key_exists("warehouse"$context) ? $context["warehouse"] : (function () { throw new RuntimeError('Variable "warehouse" does not exist.'837$this->source); })()), "id", [], "any"falsefalsefalse837)]), "html"nulltrue);
  1379.         yield "\" method=\"post\" id=\"formPrint\" target=\"_blank\">
  1380. \t\t\t\t\t<div class=\"modal-header\"><h3 class=\"modal-title\">Stampa etichette</h3></div>
  1381. \t\t\t\t\t<div class=\"modal-body\">
  1382. \t\t\t\t\t\t<input type=\"hidden\" id=\"printStocksIds\" name=\"ids\">
  1383. \t\t\t\t\t\t<input type=\"hidden\" id=\"printAction\" name=\"action\">
  1384. \t\t\t\t\t\t<div class=\"row\">
  1385. \t\t\t\t\t\t\t<div class=\"col-12\">
  1386. \t\t\t\t\t\t\t\t<label class=\"form_label\">Seleziona fornitore da stampare in etichetta</label>
  1387. \t\t\t\t\t\t\t\t<div id=\"divErrorSupplier\">
  1388. \t\t\t\t\t\t\t\t\t<select class=\"form-control form-select\" id=\"select_supplier\" name=\"supplierId\">
  1389. \t\t\t\t\t\t\t\t\t\t<option></option>
  1390. \t\t\t\t\t\t\t\t\t\t";
  1391.         // line 848
  1392.         $context['_parent'] = $context;
  1393.         $context['_seq'] = CoreExtension::ensureTraversable((isset($context["suppliers"]) || array_key_exists("suppliers"$context) ? $context["suppliers"] : (function () { throw new RuntimeError('Variable "suppliers" does not exist.'848$this->source); })()));
  1394.         foreach ($context['_seq'] as $context["_key"] => $context["supplier"]) {
  1395.             // line 849
  1396.             yield "\t\t\t\t\t\t\t\t\t\t\t<option value=\"";
  1397.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source$context["supplier"], "id", [], "any"falsefalsefalse849), "html"nulltrue);
  1398.             yield "\">";
  1399.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source$context["supplier"], "name", [], "any"falsefalsefalse849), "html"nulltrue);
  1400.             yield "</option>
  1401. \t\t\t\t\t\t\t\t\t\t";
  1402.         }
  1403.         $_parent $context['_parent'];
  1404.         unset($context['_seq'], $context['_iterated'], $context['_key'], $context['supplier'], $context['_parent'], $context['loop']);
  1405.         $context array_intersect_key($context$_parent) + $_parent;
  1406.         // line 851
  1407.         yield "\t\t\t\t\t\t\t\t\t</select>
  1408. \t\t\t\t\t\t\t\t</div>
  1409. \t\t\t\t\t\t\t</div>
  1410. \t\t\t\t\t\t</div>
  1411. \t\t\t\t\t</div>
  1412. \t\t\t\t\t<div class=\"modal-footer\">
  1413. \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>
  1414. \t\t\t\t\t\t<button type=\"button\" class=\"button button-3d button-mini button-green f_right\" onclick=\"javascript: checkSubmit('print')\">Conferma</button>
  1415. \t\t\t\t\t</div>
  1416. \t\t\t\t</form>
  1417. \t\t\t</div>
  1418. \t\t</div>
  1419. \t</div>
  1420. \t
  1421. \t";
  1422.         // line 866
  1423.         yield "\t<div id=\"stockManagedModal\" class=\"modal fade\" tabindex=\"-1\" role=\"dialog\">
  1424. \t\t<div class=\"modal-dialog\" role=\"document\">
  1425. \t\t\t<div class=\"modal-content\">
  1426. \t\t\t\t<form action=\"";
  1427.         // line 869
  1428.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("user_warehouse_stock_multiple_select_action", ["warehouseId" => CoreExtension::getAttribute($this->env$this->source, (isset($context["warehouse"]) || array_key_exists("warehouse"$context) ? $context["warehouse"] : (function () { throw new RuntimeError('Variable "warehouse" does not exist.'869$this->source); })()), "id", [], "any"falsefalsefalse869)]), "html"nulltrue);
  1429.         yield "\" method=\"post\" id=\"formManaged\">
  1430. \t\t\t\t\t<div class=\"modal-header\"><h3 class=\"modal-title\">Prodotti gestiti</h3></div>\t\t\t\t\t\t
  1431. \t\t\t\t\t<div class=\"modal-body\">
  1432. \t\t\t\t\t\t<input type=\"hidden\" id=\"managedStocksIds\" name=\"ids\">
  1433. \t\t\t\t\t\t<input type=\"hidden\" id=\"managedAction\" name=\"action\">
  1434. \t\t\t\t\t\t<div class=\"row\">
  1435. \t\t\t\t\t\t\t<div class=\"col-12 txt_a_c\">
  1436. \t\t\t\t\t\t\t\t<label class=\"modal_subtitle\">Attenzione!</label><br>
  1437. \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> i prodotti selezionati verranno segnati come gestiti.<br>Si Ã¨ sicuri di voler proseguire?</p>
  1438. \t\t\t\t\t\t\t</div>
  1439. \t\t\t\t\t\t</div>
  1440. \t\t\t\t\t</div>
  1441. \t\t\t\t\t<div class=\"modal-footer\">
  1442. \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>
  1443. \t\t\t\t\t\t<button type=\"button\" class=\"button button-3d button-mini button-green f_right\" onclick=\"javascript: checkSubmit('managed')\">Conferma</button>
  1444. \t\t\t\t\t</div>
  1445. \t\t\t\t</form>
  1446. \t\t\t</div>
  1447. \t\t</div>
  1448. \t</div>
  1449. \t
  1450. \t";
  1451.         // line 891
  1452.         yield "\t<div id=\"stockSupplierModal\" class=\"modal fade\" tabindex=\"-1\" role=\"dialog\">
  1453. \t\t<div class=\"modal-dialog\" role=\"document\">
  1454. \t\t\t<div class=\"modal-content\">
  1455. \t\t\t\t<form action=\"";
  1456.         // line 894
  1457.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("user_warehouse_stock_multiple_select_action", ["warehouseId" => CoreExtension::getAttribute($this->env$this->source, (isset($context["warehouse"]) || array_key_exists("warehouse"$context) ? $context["warehouse"] : (function () { throw new RuntimeError('Variable "warehouse" does not exist.'894$this->source); })()), "id", [], "any"falsefalsefalse894)]), "html"nulltrue);
  1458.         yield "\" method=\"post\" id=\"formSupplier\">
  1459. \t\t\t\t\t<div class=\"modal-header\"><h3 class=\"modal-title\">Modifica fornitori per i prodotti</h3></div>\t\t\t\t\t\t
  1460. \t\t\t\t\t<div class=\"modal-body\">
  1461. \t\t\t\t\t\t<input type=\"hidden\" id=\"supplierStocksIds\" name=\"ids\">
  1462. \t\t\t\t\t\t<input type=\"hidden\" id=\"supplierAction\" name=\"action\">
  1463. \t\t\t\t\t\t<div class=\"row\">
  1464. \t\t\t\t\t\t\t<div class=\"col-12\">
  1465. \t\t\t\t\t\t\t\t<label class=\"form_label\">Seleziona i fornitori da aggiungere</label>
  1466. \t\t\t\t\t\t\t\t<div id=\"divErrorSupplier\">
  1467. \t\t\t\t\t\t\t\t\t";
  1468.         // line 903
  1469.         $context['_parent'] = $context;
  1470.         $context['_seq'] = CoreExtension::ensureTraversable((isset($context["suppliers"]) || array_key_exists("suppliers"$context) ? $context["suppliers"] : (function () { throw new RuntimeError('Variable "suppliers" does not exist.'903$this->source); })()));
  1471.         foreach ($context['_seq'] as $context["_key"] => $context["s"]) {
  1472.             // line 904
  1473.             yield "\t\t\t\t\t\t\t\t\t\t<table class=\"table table_no_padding b_none m_b_none\">
  1474. \t\t\t\t\t\t\t\t\t\t\t<tr>
  1475. \t\t\t\t\t\t\t\t\t\t\t\t<td class=\"td_w_40p\"><input id=\"input_supplier_";
  1476.             // line 906
  1477.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source$context["s"], "id", [], "any"falsefalsefalse906), "html"nulltrue);
  1478.             yield "\" type=\"checkbox\" class=\"switch-toggle switch-flat-mini switch-toggle-flat supplier_checkboxes\" name=\"supplier_";
  1479.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source$context["s"], "id", [], "any"falsefalsefalse906), "html"nulltrue);
  1480.             yield "\"><label class=\"m_b_none\" for=\"input_supplier_";
  1481.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source$context["s"], "id", [], "any"falsefalsefalse906), "html"nulltrue);
  1482.             yield "\"></label></td>
  1483. \t\t\t\t\t\t\t\t\t\t\t\t<td><label class=\"m_b_none form_label\">";
  1484.             // line 907
  1485.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source$context["s"], "name", [], "any"falsefalsefalse907), "html"nulltrue);
  1486.             yield "</label></td>
  1487. \t\t\t\t\t\t\t\t\t\t\t</tr>
  1488. \t\t\t\t\t\t\t\t\t\t</table>
  1489. \t\t\t\t\t\t\t\t\t";
  1490.         }
  1491.         $_parent $context['_parent'];
  1492.         unset($context['_seq'], $context['_iterated'], $context['_key'], $context['s'], $context['_parent'], $context['loop']);
  1493.         $context array_intersect_key($context$_parent) + $_parent;
  1494.         // line 911
  1495.         yield "\t\t\t\t\t\t\t\t</div>
  1496. \t\t\t\t\t\t\t</div>
  1497. \t\t\t\t\t\t</div>
  1498. \t\t\t\t\t</div>
  1499. \t\t\t\t\t<div class=\"modal-footer\">
  1500. \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>
  1501. \t\t\t\t\t\t<button type=\"button\" class=\"button button-3d button-mini button-green f_right\" onclick=\"javascript: checkSubmit('supplier')\">Conferma</button>
  1502. \t\t\t\t\t</div>
  1503. \t\t\t\t</form>
  1504. \t\t\t</div>
  1505. \t\t</div>
  1506. \t</div>
  1507. \t";
  1508.         // line 925
  1509.         yield "\t<div id=\"stockConditionModal\" class=\"modal fade\" tabindex=\"-1\" role=\"dialog\">
  1510. \t\t<div class=\"modal-dialog\" role=\"document\">
  1511. \t\t\t<div class=\"modal-content\">
  1512. \t\t\t\t<form action=\"";
  1513.         // line 928
  1514.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("user_warehouse_stock_multiple_select_action", ["warehouseId" => CoreExtension::getAttribute($this->env$this->source, (isset($context["warehouse"]) || array_key_exists("warehouse"$context) ? $context["warehouse"] : (function () { throw new RuntimeError('Variable "warehouse" does not exist.'928$this->source); })()), "id", [], "any"falsefalsefalse928)]), "html"nulltrue);
  1515.         yield "\" method=\"post\" id=\"formCondition\">
  1516. \t\t\t\t\t<div class=\"modal-header\"><h3 class=\"modal-title\">Cambia condizione prodotti</h3></div>
  1517. \t\t\t\t\t<div class=\"modal-body\">
  1518. \t\t\t\t\t\t<input type=\"hidden\" id=\"conditionStocksIds\" name=\"ids\">
  1519. \t\t\t\t\t\t<input type=\"hidden\" id=\"conditionAction\" name=\"action\">
  1520. \t\t\t\t\t\t<input type=\"hidden\" id=\"stockTab\" name=\"tab\">
  1521. \t\t\t\t\t\t<div class=\"row\">
  1522. \t\t\t\t\t\t\t<div class=\"col-12\">
  1523. \t\t\t\t\t\t\t\t<label class=\"form_label\">Seleziona nuova condizione</label>
  1524. \t\t\t\t\t\t\t\t<div id=\"divErrorCondition\">
  1525. \t\t\t\t\t\t\t\t\t<select class=\"form-control form-select\" id=\"select_product_condition\" name=\"productCondition\">
  1526. \t\t\t\t\t\t\t\t\t\t<option></option>
  1527. \t\t\t\t\t\t\t\t\t\t";
  1528.         // line 940
  1529.         $context['_parent'] = $context;
  1530.         $context['_seq'] = CoreExtension::ensureTraversable((isset($context["productConditions"]) || array_key_exists("productConditions"$context) ? $context["productConditions"] : (function () { throw new RuntimeError('Variable "productConditions" does not exist.'940$this->source); })()));
  1531.         foreach ($context['_seq'] as $context["_key"] => $context["condition"]) {
  1532.             // line 941
  1533.             yield "\t\t\t\t\t\t\t\t\t\t\t<option value=\"";
  1534.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source$context["condition"], "id", [], "any"falsefalsefalse941), "html"nulltrue);
  1535.             yield "\">";
  1536.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source$context["condition"], "value", [], "any"falsefalsefalse941), "html"nulltrue);
  1537.             yield "</option>
  1538. \t\t\t\t\t\t\t\t\t\t";
  1539.         }
  1540.         $_parent $context['_parent'];
  1541.         unset($context['_seq'], $context['_iterated'], $context['_key'], $context['condition'], $context['_parent'], $context['loop']);
  1542.         $context array_intersect_key($context$_parent) + $_parent;
  1543.         // line 943
  1544.         yield "\t\t\t\t\t\t\t\t\t</select>
  1545. \t\t\t\t\t\t\t\t</div>
  1546. \t\t\t\t\t\t\t</div>
  1547. \t\t\t\t\t\t</div>
  1548. \t\t\t\t\t</div>
  1549. \t\t\t\t\t<div class=\"modal-footer\">
  1550. \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>
  1551. \t\t\t\t\t\t<button type=\"button\" class=\"button button-3d button-mini button-green f_right\" onclick=\"javascript: checkSubmit('condition')\">Conferma</button>
  1552. \t\t\t\t\t</div>
  1553. \t\t\t\t</form>
  1554. \t\t\t</div>
  1555. \t\t</div>
  1556. \t</div>
  1557. \t";
  1558.         // line 958
  1559.         yield "\t<div id=\"stockModelModal\" class=\"modal fade\" tabindex=\"-1\" role=\"dialog\">
  1560. \t\t<div class=\"modal-dialog\" role=\"document\">
  1561. \t\t\t<div class=\"modal-content\">
  1562. \t\t\t\t<form action=\"";
  1563.         // line 961
  1564.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("user_warehouse_stock_multiple_select_action", ["warehouseId" => CoreExtension::getAttribute($this->env$this->source, (isset($context["warehouse"]) || array_key_exists("warehouse"$context) ? $context["warehouse"] : (function () { throw new RuntimeError('Variable "warehouse" does not exist.'961$this->source); })()), "id", [], "any"falsefalsefalse961)]), "html"nulltrue);
  1565.         yield "\" method=\"post\" id=\"formModel\">
  1566. \t\t\t\t\t<div class=\"modal-header\"><h3 class=\"modal-title\">Cambia modello prodotti</h3></div>
  1567. \t\t\t\t\t<div class=\"modal-body\">
  1568. \t\t\t\t\t\t<input type=\"hidden\" id=\"modelStocksIds\" name=\"ids\">
  1569. \t\t\t\t\t\t<input type=\"hidden\" id=\"modelAction\" name=\"action\">
  1570. \t\t\t\t\t\t<input type=\"hidden\" id=\"stockTab\" name=\"tab\">
  1571. \t\t\t\t\t\t<div class=\"row\">
  1572. \t\t\t\t\t\t\t<div class=\"col-12\">
  1573. \t\t\t\t\t\t\t\t<label class=\"form_label\">Seleziona nuovo modello</label>
  1574. \t\t\t\t\t\t\t\t<div class=\"col-12 form-group\">
  1575. \t\t\t\t\t\t\t\t\t<input type=\"text\" id=\"input_model_search\" class=\"form-control\" onkeyup=\"modelsUpdateUl()\" autocomplete=\"off\" placeholder=\"Cerca modello...\">
  1576. \t\t\t\t\t\t\t\t\t<ul id=\"ul_models\" class=\"ul_models pos_abs m_b_none\" style=\"list-style: none; display:none\"></ul>
  1577. \t\t\t\t\t\t\t\t</div>
  1578. \t\t\t\t\t\t\t\t<div id=\"divErrorModel\">
  1579. \t\t\t\t\t\t\t\t\t<select class=\"form-control form-select\" id=\"select_product_model\" name=\"productModel\">
  1580. \t\t\t\t\t\t\t\t\t\t<option></option>
  1581. \t\t\t\t\t\t\t\t\t\t";
  1582.         // line 977
  1583.         $context['_parent'] = $context;
  1584.         $context['_seq'] = CoreExtension::ensureTraversable((isset($context["productModels"]) || array_key_exists("productModels"$context) ? $context["productModels"] : (function () { throw new RuntimeError('Variable "productModels" does not exist.'977$this->source); })()));
  1585.         foreach ($context['_seq'] as $context["_key"] => $context["model"]) {
  1586.             // line 978
  1587.             yield "\t\t\t\t\t\t\t\t\t\t\t<option value=\"";
  1588.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source$context["model"], "id", [], "any"falsefalsefalse978), "html"nulltrue);
  1589.             yield "\">";
  1590.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source$context["model"], "name", [], "any"falsefalsefalse978), "html"nulltrue);
  1591.             yield "</option>
  1592. \t\t\t\t\t\t\t\t\t\t";
  1593.         }
  1594.         $_parent $context['_parent'];
  1595.         unset($context['_seq'], $context['_iterated'], $context['_key'], $context['model'], $context['_parent'], $context['loop']);
  1596.         $context array_intersect_key($context$_parent) + $_parent;
  1597.         // line 980
  1598.         yield "\t\t\t\t\t\t\t\t\t</select>
  1599. \t\t\t\t\t\t\t\t</div>
  1600. \t\t\t\t\t\t\t</div>
  1601. \t\t\t\t\t\t</div>
  1602. \t\t\t\t\t</div>
  1603. \t\t\t\t\t<div class=\"modal-footer\">
  1604. \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>
  1605. \t\t\t\t\t\t<button type=\"button\" class=\"button button-3d button-mini button-green f_right\" onclick=\"javascript: checkSubmit('model')\">Conferma</button>
  1606. \t\t\t\t\t</div>
  1607. \t\t\t\t</form>
  1608. \t\t\t</div>
  1609. \t\t</div>
  1610. \t</div>
  1611. \t
  1612. \t";
  1613.         // line 995
  1614.         yield "\t<div id=\"transferDeleteModal\" class=\"modal fade\" tabindex=\"-1\" role=\"dialog\">
  1615. \t\t<div class=\"modal-dialog\" role=\"document\">
  1616. \t\t\t<div class=\"modal-content\">
  1617. \t\t\t\t<form action=\"";
  1618.         // line 998
  1619.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("user_warehouse_transfer_delete", ["warehouseId" => CoreExtension::getAttribute($this->env$this->source, (isset($context["warehouse"]) || array_key_exists("warehouse"$context) ? $context["warehouse"] : (function () { throw new RuntimeError('Variable "warehouse" does not exist.'998$this->source); })()), "id", [], "any"falsefalsefalse998)]), "html"nulltrue);
  1620.         yield "\" method=\"post\">
  1621. \t\t\t\t\t<div class=\"modal-header\"><h3 class=\"modal-title\">Trasferimento - Elimina</h3></div>
  1622. \t\t\t\t\t<div class=\"modal-body\">
  1623. \t\t\t\t\t\t<input type=\"hidden\" id=\"transferDeleteId\" name=\"transferDelId\"/>
  1624. \t\t\t\t\t\t<input type=\"hidden\" name=\"warehouseId\" value=\"";
  1625.         // line 1002
  1626.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source, (isset($context["warehouse"]) || array_key_exists("warehouse"$context) ? $context["warehouse"] : (function () { throw new RuntimeError('Variable "warehouse" does not exist.'1002$this->source); })()), "id", [], "any"falsefalsefalse1002), "html"nulltrue);
  1627.         yield "\"/>
  1628. \t\t\t\t\t\t<div class=\"row\">
  1629. \t\t\t\t\t\t\t<div class=\"col-12 txt_a_c\">
  1630. \t\t\t\t\t\t\t\t<label class=\"modal_subtitle\">Attenzione!</label>
  1631. \t\t\t\t\t\t\t\t<p class=\"modal_paragraph\">Cliccando sul bottone <a class='button button-3d button-mini button-red' href='javascript:void(0)'>conferma</a> eliminerai il trasferimento.<br>Si Ã¨ sicuri di voler proseguire?</p>
  1632. \t\t\t\t\t\t\t</div>
  1633. \t\t\t\t\t\t</div>
  1634. \t\t\t\t\t</div>
  1635. \t\t\t\t\t<div class=\"modal-footer\">
  1636. \t\t\t\t\t\t<a href=\"javascript:void(0)\" class=\"button button-3d button-mini button-green f_left\" data-bs-dismiss=\"modal\">Annulla</a>
  1637. \t\t\t\t\t\t<button type=\"submit\" class=\"button button-3d button-mini button-red f_right\">Conferma</button>
  1638. \t\t\t\t\t</div>
  1639. \t\t\t\t</form>
  1640. \t\t\t</div>
  1641. \t\t</div>
  1642. \t</div>\t
  1643. \t
  1644. \t";
  1645.         // line 1020
  1646.         yield "\t<div id=\"productRequestSheetModal\" class=\"modal fade\" tabindex=\"-1\" role=\"dialog\">
  1647. \t\t<div class=\"modal-dialog\" role=\"document\">
  1648. \t\t\t<div class=\"modal-content\">
  1649. \t\t\t\t<div class=\"modal-header\"><h3 class=\"modal-title\">Richiesta materiale - Dettaglio</h3></div>
  1650. \t\t\t\t<div class=\"modal-body\">
  1651. \t\t\t\t\t<table class=\"table table-sm responsive_font_size\">
  1652. \t\t\t\t\t\t<tr>
  1653. \t\t\t\t\t\t\t<th class=\"td_w_150p\">Data/Ora</th>
  1654. \t\t\t\t\t\t\t<td id=\"request_sheet_datetime\"></td>
  1655. \t\t\t\t\t\t</tr>
  1656. \t\t\t\t\t\t<tr>
  1657. \t\t\t\t\t\t\t<th>Tecnico</th>
  1658. \t\t\t\t\t\t\t<td id=\"request_sheet_technician\"></td>
  1659. \t\t\t\t\t\t</tr>
  1660. \t\t\t\t\t\t</tr>
  1661. \t\t\t\t\t\t\t<th>Magazzino tecnico</th>
  1662. \t\t\t\t\t\t\t<td id=\"request_sheet_warehouse\"></td>
  1663. \t\t\t\t\t\t</tr>
  1664. \t\t\t\t\t\t</tr>
  1665. \t\t\t\t\t\t\t<th>Magazzino richiesta</th>
  1666. \t\t\t\t\t\t\t<td id=\"request_sheet_warehouse_headquarter\"></td>
  1667. \t\t\t\t\t\t</tr>
  1668. \t\t\t\t\t\t<tr>
  1669. \t\t\t\t\t\t\t<th colspan=\"2\" style=\"border:0px\">Note</th>
  1670. \t\t\t\t\t\t</tr>
  1671. \t\t\t\t\t\t<tr>
  1672. \t\t\t\t\t\t\t<td colspan=\"2\" id=\"request_sheet_notes\"></td>
  1673. \t\t\t\t\t\t</tr>
  1674. \t\t\t\t\t</table>
  1675. \t\t\t\t</div>
  1676. \t\t\t\t<div class=\"modal-footer txt_a_c\">
  1677. \t\t\t\t\t<a href=\"javascript:void(0)\" class=\"button button-3d button-mini button-red\" data-bs-dismiss=\"modal\">Chiudi</a>
  1678. \t\t\t\t</div>
  1679. \t\t\t</div>
  1680. \t\t</div>
  1681. \t</div>
  1682. \t";
  1683.         // line 1058
  1684.         yield "\t<div id=\"productRequestTakeChargeModal\" class=\"modal fade\" tabindex=\"-1\" role=\"dialog\">
  1685. \t\t<div class=\"modal-dialog\" role=\"document\">
  1686. \t\t\t<div class=\"modal-content\">
  1687. \t\t\t\t<form action=\"";
  1688.         // line 1061
  1689.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("user_warehouse_product_request_take_charge", ["warehouseId" => CoreExtension::getAttribute($this->env$this->source, (isset($context["warehouse"]) || array_key_exists("warehouse"$context) ? $context["warehouse"] : (function () { throw new RuntimeError('Variable "warehouse" does not exist.'1061$this->source); })()), "id", [], "any"falsefalsefalse1061)]), "html"nulltrue);
  1690.         yield "\" method=\"post\">
  1691. \t\t\t\t\t<div class=\"modal-header\"><h3 class=\"modal-title\">Richiesta prodotti - Prendi in carico</h3></div>
  1692. \t\t\t\t\t<div class=\"modal-body\">
  1693. \t\t\t\t\t\t<input type=\"hidden\" id=\"product_request_take_charge_id\" name=\"productRequestId\">
  1694. \t\t\t\t\t\t<div class=\"row\">
  1695. \t\t\t\t\t\t\t<div class=\"col-12 txt_a_c\">
  1696. \t\t\t\t\t\t\t\t<label class=\"modal_subtitle\">Attenzione!</label><br>
  1697. \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 la richiesta.<br>Si Ã¨ sicuri di voler proseguire?</p>
  1698. \t\t\t\t\t\t\t</div>
  1699. \t\t\t\t\t\t</div>
  1700. \t\t\t\t\t</div>
  1701. \t\t\t\t\t<div class=\"modal-footer\">
  1702. \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>
  1703. \t\t\t\t\t\t<button type=\"submit\" class=\"button button-3d button-mini button-green f_right\">Conferma</button>
  1704. \t\t\t\t\t</div>
  1705. \t\t\t\t</form>
  1706. \t\t\t</div>
  1707. \t\t</div>
  1708. \t</div>
  1709. \t
  1710. \t";
  1711.         // line 1082
  1712.         yield "\t<div id=\"productRequestManagedModal\" class=\"modal fade\" tabindex=\"-1\" role=\"dialog\">
  1713. \t\t<div class=\"modal-dialog\" role=\"document\">
  1714. \t\t\t<div class=\"modal-content\">
  1715. \t\t\t\t<form action=\"";
  1716.         // line 1085
  1717.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("user_warehouse_product_request_managed", ["warehouseId" => CoreExtension::getAttribute($this->env$this->source, (isset($context["warehouse"]) || array_key_exists("warehouse"$context) ? $context["warehouse"] : (function () { throw new RuntimeError('Variable "warehouse" does not exist.'1085$this->source); })()), "id", [], "any"falsefalsefalse1085)]), "html"nulltrue);
  1718.         yield "\" method=\"post\">
  1719. \t\t\t\t\t<div class=\"modal-header\"><h3 class=\"modal-title\">Richiesta prodotti - Gestita</h3></div>
  1720. \t\t\t\t\t<div class=\"modal-body\">
  1721. \t\t\t\t\t\t<input type=\"hidden\" id=\"product_request_managed_id\" name=\"productRequestId\">
  1722. \t\t\t\t\t\t<div class=\"row\">
  1723. \t\t\t\t\t\t\t<div class=\"col-12 txt_a_c\">
  1724. \t\t\t\t\t\t\t\t<label class=\"modal_subtitle\">Attenzione!</label><br>
  1725. \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> dichiarerai gestita la richiesta.<br>Si Ã¨ sicuri di voler proseguire?</p>
  1726. \t\t\t\t\t\t\t</div>
  1727. \t\t\t\t\t\t</div>
  1728. \t\t\t\t\t</div>
  1729. \t\t\t\t\t<div class=\"modal-footer\">
  1730. \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>
  1731. \t\t\t\t\t\t<button type=\"submit\" class=\"button button-3d button-mini button-green f_right\">Conferma</button>
  1732. \t\t\t\t\t</div>
  1733. \t\t\t\t</form>
  1734. \t\t\t</div>
  1735. \t\t</div>
  1736. \t</div>
  1737. \t
  1738. \t";
  1739.         // line 1106
  1740.         yield "\t<div id=\"productRequestDeleteModal\" class=\"modal fade\" tabindex=\"-1\" role=\"dialog\">
  1741. \t\t<div class=\"modal-dialog\" role=\"document\">
  1742. \t\t\t<div class=\"modal-content\">
  1743. \t\t\t\t<form action=\"";
  1744.         // line 1109
  1745.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("user_warehouse_product_request_delete", ["warehouseId" => CoreExtension::getAttribute($this->env$this->source, (isset($context["warehouse"]) || array_key_exists("warehouse"$context) ? $context["warehouse"] : (function () { throw new RuntimeError('Variable "warehouse" does not exist.'1109$this->source); })()), "id", [], "any"falsefalsefalse1109)]), "html"nulltrue);
  1746.         yield "\" method=\"post\">
  1747. \t\t\t\t\t<div class=\"modal-header\"><h3 class=\"modal-title\">Richieste prodotto - Elimina</h3></div>
  1748. \t\t\t\t\t<div class=\"modal-body\">
  1749. \t\t\t\t\t\t<input type=\"hidden\" id=\"product_request_delete_id\" name=\"productRequestId\">
  1750. \t\t\t\t\t\t<div class=\"row\">
  1751. \t\t\t\t\t\t\t<div class=\"col-12 txt_a_c\">
  1752. \t\t\t\t\t\t\t\t<label class=\"modal_subtitle\">Attenzione!</label><br>
  1753. \t\t\t\t\t\t\t\t<p class=\"modal_paragraph\">Cliccando sul bottone <a class='button button-3d button-mini button-red' href='javascript:void(0)'>conferma</a> eliminerai la richiesta.<br>Si Ã¨ sicuri di voler proseguire?</p>
  1754. \t\t\t\t\t\t\t</div>
  1755. \t\t\t\t\t\t</div>
  1756. \t\t\t\t\t</div>
  1757. \t\t\t\t\t<div class=\"modal-footer\">
  1758. \t\t\t\t\t\t<a href=\"javascript:void(0)\" class=\"button button-3d button-mini button-green f_left\" data-bs-dismiss=\"modal\">Annulla</a>
  1759. \t\t\t\t\t\t<button type=\"submit\" class=\"button button-3d button-mini button-red f_right\">Conferma</button>
  1760. \t\t\t\t\t</div>
  1761. \t\t\t\t</form>
  1762. \t\t\t</div>
  1763. \t\t</div>
  1764. \t</div>
  1765. ";
  1766.         
  1767.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  1768.         
  1769.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  1770.         return; yield '';
  1771.     }
  1772.     // line 200
  1773.     public function block_tableStocks($context, array $blocks = [])
  1774.     {
  1775.         $macros $this->macros;
  1776.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  1777.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""tableStocks"));
  1778.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  1779.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""tableStocks"));
  1780.         // line 201
  1781.         yield "\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"row\">
  1782. \t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"col-12\">
  1783. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
  1784.         // line 203
  1785.         if (CoreExtension::getAttribute($this->env$this->source, (isset($context["multipleSelection"]) || array_key_exists("multipleSelection"$context) ? $context["multipleSelection"] : (function () { throw new RuntimeError('Variable "multipleSelection" does not exist.'203$this->source); })()), 0, [], "array"falsefalsefalse203)) {
  1786.             // line 204
  1787.             yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
  1788.             if (CoreExtension::inFilter("print"CoreExtension::getAttribute($this->env$this->source, (isset($context["multipleSelection"]) || array_key_exists("multipleSelection"$context) ? $context["multipleSelection"] : (function () { throw new RuntimeError('Variable "multipleSelection" does not exist.'204$this->source); })()), 2, [], "array"falsefalsefalse204))) {
  1789.                 yield "<a id=\"button_";
  1790.                 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source, (isset($context["multipleSelection"]) || array_key_exists("multipleSelection"$context) ? $context["multipleSelection"] : (function () { throw new RuntimeError('Variable "multipleSelection" does not exist.'204$this->source); })()), 1, [], "array"falsefalsefalse204), "html"nulltrue);
  1791.                 yield "_print\" href=\"javascript: void(0)\" class=\"button button-3d button-mini button-grey f_right m_b_10p p_tb4_lr6\"><i class=\"icon-print d-block d-lg-none m_r_none\" data-bs-toggle=\"tooltip\" title=\"Stampa etichette\"></i><span class=\"d-none d-lg-block\">Stampa etichette</span></a>";
  1792.             }
  1793.             // line 205
  1794.             yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
  1795.             if (CoreExtension::inFilter("condition"CoreExtension::getAttribute($this->env$this->source, (isset($context["multipleSelection"]) || array_key_exists("multipleSelection"$context) ? $context["multipleSelection"] : (function () { throw new RuntimeError('Variable "multipleSelection" does not exist.'205$this->source); })()), 2, [], "array"falsefalsefalse205))) {
  1796.                 yield "<a id=\"button_";
  1797.                 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source, (isset($context["multipleSelection"]) || array_key_exists("multipleSelection"$context) ? $context["multipleSelection"] : (function () { throw new RuntimeError('Variable "multipleSelection" does not exist.'205$this->source); })()), 1, [], "array"falsefalsefalse205), "html"nulltrue);
  1798.                 yield "_condition\" href=\"javascript: void(0)\" class=\"button button-3d button-mini button-grey f_right m_b_10p p_tb4_lr6\"><i class=\"icon-line-alert-circle d-block d-lg-none m_r_none\" data-bs-toggle=\"tooltip\" title=\"Cambia condizione\"></i><span class=\"d-none d-lg-block\">Cambia condizione</span></a>";
  1799.             }
  1800.             // line 206
  1801.             yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
  1802.             if (CoreExtension::inFilter("supplier"CoreExtension::getAttribute($this->env$this->source, (isset($context["multipleSelection"]) || array_key_exists("multipleSelection"$context) ? $context["multipleSelection"] : (function () { throw new RuntimeError('Variable "multipleSelection" does not exist.'206$this->source); })()), 2, [], "array"falsefalsefalse206))) {
  1803.                 yield "<a id=\"button_";
  1804.                 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source, (isset($context["multipleSelection"]) || array_key_exists("multipleSelection"$context) ? $context["multipleSelection"] : (function () { throw new RuntimeError('Variable "multipleSelection" does not exist.'206$this->source); })()), 1, [], "array"falsefalsefalse206), "html"nulltrue);
  1805.                 yield "_supplier\" href=\"javascript: void(0)\" class=\"button button-3d button-mini button-grey f_right m_b_10p p_tb4_lr6\"><i class=\"icon-hand-holding d-block d-lg-none m_r_none\" data-bs-toggle=\"tooltip\" title=\"Modifica fornitori\"></i><span class=\"d-none d-lg-block\">Modifica fornitori</span></a>";
  1806.             }
  1807.             // line 207
  1808.             yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
  1809.             if (CoreExtension::inFilter("send"CoreExtension::getAttribute($this->env$this->source, (isset($context["multipleSelection"]) || array_key_exists("multipleSelection"$context) ? $context["multipleSelection"] : (function () { throw new RuntimeError('Variable "multipleSelection" does not exist.'207$this->source); })()), 2, [], "array"falsefalsefalse207))) {
  1810.                 yield "<a id=\"button_";
  1811.                 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source, (isset($context["multipleSelection"]) || array_key_exists("multipleSelection"$context) ? $context["multipleSelection"] : (function () { throw new RuntimeError('Variable "multipleSelection" does not exist.'207$this->source); })()), 1, [], "array"falsefalsefalse207), "html"nulltrue);
  1812.                 yield "_send\" href=\"javascript: void(0)\" class=\"button button-3d button-mini button-grey f_right m_b_10p p_tb4_lr6\"><i class=\"icon-line-send d-block d-lg-none m_r_none\" data-bs-toggle=\"tooltip\" title=\"Invia materiale\"></i><span class=\"d-none d-lg-block\">Invia materiale</span></a>";
  1813.             }
  1814.             // line 208
  1815.             yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
  1816.             if (CoreExtension::inFilter("export"CoreExtension::getAttribute($this->env$this->source, (isset($context["multipleSelection"]) || array_key_exists("multipleSelection"$context) ? $context["multipleSelection"] : (function () { throw new RuntimeError('Variable "multipleSelection" does not exist.'208$this->source); })()), 2, [], "array"falsefalsefalse208))) {
  1817.                 yield "<a href=\"";
  1818.                 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("user_warehouse_stocks_export_csv_for_send", ["warehouseId" => CoreExtension::getAttribute($this->env$this->source, (isset($context["warehouse"]) || array_key_exists("warehouse"$context) ? $context["warehouse"] : (function () { throw new RuntimeError('Variable "warehouse" does not exist.'208$this->source); })()), "id", [], "any"falsefalsefalse208), "status" => (isset($context["status"]) || array_key_exists("status"$context) ? $context["status"] : (function () { throw new RuntimeError('Variable "status" does not exist.'208$this->source); })())]), "html"nulltrue);
  1819.                 yield "\" class=\"button button-3d button-mini button-amber f_right m_b_10p p_tb4_lr6\"><i class=\"icon-line-send d-block d-lg-none m_r_none\" data-bs-toggle=\"tooltip\" title=\"Esporta per invio\"></i><span class=\"d-none d-lg-block\">Esporta per invio</span></a>";
  1820.             }
  1821.             // line 209
  1822.             yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
  1823.         }
  1824.         // line 210
  1825.         yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t</div>
  1826. \t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"col-12 overflow_a\">
  1827. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<table class=\"table table-sm table-bordered responsive_font_size v_a_m\">
  1828. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<thead>
  1829. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<tr>
  1830. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<form method=\"get\" action=\"";
  1831.         // line 215
  1832.         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, (isset($context["warehouse"]) || array_key_exists("warehouse"$context) ? $context["warehouse"] : (function () { throw new RuntimeError('Variable "warehouse" does not exist.'215$this->source); })()), "id", [], "any"falsefalsefalse215)]), "html"nulltrue);
  1833.         yield "\" id=\"formFilter_1\">
  1834. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td ";
  1835.         // line 216
  1836.         if (CoreExtension::getAttribute($this->env$this->source, (isset($context["multipleSelection"]) || array_key_exists("multipleSelection"$context) ? $context["multipleSelection"] : (function () { throw new RuntimeError('Variable "multipleSelection" does not exist.'216$this->source); })()), 0, [], "array"falsefalsefalse216)) {
  1837.             yield "colspan=\"2\"";
  1838.         }
  1839.         yield "><a href=\"";
  1840.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("remove_filter", ["route" => CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source, (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'216$this->source); })()), "request", [], "any"falsefalsefalse216), "attributes", [], "any"falsefalsefalse216), "get", ["_route"], "method"falsefalsefalse216), "route_params" => CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source, (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'216$this->source); })()), "request", [], "any"falsefalsefalse216), "attributes", [], "any"falsefalsefalse216), "get", ["_route_params"], "method"falsefalsefalse216)]), "html"nulltrue);
  1841.         yield "\" class=\"f_right\" data-bs-toggle=\"tooltip\" title=\"Escludi filtro\"><img class=\"icon_action icon_red\" src=\"";
  1842.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl((isset($context["icon_delete"]) || array_key_exists("icon_delete"$context) ? $context["icon_delete"] : (function () { throw new RuntimeError('Variable "icon_delete" does not exist.'216$this->source); })())), "html"nulltrue);
  1843.         yield "\"></a></td>
  1844. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td class=\"td_w_150p\"><input type=\"text\" inputmode=\"search\" class=\"form-control\" name=\"codeProducer_1\" value=\"";
  1845.         // line 217
  1846.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(((CoreExtension::getAttribute($this->env$this->source, ($context["filters"] ?? null), "codeProducer_1", [], "any"truetruefalse217)) ? (Twig\Extension\CoreExtension::default(CoreExtension::getAttribute($this->env$this->source, ($context["filters"] ?? null), "codeProducer_1", [], "any"falsefalsefalse217))) : ("")), "html"nulltrue);
  1847.         yield "\" data-bs-toggle=\"tooltip\" title=\"Puoi effettuare ricerche multiple inserendo valori separati da virgola [Es. 1234,5678,901 o 1234, 5678, 901]\"/></td>
  1848. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td class=\"td_w_180p\"><input type=\"text\" inputmode=\"search\" class=\"form-control\" name=\"model_1\" value=\"";
  1849.         // line 218
  1850.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(((CoreExtension::getAttribute($this->env$this->source, ($context["filters"] ?? null), "model_1", [], "any"truetruefalse218)) ? (Twig\Extension\CoreExtension::default(CoreExtension::getAttribute($this->env$this->source, ($context["filters"] ?? null), "model_1", [], "any"falsefalsefalse218))) : ("")), "html"nulltrue);
  1851.         yield "\"/></td>
  1852. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td class=\"td_w_120p\"><input type=\"text\" class=\"form-control\" id=\"filter_supplier_value_";
  1853.         // line 219
  1854.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((isset($context["number"]) || array_key_exists("number"$context) ? $context["number"] : (function () { throw new RuntimeError('Variable "number" does not exist.'219$this->source); })()), "html"nulltrue);
  1855.         yield "\" readonly onClick=\"filterSuppliers";
  1856.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((isset($context["number"]) || array_key_exists("number"$context) ? $context["number"] : (function () { throw new RuntimeError('Variable "number" does not exist.'219$this->source); })()), "html"nulltrue);
  1857.         yield "()\" data-bs-toggle=\"tooltip\"/><input type=\"hidden\" id=\"filter_supplier_id_";
  1858.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((isset($context["number"]) || array_key_exists("number"$context) ? $context["number"] : (function () { throw new RuntimeError('Variable "number" does not exist.'219$this->source); })()), "html"nulltrue);
  1859.         yield "\" name=\"supplier_1\" value=\"";
  1860.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(((CoreExtension::getAttribute($this->env$this->source, ($context["filters"] ?? null), "supplier_1", [], "any"truetruefalse219)) ? (Twig\Extension\CoreExtension::default(CoreExtension::getAttribute($this->env$this->source, ($context["filters"] ?? null), "supplier_1", [], "any"falsefalsefalse219))) : ("")), "html"nulltrue);
  1861.         yield "\"/></td>
  1862. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td class=\"td_w_120p\"><input type=\"text\" inputmode=\"search\" class=\"form-control\" name=\"condition_1\" value=\"";
  1863.         // line 220
  1864.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(((CoreExtension::getAttribute($this->env$this->source, ($context["filters"] ?? null), "condition_1", [], "any"truetruefalse220)) ? (Twig\Extension\CoreExtension::default(CoreExtension::getAttribute($this->env$this->source, ($context["filters"] ?? null), "condition_1", [], "any"falsefalsefalse220))) : ("")), "html"nulltrue);
  1865.         yield "\"/></td>
  1866. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td class=\"td_w_90p\"><input type=\"text\" inputmode=\"search\" class=\"form-control\" name=\"producer_1\" value=\"";
  1867.         // line 221
  1868.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(((CoreExtension::getAttribute($this->env$this->source, ($context["filters"] ?? null), "producer_1", [], "any"truetruefalse221)) ? (Twig\Extension\CoreExtension::default(CoreExtension::getAttribute($this->env$this->source, ($context["filters"] ?? null), "producer_1", [], "any"falsefalsefalse221))) : ("")), "html"nulltrue);
  1869.         yield "\"/></td>
  1870. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td class=\"td_w_150p\"><input type=\"text\" inputmode=\"search\" class=\"form-control\" name=\"codeSupplier_1\" value=\"";
  1871.         // line 222
  1872.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(((CoreExtension::getAttribute($this->env$this->source, ($context["filters"] ?? null), "codeSupplier_1", [], "any"truetruefalse222)) ? (Twig\Extension\CoreExtension::default(CoreExtension::getAttribute($this->env$this->source, ($context["filters"] ?? null), "codeSupplier_1", [], "any"falsefalsefalse222))) : ("")), "html"nulltrue);
  1873.         yield "\"/></td>
  1874. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td class=\"td_w_120p\"><input type=\"text\" inputmode=\"search\" class=\"form-control\" name=\"sku_1\" value=\"";
  1875.         // line 223
  1876.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(((CoreExtension::getAttribute($this->env$this->source, ($context["filters"] ?? null), "sku_1", [], "any"truetruefalse223)) ? (Twig\Extension\CoreExtension::default(CoreExtension::getAttribute($this->env$this->source, ($context["filters"] ?? null), "sku_1", [], "any"falsefalsefalse223))) : ("")), "html"nulltrue);
  1877.         yield "\"/></td>
  1878. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td class=\"td_w_120p\"><input type=\"text\" class=\"form-control daterange1last font_12\" id=\"daterange1last_";
  1879.         // line 224
  1880.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((isset($context["number"]) || array_key_exists("number"$context) ? $context["number"] : (function () { throw new RuntimeError('Variable "number" does not exist.'224$this->source); })()), "html"nulltrue);
  1881.         yield "\" inputmode=\"search\" autocomplete=\"off\" name=\"dateLastTransfer_1\" style=\"height: 38px\" date-filter=\"range\"/></td>
  1882. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td class=\"td_w_60p\"><input type=\"text\" inputmode=\"search\" class=\"form-control\" name=\"ddt_1\" value=\"";
  1883.         // line 225
  1884.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(((CoreExtension::getAttribute($this->env$this->source, ($context["filters"] ?? null), "ddt_1", [], "any"truetruefalse225)) ? (Twig\Extension\CoreExtension::default(CoreExtension::getAttribute($this->env$this->source, ($context["filters"] ?? null), "ddt_1", [], "any"falsefalsefalse225))) : ("")), "html"nulltrue);
  1885.         yield "\"/></td>
  1886. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td class=\"td_w_60p\">
  1887. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<button type=\"submit\" class=\"btn bg_w f_left p_0p\" data-bs-toggle=\"tooltip\" title=\"Filtra\"><img class=\"icon_action icon_green\" src=\"";
  1888.         // line 227
  1889.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl((isset($context["icon_search"]) || array_key_exists("icon_search"$context) ? $context["icon_search"] : (function () { throw new RuntimeError('Variable "icon_search" does not exist.'227$this->source); })())), "html"nulltrue);
  1890.         yield "\"></button>
  1891. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<a href=\"";
  1892.         // line 228
  1893.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("user_warehouse_stocks_export_csv_filtered", ["warehouseId" => CoreExtension::getAttribute($this->env$this->source, (isset($context["warehouse"]) || array_key_exists("warehouse"$context) ? $context["warehouse"] : (function () { throw new RuntimeError('Variable "warehouse" does not exist.'228$this->source); })()), "id", [], "any"falsefalsefalse228), "status" => (isset($context["status"]) || array_key_exists("status"$context) ? $context["status"] : (function () { throw new RuntimeError('Variable "status" does not exist.'228$this->source); })())]), "html"nulltrue);
  1894.         yield "\" class=\"f_right\" data-bs-toggle=\"tooltip\" title=\"Esporta filtrati\"><img class=\"icon_action icon_amber\" src=\"";
  1895.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl((isset($context["icon_xls"]) || array_key_exists("icon_xls"$context) ? $context["icon_xls"] : (function () { throw new RuntimeError('Variable "icon_xls" does not exist.'228$this->source); })())), "html"nulltrue);
  1896.         yield "\"></a>
  1897. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</td>
  1898. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<input type=\"hidden\" name=\"filter_tab\" value=\"";
  1899.         // line 230
  1900.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((isset($context["tab"]) || array_key_exists("tab"$context) ? $context["tab"] : (function () { throw new RuntimeError('Variable "tab" does not exist.'230$this->source); })()), "html"nulltrue);
  1901.         yield "\">
  1902. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<input id=\"sort_field_1\" type=\"hidden\" name=\"sortField_1\" value=\"";
  1903.         // line 231
  1904.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(((CoreExtension::getAttribute($this->env$this->source, ($context["filters"] ?? null), "sortField_1", [], "any"truetruefalse231)) ? (Twig\Extension\CoreExtension::default(CoreExtension::getAttribute($this->env$this->source, ($context["filters"] ?? null), "sortField_1", [], "any"falsefalsefalse231))) : ("")), "html"nulltrue);
  1905.         yield "\"/>
  1906. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<input id=\"sort_order_1\" type=\"hidden\" name=\"sortOrder_1\" value=\"";
  1907.         // line 232
  1908.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(((CoreExtension::getAttribute($this->env$this->source, ($context["filters"] ?? null), "sortOrder_1", [], "any"truetruefalse232)) ? (Twig\Extension\CoreExtension::default(CoreExtension::getAttribute($this->env$this->source, ($context["filters"] ?? null), "sortOrder_1", [], "any"falsefalsefalse232))) : ("")), "html"nulltrue);
  1909.         yield "\"/>
  1910. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</form>
  1911. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</tr>
  1912. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<tr class=\"bg_pr color_w\">
  1913. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<th class=\"td_w_20p\"></th>
  1914. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
  1915.         // line 237
  1916.         if (CoreExtension::getAttribute($this->env$this->source, (isset($context["multipleSelection"]) || array_key_exists("multipleSelection"$context) ? $context["multipleSelection"] : (function () { throw new RuntimeError('Variable "multipleSelection" does not exist.'237$this->source); })()), 0, [], "array"falsefalsefalse237)) {
  1917.             // line 238
  1918.             yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<th class=\"td_w_20p\">
  1919. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"switch\" data-bs-toggle=\"tooltip\" title=\"Seleziona tutti\">
  1920. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<input id=\"stock_";
  1921.             // line 240
  1922.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source, (isset($context["multipleSelection"]) || array_key_exists("multipleSelection"$context) ? $context["multipleSelection"] : (function () { throw new RuntimeError('Variable "multipleSelection" does not exist.'240$this->source); })()), 1, [], "array"falsefalsefalse240), "html"nulltrue);
  1923.             yield "_all_checkboxes\" class=\"switch-toggle switch-flat-mini switch-toggle-flat\" type=\"checkbox\" onChange=\"javascript: selectAll(";
  1924.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source, (isset($context["multipleSelection"]) || array_key_exists("multipleSelection"$context) ? $context["multipleSelection"] : (function () { throw new RuntimeError('Variable "multipleSelection" does not exist.'240$this->source); })()), 1, [], "array"falsefalsefalse240), "html"nulltrue);
  1925.             yield ", '";
  1926.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((isset($context["tab"]) || array_key_exists("tab"$context) ? $context["tab"] : (function () { throw new RuntimeError('Variable "tab" does not exist.'240$this->source); })()), "html"nulltrue);
  1927.             yield "')\">
  1928. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<label for=\"stock_";
  1929.             // line 241
  1930.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source, (isset($context["multipleSelection"]) || array_key_exists("multipleSelection"$context) ? $context["multipleSelection"] : (function () { throw new RuntimeError('Variable "multipleSelection" does not exist.'241$this->source); })()), 1, [], "array"falsefalsefalse241), "html"nulltrue);
  1931.             yield "_all_checkboxes\" class=\"m_b_none\"></label>
  1932. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</div>
  1933. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</th>
  1934. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
  1935.         }
  1936.         // line 245
  1937.         yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<th>Matr. produttore<button type=\"button\" onClick=\"setOrderBy1('p.codeProducer')\" data-orderField=\"p.codeProducer\" class=\"f_right filter_arrow_1\"><img width=\"18\" data-bs-toggle=\"tooltip\" title=\"Ordina in ordine alfabetico\"></button></th>
  1938. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<th>Modello<button type=\"button\" onClick=\"setOrderBy1('m.name')\" data-orderField=\"m.name\" class=\"f_right filter_arrow_1\"><img width=\"18\" data-bs-toggle=\"tooltip\" title=\"Ordina in ordine alfabetico\"></button></th>
  1939. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<th>Fornitori</th>
  1940. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<th>Condizione<br>(Ultimi riferimenti)<button type=\"button\" onClick=\"setOrderBy1('c.value')\" data-orderField=\"c.value\" class=\"f_right filter_arrow_1\"><img width=\"18\" data-bs-toggle=\"tooltip\" title=\"Ordina in ordine alfabetico\"></button></th>
  1941. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<th>Produttore<button type=\"button\" onClick=\"setOrderBy1('pr.name')\" data-orderField=\"pr.name\" class=\"f_right filter_arrow_1\"><img width=\"18\" data-bs-toggle=\"tooltip\" title=\"Ordina in ordine alfabetico\"></button></th>
  1942. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<th>Matr. fornitore<button type=\"button\" onClick=\"setOrderBy1('p.codeSupplier')\" data-orderField=\"p.codeSupplier\" class=\"f_right filter_arrow_1\"><img width=\"18\" data-bs-toggle=\"tooltip\" title=\"Ordina in ordine alfabetico\"></button></th>
  1943. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<th>SKU<button type=\"button\" onClick=\"setOrderBy1('m.sku')\" data-orderField=\"m.sku\" class=\"f_right filter_arrow_1\"><img width=\"18\" data-bs-toggle=\"tooltip\" title=\"Ordina in ordine alfabetico\"></button></th>
  1944. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<th>Data ultimo trasf.<button type=\"button\" onClick=\"setOrderBy1('p.dateLastTransfer')\" data-orderField=\"p.dateLastTransfer\" class=\"f_right filter_arrow_1\"><img width=\"18\" data-bs-toggle=\"tooltip\" title=\"Ordina in ordine alfabetico\"></button></th>
  1945. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<th colspan=\"2\">DDT</th>
  1946. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</tr>
  1947. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</thead>
  1948. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<tbody>
  1949. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
  1950.         // line 257
  1951.         if ((Twig\Extension\CoreExtension::length($this->env->getCharset(), (isset($context["products"]) || array_key_exists("products"$context) ? $context["products"] : (function () { throw new RuntimeError('Variable "products" does not exist.'257$this->source); })())) > 0)) {
  1952.             // line 258
  1953.             yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
  1954.             $context['_parent'] = $context;
  1955.             $context['_seq'] = CoreExtension::ensureTraversable((isset($context["products"]) || array_key_exists("products"$context) ? $context["products"] : (function () { throw new RuntimeError('Variable "products" does not exist.'258$this->source); })()));
  1956.             foreach ($context['_seq'] as $context["_key"] => $context["product"]) {
  1957.                 // line 259
  1958.                 yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
  1959.                 $context["first"] = true;
  1960.                 // line 260
  1961.                 yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
  1962.                 $context["suppliersString"] = "";
  1963.                 // line 261
  1964.                 yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
  1965.                 $context['_parent'] = $context;
  1966.                 $context['_seq'] = CoreExtension::ensureTraversable(CoreExtension::getAttribute($this->env$this->source$context["product"], "suppliers", [], "any"falsefalsefalse261));
  1967.                 foreach ($context['_seq'] as $context["_key"] => $context["supplier"]) {
  1968.                     // line 262
  1969.                     yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
  1970.                     if ((isset($context["first"]) || array_key_exists("first"$context) ? $context["first"] : (function () { throw new RuntimeError('Variable "first" does not exist.'262$this->source); })())) {
  1971.                         $context["first"] = false;
  1972.                     } else {
  1973.                         $context["suppliersString"] = ((isset($context["suppliersString"]) || array_key_exists("suppliersString"$context) ? $context["suppliersString"] : (function () { throw new RuntimeError('Variable "suppliersString" does not exist.'262$this->source); })()) . "-");
  1974.                     }
  1975.                     // line 263
  1976.                     yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
  1977.                     $context["suppliersString"] = ((isset($context["suppliersString"]) || array_key_exists("suppliersString"$context) ? $context["suppliersString"] : (function () { throw new RuntimeError('Variable "suppliersString" does not exist.'263$this->source); })()) . CoreExtension::getAttribute($this->env$this->source$context["supplier"], "id", [], "any"falsefalsefalse263));
  1978.                     // line 264
  1979.                     yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
  1980.                 }
  1981.                 $_parent $context['_parent'];
  1982.                 unset($context['_seq'], $context['_iterated'], $context['_key'], $context['supplier'], $context['_parent'], $context['loop']);
  1983.                 $context array_intersect_key($context$_parent) + $_parent;
  1984.                 // line 265
  1985.                 yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<input type=\"hidden\" id=\"suppliers_ids_string\" value=\"";
  1986.                 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((isset($context["suppliersString"]) || array_key_exists("suppliersString"$context) ? $context["suppliersString"] : (function () { throw new RuntimeError('Variable "suppliersString" does not exist.'265$this->source); })()), "html"nulltrue);
  1987.                 yield "\">
  1988. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<tr ";
  1989.                 // line 266
  1990.                 if (CoreExtension::getAttribute($this->env$this->source$context["product"], "toManage", [], "any"falsefalsefalse266)) {
  1991.                     yield "class=\"bg_to_manage_";
  1992.                     yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source$context["product"], "toManagePriority", [], "any"falsefalsefalse266), "html"nulltrue);
  1993.                     yield "\"";
  1994.                 }
  1995.                 yield ">
  1996. \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=\"";
  1997.                 // line 267
  1998.                 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["product"], "id", [], "any"falsefalsefalse267)]), "html"nulltrue);
  1999.                 yield "\" data-bs-toggle=\"tooltip\" title=\"Scheda\"><img class=\"icon_action icon_pr\" src=\"";
  2000.                 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.'267$this->source); })())), "html"nulltrue);
  2001.                 yield "\"></a></td>
  2002. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
  2003.                 // line 268
  2004.                 if (CoreExtension::getAttribute($this->env$this->source, (isset($context["multipleSelection"]) || array_key_exists("multipleSelection"$context) ? $context["multipleSelection"] : (function () { throw new RuntimeError('Variable "multipleSelection" does not exist.'268$this->source); })()), 0, [], "array"falsefalsefalse268)) {
  2005.                     // line 269
  2006.                     yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td>
  2007. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"switch\">
  2008. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<input id=\"stock_checkbox_";
  2009.                     // line 271
  2010.                     yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source$context["product"], "id", [], "any"falsefalsefalse271), "html"nulltrue);
  2011.                     yield "\" class=\"switch-toggle switch-flat-mini switch-toggle-flat stock_";
  2012.                     yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source, (isset($context["multipleSelection"]) || array_key_exists("multipleSelection"$context) ? $context["multipleSelection"] : (function () { throw new RuntimeError('Variable "multipleSelection" does not exist.'271$this->source); })()), 1, [], "array"falsefalsefalse271), "html"nulltrue);
  2013.                     yield "_checkbox\" type=\"checkbox\" value=\"";
  2014.                     yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source$context["product"], "id", [], "any"falsefalsefalse271), "html"nulltrue);
  2015.                     yield "\" onChange=\"javascript: updateButtons(";
  2016.                     yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source, (isset($context["multipleSelection"]) || array_key_exists("multipleSelection"$context) ? $context["multipleSelection"] : (function () { throw new RuntimeError('Variable "multipleSelection" does not exist.'271$this->source); })()), 1, [], "array"falsefalsefalse271), "html"nulltrue);
  2017.                     yield ", '";
  2018.                     yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((isset($context["tab"]) || array_key_exists("tab"$context) ? $context["tab"] : (function () { throw new RuntimeError('Variable "tab" does not exist.'271$this->source); })()), "html"nulltrue);
  2019.                     yield "')\">
  2020. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<label for=\"stock_checkbox_";
  2021.                     // line 272
  2022.                     yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source$context["product"], "id", [], "any"falsefalsefalse272), "html"nulltrue);
  2023.                     yield "\" class=\"m_b_none\"></label>
  2024. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</div>
  2025. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</td>
  2026. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
  2027.                 }
  2028.                 // line 276
  2029.                 yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td id=\"product_codeProducer_";
  2030.                 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source$context["product"], "id", [], "any"falsefalsefalse276), "html"nulltrue);
  2031.                 yield "\">";
  2032.                 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(((CoreExtension::getAttribute($this->env$this->source$context["product"], "codeProducer", [], "any"truetruefalse276)) ? (Twig\Extension\CoreExtension::default(CoreExtension::getAttribute($this->env$this->source$context["product"], "codeProducer", [], "any"falsefalsefalse276), "---")) : ("---")), "html"nulltrue);
  2033.                 yield "</td>
  2034. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td id=\"product_model_";
  2035.                 // line 277
  2036.                 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source$context["product"], "id", [], "any"falsefalsefalse277), "html"nulltrue);
  2037.                 yield "\">";
  2038.                 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source$context["product"], "model", [], "any"falsefalsefalse277), "name", [], "any"falsefalsefalse277), "html"nulltrue);
  2039.                 yield "</td>
  2040. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td>";
  2041.                 // line 278
  2042.                 yield CoreExtension::getAttribute($this->env$this->source$context["product"], "displaySuppliers", [], "method"falsefalsefalse278);
  2043.                 yield "</td>
  2044. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td>";
  2045.                 // line 279
  2046.                 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source$context["product"], "displayCondition", ["string-short"], "method"falsefalsefalse279), "html"nulltrue);
  2047.                 yield "
  2048. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
  2049.                 // line 280
  2050.                 if (( !(null === CoreExtension::getAttribute($this->env$this->source$context["product"], "getLastTicket", [], "any"falsefalsefalse280)) && ((isset($context["tab"]) || array_key_exists("tab"$context) ? $context["tab"] : (function () { throw new RuntimeError('Variable "tab" does not exist.'280$this->source); })()) == "s_not_available"))) {
  2051.                     yield "<a href=\"";
  2052.                     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->sourceCoreExtension::getAttribute($this->env$this->source$context["product"], "getLastTicket", [], "any"falsefalsefalse280), "id", [], "any"falsefalsefalse280)]), "html"nulltrue);
  2053.                     yield "\" target=\"_blank\">";
  2054.                     yield CoreExtension::getAttribute($this->env$this->source$context["product"], "displayLastRefs", [], "any"falsefalsefalse280);
  2055.                     yield "</a>";
  2056.                 }
  2057.                 // line 281
  2058.                 yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</td>
  2059. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td>";
  2060.                 // line 282
  2061.                 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source$context["product"], "model", [], "any"falsefalsefalse282), "producer", [], "any"falsefalsefalse282), "html"nulltrue);
  2062.                 yield "</td>
  2063. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td id=\"product_codeSupplier_";
  2064.                 // line 283
  2065.                 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source$context["product"], "id", [], "any"falsefalsefalse283), "html"nulltrue);
  2066.                 yield "\">";
  2067.                 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(((CoreExtension::getAttribute($this->env$this->source$context["product"], "codeSupplier", [], "any"truetruefalse283)) ? (Twig\Extension\CoreExtension::default(CoreExtension::getAttribute($this->env$this->source$context["product"], "codeSupplier", [], "any"falsefalsefalse283), "---")) : ("---")), "html"nulltrue);
  2068.                 yield "</td>
  2069. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td>";
  2070.                 // line 284
  2071.                 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source$context["product"], "model", [], "any"falsefalsefalse284), "sku", [], "any"falsefalsefalse284), "html"nulltrue);
  2072.                 yield "</td>
  2073. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td>";
  2074.                 // line 285
  2075.                 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Twig\Extension\CoreExtension']->formatDate(CoreExtension::getAttribute($this->env$this->source$context["product"], "dateLastTransfer", [], "any"falsefalsefalse285), "d-m-Y H:i"), "html"nulltrue);
  2076.                 yield "</td>
  2077. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td colspan=\"2\">";
  2078.                 // line 286
  2079.                 yield CoreExtension::getAttribute($this->env$this->source$context["product"], "displayTransfersDdt", [], "method"falsefalsefalse286);
  2080.                 yield "</td>
  2081. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</tr>
  2082. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
  2083.             }
  2084.             $_parent $context['_parent'];
  2085.             unset($context['_seq'], $context['_iterated'], $context['_key'], $context['product'], $context['_parent'], $context['loop']);
  2086.             $context array_intersect_key($context$_parent) + $_parent;
  2087.             // line 289
  2088.             yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
  2089.         } else {
  2090.             // line 290
  2091.             yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
  2092.             yield from             $this->loadTemplate("components/twig/notice_no_values.html.twig""role/user/warehouse/sheet.html.twig"290)->unwrap()->yield(CoreExtension::merge($context, ["message" => "Nessun prodotto in questo stato"]));
  2093.             // line 291
  2094.             yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
  2095.         }
  2096.         // line 292
  2097.         yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</tbody>
  2098. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</table>
  2099. \t\t\t\t\t\t\t\t\t\t\t\t\t\t</div>
  2100. \t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"col-12 navigation txt_a_r\">
  2101. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
  2102.         // line 296
  2103.         yield $this->extensions['Knp\Bundle\PaginatorBundle\Twig\Extension\PaginationExtension']->render($this->env, (isset($context["products"]) || array_key_exists("products"$context) ? $context["products"] : (function () { throw new RuntimeError('Variable "products" does not exist.'296$this->source); })()));
  2104.         yield "
  2105. \t\t\t\t\t\t\t\t\t\t\t\t\t\t</div>
  2106. \t\t\t\t\t\t\t\t\t\t\t\t\t</div>
  2107. \t\t\t\t\t\t\t\t\t\t\t\t";
  2108.         
  2109.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  2110.         
  2111.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  2112.         return; yield '';
  2113.     }
  2114.     // line 347
  2115.     public function block_tableTransfers($context, array $blocks = [])
  2116.     {
  2117.         $macros $this->macros;
  2118.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  2119.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""tableTransfers"));
  2120.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  2121.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""tableTransfers"));
  2122.         // line 348
  2123.         yield "\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"row\">
  2124. \t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"col-12 overflow_a\">
  2125. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<table class=\"table table-bordered table-hover responsive_font_size\">
  2126. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<thead>
  2127. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<tr>
  2128. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<form method=\"get\" action=\"";
  2129.         // line 353
  2130.         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, (isset($context["warehouse"]) || array_key_exists("warehouse"$context) ? $context["warehouse"] : (function () { throw new RuntimeError('Variable "warehouse" does not exist.'353$this->source); })()), "id", [], "any"falsefalsefalse353)]), "html"nulltrue);
  2131.         yield "\" id=\"formFilter_2\">
  2132. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td colspan=\"2\"><a href=\"";
  2133.         // line 354
  2134.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("remove_filter", ["route" => CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source, (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'354$this->source); })()), "request", [], "any"falsefalsefalse354), "attributes", [], "any"falsefalsefalse354), "get", ["_route"], "method"falsefalsefalse354), "route_params" => CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source, (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'354$this->source); })()), "request", [], "any"falsefalsefalse354), "attributes", [], "any"falsefalsefalse354), "get", ["_route_params"], "method"falsefalsefalse354)]), "html"nulltrue);
  2135.         yield "\" class=\"f_right\" data-bs-toggle=\"tooltip\" title=\"Escludi filtro\"><img class=\"icon_action icon_red\" src=\"";
  2136.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl((isset($context["icon_delete"]) || array_key_exists("icon_delete"$context) ? $context["icon_delete"] : (function () { throw new RuntimeError('Variable "icon_delete" does not exist.'354$this->source); })())), "html"nulltrue);
  2137.         yield "\"></a></td>
  2138. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td class=\"td_w_100p\"><input type=\"text\" class=\"form-control daterange2creation font_12\" id=\"daterange2creation_";
  2139.         // line 355
  2140.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((isset($context["number"]) || array_key_exists("number"$context) ? $context["number"] : (function () { throw new RuntimeError('Variable "number" does not exist.'355$this->source); })()), "html"nulltrue);
  2141.         yield "\" inputmode=\"search\" autocomplete=\"off\" name=\"datetimeCreation_2\" style=\"height: 38px\" date-filter=\"range\"/></td>
  2142. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td class=\"td_w_100p\"><input type=\"text\" class=\"form-control daterange2send font_12\" id=\"daterange2send_";
  2143.         // line 356
  2144.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((isset($context["number"]) || array_key_exists("number"$context) ? $context["number"] : (function () { throw new RuntimeError('Variable "number" does not exist.'356$this->source); })()), "html"nulltrue);
  2145.         yield "\" inputmode=\"search\" autocomplete=\"off\" name=\"datetimeSend_2\" style=\"height: 38px\" date-filter=\"range\"/></td>
  2146. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td class=\"td_w_100p\"><input type=\"text\" class=\"form-control daterange2completion font_12\" id=\"daterange2completion_";
  2147.         // line 357
  2148.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((isset($context["number"]) || array_key_exists("number"$context) ? $context["number"] : (function () { throw new RuntimeError('Variable "number" does not exist.'357$this->source); })()), "html"nulltrue);
  2149.         yield "\" inputmode=\"search\" autocomplete=\"off\" name=\"datetimeCompletion_2\" style=\"height: 38px\" date-filter=\"range\"/></td>
  2150. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td class=\"td_w_200p\"><input type=\"text\" class=\"form-control\" inputmode=\"search\" name=\"warehouseFrom_2\" value=\"";
  2151.         // line 358
  2152.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(((CoreExtension::getAttribute($this->env$this->source, ($context["filters"] ?? null), "warehouseFrom_2", [], "any"truetruefalse358)) ? (Twig\Extension\CoreExtension::default(CoreExtension::getAttribute($this->env$this->source, ($context["filters"] ?? null), "warehouseFrom_2", [], "any"falsefalsefalse358))) : ("")), "html"nulltrue);
  2153.         yield "\"/></td>
  2154. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td class=\"td_w_200p\"><input type=\"text\" class=\"form-control\" inputmode=\"search\" name=\"warehouseTo_2\" value=\"";
  2155.         // line 359
  2156.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(((CoreExtension::getAttribute($this->env$this->source, ($context["filters"] ?? null), "warehouseTo_2", [], "any"truetruefalse359)) ? (Twig\Extension\CoreExtension::default(CoreExtension::getAttribute($this->env$this->source, ($context["filters"] ?? null), "warehouseTo_2", [], "any"falsefalsefalse359))) : ("")), "html"nulltrue);
  2157.         yield "\"/></td>
  2158. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td class=\"td_w_80p\"><input type=\"text\" class=\"form-control\" inputmode=\"search\" name=\"ddt_2\" value=\"";
  2159.         // line 360
  2160.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(((CoreExtension::getAttribute($this->env$this->source, ($context["filters"] ?? null), "ddt_2", [], "any"truetruefalse360)) ? (Twig\Extension\CoreExtension::default(CoreExtension::getAttribute($this->env$this->source, ($context["filters"] ?? null), "ddt_2", [], "any"falsefalsefalse360))) : ("")), "html"nulltrue);
  2161.         yield "\"/></td>
  2162. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td class=\"td_w_100p\"><input type=\"text\" class=\"form-control\" inputmode=\"search\" name=\"stockOrder_2\" value=\"";
  2163.         // line 361
  2164.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(((CoreExtension::getAttribute($this->env$this->source, ($context["filters"] ?? null), "stockOrder_2", [], "any"truetruefalse361)) ? (Twig\Extension\CoreExtension::default(CoreExtension::getAttribute($this->env$this->source, ($context["filters"] ?? null), "stockOrder_2", [], "any"falsefalsefalse361))) : ("")), "html"nulltrue);
  2165.         yield "\"/></td>
  2166. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td class=\"td_w_20p\"><button type=\"submit\" class=\"btn bg_w f_left p_0p\" data-bs-toggle=\"tooltip\" title=\"Filtra\"><img class=\"icon_action icon_green\" src=\"";
  2167.         // line 362
  2168.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl((isset($context["icon_search"]) || array_key_exists("icon_search"$context) ? $context["icon_search"] : (function () { throw new RuntimeError('Variable "icon_search" does not exist.'362$this->source); })())), "html"nulltrue);
  2169.         yield "\"></button></td>\t
  2170. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<input type=\"hidden\" name=\"filter_tab\" value=\"";
  2171.         // line 363
  2172.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((isset($context["tabType"]) || array_key_exists("tabType"$context) ? $context["tabType"] : (function () { throw new RuntimeError('Variable "tabType" does not exist.'363$this->source); })()), "html"nulltrue);
  2173.         yield "\">
  2174. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<input id=\"sort_field_2\" type=\"hidden\" name=\"sortField_2\" value=\"";
  2175.         // line 364
  2176.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(((CoreExtension::getAttribute($this->env$this->source, ($context["filters"] ?? null), "sortField_2", [], "any"truetruefalse364)) ? (Twig\Extension\CoreExtension::default(CoreExtension::getAttribute($this->env$this->source, ($context["filters"] ?? null), "sortField_2", [], "any"falsefalsefalse364))) : ("")), "html"nulltrue);
  2177.         yield "\"/>
  2178. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<input id=\"sort_order_2\" type=\"hidden\" name=\"sortOrder_2\" value=\"";
  2179.         // line 365
  2180.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(((CoreExtension::getAttribute($this->env$this->source, ($context["filters"] ?? null), "sortOrder_2", [], "any"truetruefalse365)) ? (Twig\Extension\CoreExtension::default(CoreExtension::getAttribute($this->env$this->source, ($context["filters"] ?? null), "sortOrder_2", [], "any"falsefalsefalse365))) : ("")), "html"nulltrue);
  2181.         yield "\"/>
  2182. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</form>
  2183. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</tr>
  2184. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<tr class=\"bg_pr color_w\">
  2185. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<th rowspan=\"2\" class=\"td_w_20p\"></th>
  2186. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<th rowspan=\"2\" class=\"td_w_100p v_a_m\">Fase<button type=\"button\" onClick=\"setOrderBy2('p.phase')\" data-orderField=\"p.phase\" class=\"f_right filter_arrow_2\"><img width=\"18\" data-bs-toggle=\"tooltip\" title=\"Ordina in ordine alfabetico\"></button></th>
  2187. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<th colspan=\"3\" class=\"txt_a_c p_025rem\">Data/ora</th>
  2188. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<th rowspan=\"2\" class=\"v_a_m\">Mag. partenza<button type=\"button\" onClick=\"setOrderBy2('wf.nickname')\" data-orderField=\"wf.nickname\" class=\"f_right filter_arrow_2\"><img width=\"18\" data-bs-toggle=\"tooltip\" title=\"Ordina in ordine alfabetico\"></button></th>
  2189. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<th rowspan=\"2\" class=\"v_a_m\">Mag. arrivo<button type=\"button\" onClick=\"setOrderBy2('wt.nickname')\" data-orderField=\"wt.nickname\" class=\"f_right filter_arrow_2\"><img width=\"18\" data-bs-toggle=\"tooltip\" title=\"Ordina in ordine alfabetico\"></button></th>
  2190. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<th rowspan=\"2\" class=\"v_a_m txt_a_c\">DDT<button type=\"button\" onClick=\"setOrderBy2('p.ddt')\" data-orderField=\"p.ddt\" class=\"f_right filter_arrow_2\"><img width=\"18\" data-bs-toggle=\"tooltip\" title=\"Ordina in ordine alfabetico\"></button></th>
  2191. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<th rowspan=\"2\" class=\"v_a_m\">Stock order<button type=\"button\" onClick=\"setOrderBy2('p.stockOrder')\" data-orderField=\"p.stockOrder\" class=\"f_right filter_arrow_2\"><img width=\"18\" data-bs-toggle=\"tooltip\" title=\"Ordina in ordine alfabetico\"></button></th>
  2192. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<th rowspan=\"2\"></th>
  2193. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</tr>
  2194. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<tr class=\"bg_pr color_w\">
  2195. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<th class=\"p_025rem txt_a_c\">Creazione<button type=\"button\" onClick=\"setOrderBy2('p.datetimeCreation')\" data-orderField=\"p.datetimeCreation\" class=\"f_right filter_arrow_2\"><img width=\"18\" data-bs-toggle=\"tooltip\" title=\"Ordina in ordine alfabetico\"></button></th>
  2196. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<th class=\"p_025rem txt_a_c\">Invio<button type=\"button\" onClick=\"setOrderBy2('p.datetimeSend')\" data-orderField=\"p.datetimeSend\" class=\"f_right filter_arrow_2\"><img width=\"18\" data-bs-toggle=\"tooltip\" title=\"Ordina in ordine alfabetico\"></button></th>
  2197. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<th class=\"p_025rem txt_a_c\">Completam";
  2198.         // line 381
  2199.         if ((CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source, (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'381$this->source); })()), "user", [], "any"falsefalsefalse381), "getAccountTypology", [], "method"falsefalsefalse381) != "technician")) {
  2200.             yield "ento";
  2201.         }
  2202.         yield "<button type=\"button\" onClick=\"setOrderBy2('p.datetimeCompletion')\" data-orderField=\"p.datetimeCompletion\" class=\"f_right filter_arrow_2\"><img width=\"18\" data-bs-toggle=\"tooltip\" title=\"Ordina in ordine alfabetico\"></button></th>
  2203. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</tr>
  2204. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</thead>
  2205. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<tbody>
  2206. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
  2207.         // line 385
  2208.         if ((Twig\Extension\CoreExtension::length($this->env->getCharset(), (isset($context["transfers"]) || array_key_exists("transfers"$context) ? $context["transfers"] : (function () { throw new RuntimeError('Variable "transfers" does not exist.'385$this->source); })())) > 0)) {
  2209.             // line 386
  2210.             yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
  2211.             $context['_parent'] = $context;
  2212.             $context['_seq'] = CoreExtension::ensureTraversable((isset($context["transfers"]) || array_key_exists("transfers"$context) ? $context["transfers"] : (function () { throw new RuntimeError('Variable "transfers" does not exist.'386$this->source); })()));
  2213.             foreach ($context['_seq'] as $context["_key"] => $context["pt"]) {
  2214.                 // line 387
  2215.                 yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<tr>
  2216. \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=\"";
  2217.                 // line 388
  2218.                 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, (isset($context["warehouse"]) || array_key_exists("warehouse"$context) ? $context["warehouse"] : (function () { throw new RuntimeError('Variable "warehouse" does not exist.'388$this->source); })()), "id", [], "any"falsefalsefalse388), "transferId" => CoreExtension::getAttribute($this->env$this->source$context["pt"], "id", [], "any"falsefalsefalse388)]), "html"nulltrue);
  2219.                 yield "\" data-bs-toggle=\"tooltip\" title=\"Scheda\"><img class=\"icon_action icon_pr\" src=\"";
  2220.                 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.'388$this->source); })())), "html"nulltrue);
  2221.                 yield "\"></a></td>
  2222. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td>";
  2223.                 // line 389
  2224.                 yield CoreExtension::getAttribute($this->env$this->source$context["pt"], "displayPhase", ["string"], "method"falsefalsefalse389);
  2225.                 yield "</td>
  2226. \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\">";
  2227.                 // line 390
  2228.                 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Twig\Extension\CoreExtension']->formatDate(CoreExtension::getAttribute($this->env$this->source$context["pt"], "datetimeCreation", [], "any"falsefalsefalse390), "d-m-Y H:i"), "html"nulltrue);
  2229.                 yield "</td>
  2230. \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\">";
  2231.                 // line 391
  2232.                 if ((CoreExtension::getAttribute($this->env$this->source$context["pt"], "datetimeSend", [], "any"falsefalsefalse391) != null)) {
  2233.                     yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Twig\Extension\CoreExtension']->formatDate(CoreExtension::getAttribute($this->env$this->source$context["pt"], "datetimeSend", [], "any"falsefalsefalse391), "d-m-Y H:i"), "html"nulltrue);
  2234.                 } else {
  2235.                     yield "---";
  2236.                 }
  2237.                 yield "</td>
  2238. \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\">";
  2239.                 // line 392
  2240.                 if ((CoreExtension::getAttribute($this->env$this->source$context["pt"], "datetimeCompletion", [], "any"falsefalsefalse392) != null)) {
  2241.                     yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Twig\Extension\CoreExtension']->formatDate(CoreExtension::getAttribute($this->env$this->source$context["pt"], "datetimeCompletion", [], "any"falsefalsefalse392), "d-m-Y H:i"), "html"nulltrue);
  2242.                 } else {
  2243.                     yield "---";
  2244.                 }
  2245.                 yield "</td>
  2246. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td>";
  2247.                 // line 393
  2248.                 if ((CoreExtension::getAttribute($this->env$this->source$context["pt"], "warehouseFrom", [], "any"falsefalsefalse393) != null)) {
  2249.                     yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source$context["pt"], "warehouseFrom", [], "any"falsefalsefalse393), "html"nulltrue);
  2250.                 } else {
  2251.                     yield "---";
  2252.                 }
  2253.                 yield "</td>
  2254. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td>";
  2255.                 // line 394
  2256.                 if ((CoreExtension::getAttribute($this->env$this->source$context["pt"], "warehouseTo", [], "any"falsefalsefalse394) != null)) {
  2257.                     yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source$context["pt"], "warehouseTo", [], "any"falsefalsefalse394), "html"nulltrue);
  2258.                 } else {
  2259.                     yield "---";
  2260.                 }
  2261.                 yield "</td>
  2262. \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\">";
  2263.                 // line 395
  2264.                 if ((CoreExtension::getAttribute($this->env$this->source$context["pt"], "ddtPath", [], "any"falsefalsefalse395) != null)) {
  2265.                     yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source$context["pt"], "ddt", [], "any"falsefalsefalse395), "html"nulltrue);
  2266.                 } else {
  2267.                     yield "---";
  2268.                 }
  2269.                 yield "</td>
  2270. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td>";
  2271.                 // line 396
  2272.                 if ((CoreExtension::getAttribute($this->env$this->source$context["pt"], "stockOrder", [], "any"falsefalsefalse396) != null)) {
  2273.                     yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source$context["pt"], "stockOrder", [], "any"falsefalsefalse396), "html"nulltrue);
  2274.                 } else {
  2275.                     yield "---";
  2276.                 }
  2277.                 yield "</td>
  2278. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
  2279.                 // line 397
  2280.                 if ((((CoreExtension::getAttribute($this->env$this->source, (isset($context["warehouse"]) || array_key_exists("warehouse"$context) ? $context["warehouse"] : (function () { throw new RuntimeError('Variable "warehouse" does not exist.'397$this->source); })()), "jtUser", [CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source, (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'397$this->source); })()), "user", [], "any"falsefalsefalse397), "id", [], "any"falsefalsefalse397)], "method"falsefalsefalse397) != null) && (CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source, (isset($context["warehouse"]) || array_key_exists("warehouse"$context) ? $context["warehouse"] : (function () { throw new RuntimeError('Variable "warehouse" does not exist.'397$this->source); })()), "jtUser", [CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source, (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'397$this->source); })()), "user", [], "any"falsefalsefalse397), "id", [], "any"falsefalsefalse397)], "method"falsefalsefalse397), "permission", [], "any"falsefalsefalse397) == "RW")) || CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source, (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'397$this->source); })()), "user", [], "any"falsefalsefalse397), "canWrite", ["warehouse"], "method"falsefalsefalse397))) {
  2281.                     // line 398
  2282.                     yield "\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\">
  2283. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
  2284.                     // line 399
  2285.                     if (((isset($context["tabType"]) || array_key_exists("tabType"$context) ? $context["tabType"] : (function () { throw new RuntimeError('Variable "tabType" does not exist.'399$this->source); })()) == "pt_incoming")) {
  2286.                         // line 400
  2287.                         yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
  2288.                         if ((CoreExtension::getAttribute($this->env$this->source$context["pt"], "type", [], "any"falsefalsefalse400) == "destination")) {
  2289.                             // line 401
  2290.                             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<a href=\"javascript: transferDelete(";
  2291.                             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source$context["pt"], "id", [], "any"falsefalsefalse401), "html"nulltrue);
  2292.                             yield ")\" data-bs-toggle=\"tooltip\" title=\"Elimina trasferimento\"><img class=\"icon_action icon_red\" src=\"";
  2293.                             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl((isset($context["icon_delete"]) || array_key_exists("icon_delete"$context) ? $context["icon_delete"] : (function () { throw new RuntimeError('Variable "icon_delete" does not exist.'401$this->source); })())), "html"nulltrue);
  2294.                             yield "\"></a>
  2295. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
  2296.                         }
  2297.                         // line 403
  2298.                         yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
  2299.                     } elseif (((isset($context["tabType"]) || array_key_exists("tabType"$context) ? $context["tabType"] : (function () { throw new RuntimeError('Variable "tabType" does not exist.'403$this->source); })()) == "pt_output")) {
  2300.                         // line 404
  2301.                         yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
  2302.                         if (CoreExtension::getAttribute($this->env$this->source$context["pt"], "hasProductsTransfered", [], "any"falsefalsefalse404)) {
  2303.                             // line 405
  2304.                             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<a href=\"javascript: void(0)\" data-bs-toggle=\"tooltip\" title=\"Impossibile eliminare, alcuni prodotti sono stati già trasferiti!\"><img class=\"icon_action icon_grey\" src=\"";
  2305.                             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl((isset($context["icon_delete"]) || array_key_exists("icon_delete"$context) ? $context["icon_delete"] : (function () { throw new RuntimeError('Variable "icon_delete" does not exist.'405$this->source); })())), "html"nulltrue);
  2306.                             yield "\"></a>
  2307. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
  2308.                         } else {
  2309.                             // line 407
  2310.                             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<a href=\"javascript: transferDelete(";
  2311.                             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source$context["pt"], "id", [], "any"falsefalsefalse407), "html"nulltrue);
  2312.                             yield ")\" data-bs-toggle=\"tooltip\" title=\"Elimina trasferimento\"><img class=\"icon_action icon_red\" src=\"";
  2313.                             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl((isset($context["icon_delete"]) || array_key_exists("icon_delete"$context) ? $context["icon_delete"] : (function () { throw new RuntimeError('Variable "icon_delete" does not exist.'407$this->source); })())), "html"nulltrue);
  2314.                             yield "\"></a>
  2315. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
  2316.                         }
  2317.                         // line 409
  2318.                         yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
  2319.                     }
  2320.                     // line 410
  2321.                     yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</td>
  2322. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
  2323.                 }
  2324.                 // line 412
  2325.                 yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</tr>
  2326. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
  2327.             }
  2328.             $_parent $context['_parent'];
  2329.             unset($context['_seq'], $context['_iterated'], $context['_key'], $context['pt'], $context['_parent'], $context['loop']);
  2330.             $context array_intersect_key($context$_parent) + $_parent;
  2331.             // line 414
  2332.             yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
  2333.         } else {
  2334.             // line 415
  2335.             yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
  2336.             yield from             $this->loadTemplate("components/twig/notice_no_values.html.twig""role/user/warehouse/sheet.html.twig"415)->unwrap()->yield(CoreExtension::merge($context, ["message" => "Nessuno trasferimento in questo stato"]));
  2337.             // line 416
  2338.             yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
  2339.         }
  2340.         // line 417
  2341.         yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</tbody>
  2342. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</table>
  2343. \t\t\t\t\t\t\t\t\t\t\t\t\t\t</div>
  2344. \t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"col-12 navigation txt_a_r\">
  2345. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
  2346.         // line 421
  2347.         yield $this->extensions['Knp\Bundle\PaginatorBundle\Twig\Extension\PaginationExtension']->render($this->env, (isset($context["transfers"]) || array_key_exists("transfers"$context) ? $context["transfers"] : (function () { throw new RuntimeError('Variable "transfers" does not exist.'421$this->source); })()));
  2348.         yield "
  2349. \t\t\t\t\t\t\t\t\t\t\t\t\t\t</div>
  2350. \t\t\t\t\t\t\t\t\t\t\t\t\t</div>
  2351. \t\t\t\t\t\t\t\t\t\t\t\t";
  2352.         
  2353.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  2354.         
  2355.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  2356.         return; yield '';
  2357.     }
  2358.     // line 522
  2359.     public function block_tableRequests($context, array $blocks = [])
  2360.     {
  2361.         $macros $this->macros;
  2362.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  2363.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""tableRequests"));
  2364.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  2365.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""tableRequests"));
  2366.         // line 523
  2367.         yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"row\">
  2368. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"col-12 overflow_a\">
  2369. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<table class=\"table table-bordered table-hover responsive_font_size\">
  2370. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<thead>
  2371. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<tr>
  2372. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<form method=\"get\" action=\"";
  2373.         // line 528
  2374.         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, (isset($context["warehouse"]) || array_key_exists("warehouse"$context) ? $context["warehouse"] : (function () { throw new RuntimeError('Variable "warehouse" does not exist.'528$this->source); })()), "id", [], "any"falsefalsefalse528)]), "html"nulltrue);
  2375.         yield "\" id=\"formFilter_3\">
  2376. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td class=\"td_w_40p txt_a_c\"><a href=\"";
  2377.         // line 529
  2378.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("remove_filter", ["route" => CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source, (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'529$this->source); })()), "request", [], "any"falsefalsefalse529), "attributes", [], "any"falsefalsefalse529), "get", ["_route"], "method"falsefalsefalse529), "route_params" => CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source, (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'529$this->source); })()), "request", [], "any"falsefalsefalse529), "attributes", [], "any"falsefalsefalse529), "get", ["_route_params"], "method"falsefalsefalse529)]), "html"nulltrue);
  2379.         yield "\" class=\"f_right\" data-bs-toggle=\"tooltip\" title=\"Escludi filtro\"><img class=\"icon_action icon_red\" src=\"";
  2380.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl((isset($context["icon_delete"]) || array_key_exists("icon_delete"$context) ? $context["icon_delete"] : (function () { throw new RuntimeError('Variable "icon_delete" does not exist.'529$this->source); })())), "html"nulltrue);
  2381.         yield "\"></a></td>
  2382. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td class=\"td_w_140p\"><input type=\"text\" class=\"form-control daterange3 font_12\" id=\"daterange3_";
  2383.         // line 530
  2384.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((isset($context["number"]) || array_key_exists("number"$context) ? $context["number"] : (function () { throw new RuntimeError('Variable "number" does not exist.'530$this->source); })()), "html"nulltrue);
  2385.         yield "\" inputmode=\"search\" autocomplete=\"off\" name=\"date_3\" style=\"height: 38px\" date-filter=\"range\"/></td>
  2386. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td><input type=\"text\" class=\"form-control\" inputmode=\"search\" name=\"technician_3\" value=\"";
  2387.         // line 531
  2388.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(((CoreExtension::getAttribute($this->env$this->source, ($context["filters"] ?? null), "technician_3", [], "any"truetruefalse531)) ? (Twig\Extension\CoreExtension::default(CoreExtension::getAttribute($this->env$this->source, ($context["filters"] ?? null), "technician_3", [], "any"falsefalsefalse531))) : ("")), "html"nulltrue);
  2389.         yield "\"/></td>
  2390. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td><input type=\"text\" class=\"form-control\" inputmode=\"search\" name=\"warehouse_3\" value=\"";
  2391.         // line 532
  2392.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(((CoreExtension::getAttribute($this->env$this->source, ($context["filters"] ?? null), "warehouse_3", [], "any"truetruefalse532)) ? (Twig\Extension\CoreExtension::default(CoreExtension::getAttribute($this->env$this->source, ($context["filters"] ?? null), "warehouse_3", [], "any"falsefalsefalse532))) : ("")), "html"nulltrue);
  2393.         yield "\"/></td>
  2394. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td colspan=\"4\" class=\"td_action\"><button type=\"submit\" class=\"btn bg_w f_left p_0p\" data-bs-toggle=\"tooltip\" title=\"Filtra\"><img class=\"icon_green\" src=\"";
  2395.         // line 533
  2396.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl((isset($context["icon_search"]) || array_key_exists("icon_search"$context) ? $context["icon_search"] : (function () { throw new RuntimeError('Variable "icon_search" does not exist.'533$this->source); })())), "html"nulltrue);
  2397.         yield "\"></button></td>\t
  2398. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<input type=\"hidden\" name=\"filter_tab\" value=\"";
  2399.         // line 534
  2400.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((isset($context["tabType"]) || array_key_exists("tabType"$context) ? $context["tabType"] : (function () { throw new RuntimeError('Variable "tabType" does not exist.'534$this->source); })()), "html"nulltrue);
  2401.         yield "\">
  2402. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<input id=\"sort_field_3\" type=\"hidden\" name=\"sortField_3\" value=\"";
  2403.         // line 535
  2404.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(((CoreExtension::getAttribute($this->env$this->source, ($context["filters"] ?? null), "sortField_3", [], "any"truetruefalse535)) ? (Twig\Extension\CoreExtension::default(CoreExtension::getAttribute($this->env$this->source, ($context["filters"] ?? null), "sortField_3", [], "any"falsefalsefalse535))) : ("")), "html"nulltrue);
  2405.         yield "\"/>
  2406. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<input id=\"sort_order_3\" type=\"hidden\" name=\"sortOrder_3\" value=\"";
  2407.         // line 536
  2408.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(((CoreExtension::getAttribute($this->env$this->source, ($context["filters"] ?? null), "sortOrder_3", [], "any"truetruefalse536)) ? (Twig\Extension\CoreExtension::default(CoreExtension::getAttribute($this->env$this->source, ($context["filters"] ?? null), "sortOrder_3", [], "any"falsefalsefalse536))) : ("")), "html"nulltrue);
  2409.         yield "\"/>
  2410. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</form>
  2411. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</tr>
  2412. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<tr class=\"bg_pr color_w\">
  2413. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<th colspan=\"2\" class=\"txt_a_c\">Data/Ora<button type=\"button\" onClick=\"setOrderBy3('pr.datetime')\" data-orderField=\"pr.datetime\" class=\"f_right filter_arrow_3\"><img width=\"18\" data-bs-toggle=\"tooltip\" title=\"Ordina in ordine alfabetico\"></button></th>
  2414. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<th class=\"td_w_200p\">Tecnico<button type=\"button\" onClick=\"setOrderBy3('p.surname')\" data-orderField=\"p.surname\" class=\"f_right filter_arrow_3\"><img width=\"18\" data-bs-toggle=\"tooltip\" title=\"Ordina in ordine alfabetico\"></button></th>
  2415. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
  2416.         // line 542
  2417.         if (CoreExtension::getAttribute($this->env$this->source, (isset($context["warehouse"]) || array_key_exists("warehouse"$context) ? $context["warehouse"] : (function () { throw new RuntimeError('Variable "warehouse" does not exist.'542$this->source); })()), "headquarter", [], "any"falsefalsefalse542)) {
  2418.             // line 543
  2419.             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_200p\">Mag. Tecnico<button type=\"button\" onClick=\"setOrderBy3('w.nickname')\" data-orderField=\"w.nickname\" class=\"f_right filter_arrow_3\"><img width=\"18\" data-bs-toggle=\"tooltip\" title=\"Ordina in ordine alfabetico\"></button></th>
  2420. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
  2421.         } else {
  2422.             // line 545
  2423.             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_200p\">Mag. Sede<button type=\"button\" onClick=\"setOrderBy3('wh.nickname')\" data-orderField=\"wh.nickname\" class=\"f_right filter_arrow_3\"><img width=\"18\" data-bs-toggle=\"tooltip\" title=\"Ordina in ordine alfabetico\"></button></th>
  2424. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
  2425.         }
  2426.         // line 547
  2427.         yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<th class=\"td_w_500p\">Prodotti</th>
  2428. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<th class=\"td_w_300p\">Note</th>
  2429. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<th class=\"td_action\"></th>
  2430. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
  2431.         // line 550
  2432.         if (((((isset($context["tabAction"]) || array_key_exists("tabAction"$context) ? $context["tabAction"] : (function () { throw new RuntimeError('Variable "tabAction" does not exist.'550$this->source); })()) == "delete") || ((isset($context["tabAction"]) || array_key_exists("tabAction"$context) ? $context["tabAction"] : (function () { throw new RuntimeError('Variable "tabAction" does not exist.'550$this->source); })()) == "take_charge")) || ((isset($context["tabAction"]) || array_key_exists("tabAction"$context) ? $context["tabAction"] : (function () { throw new RuntimeError('Variable "tabAction" does not exist.'550$this->source); })()) == "complete"))) {
  2433.             yield "<th colspan=\"2\"></th>";
  2434.         }
  2435.         // line 551
  2436.         yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</tr>
  2437. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</thead>
  2438. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<tbody>
  2439. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
  2440.         // line 554
  2441.         if ((Twig\Extension\CoreExtension::length($this->env->getCharset(), (isset($context["requests"]) || array_key_exists("requests"$context) ? $context["requests"] : (function () { throw new RuntimeError('Variable "requests" does not exist.'554$this->source); })())) > 0)) {
  2442.             // line 555
  2443.             yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
  2444.             $context['_parent'] = $context;
  2445.             $context['_seq'] = CoreExtension::ensureTraversable((isset($context["requests"]) || array_key_exists("requests"$context) ? $context["requests"] : (function () { throw new RuntimeError('Variable "requests" does not exist.'555$this->source); })()));
  2446.             foreach ($context['_seq'] as $context["_key"] => $context["pr"]) {
  2447.                 // line 556
  2448.                 yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<input type=\"hidden\" id=\"request_warehouse_id\" value=\"";
  2449.                 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source$context["pr"], "warehouse", [], "any"falsefalsefalse556), "id", [], "any"falsefalsefalse556), "html"nulltrue);
  2450.                 yield "\">
  2451. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<input type=\"hidden\" id=\"request_warehouse_nickname\" value=\"";
  2452.                 // line 557
  2453.                 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source$context["pr"], "warehouse", [], "any"falsefalsefalse557), "nickname", [], "any"falsefalsefalse557), "html"nulltrue);
  2454.                 yield "\">
  2455. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<input type=\"hidden\" id=\"request_";
  2456.                 // line 558
  2457.                 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source$context["pr"], "id", [], "any"falsefalsefalse558), "html"nulltrue);
  2458.                 yield "_datetime\" value=\"";
  2459.                 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Twig\Extension\CoreExtension']->formatDate(CoreExtension::getAttribute($this->env$this->source$context["pr"], "datetime", [], "any"falsefalsefalse558), "d-m-Y H:i"), "html"nulltrue);
  2460.                 yield "\">
  2461. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<input type=\"hidden\" id=\"request_";
  2462.                 // line 559
  2463.                 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source$context["pr"], "id", [], "any"falsefalsefalse559), "html"nulltrue);
  2464.                 yield "_technician\" value=\"";
  2465.                 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source$context["pr"], "technician", [], "any"falsefalsefalse559), "html"nulltrue);
  2466.                 yield "\">
  2467. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<input type=\"hidden\" id=\"request_";
  2468.                 // line 560
  2469.                 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source$context["pr"], "id", [], "any"falsefalsefalse560), "html"nulltrue);
  2470.                 yield "_warehouse\" value=\"";
  2471.                 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source$context["pr"], "warehouse", [], "any"falsefalsefalse560), "nickname", [], "any"falsefalsefalse560), "html"nulltrue);
  2472.                 yield "\">
  2473. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<input type=\"hidden\" id=\"request_";
  2474.                 // line 561
  2475.                 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source$context["pr"], "id", [], "any"falsefalsefalse561), "html"nulltrue);
  2476.                 yield "_warehouse_headquarter\" value=\"";
  2477.                 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source$context["pr"], "warehouseHeadquarter", [], "any"falsefalsefalse561), "nickname", [], "any"falsefalsefalse561), "html"nulltrue);
  2478.                 yield "\">
  2479. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<input type=\"hidden\" id=\"request_";
  2480.                 // line 562
  2481.                 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source$context["pr"], "id", [], "any"falsefalsefalse562), "html"nulltrue);
  2482.                 yield "_notes\" value=\"";
  2483.                 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source$context["pr"], "notes", [], "any"falsefalsefalse562), "html"nulltrue);
  2484.                 yield "\">
  2485. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<tr>
  2486. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td colspan=\"2\" class=\"txt_a_c\">";
  2487.                 // line 564
  2488.                 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Twig\Extension\CoreExtension']->formatDate(CoreExtension::getAttribute($this->env$this->source$context["pr"], "datetime", [], "any"falsefalsefalse564), "d-m-Y H:i"), "html"nulltrue);
  2489.                 yield "</td>
  2490. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td>";
  2491.                 // line 565
  2492.                 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source$context["pr"], "technician", [], "any"falsefalsefalse565), "html"nulltrue);
  2493.                 yield "</td>
  2494. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
  2495.                 // line 566
  2496.                 if (CoreExtension::getAttribute($this->env$this->source, (isset($context["warehouse"]) || array_key_exists("warehouse"$context) ? $context["warehouse"] : (function () { throw new RuntimeError('Variable "warehouse" does not exist.'566$this->source); })()), "headquarter", [], "any"falsefalsefalse566)) {
  2497.                     // line 567
  2498.                     yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td>";
  2499.                     yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source$context["pr"], "warehouse", [], "any"falsefalsefalse567), "html"nulltrue);
  2500.                     yield "</td>
  2501. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
  2502.                 } else {
  2503.                     // line 569
  2504.                     yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td>";
  2505.                     yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source$context["pr"], "warehouseHeadquarter", [], "any"falsefalsefalse569), "html"nulltrue);
  2506.                     yield "</td>
  2507. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
  2508.                 }
  2509.                 // line 571
  2510.                 yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td>";
  2511.                 yield CoreExtension::getAttribute($this->env$this->source$context["pr"], "displayDetails", [], "any"falsefalsefalse571);
  2512.                 yield "</td>
  2513. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td>";
  2514.                 // line 572
  2515.                 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source$context["pr"], "notes", [], "any"falsefalsefalse572), "html"nulltrue);
  2516.                 yield "</td>
  2517. \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=\"javascript: productRequestSheet(";
  2518.                 // line 573
  2519.                 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source$context["pr"], "id", [], "any"falsefalsefalse573), "html"nulltrue);
  2520.                 yield ")\" data-bs-toggle=\"tooltip\" title=\"Scheda\"><img class=\"icon_pr\" src=\"";
  2521.                 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.'573$this->source); })())), "html"nulltrue);
  2522.                 yield "\"></a></td>
  2523. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
  2524.                 // line 574
  2525.                 if (((isset($context["tabAction"]) || array_key_exists("tabAction"$context) ? $context["tabAction"] : (function () { throw new RuntimeError('Variable "tabAction" does not exist.'574$this->source); })()) == "delete")) {
  2526.                     // line 575
  2527.                     yield "\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=\"javascript: productRequestDelete(";
  2528.                     yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source$context["pr"], "id", [], "any"falsefalsefalse575), "html"nulltrue);
  2529.                     yield ")\" data-bs-toggle=\"tooltip\" title=\"Elimina\"><img class=\"icon_red\" src=\"";
  2530.                     yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl((isset($context["icon_delete"]) || array_key_exists("icon_delete"$context) ? $context["icon_delete"] : (function () { throw new RuntimeError('Variable "icon_delete" does not exist.'575$this->source); })())), "html"nulltrue);
  2531.                     yield "\"></a></td>
  2532. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
  2533.                 } elseif ((                // line 576
  2534. (isset($context["tabAction"]) || array_key_exists("tabAction"$context) ? $context["tabAction"] : (function () { throw new RuntimeError('Variable "tabAction" does not exist.'576$this->source); })()) == "take_charge")) {
  2535.                     // line 577
  2536.                     yield "\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=\"javascript: productRequestTakeCharge(";
  2537.                     yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source$context["pr"], "id", [], "any"falsefalsefalse577), "html"nulltrue);
  2538.                     yield ")\" data-bs-toggle=\"tooltip\" title=\"Prendi in carico\"><img class=\"icon_green\" src=\"";
  2539.                     yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl((isset($context["icon_thumb_up"]) || array_key_exists("icon_thumb_up"$context) ? $context["icon_thumb_up"] : (function () { throw new RuntimeError('Variable "icon_thumb_up" does not exist.'577$this->source); })())), "html"nulltrue);
  2540.                     yield "\"></a></td>
  2541. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
  2542.                 } elseif ((                // line 578
  2543. (isset($context["tabAction"]) || array_key_exists("tabAction"$context) ? $context["tabAction"] : (function () { throw new RuntimeError('Variable "tabAction" does not exist.'578$this->source); })()) == "complete")) {
  2544.                     // line 579
  2545.                     yield "\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=\"javascript: productRequestManaged(";
  2546.                     yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source$context["pr"], "id", [], "any"falsefalsefalse579), "html"nulltrue);
  2547.                     yield ")\" data-bs-toggle=\"tooltip\" title=\"Richiesta gestita\"><img class=\"icon_green\" src=\"";
  2548.                     yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl((isset($context["icon_select"]) || array_key_exists("icon_select"$context) ? $context["icon_select"] : (function () { throw new RuntimeError('Variable "icon_select" does not exist.'579$this->source); })())), "html"nulltrue);
  2549.                     yield "\"></a></td>
  2550. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
  2551.                 }
  2552.                 // line 581
  2553.                 yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</tr>
  2554. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
  2555.             }
  2556.             $_parent $context['_parent'];
  2557.             unset($context['_seq'], $context['_iterated'], $context['_key'], $context['pr'], $context['_parent'], $context['loop']);
  2558.             $context array_intersect_key($context$_parent) + $_parent;
  2559.             // line 583
  2560.             yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
  2561.         } else {
  2562.             // line 584
  2563.             yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
  2564.             yield from             $this->loadTemplate("components/twig/notice_no_values.html.twig""role/user/warehouse/sheet.html.twig"584)->unwrap()->yield(CoreExtension::merge($context, ["message" => "Nessuna richiesta in questa fase"]));
  2565.             // line 585
  2566.             yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
  2567.         }
  2568.         // line 586
  2569.         yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</tbody>
  2570. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</table>
  2571. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</div>
  2572. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"col-12 navigation txt_a_r\">
  2573. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
  2574.         // line 590
  2575.         yield $this->extensions['Knp\Bundle\PaginatorBundle\Twig\Extension\PaginationExtension']->render($this->env, (isset($context["requests"]) || array_key_exists("requests"$context) ? $context["requests"] : (function () { throw new RuntimeError('Variable "requests" does not exist.'590$this->source); })()));
  2576.         yield "
  2577. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</div>
  2578. \t\t\t\t\t\t\t\t\t\t\t\t\t\t</div>
  2579. \t\t\t\t\t\t\t\t\t\t\t\t\t";
  2580.         
  2581.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  2582.         
  2583.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  2584.         return; yield '';
  2585.     }
  2586.     // line 1130
  2587.     public function block_modals($context, array $blocks = [])
  2588.     {
  2589.         $macros $this->macros;
  2590.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  2591.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""modals"));
  2592.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  2593.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""modals"));
  2594.         // line 1131
  2595.         yield "\t";
  2596.         yield from         $this->loadTemplate("components/modals/filter_supplier.html.twig""role/user/warehouse/sheet.html.twig"1131)->unwrap()->yield(CoreExtension::merge($context, ["number" => 0"suppliers" => (isset($context["suppliers"]) || array_key_exists("suppliers"$context) ? $context["suppliers"] : (function () { throw new RuntimeError('Variable "suppliers" does not exist.'1131$this->source); })())]));
  2597.         // line 1132
  2598.         yield "\t";
  2599.         yield from         $this->loadTemplate("components/modals/filter_supplier.html.twig""role/user/warehouse/sheet.html.twig"1132)->unwrap()->yield(CoreExtension::merge($context, ["number" => 1"suppliers" => (isset($context["suppliers"]) || array_key_exists("suppliers"$context) ? $context["suppliers"] : (function () { throw new RuntimeError('Variable "suppliers" does not exist.'1132$this->source); })())]));
  2600.         // line 1133
  2601.         yield "\t";
  2602.         yield from         $this->loadTemplate("components/modals/filter_supplier.html.twig""role/user/warehouse/sheet.html.twig"1133)->unwrap()->yield(CoreExtension::merge($context, ["number" => 2"suppliers" => (isset($context["suppliers"]) || array_key_exists("suppliers"$context) ? $context["suppliers"] : (function () { throw new RuntimeError('Variable "suppliers" does not exist.'1133$this->source); })())]));
  2603.         // line 1134
  2604.         yield "\t";
  2605.         yield from         $this->loadTemplate("components/modals/filter_supplier.html.twig""role/user/warehouse/sheet.html.twig"1134)->unwrap()->yield(CoreExtension::merge($context, ["number" => 3"suppliers" => (isset($context["suppliers"]) || array_key_exists("suppliers"$context) ? $context["suppliers"] : (function () { throw new RuntimeError('Variable "suppliers" does not exist.'1134$this->source); })())]));
  2606.         // line 1135
  2607.         yield "
  2608. \t";
  2609.         // line 1137
  2610.         yield "\t";
  2611.         $context["editWarehouseModalBody"] = ('' === $tmp \Twig\Extension\CoreExtension::captureOutput((function () use (&$context$macros$blocks) {
  2612.             // line 1138
  2613.             yield "\t\t<input type=\"hidden\" id=\"warehouseEditId\" name=\"warehouseEditId\"/>
  2614. \t\t<div class=\"row\">
  2615. \t\t\t<div class=\"col-12 form-group\">
  2616. \t\t\t\t<label class=\"form_label\">Nome*</label>
  2617. \t\t\t\t<div ";
  2618.             // line 1142
  2619.             yield $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(CoreExtension::getAttribute($this->env$this->source, (isset($context["formEdit"]) || array_key_exists("formEdit"$context) ? $context["formEdit"] : (function () { throw new RuntimeError('Variable "formEdit" does not exist.'1142$this->source); })()), "nickname", [], "any"falsefalsefalse1142), 'errors');
  2620.             yield ">
  2621. \t\t\t\t\t";
  2622.             // line 1143
  2623.             yield $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(CoreExtension::getAttribute($this->env$this->source, (isset($context["formEdit"]) || array_key_exists("formEdit"$context) ? $context["formEdit"] : (function () { throw new RuntimeError('Variable "formEdit" does not exist.'1143$this->source); })()), "nickname", [], "any"falsefalsefalse1143), 'widget');
  2624.             yield "
  2625. \t\t\t\t</div>
  2626. \t\t\t</div>
  2627. \t\t\t<div class=\"col-12 form-group\">
  2628. \t\t\t\t<label class=\"form_label\">Indirizzo DDT*</label>
  2629. \t\t\t\t<div ";
  2630.             // line 1148
  2631.             yield $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(CoreExtension::getAttribute($this->env$this->source, (isset($context["formEdit"]) || array_key_exists("formEdit"$context) ? $context["formEdit"] : (function () { throw new RuntimeError('Variable "formEdit" does not exist.'1148$this->source); })()), "address", [], "any"falsefalsefalse1148), 'errors');
  2632.             yield ">
  2633. \t\t\t\t\t";
  2634.             // line 1149
  2635.             yield $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(CoreExtension::getAttribute($this->env$this->source, (isset($context["formEdit"]) || array_key_exists("formEdit"$context) ? $context["formEdit"] : (function () { throw new RuntimeError('Variable "formEdit" does not exist.'1149$this->source); })()), "address", [], "any"falsefalsefalse1149), 'widget');
  2636.             yield "
  2637. \t\t\t\t</div>
  2638. \t\t\t</div>
  2639. \t\t\t<div class=\"col-12 col-md-6 form-group\">
  2640. \t\t\t\t<label class=\"form_label\">Sede centrale</label>
  2641. \t\t\t\t<div ";
  2642.             // line 1154
  2643.             yield $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(CoreExtension::getAttribute($this->env$this->source, (isset($context["formEdit"]) || array_key_exists("formEdit"$context) ? $context["formEdit"] : (function () { throw new RuntimeError('Variable "formEdit" does not exist.'1154$this->source); })()), "headquarter", [], "any"falsefalsefalse1154), 'errors');
  2644.             yield ">
  2645. \t\t\t\t\t<table class=\"m_none\">
  2646. \t\t\t\t\t\t<tr>
  2647. \t\t\t\t\t\t\t<td class=\"txt_a_l\"><label class=\"m_b_none m_r_10p l_s_none f_w_500\">No</label></td>
  2648. \t\t\t\t\t\t\t<td>";
  2649.             // line 1158
  2650.             yield $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(CoreExtension::getAttribute($this->env$this->source, (isset($context["formEdit"]) || array_key_exists("formEdit"$context) ? $context["formEdit"] : (function () { throw new RuntimeError('Variable "formEdit" does not exist.'1158$this->source); })()), "headquarter", [], "any"falsefalsefalse1158), 'widget', ["attr" => ["class" => "switch-toggle switch-flat-mini switch-toggle-flat"]]);
  2651.             yield "<label class=\"m_auto\" for=\"";
  2652.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source, (isset($context["formEdit"]) || array_key_exists("formEdit"$context) ? $context["formEdit"] : (function () { throw new RuntimeError('Variable "formEdit" does not exist.'1158$this->source); })()), "headquarter", [], "any"falsefalsefalse1158), "vars", [], "any"falsefalsefalse1158), "id", [], "any"falsefalsefalse1158), "html"nulltrue);
  2653.             yield "\"></label></td>
  2654. \t\t\t\t\t\t\t<td class=\"txt_a_l\"><label class=\"m_b_none m_l_10p l_s_none f_w_500\">Sì</label></td>
  2655. \t\t\t\t\t\t</tr>
  2656. \t\t\t\t\t</table>
  2657. \t\t\t\t</div>
  2658. \t\t\t</div>
  2659. \t\t\t<div class=\"col-12 col-md-6 form-group\">
  2660. \t\t\t\t<label class=\"form_label\">Magazzino mobile</label>
  2661. \t\t\t\t<div ";
  2662.             // line 1166
  2663.             yield $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(CoreExtension::getAttribute($this->env$this->source, (isset($context["formEdit"]) || array_key_exists("formEdit"$context) ? $context["formEdit"] : (function () { throw new RuntimeError('Variable "formEdit" does not exist.'1166$this->source); })()), "movable", [], "any"falsefalsefalse1166), 'errors');
  2664.             yield ">
  2665. \t\t\t\t\t<table class=\"m_none\">
  2666. \t\t\t\t\t\t<tr>
  2667. \t\t\t\t\t\t\t<td class=\"txt_a_l\"><label class=\"m_b_none m_r_10p l_s_none f_w_500\">No</label></td>
  2668. \t\t\t\t\t\t\t<td>";
  2669.             // line 1170
  2670.             yield $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(CoreExtension::getAttribute($this->env$this->source, (isset($context["formEdit"]) || array_key_exists("formEdit"$context) ? $context["formEdit"] : (function () { throw new RuntimeError('Variable "formEdit" does not exist.'1170$this->source); })()), "movable", [], "any"falsefalsefalse1170), 'widget', ["attr" => ["class" => "switch-toggle switch-flat-mini switch-toggle-flat"]]);
  2671.             yield "<label class=\"m_auto\" for=\"";
  2672.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source, (isset($context["formEdit"]) || array_key_exists("formEdit"$context) ? $context["formEdit"] : (function () { throw new RuntimeError('Variable "formEdit" does not exist.'1170$this->source); })()), "movable", [], "any"falsefalsefalse1170), "vars", [], "any"falsefalsefalse1170), "id", [], "any"falsefalsefalse1170), "html"nulltrue);
  2673.             yield "\"></label></td>
  2674. \t\t\t\t\t\t\t<td class=\"txt_a_l\"><label class=\"m_b_none m_l_10p l_s_none f_w_500\">Sì</label></td>
  2675. \t\t\t\t\t\t</tr>
  2676. \t\t\t\t\t</table>
  2677. \t\t\t\t</div>
  2678. \t\t\t</div>
  2679. \t\t</div>
  2680. \t";
  2681.             return; yield '';
  2682.         })())) ? '' : new Markup($tmp$this->env->getCharset());
  2683.         // line 1178
  2684.         yield "\t";
  2685.         $context["editWarehouseScriptBody"] = ('' === $tmp \Twig\Extension\CoreExtension::captureOutput((function () use (&$context$macros$blocks) {
  2686.             return; yield '';
  2687.         })())) ? '' : new Markup($tmp$this->env->getCharset());
  2688.         // line 1179
  2689.         yield "\t";
  2690.         yield from         $this->loadTemplate("components/modals/edit.html.twig""role/user/warehouse/sheet.html.twig"1179)->unwrap()->yield(CoreExtension::merge($context, ["type" => "warehouse""form" => (isset($context["formEdit"]) || array_key_exists("formEdit"$context) ? $context["formEdit"] : (function () { throw new RuntimeError('Variable "formEdit" does not exist.'1179$this->source); })()), "text" => "Magazzino""modalBody" => (isset($context["editWarehouseModalBody"]) || array_key_exists("editWarehouseModalBody"$context) ? $context["editWarehouseModalBody"] : (function () { throw new RuntimeError('Variable "editWarehouseModalBody" does not exist.'1179$this->source); })()), "scriptBody" => (isset($context["editWarehouseScriptBody"]) || array_key_exists("editWarehouseScriptBody"$context) ? $context["editWarehouseScriptBody"] : (function () { throw new RuntimeError('Variable "editWarehouseScriptBody" does not exist.'1179$this->source); })()), "openModal" => "openEditModal""id" => ""]));
  2691.         
  2692.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  2693.         
  2694.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  2695.         return; yield '';
  2696.     }
  2697.     // line 1182
  2698.     public function block_javascripts($context, array $blocks = [])
  2699.     {
  2700.         $macros $this->macros;
  2701.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  2702.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""javascripts"));
  2703.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  2704.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""javascripts"));
  2705.         // line 1183
  2706.         yield from $this->yieldParentBlock("javascripts"$context$blocks);
  2707.         yield "
  2708. ";
  2709.         // line 1184
  2710.         yield from         $this->loadTemplate("components/js/upload_file_js.html.twig""role/user/warehouse/sheet.html.twig"1184)->unwrap()->yield(CoreExtension::merge($context, ["number" => "1""file" => "form_transfer_receive_file""path" => "form_transfer_receive_ddtPath"]));
  2711.         // line 1185
  2712.         yield from         $this->loadTemplate("components/js/upload_file_js.html.twig""role/user/warehouse/sheet.html.twig"1185)->unwrap()->yield(CoreExtension::merge($context, ["number" => "2""file" => "form_import_inventory_file""path" => "form_import_inventory_path"]));
  2713.         // line 1186
  2714.         yield from         $this->loadTemplate("components/js/sort_js.html.twig""role/user/warehouse/sheet.html.twig"1186)->unwrap()->yield(CoreExtension::merge($context, ["number" => 0"actualSortField" => CoreExtension::getAttribute($this->env$this->source, (isset($context["filters"]) || array_key_exists("filters"$context) ? $context["filters"] : (function () { throw new RuntimeError('Variable "filters" does not exist.'1186$this->source); })()), "sortField_0", [], "any"falsefalsefalse1186), "actualSortOrder" => CoreExtension::getAttribute($this->env$this->source, (isset($context["filters"]) || array_key_exists("filters"$context) ? $context["filters"] : (function () { throw new RuntimeError('Variable "filters" does not exist.'1186$this->source); })()), "sortOrder_0", [], "any"falsefalsefalse1186), "sort_field" => "sort_field_0""sort_order" => "sort_order_0""formName" => "formFilter_0""arrowClass" => "filter_arrow_0"]));
  2715.         // line 1187
  2716.         yield from         $this->loadTemplate("components/js/sort_js.html.twig""role/user/warehouse/sheet.html.twig"1187)->unwrap()->yield(CoreExtension::merge($context, ["number" => 1"actualSortField" => CoreExtension::getAttribute($this->env$this->source, (isset($context["filters"]) || array_key_exists("filters"$context) ? $context["filters"] : (function () { throw new RuntimeError('Variable "filters" does not exist.'1187$this->source); })()), "sortField_1", [], "any"falsefalsefalse1187), "actualSortOrder" => CoreExtension::getAttribute($this->env$this->source, (isset($context["filters"]) || array_key_exists("filters"$context) ? $context["filters"] : (function () { throw new RuntimeError('Variable "filters" does not exist.'1187$this->source); })()), "sortOrder_1", [], "any"falsefalsefalse1187), "sort_field" => "sort_field_1""sort_order" => "sort_order_1""formName" => "formFilter_1""arrowClass" => "filter_arrow_1"]));
  2717.         // line 1188
  2718.         yield from         $this->loadTemplate("components/js/sort_js.html.twig""role/user/warehouse/sheet.html.twig"1188)->unwrap()->yield(CoreExtension::merge($context, ["number" => 2"actualSortField" => CoreExtension::getAttribute($this->env$this->source, (isset($context["filters"]) || array_key_exists("filters"$context) ? $context["filters"] : (function () { throw new RuntimeError('Variable "filters" does not exist.'1188$this->source); })()), "sortField_2", [], "any"falsefalsefalse1188), "actualSortOrder" => CoreExtension::getAttribute($this->env$this->source, (isset($context["filters"]) || array_key_exists("filters"$context) ? $context["filters"] : (function () { throw new RuntimeError('Variable "filters" does not exist.'1188$this->source); })()), "sortOrder_2", [], "any"falsefalsefalse1188), "sort_field" => "sort_field_2""sort_order" => "sort_order_2""formName" => "formFilter_2""arrowClass" => "filter_arrow_2"]));
  2719.         // line 1189
  2720.         yield from         $this->loadTemplate("components/js/sort_js.html.twig""role/user/warehouse/sheet.html.twig"1189)->unwrap()->yield(CoreExtension::merge($context, ["number" => 3"actualSortField" => CoreExtension::getAttribute($this->env$this->source, (isset($context["filters"]) || array_key_exists("filters"$context) ? $context["filters"] : (function () { throw new RuntimeError('Variable "filters" does not exist.'1189$this->source); })()), "sortField_3", [], "any"falsefalsefalse1189), "actualSortOrder" => CoreExtension::getAttribute($this->env$this->source, (isset($context["filters"]) || array_key_exists("filters"$context) ? $context["filters"] : (function () { throw new RuntimeError('Variable "filters" does not exist.'1189$this->source); })()), "sortOrder_3", [], "any"falsefalsefalse1189), "sort_field" => "sort_field_3""sort_order" => "sort_order_3""formName" => "formFilter_3""arrowClass" => "filter_arrow_3"]));
  2721.         // line 1190
  2722.         yield from         $this->loadTemplate("components/js/filter_supplier_js.html.twig""role/user/warehouse/sheet.html.twig"1190)->unwrap()->yield(CoreExtension::merge($context, ["number" => 0"suppliers" => (isset($context["suppliers"]) || array_key_exists("suppliers"$context) ? $context["suppliers"] : (function () { throw new RuntimeError('Variable "suppliers" does not exist.'1190$this->source); })()), "filterSupplier" => CoreExtension::getAttribute($this->env$this->source, (isset($context["filters"]) || array_key_exists("filters"$context) ? $context["filters"] : (function () { throw new RuntimeError('Variable "filters" does not exist.'1190$this->source); })()), "supplier_0", [], "any"falsefalsefalse1190)]));
  2723.         // line 1191
  2724.         yield from         $this->loadTemplate("components/js/filter_supplier_js.html.twig""role/user/warehouse/sheet.html.twig"1191)->unwrap()->yield(CoreExtension::merge($context, ["number" => 1"suppliers" => (isset($context["suppliers"]) || array_key_exists("suppliers"$context) ? $context["suppliers"] : (function () { throw new RuntimeError('Variable "suppliers" does not exist.'1191$this->source); })()), "filterSupplier" => CoreExtension::getAttribute($this->env$this->source, (isset($context["filters"]) || array_key_exists("filters"$context) ? $context["filters"] : (function () { throw new RuntimeError('Variable "filters" does not exist.'1191$this->source); })()), "supplier_1", [], "any"falsefalsefalse1191)]));
  2725.         // line 1192
  2726.         yield from         $this->loadTemplate("components/js/filter_supplier_js.html.twig""role/user/warehouse/sheet.html.twig"1192)->unwrap()->yield(CoreExtension::merge($context, ["number" => 2"suppliers" => (isset($context["suppliers"]) || array_key_exists("suppliers"$context) ? $context["suppliers"] : (function () { throw new RuntimeError('Variable "suppliers" does not exist.'1192$this->source); })()), "filterSupplier" => CoreExtension::getAttribute($this->env$this->source, (isset($context["filters"]) || array_key_exists("filters"$context) ? $context["filters"] : (function () { throw new RuntimeError('Variable "filters" does not exist.'1192$this->source); })()), "supplier_1", [], "any"falsefalsefalse1192)]));
  2727.         // line 1193
  2728.         yield from         $this->loadTemplate("components/js/filter_supplier_js.html.twig""role/user/warehouse/sheet.html.twig"1193)->unwrap()->yield(CoreExtension::merge($context, ["number" => 3"suppliers" => (isset($context["suppliers"]) || array_key_exists("suppliers"$context) ? $context["suppliers"] : (function () { throw new RuntimeError('Variable "suppliers" does not exist.'1193$this->source); })()), "filterSupplier" => CoreExtension::getAttribute($this->env$this->source, (isset($context["filters"]) || array_key_exists("filters"$context) ? $context["filters"] : (function () { throw new RuntimeError('Variable "filters" does not exist.'1193$this->source); })()), "supplier_1", [], "any"falsefalsefalse1193)]));
  2729.         // line 1194
  2730.         yield from         $this->loadTemplate("components/js/daterangepicker_js.html.twig""role/user/warehouse/sheet.html.twig"1194)->unwrap()->yield(CoreExtension::merge($context, ["id" => "daterange1last_1""format" => "DD-MM-YYYY HH:mm"]));
  2731.         // line 1195
  2732.         yield from         $this->loadTemplate("components/js/daterangepicker_js.html.twig""role/user/warehouse/sheet.html.twig"1195)->unwrap()->yield(CoreExtension::merge($context, ["id" => "daterange1last_2""format" => "DD-MM-YYYY HH:mm"]));
  2733.         // line 1196
  2734.         yield from         $this->loadTemplate("components/js/daterangepicker_js.html.twig""role/user/warehouse/sheet.html.twig"1196)->unwrap()->yield(CoreExtension::merge($context, ["id" => "daterange1last_3""format" => "DD-MM-YYYY HH:mm"]));
  2735.         // line 1197
  2736.         yield from         $this->loadTemplate("components/js/daterangepicker_js.html.twig""role/user/warehouse/sheet.html.twig"1197)->unwrap()->yield(CoreExtension::merge($context, ["id" => "daterange2creation_1""format" => "DD-MM-YYYY HH:mm"]));
  2737.         // line 1198
  2738.         yield from         $this->loadTemplate("components/js/daterangepicker_js.html.twig""role/user/warehouse/sheet.html.twig"1198)->unwrap()->yield(CoreExtension::merge($context, ["id" => "daterange2send_1""format" => "DD-MM-YYYY HH:mm"]));
  2739.         // line 1199
  2740.         yield from         $this->loadTemplate("components/js/daterangepicker_js.html.twig""role/user/warehouse/sheet.html.twig"1199)->unwrap()->yield(CoreExtension::merge($context, ["id" => "daterange2completion_1""format" => "DD-MM-YYYY HH:mm"]));
  2741.         // line 1200
  2742.         yield from         $this->loadTemplate("components/js/daterangepicker_js.html.twig""role/user/warehouse/sheet.html.twig"1200)->unwrap()->yield(CoreExtension::merge($context, ["id" => "daterange2creation_2""format" => "DD-MM-YYYY HH:mm"]));
  2743.         // line 1201
  2744.         yield from         $this->loadTemplate("components/js/daterangepicker_js.html.twig""role/user/warehouse/sheet.html.twig"1201)->unwrap()->yield(CoreExtension::merge($context, ["id" => "daterange2send_2""format" => "DD-MM-YYYY HH:mm"]));
  2745.         // line 1202
  2746.         yield from         $this->loadTemplate("components/js/daterangepicker_js.html.twig""role/user/warehouse/sheet.html.twig"1202)->unwrap()->yield(CoreExtension::merge($context, ["id" => "daterange2completion_2""format" => "DD-MM-YYYY HH:mm"]));
  2747.         // line 1203
  2748.         yield from         $this->loadTemplate("components/js/daterangepicker_js.html.twig""role/user/warehouse/sheet.html.twig"1203)->unwrap()->yield(CoreExtension::merge($context, ["id" => "daterange2creation_3""format" => "DD-MM-YYYY HH:mm"]));
  2749.         // line 1204
  2750.         yield from         $this->loadTemplate("components/js/daterangepicker_js.html.twig""role/user/warehouse/sheet.html.twig"1204)->unwrap()->yield(CoreExtension::merge($context, ["id" => "daterange2send_3""format" => "DD-MM-YYYY HH:mm"]));
  2751.         // line 1205
  2752.         yield from         $this->loadTemplate("components/js/daterangepicker_js.html.twig""role/user/warehouse/sheet.html.twig"1205)->unwrap()->yield(CoreExtension::merge($context, ["id" => "daterange2completion_3""format" => "DD-MM-YYYY HH:mm"]));
  2753.         // line 1206
  2754.         yield from         $this->loadTemplate("components/js/daterangepicker_js.html.twig""role/user/warehouse/sheet.html.twig"1206)->unwrap()->yield(CoreExtension::merge($context, ["id" => "daterange3_1""format" => "DD-MM-YYYY HH:mm"]));
  2755.         // line 1207
  2756.         yield from         $this->loadTemplate("components/js/daterangepicker_js.html.twig""role/user/warehouse/sheet.html.twig"1207)->unwrap()->yield(CoreExtension::merge($context, ["id" => "daterange3_2""format" => "DD-MM-YYYY HH:mm"]));
  2757.         // line 1208
  2758.         yield from         $this->loadTemplate("components/js/daterangepicker_js.html.twig""role/user/warehouse/sheet.html.twig"1208)->unwrap()->yield(CoreExtension::merge($context, ["id" => "daterange3_3""format" => "DD-MM-YYYY HH:mm"]));
  2759.         // line 1209
  2760.         yield "<script>
  2761. \t\$(document).ready(function(){
  2762. \t\t// Inventory
  2763. \t\t";
  2764.         // line 1212
  2765.         if (CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source, (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'1212$this->source); })()), "session", [], "any"falsefalsefalse1212), "get", ["openStockInventoryModal"], "method"falsefalsefalse1212)) {
  2766.             // line 1213
  2767.             yield "\t\t\tstockInventory();
  2768. \t\t\t";
  2769.             // line 1214
  2770.             CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source, (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'1214$this->source); })()), "session", [], "any"falsefalsefalse1214), "remove", ["openStockInventoryModal"], "method"falsefalsefalse1214);
  2771.             // line 1215
  2772.             yield "\t\t";
  2773.         }
  2774.         // line 1216
  2775.         yield "\t\t// Receive
  2776. \t\t";
  2777.         // line 1217
  2778.         if (CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source, (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'1217$this->source); })()), "session", [], "any"falsefalsefalse1217), "get", ["openTransferReceiveModal"], "method"falsefalsefalse1217)) {
  2779.             // line 1218
  2780.             yield "\t\t\ttransferReceive();
  2781. \t\t\t";
  2782.             // line 1219
  2783.             CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source, (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'1219$this->source); })()), "session", [], "any"falsefalsefalse1219), "remove", ["openTransferReceiveModal"], "method"falsefalsefalse1219);
  2784.             // line 1220
  2785.             yield "\t\t";
  2786.         }
  2787.         // line 1221
  2788.         yield "\t\t// Invia
  2789. \t\t";
  2790.         // line 1222
  2791.         if (CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source, (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'1222$this->source); })()), "session", [], "any"falsefalsefalse1222), "get", ["openTransferSendModal"], "method"falsefalsefalse1222)) {
  2792.             // line 1223
  2793.             yield "\t\t\ttransferSend();
  2794. \t\t\t";
  2795.             // line 1224
  2796.             CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source, (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'1224$this->source); })()), "session", [], "any"falsefalsefalse1224), "remove", ["openTransferSendModal"], "method"falsefalsefalse1224);
  2797.             // line 1225
  2798.             yield "\t\t";
  2799.         }
  2800.         // line 1226
  2801.         yield "\t\t";
  2802.         if (CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source, (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'1226$this->source); })()), "session", [], "any"falsefalsefalse1226), "get", ["transferStocksIds"], "method"falsefalsefalse1226)) {
  2803.             // line 1227
  2804.             yield "\t\t\t";
  2805.             CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source, (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'1227$this->source); })()), "session", [], "any"falsefalsefalse1227), "remove", ["transferStocksIds"], "method"falsefalsefalse1227);
  2806.             // line 1228
  2807.             yield "\t\t";
  2808.         }
  2809.         // line 1229
  2810.         yield "
  2811. \t\tvar dateRanges1last = document.getElementsByClassName('daterange1last');
  2812. \t\t";
  2813.         // line 1231
  2814.         if (((CoreExtension::getAttribute($this->env$this->source, (isset($context["filters"]) || array_key_exists("filters"$context) ? $context["filters"] : (function () { throw new RuntimeError('Variable "filters" does not exist.'1231$this->source); })()), "dateLastTransfer_1", [], "any"falsefalsefalse1231) != null) && (CoreExtension::getAttribute($this->env$this->source, (isset($context["filters"]) || array_key_exists("filters"$context) ? $context["filters"] : (function () { throw new RuntimeError('Variable "filters" does not exist.'1231$this->source); })()), "dateLastTransfer_1", [], "any"falsefalsefalse1231) != ""))) {
  2815.             // line 1232
  2816.             yield "\t\t\tfor(i=0; i<dateRanges1last.length; i++){
  2817. \t\t\t\tdateRanges1last[i].value = \"";
  2818.             // line 1233
  2819.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source, (isset($context["filters"]) || array_key_exists("filters"$context) ? $context["filters"] : (function () { throw new RuntimeError('Variable "filters" does not exist.'1233$this->source); })()), "dateLastTransfer_1", [], "any"falsefalsefalse1233), "html"nulltrue);
  2820.             yield "\";
  2821. \t\t\t}
  2822. \t\t";
  2823.         } else {
  2824.             // line 1236
  2825.             yield "\t\t\tfor(i=0; i<dateRanges1last.length; i++){
  2826. \t\t\t\tdateRanges1last[i].value = \"\";
  2827. \t\t\t}
  2828. \t\t";
  2829.         }
  2830.         // line 1240
  2831.         yield "
  2832. \t\tvar dateRanges2creation = document.getElementsByClassName('daterange2creation');
  2833. \t\t";
  2834.         // line 1242
  2835.         if (((CoreExtension::getAttribute($this->env$this->source, (isset($context["filters"]) || array_key_exists("filters"$context) ? $context["filters"] : (function () { throw new RuntimeError('Variable "filters" does not exist.'1242$this->source); })()), "datetimeCreation_2", [], "any"falsefalsefalse1242) != null) && (CoreExtension::getAttribute($this->env$this->source, (isset($context["filters"]) || array_key_exists("filters"$context) ? $context["filters"] : (function () { throw new RuntimeError('Variable "filters" does not exist.'1242$this->source); })()), "datetimeCreation_2", [], "any"falsefalsefalse1242) != ""))) {
  2836.             // line 1243
  2837.             yield "\t\t\tfor(i=0; i<dateRanges2creation.length; i++){
  2838. \t\t\t\tdateRanges2creation[i].value = \"";
  2839.             // line 1244
  2840.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source, (isset($context["filters"]) || array_key_exists("filters"$context) ? $context["filters"] : (function () { throw new RuntimeError('Variable "filters" does not exist.'1244$this->source); })()), "datetimeCreation_2", [], "any"falsefalsefalse1244), "html"nulltrue);
  2841.             yield "\";
  2842. \t\t\t}
  2843. \t\t";
  2844.         } else {
  2845.             // line 1247
  2846.             yield "\t\t\tfor(i=0; i<dateRanges2creation.length; i++){
  2847. \t\t\t\tdateRanges2creation[i].value = \"\";
  2848. \t\t\t}
  2849. \t\t";
  2850.         }
  2851.         // line 1251
  2852.         yield "\t\t
  2853. \t\tvar dateRanges2send = document.getElementsByClassName('daterange2send');
  2854. \t\t";
  2855.         // line 1253
  2856.         if (((CoreExtension::getAttribute($this->env$this->source, (isset($context["filters"]) || array_key_exists("filters"$context) ? $context["filters"] : (function () { throw new RuntimeError('Variable "filters" does not exist.'1253$this->source); })()), "datetimeSend_2", [], "any"falsefalsefalse1253) != null) && (CoreExtension::getAttribute($this->env$this->source, (isset($context["filters"]) || array_key_exists("filters"$context) ? $context["filters"] : (function () { throw new RuntimeError('Variable "filters" does not exist.'1253$this->source); })()), "datetimeSend_2", [], "any"falsefalsefalse1253) != ""))) {
  2857.             // line 1254
  2858.             yield "\t\t\tfor(i=0; i<dateRanges2send.length; i++){
  2859. \t\t\t\tdateRanges2send[i].value = \"";
  2860.             // line 1255
  2861.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source, (isset($context["filters"]) || array_key_exists("filters"$context) ? $context["filters"] : (function () { throw new RuntimeError('Variable "filters" does not exist.'1255$this->source); })()), "datetimeSend_2", [], "any"falsefalsefalse1255), "html"nulltrue);
  2862.             yield "\";
  2863. \t\t\t}
  2864. \t\t";
  2865.         } else {
  2866.             // line 1258
  2867.             yield "\t\t\tfor(i=0; i<dateRanges2send.length; i++){
  2868. \t\t\t\tdateRanges2send[i].value = \"\";
  2869. \t\t\t}
  2870. \t\t";
  2871.         }
  2872.         // line 1262
  2873.         yield "\t\t
  2874. \t\tvar dateRanges2completion = document.getElementsByClassName('daterange2completion');
  2875. \t\t";
  2876.         // line 1264
  2877.         if (((CoreExtension::getAttribute($this->env$this->source, (isset($context["filters"]) || array_key_exists("filters"$context) ? $context["filters"] : (function () { throw new RuntimeError('Variable "filters" does not exist.'1264$this->source); })()), "datetimeCompletion_2", [], "any"falsefalsefalse1264) != null) && (CoreExtension::getAttribute($this->env$this->source, (isset($context["filters"]) || array_key_exists("filters"$context) ? $context["filters"] : (function () { throw new RuntimeError('Variable "filters" does not exist.'1264$this->source); })()), "datetimeCompletion_2", [], "any"falsefalsefalse1264) != ""))) {
  2878.             // line 1265
  2879.             yield "\t\t\tfor(i=0; i<dateRanges2completion.length; i++){
  2880. \t\t\t\tdateRanges2completion[i].value = \"";
  2881.             // line 1266
  2882.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source, (isset($context["filters"]) || array_key_exists("filters"$context) ? $context["filters"] : (function () { throw new RuntimeError('Variable "filters" does not exist.'1266$this->source); })()), "datetimeCompletion_2", [], "any"falsefalsefalse1266), "html"nulltrue);
  2883.             yield "\";
  2884. \t\t\t}
  2885. \t\t";
  2886.         } else {
  2887.             // line 1269
  2888.             yield "\t\t\tfor(i=0; i<dateRanges2completion.length; i++){
  2889. \t\t\t\tdateRanges2completion[i].value = \"\";
  2890. \t\t\t}
  2891. \t\t";
  2892.         }
  2893.         // line 1273
  2894.         yield "
  2895. \t\tvar dateRanges3 = document.getElementsByClassName('daterange3');
  2896. \t\t";
  2897.         // line 1275
  2898.         if (((CoreExtension::getAttribute($this->env$this->source, (isset($context["filters"]) || array_key_exists("filters"$context) ? $context["filters"] : (function () { throw new RuntimeError('Variable "filters" does not exist.'1275$this->source); })()), "date_3", [], "any"falsefalsefalse1275) != null) && (CoreExtension::getAttribute($this->env$this->source, (isset($context["filters"]) || array_key_exists("filters"$context) ? $context["filters"] : (function () { throw new RuntimeError('Variable "filters" does not exist.'1275$this->source); })()), "date_3", [], "any"falsefalsefalse1275) != ""))) {
  2899.             // line 1276
  2900.             yield "\t\t\tfor(i=0; i<dateRanges3.length; i++){
  2901. \t\t\t\tdateRanges3[i].value = \"";
  2902.             // line 1277
  2903.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source, (isset($context["filters"]) || array_key_exists("filters"$context) ? $context["filters"] : (function () { throw new RuntimeError('Variable "filters" does not exist.'1277$this->source); })()), "date_3", [], "any"falsefalsefalse1277), "html"nulltrue);
  2904.             yield "\";
  2905. \t\t\t}
  2906. \t\t";
  2907.         } else {
  2908.             // line 1280
  2909.             yield "\t\t\tfor(i=0; i<dateRanges3.length; i++){
  2910. \t\t\t\tdateRanges3[i].value = \"\";
  2911. \t\t\t}
  2912. \t\t";
  2913.         }
  2914.         // line 1284
  2915.         yield "\t});
  2916. \tfunction selectAll(index, tab){
  2917. \t\tvar checkboxes = document.getElementsByClassName('stock_' + index + '_checkbox');
  2918. \t\tvar isSelect = document.getElementById('stock_' + index + '_all_checkboxes').checked;
  2919. \t\tfor(i=0; i<checkboxes.length; i++)
  2920. \t\t\tcheckboxes[i].checked = isSelect;
  2921. \t\tupdateButtons(index, tab);
  2922. \t}
  2923. \t
  2924. \tfunction updateButtons(index, tab){
  2925. \t\tvar inputSelectAll = document.getElementById('stock_' + index + '_all_checkboxes');
  2926. \t\tvar checkboxes = document.getElementsByClassName('stock_' + index + '_checkbox');
  2927. \t\tvar buttonCondition = document.getElementById('button_' + index + '_condition');
  2928. \t\tvar buttonModel = document.getElementById('button_' + index + '_model');
  2929. \t\t";
  2930.         // line 1299
  2931.         if (CoreExtension::getAttribute($this->env$this->source, (isset($context["warehouse"]) || array_key_exists("warehouse"$context) ? $context["warehouse"] : (function () { throw new RuntimeError('Variable "warehouse" does not exist.'1299$this->source); })()), "headquarter", [], "any"falsefalsefalse1299)) {
  2932.             // line 1300
  2933.             yield "\t\t\tvar buttonPrint = document.getElementById('button_' + index + '_print');
  2934. \t\t";
  2935.         }
  2936.         // line 1302
  2937.         yield "\t\tif(tab == 's_to_manage')
  2938. \t\t\tvar buttonManaged = document.getElementById('button_' + index + '_managed');
  2939. \t\t";
  2940.         // line 1304
  2941.         if ((CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source, (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'1304$this->source); })()), "user", [], "any"falsefalsefalse1304), "getAccountTypology", [], "any"falsefalsefalse1304) != "technician")) {
  2942.             // line 1305
  2943.             yield "\t\t\tif(tab == 's_to_manage' || tab == 's_available' || tab == 's_not_available')
  2944. \t\t\t\tvar buttonSupplier = document.getElementById('button_' + index + '_supplier');
  2945. \t\t";
  2946.         }
  2947.         // line 1308
  2948.         yield "\t\tif(tab == 's_available' || tab == 's_not_available')
  2949. \t\t\tvar buttonSend = document.getElementById('button_' + index + '_send');
  2950. \t\tvar isAllSelected = true;
  2951. \t\tconst array = [];
  2952. \t\tfor(i=0; i<checkboxes.length; i++){
  2953. \t\t\tif(checkboxes[i].checked){
  2954. \t\t\t\tarray.push(checkboxes[i].value);
  2955. \t\t\t}
  2956. \t\t\telse
  2957. \t\t\t\tisAllSelected = false;
  2958. \t\t}
  2959. \t\t
  2960. \t\tif(!isAllSelected)
  2961. \t\t\tinputSelectAll.checked = false;
  2962. \t\t
  2963. \t\tif(array.length > 0){
  2964. \t\t\t";
  2965.         // line 1325
  2966.         if (CoreExtension::getAttribute($this->env$this->source, (isset($context["warehouse"]) || array_key_exists("warehouse"$context) ? $context["warehouse"] : (function () { throw new RuntimeError('Variable "warehouse" does not exist.'1325$this->source); })()), "headquarter", [], "any"falsefalsefalse1325)) {
  2967.             // line 1326
  2968.             yield "\t\t\t\tbuttonPrint.className = \"button button-3d button-mini button-green f_right m_b_10p\";
  2969. \t\t\t\tbuttonPrint.href = \"javascript: sendAction('print', \" + index + \", '\" + tab + \"')\";
  2970. \t\t\t";
  2971.         }
  2972.         // line 1329
  2973.         yield "\t\t\tbuttonCondition.className = \"button button-3d button-mini button-green f_right m_b_10p\";
  2974. \t\t\tbuttonCondition.href = \"javascript: sendAction('condition', \" + index + \", '\" + tab + \"')\";
  2975. \t\t\tif(tab == 's_to_manage'){
  2976. \t\t\t\tbuttonManaged.className = \"button button-3d button-mini button-green f_right m_b_10p\";
  2977. \t\t\t\tbuttonManaged.href = \"javascript: sendAction('managed', \" + index + \", '\" + tab + \"')\";
  2978. \t\t\t\t// buttonModel uguale a buttonCondition solo per s_to_manage
  2979. \t\t\t\tbuttonModel.className = \"button button-3d button-mini button-green f_right m_b_10p\";
  2980. \t\t\t\tbuttonModel.href = \"javascript: sendAction('model', \" + index + \", '\" + tab + \"')\";
  2981. \t\t\t}
  2982. \t\t\t";
  2983.         // line 1338
  2984.         if ((CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source, (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'1338$this->source); })()), "user", [], "any"falsefalsefalse1338), "getAccountTypology", [], "any"falsefalsefalse1338) != "technician")) {
  2985.             // line 1339
  2986.             yield "\t\t\t\tif(tab == 's_to_manage' || tab == 's_available' || tab == 's_not_available'){
  2987. \t\t\t\t\tbuttonSupplier.className = \"button button-3d button-mini button-green f_right m_b_10p\";
  2988. \t\t\t\t\tbuttonSupplier.href = \"javascript: sendAction('supplier', \" + index + \", '\" + tab + \"')\";
  2989. \t\t\t\t}
  2990. \t\t\t";
  2991.         }
  2992.         // line 1344
  2993.         yield "\t\t\tif(tab == 's_available' || tab == 's_not_available'){
  2994. \t\t\t\tbuttonSend.className = \"button button-3d button-mini button-green f_right m_b_10p\";
  2995. \t\t\t\tbuttonSend.href = \"javascript: sendAction('send', \" + index + \", '\" + tab + \"')\";
  2996. \t\t\t}
  2997. \t\t}
  2998. \t\telse{
  2999. \t\t\t";
  3000.         // line 1350
  3001.         if (CoreExtension::getAttribute($this->env$this->source, (isset($context["warehouse"]) || array_key_exists("warehouse"$context) ? $context["warehouse"] : (function () { throw new RuntimeError('Variable "warehouse" does not exist.'1350$this->source); })()), "headquarter", [], "any"falsefalsefalse1350)) {
  3002.             // line 1351
  3003.             yield "\t\t\t\tbuttonPrint.className = \"button button-3d button-mini button-grey f_right m_b_10p\";
  3004. \t\t\t\tbuttonPrint.href = \"javascript: void(0)\";
  3005. \t\t\t";
  3006.         }
  3007.         // line 1354
  3008.         yield "\t\t\tbuttonCondition.className = \"button button-3d button-mini button-grey f_right m_b_10p\";
  3009. \t\t\tbuttonCondition.href = \"javascript: void(0)\";
  3010. \t\t\tif(tab == 's_to_manage'){
  3011. \t\t\t\tbuttonManaged.className = \"button button-3d button-mini button-grey f_right m_b_10p\";
  3012. \t\t\t\tbuttonManaged.href = \"javascript: void(0)\";
  3013. \t\t\t\tbuttonModel.className = \"button button-3d button-mini button-grey f_right m_b_10p\";
  3014. \t\t\t\tbuttonModel.href = \"javascript: void(0)\";
  3015. \t\t\t}
  3016. \t\t\t";
  3017.         // line 1362
  3018.         if ((CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source, (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'1362$this->source); })()), "user", [], "any"falsefalsefalse1362), "getAccountTypology", [], "any"falsefalsefalse1362) != "technician")) {
  3019.             // line 1363
  3020.             yield "\t\t\t\tif(tab == 's_to_manage' || tab == 's_available' || tab == 's_not_available'){
  3021. \t\t\t\t\tbuttonSupplier.className = \"button button-3d button-mini button-grey f_right m_b_10p\";
  3022. \t\t\t\t\tbuttonSupplier.href = \"javascript: void(0)\";
  3023. \t\t\t\t}
  3024. \t\t\t";
  3025.         }
  3026.         // line 1368
  3027.         yield "\t\t\tif(tab == 's_available' || tab == 's_not_available'){
  3028. \t\t\t\tbuttonSend.className = \"button button-3d button-mini button-grey f_right m_b_10p\";
  3029. \t\t\t\tbuttonSend.href = \"javascript: void(0)\";
  3030. \t\t\t}
  3031. \t\t}
  3032. \t}
  3033. \tfunction sendAction(action, index, tab){
  3034. \t\tvar checkboxes = document.getElementsByClassName('stock_' + index + '_checkbox');
  3035. \t\tconst array = [];
  3036. \t\tfor(i=0; i<checkboxes.length; i++){
  3037. \t\t\tif(checkboxes[i].checked)
  3038. \t\t\t\tarray.push(checkboxes[i].value);
  3039. \t\t}
  3040. \t\tswitch(action){
  3041. \t\t\tcase 'print':
  3042. \t\t\t\tdocument.getElementById('printStocksIds').value = array;
  3043. \t\t\t\tdocument.getElementById('printAction').value = action;
  3044. \t\t\t\t\$('#stockPrintModal').modal({backdrop: 'static', keyboard: false}).modal(\"show\");
  3045. \t\t\t\tbreak;
  3046. \t\t\tcase 'managed':
  3047. \t\t\t\tdocument.getElementById('managedStocksIds').value = array;
  3048. \t\t\t\tdocument.getElementById('managedAction').value = action;
  3049. \t\t\t\t\$('#stockManagedModal').modal({backdrop: 'static', keyboard: false}).modal(\"show\");
  3050. \t\t\t\tbreak;
  3051. \t\t\tcase 'supplier':
  3052. \t\t\t\tvar checkboxes = document.getElementsByClassName('supplier_checkboxes');
  3053. \t\t\t\tfor(i=0; i<checkboxes.length; i++){
  3054. \t\t\t\t\tcheckboxes[i].removeAttribute(\"checked\");
  3055. \t\t\t\t\tcheckboxes[i].checked = false;
  3056. \t\t\t\t}
  3057. \t\t\t\tdocument.getElementById('supplierStocksIds').value = array;
  3058. \t\t\t\tdocument.getElementById('supplierAction').value = action;
  3059. \t\t\t\t\$('#stockSupplierModal').modal({backdrop: 'static', keyboard: false}).modal(\"show\");
  3060. \t\t\t\tbreak;
  3061. \t\t\tcase 'condition':
  3062. \t\t\t\tdocument.getElementById('conditionAction').value = action;
  3063. \t\t\t\tdocument.getElementById('conditionStocksIds').value = array;
  3064. \t\t\t\tswitch(index){
  3065. \t\t\t\t\tcase 0: document.getElementById('stockTab').value = 'to_manage'; break;
  3066. \t\t\t\t\tcase 1: document.getElementById('stockTab').value = 'available'; break;
  3067. \t\t\t\t\tcase 2: document.getElementById('stockTab').value = 'not_available'; break;
  3068. \t\t\t\t\tdefault: break;
  3069. \t\t\t\t}
  3070. \t\t\t\t\$('#stockConditionModal').modal({backdrop: 'static', keyboard: false}).modal(\"show\");
  3071. \t\t\t\tbreak;
  3072. \t\t\tcase 'model':
  3073. \t\t\t\tdocument.getElementById('modelAction').value = action;
  3074. \t\t\t\tdocument.getElementById('modelStocksIds').value = array;
  3075. \t\t\t\tswitch(index){
  3076. \t\t\t\t\tcase 0: document.getElementById('stockTab').value = 'to_manage'; break;
  3077. \t\t\t\t\tdefault: break;
  3078. \t\t\t\t}
  3079. \t\t\t\t\$('#stockModelModal').modal({backdrop: 'static', keyboard: false}).modal(\"show\");
  3080. \t\t\t\tbreak;
  3081. \t\t\tcase 'send':
  3082. \t\t\t\tvar a = document.getElementById('a_send_technician');
  3083. \t\t\t\tif(tab == 's_not_available'){
  3084. \t\t\t\t\ta.href = \"javascript: void(0)\";
  3085. \t\t\t\t\ta.className = \"button button-3d button-mini button-grey width_200p txt_a_c\";
  3086. \t\t\t\t}
  3087. \t\t\t\telse{
  3088. \t\t\t\t\ta.href = \"javascript: transferSendSetType('technician')\";
  3089. \t\t\t\t\ta.className = \"button button-3d button-mini button-pr width_200p txt_a_c\";
  3090. \t\t\t\t}
  3091. \t\t\t\tdocument.getElementById('form_transfer_send_sendStocksIds').value = array;
  3092. \t\t\t\ttransferSend();
  3093. \t\t\t\tbreak;
  3094. \t\t\tdefault: break;
  3095. \t\t}
  3096. \t}
  3097. \tfunction modelsUpdateUl(){
  3098. \t\tvar modelName = document.getElementById(\"input_model_search\").value;
  3099. \t\tif(modelName != null && modelName != \"\"){
  3100. \t\t\t\$.post(\"";
  3101.         // line 1444
  3102.         yield $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("user_product_model_name_updates");
  3103.         yield "\", {modelName: modelName}, function(response){ 
  3104. \t\t\t\tif(response.code == 200 && response.success){
  3105. \t\t\t\t\tvar ul = document.getElementById(\"ul_models\");
  3106. \t\t\t\t\tul.innerHTML = \"\";
  3107. \t\t\t\t\tvar values = JSON.parse(response.values);
  3108. \t\t\t\t\tvar max = values.length;
  3109. \t\t\t\t\tif(values.length > 10)
  3110. \t\t\t\t\t\tmax = 10;
  3111. \t\t\t\t\tfor(i=0; i<max; i++){
  3112. \t\t\t\t\t\tvar li = document.createElement(\"li\");
  3113. \t\t\t\t\t\tli.id = \"li_model_\" + i;
  3114. \t\t\t\t\t\tli.innerHTML = values[i]['name'];
  3115. \t\t\t\t\t\tli.setAttribute(\"onclick\", \"setModel(\" +  values[i]['id'] + \", '\" + values[i]['name'].replace(/'/g, \"\\\\'\") + \"')\");
  3116. \t\t\t\t\t\tul.appendChild(li);
  3117. \t\t\t\t\t}
  3118. \t\t\t\t\tif(max > 0){
  3119. \t\t\t\t\t\tif(max == 1){
  3120. \t\t\t\t\t\t\tdocument.getElementById(\"li_model_0\").click();
  3121. \t\t\t\t\t\t\tul.style.display = \"none\";
  3122. \t\t\t\t\t\t}
  3123. \t\t\t\t\t\telse
  3124. \t\t\t\t\t\t\tul.style.display = \"block\";
  3125. \t\t\t\t\t}
  3126. \t\t\t\t\telse
  3127. \t\t\t\t\t\tul.style.display = \"none\";
  3128. \t\t\t\t}
  3129. \t\t\t}, \"json\");
  3130. \t\t}
  3131. \t}
  3132. \tfunction setModel(id, name) {
  3133. \t\tvar select = document.getElementById(\"select_product_model\");
  3134. \t\twhile (select.options.length > 1) {
  3135. \t\t\tselect.remove(1);
  3136. \t\t}
  3137. \t\tvar option = new Option(name, id, true, true);
  3138. \t\tselect.options.add(option);
  3139. \t\tselect.value = id;
  3140. \t\tdocument.getElementById(\"ul_models\").style.display = \"none\";
  3141. \t\tdocument.getElementById(\"input_model_search\").value = name;
  3142. \t}
  3143. \tfunction checkSubmit(action){
  3144. \t\tswitch(action){
  3145. \t\t\tcase 'print':
  3146. \t\t\t\tif(document.getElementById('select_supplier').value != 0){
  3147. \t\t\t\t\t\$('#formPrint').submit();
  3148. \t\t\t\t\t\$('#stockPrintModal').modal(\"hide\");
  3149. \t\t\t\t}
  3150. \t\t\t\telse{
  3151. \t\t\t\t\tvar divError = document.getElementById('divErrorSupplier');
  3152. \t\t\t\t\tdivError.className = 'error';
  3153. \t\t\t\t\tdivError.children[0].setAttribute('data-bs-toggle', 'tooltip');
  3154. \t\t\t\t\tdivError.children[0].setAttribute('title', 'Campo obbligatorio');
  3155. \t\t\t\t}
  3156. \t\t\t\tbreak;
  3157. \t\t\tcase 'managed':
  3158. \t\t\t\ttriggerLoading();
  3159. \t\t\t\t\$('#formManaged').submit();
  3160. \t\t\t\tbreak;
  3161. \t\t\tcase 'supplier':
  3162. \t\t\t\tvar valid = false;
  3163. \t\t\t\tvar checkboxes = document.getElementsByClassName('supplier_checkboxes');
  3164. \t\t\t\tfor(i=0; i<checkboxes.length; i++){
  3165. \t\t\t\t\tif(checkboxes[i].checked){
  3166. \t\t\t\t\t\tvalid = true;
  3167. \t\t\t\t\t\tbreak;
  3168. \t\t\t\t\t}
  3169. \t\t\t\t}
  3170. \t\t\t\tif(valid){
  3171. \t\t\t\t\ttriggerLoading();
  3172. \t\t\t\t\t\$('#formSupplier').submit();
  3173. \t\t\t\t}
  3174. \t\t\t\telse{
  3175. \t\t\t\t\tvar divError = document.getElementById('divErrorSupplier');
  3176. \t\t\t\t\tdivError.className = 'error';
  3177. \t\t\t\t\tdivError.children[0].setAttribute('data-bs-toggle', 'tooltip');
  3178. \t\t\t\t\tdivError.children[0].setAttribute('title', 'Campo obbligatorio');
  3179. \t\t\t\t}
  3180. \t\t\t\tbreak;
  3181. \t\t\tcase 'condition':
  3182. \t\t\t\tif(document.getElementById('select_product_condition').value != 0){
  3183. \t\t\t\t\ttriggerLoading();
  3184. \t\t\t\t\t\$('#formCondition').submit();
  3185. \t\t\t\t}
  3186. \t\t\t\telse{
  3187. \t\t\t\t\tvar divError = document.getElementById('divErrorCondition');
  3188. \t\t\t\t\tdivError.className = 'error';
  3189. \t\t\t\t\tdivError.children[0].setAttribute('data-bs-toggle', 'tooltip');
  3190. \t\t\t\t\tdivError.children[0].setAttribute('title', 'Campo obbligatorio');
  3191. \t\t\t\t}
  3192. \t\t\t\tbreak;
  3193. \t\t\tcase 'model':
  3194. \t\t\t\tif(document.getElementById('select_product_model').value != 0){
  3195. \t\t\t\t\ttriggerLoading();
  3196. \t\t\t\t\t\$('#formModel').submit();
  3197. \t\t\t\t}
  3198. \t\t\t\telse{
  3199. \t\t\t\t\tvar divError = document.getElementById('divErrorModel');
  3200. \t\t\t\t\tdivError.className = 'error';
  3201. \t\t\t\t\tdivError.children[0].setAttribute('data-bs-toggle', 'tooltip');
  3202. \t\t\t\t\tdivError.children[0].setAttribute('title', 'Campo obbligatorio');
  3203. \t\t\t\t}
  3204. \t\t\t\tbreak;
  3205. \t\t\tdefault: break;
  3206. \t\t}
  3207. \t\t\$('[data-bs-toggle=\"tooltip\"]').tooltip();
  3208. \t}
  3209. \tfunction stockInventory(){
  3210. \t\t\$('#stockInventoryModal').modal({backdrop: 'static', keyboard: false}).modal(\"show\");
  3211. \t}
  3212. \t// RICEVI MATERIALE
  3213. \t\$('#form_transfer_receive_date').datepicker({ autoclose: true, todayHighlight: true, format: \"dd-mm-yyyy\", startDate: \"today\" });
  3214.     function transferReceive(){
  3215.         \$('#transferReceiveModal').modal({backdrop: 'static', keyboard: false}).modal(\"show\");
  3216.     }
  3217. \tfunction tranferReceiveShowHideDDT(){
  3218. \t\tif(document.getElementById('form_transfer_receive_ddtMandatory').checked == true){
  3219. \t\t\tdocument.getElementById('row_receive_ddt').style.display = 'flex';
  3220. \t\t}
  3221. \t\telse{
  3222. \t\t\tdocument.getElementById('row_receive_ddt').style.display = 'none';
  3223. \t\t}
  3224. \t}
  3225. \t// INVIA MATERIALE
  3226. \t\$('#form_transfer_send_date').datepicker({ autoclose: true, todayHighlight: true, format: \"dd-mm-yyyy\", startDate: \"today\" });
  3227.     function transferSend(){
  3228. \t\tdocument.getElementById('form_transfer_send_productRequestId').value = '';
  3229. \t\tdocument.getElementById('row_select_type').style.display = 'flex';
  3230. \t\tdocument.getElementById('row_warehouse_select').style.display = 'block';
  3231. \t\tdocument.getElementById('row_warehouse_selected').style.display = 'none';
  3232. \t\tdocument.getElementById('row_send_data').className = 'row m_t_30p';
  3233.         \$('#transferSendModal').modal({backdrop: 'static', keyboard: false}).modal(\"show\");
  3234.     }
  3235. \t
  3236. \tfunction transferSendSetType(type){
  3237. \t\tdocument.getElementById('form_transfer_send_type').value = type;
  3238. \t\t\$.post('";
  3239.         // line 1588
  3240.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("user_warehouse_transfer_update_warehouses", ["warehouseId" => CoreExtension::getAttribute($this->env$this->source, (isset($context["warehouse"]) || array_key_exists("warehouse"$context) ? $context["warehouse"] : (function () { throw new RuntimeError('Variable "warehouse" does not exist.'1588$this->source); })()), "id", [], "any"falsefalsefalse1588)]), "html"nulltrue);
  3241.         yield "', {type: type}, function(response){ 
  3242. \t\t\tif(response.code == 200 && response.success){
  3243. \t\t\t\tswitch(type){
  3244. \t\t\t\t\tcase 'technician': 
  3245. \t\t\t\t\t\tupdateTechnicianWarehouses();
  3246. \t\t\t\t\t\tdocument.getElementById('span_send_type').innerHTML = 'Tecnico';
  3247. \t\t\t\t\t\tdocument.getElementById('div_send_supplier').style.display = 'none';
  3248. \t\t\t\t\t\tdocument.getElementById('div_send_ddt_mandatory').style.display = 'block';
  3249. \t\t\t\t\t\tdocument.getElementById('row_user_to_select').style.display = 'block';
  3250. \t\t\t\t\t\tdocument.getElementById('div_send_stock_order').style.display = 'none';
  3251. \t\t\t\t\t\t";
  3252.         // line 1598
  3253.         if (((CoreExtension::getAttribute($this->env$this->source, (isset($context["warehouse"]) || array_key_exists("warehouse"$context) ? $context["warehouse"] : (function () { throw new RuntimeError('Variable "warehouse" does not exist.'1598$this->source); })()), "headquarter", [], "any"falsefalsefalse1598) == 0) && (CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source, (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'1598$this->source); })()), "user", [], "any"falsefalsefalse1598), "getAccountTypology", [], "any"falsefalsefalse1598) != "technician"))) {
  3254.             // line 1599
  3255.             yield "\t\t\t\t\t\t\tdocument.getElementById('row_user_from_select').style.display = 'block';
  3256. \t\t\t\t\t\t";
  3257.         }
  3258.         // line 1601
  3259.         yield "\t\t\t\t\t\tbreak;
  3260. \t\t\t\t\tcase 'destination':
  3261. \t\t\t\t\t\tdocument.getElementById('span_send_type').innerHTML = 'Destinazione esterna';
  3262. \t\t\t\t\t\tdocument.getElementById('div_send_supplier').style.display = 'block';
  3263. \t\t\t\t\t\tdocument.getElementById('div_send_stock_order').style.display = 'block';
  3264. \t\t\t\t\t\tdocument.getElementById('div_send_ddt_mandatory').style.display = 'none';
  3265. \t\t\t\t\t\tdocument.getElementById('row_user_to_select').style.display = 'none';
  3266. \t\t\t\t\t\tbreak;
  3267. \t\t\t\t\tcase 'main':
  3268. \t\t\t\t\t\tdocument.getElementById('span_send_type').innerHTML = 'Sede centrale';
  3269. \t\t\t\t\t\tdocument.getElementById('div_send_supplier').style.display = 'none';
  3270. \t\t\t\t\t\tdocument.getElementById('div_send_ddt_mandatory').style.display = 'none';
  3271. \t\t\t\t\t\tdocument.getElementById('div_send_stock_order').style.display = 'none';
  3272. \t\t\t\t\t\tdocument.getElementById('row_user_to_select').style.display = 'none';
  3273. \t\t\t\t\t\t";
  3274.         // line 1615
  3275.         if (((CoreExtension::getAttribute($this->env$this->source, (isset($context["warehouse"]) || array_key_exists("warehouse"$context) ? $context["warehouse"] : (function () { throw new RuntimeError('Variable "warehouse" does not exist.'1615$this->source); })()), "headquarter", [], "any"falsefalsefalse1615) == 0) && (CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source, (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'1615$this->source); })()), "user", [], "any"falsefalsefalse1615), "getAccountTypology", [], "any"falsefalsefalse1615) != "technician"))) {
  3276.             // line 1616
  3277.             yield "\t\t\t\t\t\t\tdocument.getElementById('row_user_from_select').style.display = 'block';
  3278. \t\t\t\t\t\t";
  3279.         }
  3280.         // line 1618
  3281.         yield "\t\t\t\t\t\tbreak;
  3282. \t\t\t\t\tdefault: break;
  3283. \t\t\t\t}
  3284. \t\t\t\tvar select = document.getElementById('form_transfer_send_warehouse');
  3285. \t\t\t\twhile(select.options.length){
  3286. \t\t\t\t\tselect.remove(0);
  3287. \t\t\t\t}
  3288. \t\t\t\tvar warehouses = JSON.parse(response.warehouses);
  3289. \t\t\t\tfor(var i = 0; i < warehouses.length; i++){
  3290. \t\t\t\t\tvar option = new Option(warehouses[i]['nickname'], warehouses[i]['id']);
  3291. \t\t\t\t\tselect.options.add(option);
  3292. \t\t\t\t}
  3293. \t\t\t\tdocument.getElementById('row_send_data').style.display = 'flex';
  3294. \t\t\t\tdocument.getElementById('button_send_submit').className = 'button button-3d button-mini button-green f_right';
  3295. \t\t\t\tdocument.getElementById('button_send_submit').href = 'javascript: transferSendSubmit()';
  3296. \t\t\t}
  3297. \t\t}, \"json\");
  3298. \t}
  3299. \tfunction showHideDivestment(){
  3300. \t\tvar select = document.getElementById('form_transfer_send_supplier');
  3301. \t\tvar options = select.children;
  3302. \t\tif(options[select.selectedIndex].innerHTML == 'NEXI BOOK MONETICA' || options[select.selectedIndex].innerHTML == 'NEXI BOOK MEPS' || options[select.selectedIndex].innerHTML == 'NEXI BOOK SIA' || options[select.selectedIndex].innerHTML == 'DS - NEXI BOOK MONETICA' || options[select.selectedIndex].innerHTML == 'DS - NEXI BOOK MEPS' || options[select.selectedIndex].innerHTML == 'DS - NEXI BOOK SIA')
  3303. \t\t\tdocument.getElementById('div_send_divestment').style.display = 'block';
  3304. \t\telse
  3305. \t\t\tdocument.getElementById('div_send_divestment').style.display = 'none';
  3306. \t}
  3307. \tfunction updateTechnicianWarehouses(){
  3308. \t\ttechnicianId = document.getElementById('form_transfer_send_userTo').value;
  3309. \t\t\$.post('";
  3310.         // line 1649
  3311.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("user_warehouse_transfer_update_technician_warehouses", ["warehouseId" => CoreExtension::getAttribute($this->env$this->source, (isset($context["warehouse"]) || array_key_exists("warehouse"$context) ? $context["warehouse"] : (function () { throw new RuntimeError('Variable "warehouse" does not exist.'1649$this->source); })()), "id", [], "any"falsefalsefalse1649)]), "html"nulltrue);
  3312.         yield "', {technicianId: technicianId}, function(response){ 
  3313. \t\t\tif(response.code == 200 && response.success){
  3314. \t\t\t\tvar select = document.getElementById('form_transfer_send_warehouse');
  3315. \t\t\t\twhile(select.options.length){
  3316. \t\t\t\t\tselect.remove(0);
  3317. \t\t\t\t}
  3318. \t\t\t\tvar warehouses = JSON.parse(response.warehouses);
  3319. \t\t\t\tfor(var i = 0; i < warehouses.length; i++){
  3320. \t\t\t\t\tvar option = new Option(warehouses[i]['nickname'], warehouses[i]['id']);
  3321. \t\t\t\t\tselect.options.add(option);
  3322. \t\t\t\t}
  3323. \t\t\t\tdocument.getElementById('row_send_data').style.display = 'flex';
  3324. \t\t\t}
  3325. \t\t}, \"json\");
  3326. \t}
  3327. \tfunction transferSendSubmit(){
  3328. \t\t\$('#formSend').submit();
  3329. \t}
  3330.     function transferDelete(id){
  3331.         document.getElementById(\"transferDeleteId\").value = id;
  3332.         \$('#transferDeleteModal').modal({backdrop: 'static', keyboard: false}).modal(\"show\");
  3333.     }
  3334. \t
  3335. \t// GESTISCI RICHIESTE TECNICI
  3336. \tfunction productRequestSheet(id){
  3337. \t\tdocument.getElementById('request_sheet_datetime').innerHTML = document.getElementById('request_' + id + '_datetime').value;
  3338. \t\tdocument.getElementById('request_sheet_technician').innerHTML = document.getElementById('request_' + id + '_technician').value;
  3339. \t\tdocument.getElementById('request_sheet_warehouse').innerHTML = document.getElementById('request_' + id + '_warehouse').value;
  3340. \t\tdocument.getElementById('request_sheet_warehouse_headquarter').innerHTML = document.getElementById('request_' + id + '_warehouse_headquarter').value;
  3341. \t\tdocument.getElementById('request_sheet_notes').innerHTML = document.getElementById('request_' + id + '_notes').value;
  3342. \t\t\$('#productRequestSheetModal').modal({backdrop: 'static', keyboard: false}).modal(\"show\");
  3343. \t}
  3344. \tfunction productRequestDelete(id){
  3345. \t\tdocument.getElementById('product_request_delete_id').value = id;
  3346. \t\t\$('#productRequestDeleteModal').modal({backdrop: 'static', keyboard: false}).modal(\"show\");
  3347. \t}
  3348. \t";
  3349.         // line 1690
  3350.         if (CoreExtension::getAttribute($this->env$this->source, (isset($context["warehouse"]) || array_key_exists("warehouse"$context) ? $context["warehouse"] : (function () { throw new RuntimeError('Variable "warehouse" does not exist.'1690$this->source); })()), "headquarter", [], "any"falsefalsefalse1690)) {
  3351.             // line 1691
  3352.             yield "\t\tfunction productRequestTakeCharge(id){
  3353. \t\t\tdocument.getElementById('product_request_take_charge_id').value = id;
  3354. \t\t\t\$('#productRequestTakeChargeModal').modal({backdrop: 'static', keyboard: false}).modal(\"show\");
  3355. \t\t}
  3356. \t\t
  3357. \t\tfunction productRequestManaged(id){
  3358. \t\t\tdocument.getElementById('product_request_managed_id').value = id;
  3359. \t\t\t\$('#productRequestManagedModal').modal({backdrop: 'static', keyboard: false}).modal(\"show\");
  3360. \t\t}
  3361. \t";
  3362.         }
  3363.         // line 1701
  3364.         yield "</script>
  3365. ";
  3366.         
  3367.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  3368.         
  3369.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  3370.         return; yield '';
  3371.     }
  3372.     /**
  3373.      * @codeCoverageIgnore
  3374.      */
  3375.     public function getTemplateName()
  3376.     {
  3377.         return "role/user/warehouse/sheet.html.twig";
  3378.     }
  3379.     /**
  3380.      * @codeCoverageIgnore
  3381.      */
  3382.     public function isTraitable()
  3383.     {
  3384.         return false;
  3385.     }
  3386.     /**
  3387.      * @codeCoverageIgnore
  3388.      */
  3389.     public function getDebugInfo()
  3390.     {
  3391.         return array (  3454 => 1701,  3442 => 1691,  3440 => 1690,  3396 => 1649,  3363 => 1618,  3359 => 1616,  3357 => 1615,  3341 => 1601,  3337 => 1599,  3335 => 1598,  3322 => 1588,  3175 => 1444,  3097 => 1368,  3090 => 1363,  3088 => 1362,  3078 => 1354,  3073 => 1351,  3071 => 1350,  3063 => 1344,  3056 => 1339,  3054 => 1338,  3043 => 1329,  3038 => 1326,  3036 => 1325,  3017 => 1308,  3012 => 1305,  3010 => 1304,  3006 => 1302,  3002 => 1300,  3000 => 1299,  2983 => 1284,  2977 => 1280,  2971 => 1277,  2968 => 1276,  2966 => 1275,  2962 => 1273,  2956 => 1269,  2950 => 1266,  2947 => 1265,  2945 => 1264,  2941 => 1262,  2935 => 1258,  2929 => 1255,  2926 => 1254,  2924 => 1253,  2920 => 1251,  2914 => 1247,  2908 => 1244,  2905 => 1243,  2903 => 1242,  2899 => 1240,  2893 => 1236,  2887 => 1233,  2884 => 1232,  2882 => 1231,  2878 => 1229,  2875 => 1228,  2872 => 1227,  2869 => 1226,  2866 => 1225,  2864 => 1224,  2861 => 1223,  2859 => 1222,  2856 => 1221,  2853 => 1220,  2851 => 1219,  2848 => 1218,  2846 => 1217,  2843 => 1216,  2840 => 1215,  2838 => 1214,  2835 => 1213,  2833 => 1212,  2828 => 1209,  2826 => 1208,  2824 => 1207,  2822 => 1206,  2820 => 1205,  2818 => 1204,  2816 => 1203,  2814 => 1202,  2812 => 1201,  2810 => 1200,  2808 => 1199,  2806 => 1198,  2804 => 1197,  2802 => 1196,  2800 => 1195,  2798 => 1194,  2796 => 1193,  2794 => 1192,  2792 => 1191,  2790 => 1190,  2788 => 1189,  2786 => 1188,  2784 => 1187,  2782 => 1186,  2780 => 1185,  2778 => 1184,  2774 => 1183,  2764 => 1182,  2752 => 1179,  2747 => 1178,  2733 => 1170,  2726 => 1166,  2713 => 1158,  2706 => 1154,  2698 => 1149,  2694 => 1148,  2686 => 1143,  2682 => 1142,  2676 => 1138,  2673 => 1137,  2670 => 1135,  2667 => 1134,  2664 => 1133,  2661 => 1132,  2658 => 1131,  2648 => 1130,  2633 => 590,  2627 => 586,  2624 => 585,  2621 => 584,  2618 => 583,  2611 => 581,  2603 => 579,  2601 => 578,  2594 => 577,  2592 => 576,  2585 => 575,  2583 => 574,  2577 => 573,  2573 => 572,  2568 => 571,  2562 => 569,  2556 => 567,  2554 => 566,  2550 => 565,  2546 => 564,  2539 => 562,  2533 => 561,  2527 => 560,  2521 => 559,  2515 => 558,  2511 => 557,  2506 => 556,  2501 => 555,  2499 => 554,  2494 => 551,  2490 => 550,  2485 => 547,  2481 => 545,  2477 => 543,  2475 => 542,  2466 => 536,  2462 => 535,  2458 => 534,  2454 => 533,  2450 => 532,  2446 => 531,  2442 => 530,  2436 => 529,  2432 => 528,  2425 => 523,  2415 => 522,  2400 => 421,  2394 => 417,  2391 => 416,  2388 => 415,  2385 => 414,  2378 => 412,  2374 => 410,  2371 => 409,  2363 => 407,  2357 => 405,  2354 => 404,  2351 => 403,  2343 => 401,  2340 => 400,  2338 => 399,  2335 => 398,  2333 => 397,  2325 => 396,  2317 => 395,  2309 => 394,  2301 => 393,  2293 => 392,  2285 => 391,  2281 => 390,  2277 => 389,  2271 => 388,  2268 => 387,  2263 => 386,  2261 => 385,  2252 => 381,  2233 => 365,  2229 => 364,  2225 => 363,  2221 => 362,  2217 => 361,  2213 => 360,  2209 => 359,  2205 => 358,  2201 => 357,  2197 => 356,  2193 => 355,  2187 => 354,  2183 => 353,  2176 => 348,  2166 => 347,  2151 => 296,  2145 => 292,  2142 => 291,  2139 => 290,  2136 => 289,  2127 => 286,  2123 => 285,  2119 => 284,  2113 => 283,  2109 => 282,  2106 => 281,  2098 => 280,  2094 => 279,  2090 => 278,  2084 => 277,  2077 => 276,  2070 => 272,  2058 => 271,  2054 => 269,  2052 => 268,  2046 => 267,  2038 => 266,  2033 => 265,  2027 => 264,  2024 => 263,  2017 => 262,  2012 => 261,  2009 => 260,  2006 => 259,  2001 => 258,  1999 => 257,  1985 => 245,  1978 => 241,  1970 => 240,  1966 => 238,  1964 => 237,  1956 => 232,  1952 => 231,  1948 => 230,  1941 => 228,  1937 => 227,  1932 => 225,  1928 => 224,  1924 => 223,  1920 => 222,  1916 => 221,  1912 => 220,  1902 => 219,  1898 => 218,  1894 => 217,  1884 => 216,  1880 => 215,  1873 => 210,  1870 => 209,  1863 => 208,  1856 => 207,  1849 => 206,  1842 => 205,  1835 => 204,  1833 => 203,  1829 => 201,  1819 => 200,  1788 => 1109,  1783 => 1106,  1760 => 1085,  1755 => 1082,  1732 => 1061,  1727 => 1058,  1688 => 1020,  1668 => 1002,  1661 => 998,  1656 => 995,  1640 => 980,  1629 => 978,  1625 => 977,  1606 => 961,  1601 => 958,  1585 => 943,  1574 => 941,  1570 => 940,  1555 => 928,  1550 => 925,  1535 => 911,  1525 => 907,  1517 => 906,  1513 => 904,  1509 => 903,  1497 => 894,  1492 => 891,  1468 => 869,  1463 => 866,  1447 => 851,  1436 => 849,  1432 => 848,  1418 => 837,  1413 => 834,  1405 => 828,  1397 => 823,  1393 => 822,  1380 => 814,  1372 => 809,  1360 => 802,  1354 => 798,  1351 => 797,  1348 => 796,  1345 => 795,  1343 => 794,  1339 => 793,  1332 => 789,  1328 => 788,  1320 => 783,  1316 => 782,  1304 => 773,  1300 => 772,  1292 => 767,  1288 => 766,  1280 => 761,  1276 => 760,  1264 => 751,  1259 => 748,  1253 => 744,  1247 => 740,  1245 => 739,  1235 => 732,  1230 => 729,  1222 => 723,  1206 => 710,  1202 => 709,  1198 => 708,  1190 => 703,  1186 => 702,  1171 => 692,  1164 => 688,  1156 => 683,  1152 => 682,  1144 => 677,  1140 => 676,  1131 => 670,  1126 => 667,  1118 => 661,  1102 => 648,  1098 => 647,  1094 => 646,  1086 => 641,  1082 => 640,  1074 => 635,  1070 => 634,  1061 => 628,  1056 => 625,  1048 => 618,  1036 => 610,  1033 => 609,  1030 => 608,  1027 => 607,  1025 => 606,  1018 => 603,  1015 => 602,  1012 => 601,  1009 => 600,  1006 => 599,  1003 => 598,  1000 => 597,  998 => 596,  994 => 594,  991 => 522,  988 => 521,  985 => 520,  982 => 519,  979 => 518,  976 => 517,  973 => 516,  970 => 515,  967 => 514,  965 => 513,  952 => 509,  942 => 508,  932 => 507,  926 => 503,  920 => 501,  918 => 500,  914 => 499,  909 => 496,  906 => 495,  899 => 489,  886 => 486,  882 => 485,  878 => 484,  875 => 483,  871 => 482,  848 => 466,  841 => 462,  830 => 458,  819 => 454,  812 => 450,  805 => 445,  799 => 443,  797 => 442,  791 => 438,  780 => 430,  777 => 429,  774 => 428,  772 => 427,  768 => 425,  765 => 347,  762 => 346,  759 => 345,  757 => 344,  748 => 340,  742 => 339,  733 => 332,  722 => 324,  719 => 323,  716 => 322,  713 => 321,  710 => 320,  707 => 319,  705 => 318,  698 => 315,  695 => 314,  692 => 313,  689 => 312,  686 => 311,  683 => 310,  680 => 309,  677 => 308,  674 => 307,  671 => 306,  668 => 305,  665 => 304,  662 => 303,  660 => 302,  656 => 300,  653 => 200,  650 => 199,  647 => 198,  644 => 197,  641 => 196,  638 => 195,  635 => 194,  632 => 193,  629 => 192,  626 => 191,  623 => 190,  620 => 189,  618 => 188,  615 => 187,  607 => 182,  601 => 178,  598 => 177,  595 => 176,  592 => 175,  583 => 172,  579 => 171,  573 => 170,  569 => 169,  563 => 168,  559 => 167,  555 => 166,  551 => 165,  545 => 164,  537 => 163,  533 => 162,  527 => 159,  521 => 158,  513 => 155,  505 => 154,  500 => 153,  494 => 152,  491 => 151,  484 => 150,  479 => 149,  476 => 148,  473 => 147,  468 => 146,  466 => 145,  438 => 120,  434 => 119,  426 => 116,  422 => 115,  419 => 114,  415 => 112,  411 => 111,  407 => 110,  403 => 109,  399 => 108,  395 => 107,  391 => 106,  387 => 105,  383 => 104,  379 => 103,  373 => 102,  369 => 101,  354 => 88,  352 => 87,  344 => 84,  338 => 83,  331 => 82,  323 => 80,  321 => 79,  313 => 73,  309 => 71,  306 => 70,  303 => 69,  297 => 67,  294 => 66,  288 => 64,  285 => 63,  283 => 62,  279 => 61,  273 => 57,  269 => 54,  261 => 52,  259 => 51,  249 => 44,  244 => 41,  241 => 40,  238 => 39,  235 => 38,  232 => 37,  229 => 36,  226 => 35,  223 => 34,  220 => 33,  217 => 32,  214 => 31,  211 => 30,  201 => 29,  188 => 25,  184 => 23,  181 => 22,  178 => 21,  168 => 20,  153 => 16,  147 => 14,  144 => 13,  134 => 12,  119 => 8,  109 => 7,  89 => 5,  69 => 3,  46 => 1,);
  3392.     }
  3393.     public function getSourceContext()
  3394.     {
  3395.         return new Source("{% extends 'role/user/index.html.twig' %}
  3396. {% block title %}Magazzino - Scheda{% endblock %}
  3397. {% block pageTitleH1 %}Magazzino - Scheda{% endblock %}
  3398. {% block pageTitleBreadcrumb %}
  3399. \t<li class=\"breadcrumb-item\"><a href=\"{{ path('user_warehouse_list') }}\">Magazzini</a></li>
  3400. \t<li class=\"breadcrumb-item\"><a href=\"javascript:void(0)\">Scheda</a></li>
  3401. {% endblock %}
  3402. {% block subMenuLeft %}
  3403. \t{% if app.user.warehouses|length == 1 %}
  3404. \t\t<li class=\"nav-item\"><a class=\"nav-link\" href=\"{{ path ('user_index') }}\">Scrivania</a></li>
  3405. \t{% else %}
  3406. \t\t<li class=\"nav-item\"><a class=\"nav-link\" href=\"{{ path ('user_warehouse_list') }}\">Magazzini</a></li>
  3407. \t{% endif %}
  3408. {% endblock %}
  3409. {% block subMenuRight %}
  3410. \t{% if app.user.canWrite('warehouse') or (warehouse.jtUser(app.user.id) is not null and warehouse.jtUser(app.user.id).permission == 'RW') %}
  3411. \t\t{% if warehouse.headquarter and (app.user.canWrite('warehouse') or app.user.canWrite('warehouse_receive_material')) %}
  3412. \t\t\t<li class=\"nav-item\"><a class=\"nav-link\" href=\"javascript: transferReceive()\">Ricevi materiale</a></li>
  3413. \t\t{% endif %}
  3414. \t\t<li class=\"nav-item\"><a class=\"nav-link\" href=\"javascript: transferSend()\">Invia materiale</a></li>
  3415. \t{% endif %}
  3416. {% endblock %}
  3417. {% block content %}
  3418. \t{% if app.user.getAccountTypology == 'agency' or app.user.getAccountTypology == 'warehouse' %}
  3419. \t\t{% set prReqTitle = \"Richieste tecnici\" %}
  3420. \t\t{% set prReqInserted = \"Da gestire\" %}
  3421. \t\t{% set prReqTakeCharge = \"Prese in carico\" %}
  3422. \t\t{% set prReqCompleted = \"Gestite\" %}
  3423. \t{% elseif app.user.getAccountTypology == 'technician' %}
  3424. \t\t{% set prReqTitle = \"Le tue richieste\" %}
  3425. \t\t{% set prReqInserted = \"Inviate\" %}
  3426. \t\t{% set prReqTakeCharge = \"Prese in carico\" %}
  3427. \t\t{% set prReqCompleted = \"Completate\" %}
  3428. \t{% endif %}
  3429. \t<section class=\"p_lr_30p m_tb_40p\">
  3430. \t\t<div class=\"row\">
  3431. \t\t\t<div class=\"col-12\">
  3432. \t\t\t\t<h3 class=\"form_title\">Magazzino: {{ warehouse.nickname }}</h3>
  3433. \t\t\t\t<hr class=\"m_t_none\">
  3434. \t\t\t\t<div class=\"tabs clearfix\">
  3435. \t\t\t\t\t<ul class=\"tab-nav clearfix\">
  3436. \t\t\t\t\t\t<li><a id=\"btn_tab_stocks\" href=\"#stocks\" class=\"tab_session\" data-filterTab=\"stocks\"><i class=\"icon-warehouse d-block d-md-none\" data-bs-toggle=\"tooltip\" title=\"Scorte\"></i><span class=\"d-none d-md-block\">Scorte</span></a></li>
  3437. \t\t\t\t\t\t<li><a id=\"btn_tab_transfers\" href=\"#transfers\" class=\"tab_session\" data-filterTab=\"transfers\"><i class=\"icon-exchange d-block d-md-none\" data-bs-toggle=\"tooltip\" title=\"Trasferimenti\"></i><span class=\"d-none d-md-block\">Trasferimenti</span></a></li>
  3438. \t\t\t\t\t\t<li><a id=\"btn_tab_data\" href=\"#data\" class=\"tab_session\" data-filterTab=\"data\"><i class=\"icon-users d-block d-md-none\" data-bs-toggle=\"tooltip\" title=\"Dati e utenti\"></i><span class=\"d-none d-md-block\">Dati e utenti</span></a></li>
  3439. \t\t\t\t\t\t{% if (warehouse.headquarter and (app.user.getAccountTypology == 'agency' or app.user.getAccountTypology == 'warehouse')) or app.user.getAccountTypology == 'technician' %}
  3440. \t\t\t\t\t\t\t<li><a id=\"btn_tab_request\" href=\"#technicianRequests\" class=\"tab_session\" data-filterTab=\"request\"><i class=\"icon-question d-block d-md-none\" data-bs-toggle=\"tooltip\" title=\"{{ prReqTitle }}\"></i><span class=\"d-none d-md-block\">{{ prReqTitle }}</span></a></li>
  3441. \t\t\t\t\t\t{% endif %}
  3442. \t\t\t\t\t</ul>
  3443. \t\t\t\t\t<div class=\"tab-container\">
  3444. \t\t\t\t\t\t{# Scorte #}
  3445. \t\t\t\t\t\t<div class=\"tab-content clearfix\" id=\"stocks\">
  3446. \t\t\t\t\t\t\t<div class=\"row\">
  3447. \t\t\t\t\t\t\t\t<div class=\"col-12\">
  3448. \t\t\t\t\t\t\t\t\t<h4 class=\"form_title\">Scorte in magazzino
  3449. \t\t\t\t\t\t\t\t\t\t<a href=\"{{ path ('user_warehouse_stocks_export_csv', {'warehouseId':warehouse.id}) }}\" class=\"button button-3d button-mini button-pr m_t_none m_b_none f_right\"><i class=\"icon-file-excel d-block d-lg-none m_r_none\" data-bs-toggle=\"tooltip\" title=\"Esporta in csv\"></i><span class=\"d-none d-lg-block\">Esporta in csv</span></a>
  3450. \t\t\t\t\t\t\t\t\t\t{% if (app.user.getAccountTypology == 'agency' or app.user.getAccountTypology == 'warehouse') %}
  3451. \t\t\t\t\t\t\t\t\t\t\t{% if warehouse.headquarter and settingRecoverStock.value == 1 %}
  3452. \t\t\t\t\t\t\t\t\t\t\t\t<a href=\"{{ path ('user_warehouse_stocks_recover', {'warehouseId':warehouse.id}) }}\" class=\"button button-3d button-mini button-green m_t_none m_b_none f_right\"><i class=\"icon-barcode d-block d-lg-none m_r_none\" data-bs-toggle=\"tooltip\" title=\"Rientra scorte\"></i><span class=\"d-none d-lg-block\">Rientra scorte</span></a>
  3453. \t\t\t\t\t\t\t\t\t\t\t{% endif %}
  3454. \t\t\t\t\t\t\t\t\t\t\t{% if settingRegisterStock.value == 1 %}
  3455. \t\t\t\t\t\t\t\t\t\t\t\t<a href=\"{{ path ('user_warehouse_stocks_register', {'warehouseId':warehouse.id}) }}\" class=\"button button-3d button-mini button-green m_t_none m_b_none f_right\"><i class=\"icon-barcode d-block d-lg-none m_r_none\" data-bs-toggle=\"tooltip\" title=\"Registra scorte\"></i><span class=\"d-none d-lg-block\">Registra scorte</span></a>
  3456. \t\t\t\t\t\t\t\t\t\t\t{% endif %}
  3457. \t\t\t\t\t\t\t\t\t\t{% endif %}
  3458. \t\t\t\t\t\t\t\t\t\t{% if app.user.canWrite('warehouse_inventory') %}
  3459. \t\t\t\t\t\t\t\t\t\t\t<a href=\"javascript: stockInventory()\" class=\"button button-3d button-mini button-amber m_t_none m_b_none f_right\"><i class=\"icon-boxes d-block d-lg-none m_r_none\" data-bs-toggle=\"tooltip\" title=\"Inventario\"></i><span class=\"d-none d-lg-block\">Inventario</span></a>
  3460. \t\t\t\t\t\t\t\t\t\t{% endif %}
  3461. \t\t\t\t\t\t\t\t\t</h4>
  3462. \t\t\t\t\t\t\t\t\t<hr class=\"m_t_none\">
  3463. \t\t\t\t\t\t\t\t</div>
  3464. \t\t\t\t\t\t\t\t<div class=\"col-12\">
  3465. \t\t\t\t\t\t\t\t\t<div class=\"tabs clearfix\">
  3466. \t\t\t\t\t\t\t\t\t\t<ul class=\"tab-nav clearfix\">
  3467. \t\t\t\t\t\t\t\t\t\t\t{% if warehouse.headquarter %}
  3468. \t\t\t\t\t\t\t\t\t\t\t\t<li><a id=\"btn_tab_s_to_manage\" href=\"#to_manage\" class=\"tab_session2\" data-filterTab=\"s_to_manage\"><i class=\"icon-question d-block d-md-none\" data-bs-toggle=\"tooltip\" title=\"Da gestire ({{ toManageProducts.getTotalItemCount }})\"></i><span class=\"d-none d-md-block\">Da gestire ({{ toManageProducts.getTotalItemCount }})</span></a></li>
  3469. \t\t\t\t\t\t\t\t\t\t\t{% endif %}
  3470. \t\t\t\t\t\t\t\t\t\t\t<li><a id=\"btn_tab_s_available\" href=\"#available\" class=\"tab_session2\" data-filterTab=\"s_available\"><i class=\"icon-check d-block d-md-none\" data-bs-toggle=\"tooltip\" title=\"Disponibili ({{ availableProducts.getTotalItemCount }})\"></i><span class=\"d-none d-md-block\">Disponibili ({{ availableProducts.getTotalItemCount }})</span></a></li>
  3471. \t\t\t\t\t\t\t\t\t\t\t<li><a id=\"btn_tab_s_not_available\" href=\"#not_available\" class=\"tab_session2\" data-filterTab=\"s_not_available\"><i class=\"icon-minus d-block d-md-none\" data-bs-toggle=\"tooltip\" title=\"Non disponibili ({{ notAvailableProducts.getTotalItemCount }})\"></i><span class=\"d-none d-md-block\">Non disponibili ({{ notAvailableProducts.getTotalItemCount }})</span></a></li>
  3472. \t\t\t\t\t\t\t\t\t\t\t<li><a id=\"btn_tab_s_transfer\" href=\"#transfer\" class=\"tab_session2\" data-filterTab=\"s_transfer\"><i class=\"icon-exchange d-block d-md-none\" data-bs-toggle=\"tooltip\" title=\"In trasferimento ({{ transferProducts.getTotalItemCount }})\"></i><span class=\"d-none d-md-block\">In trasferimento ({{ transferProducts.getTotalItemCount }})</span></a></li>
  3473. \t\t\t\t\t\t\t\t\t\t</ul>
  3474. \t\t\t\t\t\t\t\t\t\t<div class=\"tab-container\">
  3475. \t\t\t\t\t\t\t\t\t\t\t{% if warehouse.headquarter %}
  3476. \t\t\t\t\t\t\t\t\t\t\t\t<div class=\"tab-content clearfix\" id=\"to_manage\">
  3477. \t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"row\">
  3478. \t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"col-12\">
  3479. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<a id=\"button_0_print\" href=\"javascript: void(0)\" class=\"button button-3d button-mini button-grey f_right m_b_10p p_tb4_lr6\"><i class=\"icon-print d-block d-lg-none m_r_none\" data-bs-toggle=\"tooltip\" title=\"Stampa etichette\"></i><span class=\"d-none d-lg-block\">Stampa etichette</span></a>
  3480. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<a id=\"button_0_model\" href=\"javascript: void(0)\" class=\"button button-3d button-mini button-grey f_right m_b_10p p_tb4_lr6\"><i class=\"icon-line-alert-circle d-block d-lg-none m_r_none\" data-bs-toggle=\"tooltip\" title=\"Cambia modello\"></i><span class=\"d-none d-lg-block\">Cambia modello</span></a>
  3481. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<a id=\"button_0_condition\" href=\"javascript: void(0)\" class=\"button button-3d button-mini button-grey f_right m_b_10p p_tb4_lr6\"><i class=\"icon-line-alert-circle d-block d-lg-none m_r_none\" data-bs-toggle=\"tooltip\" title=\"Cambia condizione\"></i><span class=\"d-none d-lg-block\">Cambia condizione</span></a>
  3482. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<a id=\"button_0_supplier\" href=\"javascript: void(0)\" class=\"button button-3d button-mini button-grey f_right m_b_10p p_tb4_lr6\"><i class=\"icon-hand-holding d-block d-lg-none m_r_none\" data-bs-toggle=\"tooltip\" title=\"Modifica fornitori\"></i><span class=\"d-none d-lg-block\">Modifica fornitori</span></a>
  3483. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<a id=\"button_0_managed\" href=\"javascript: void(0)\" class=\"button button-3d button-mini button-grey f_right m_b_10p p_tb4_lr6\"><i class=\"icon-wrench d-block d-lg-none m_r_none\" data-bs-toggle=\"tooltip\" title=\"Gestito\"></i><span class=\"d-none d-lg-block\">Gestito</span></a>
  3484. \t\t\t\t\t\t\t\t\t\t\t\t\t\t</div>
  3485. \t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"col-12 overflow_a\">
  3486. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<table class=\"table table-sm table-bordered responsive_font_size\">
  3487. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<thead>
  3488. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<tr>
  3489. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<form method=\"get\" action=\"{{ path ('user_warehouse_sheet', {'warehouseId':warehouse.id}) }}\" id=\"formFilter_0\">
  3490. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td colspan=\"3\"><a href=\"{{ path ('remove_filter', {'route':app.request.attributes.get('_route'), 'route_params':app.request.attributes.get('_route_params')}) }}\" class=\"f_right\" data-bs-toggle=\"tooltip\" title=\"Escludi filtri\"><img class=\"icon_action icon_red\" src=\"{{ asset (icon_delete) }}\"></a></td>
  3491. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td class=\"td_w_150p\"><input type=\"text\" inputmode=\"search\" class=\"form-control\" name=\"codeProducer_0\" value=\"{{ filters.codeProducer_0|default() }}\"/></td>
  3492. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td class=\"td_w_180p\"><input type=\"text\" inputmode=\"search\" class=\"form-control\" name=\"model_0\" value=\"{{ filters.model_0|default() }}\"/></td>
  3493. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td class=\"td_w_120p\"><input type=\"text\" class=\"form-control\" id=\"filter_supplier_value_0\" readonly onClick=\"filterSuppliers0()\" data-bs-toggle=\"tooltip\"/><input type=\"hidden\" id=\"filter_supplier_id_0\" name=\"supplier_0\" value=\"{{ filters.supplier_0|default() }}\"/></td>
  3494. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td class=\"td_w_120p\"><input type=\"text\" inputmode=\"search\" class=\"form-control\" name=\"condition_0\" value=\"{{ filters.condition_0|default() }}\"/></td>
  3495. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td class=\"td_w_120p\"><input type=\"text\" inputmode=\"search\" class=\"form-control\" name=\"producer_0\" value=\"{{ filters.producer_0|default() }}\"/></td>
  3496. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td class=\"td_w_150p\"><input type=\"text\" inputmode=\"search\" class=\"form-control\" name=\"codeSupplier_0\" value=\"{{ filters.codeSupplier_0|default() }}\"/></td>
  3497. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td class=\"td_w_120p\"><input type=\"text\" inputmode=\"search\" class=\"form-control\" name=\"sku_0\" value=\"{{ filters.sku_0|default() }}\"/></td>
  3498. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td class=\"td_w_120p\"><input type=\"text\" inputmode=\"search\" class=\"form-control\" name=\"technician_0\" value=\"{{ filters.technician_0|default() }}\"/></td>
  3499. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td class=\"td_w_60p\"><input type=\"text\" inputmode=\"search\" class=\"form-control\" name=\"ddt_0\" value=\"{{ filters.ddt_0|default() }}\"/></td>
  3500. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td class=\"td_w_120p\"><input type=\"text\" inputmode=\"search\" class=\"form-control\" name=\"lastUser_0\" value=\"{{ filters.lastUser_0|default() }}\"/></td>
  3501. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{# <td class=\"td_w_20p\"><button type=\"submit\" class=\"btn bg_w f_left p_0p\" data-bs-toggle=\"tooltip\" title=\"Filtra\"><img class=\"icon_green icon_action\" src=\"{{ asset (icon_search) }}\"></button></td> #}
  3502. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td class=\"td_w_60p\">
  3503. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<button type=\"submit\" class=\"btn bg_w f_left p_0p\" data-bs-toggle=\"tooltip\" title=\"Filtra\"><img class=\"icon_action icon_green\" src=\"{{ asset (icon_search) }}\"></button>
  3504. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<a href=\"{{ path ('user_warehouse_stocks_export_csv_filtered', {'warehouseId':warehouse.id, 'status':'to_manage'}) }}\" class=\"f_right\" data-bs-toggle=\"tooltip\" title=\"Esporta filtrati\"><img class=\"icon_action icon_amber\" src=\"{{ asset (icon_xls) }}\"></a>
  3505. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</td>
  3506. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<input type=\"hidden\" name=\"filter_tab\" value=\"s_to_manage\">
  3507. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<input id=\"sort_field_0\" type=\"hidden\" name=\"sortField_0\" value=\"{{ filters.sortField_0|default() }}\"/>
  3508. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<input id=\"sort_order_0\" type=\"hidden\" name=\"sortOrder_0\" value=\"{{ filters.sortOrder_0|default() }}\"/>
  3509. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</form>
  3510. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</tr>
  3511. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<tr class=\"bg_pr color_w\">
  3512. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<th class=\"td_w_20p\"></th>
  3513. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<th class=\"td_w_20p\">
  3514. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"switch\" data-bs-toggle=\"tooltip\" title=\"Seleziona tutti\">
  3515. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<input id=\"stock_0_all_checkboxes\" class=\"switch-toggle switch-flat-mini switch-toggle-flat\" type=\"checkbox\" onChange=\"javascript: selectAll(0, 's_to_manage')\">
  3516. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<label for=\"stock_0_all_checkboxes\" class=\"m_b_none\"></label>
  3517. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</div>
  3518. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</th>
  3519. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<th class=\"td_w_40p txt_a_c\">Ptà<button type=\"button\" onClick=\"setOrderBy0('p.toManagePriority')\" data-orderField=\"p.toManagePriority\" class=\"f_right filter_arrow_0\"><img width=\"18\" data-bs-toggle=\"tooltip\" title=\"Ordina in ordine alfabetico\"></button></th>
  3520. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<th>Matr. produttore<button type=\"button\" onClick=\"setOrderBy0('p.codeProducer')\" data-orderField=\"p.codeProducer\" class=\"f_right filter_arrow_0\"><img width=\"18\" data-bs-toggle=\"tooltip\" title=\"Ordina in ordine alfabetico\"></button></th>
  3521. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<th>Modello<button type=\"button\" onClick=\"setOrderBy0('m.name')\" data-orderField=\"m.name\" class=\"f_right filter_arrow_0\"><img width=\"18\" data-bs-toggle=\"tooltip\" title=\"Ordina in ordine alfabetico\"></button></th>
  3522. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<th>Fornitori</th>\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
  3523. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<th>Condizione<button type=\"button\" onClick=\"setOrderBy0('c.value')\" data-orderField=\"c.value\" class=\"f_right filter_arrow_0\"><img width=\"18\" data-bs-toggle=\"tooltip\" title=\"Ordina in ordine alfabetico\"></button></th>
  3524. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<th>Produttore<button type=\"button\" onClick=\"setOrderBy0('pr.name')\" data-orderField=\"pr.name\" class=\"f_right filter_arrow_0\"><img width=\"18\" data-bs-toggle=\"tooltip\" title=\"Ordina in ordine alfabetico\"></button></th>
  3525. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<th>Matr. fornitore<button type=\"button\" onClick=\"setOrderBy0('p.codeSupplier')\" data-orderField=\"p.codeSupplier\" class=\"f_right filter_arrow_0\"><img width=\"18\" data-bs-toggle=\"tooltip\" title=\"Ordina in ordine alfabetico\"></button></th>
  3526. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<th>SKU<button type=\"button\" onClick=\"setOrderBy0('m.sku')\" data-orderField=\"m.sku\" class=\"f_right filter_arrow_0\"><img width=\"18\" data-bs-toggle=\"tooltip\" title=\"Ordina in ordine alfabetico\"></button></th>
  3527. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<th>Tecnico</th>
  3528. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<th>DDT</th>
  3529. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<th colspan=\"2\">Ultimo utente log</th>
  3530. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</tr>
  3531. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</thead>
  3532. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<tbody>
  3533. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% if toManageProducts|length > 0 %}
  3534. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% for product in toManageProducts %}
  3535. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% set first = true %}
  3536. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% set suppliersString = '' %}
  3537. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% for supplier in product.suppliers %}
  3538. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% if first %}{% set first = false %}{% else %}{% set suppliersString = suppliersString ~ '-' %}{% endif %}
  3539. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% set suppliersString = suppliersString ~ supplier.id %}
  3540. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% endfor %}
  3541. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<input type=\"hidden\" id=\"suppliers_ids_string\" value=\"{{ suppliersString }}\">
  3542. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<tr {% if product.toManage %}class=\"bg_to_manage_{{ product.toManagePriority }}\"{% endif %}>
  3543. \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':product.id}) }}\" data-bs-toggle=\"tooltip\" title=\"Scheda\"><img class=\"icon_action icon_pr\" src=\"{{ asset(icon_sheet) }}\"></a></td>
  3544. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td>
  3545. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"switch\">
  3546. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<input id=\"stock_checkbox_{{ product.id }}\" class=\"switch-toggle switch-flat-mini switch-toggle-flat stock_0_checkbox\" type=\"checkbox\" value=\"{{ product.id }}\" onChange=\"javascript: updateButtons(0, 's_to_manage')\">
  3547. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<label for=\"stock_checkbox_{{ product.id }}\" class=\"m_b_none\"></label>
  3548. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</div>
  3549. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</td>
  3550. \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\">{{ product.toManagePriority }}</td>
  3551. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td id=\"product_codeProducer_{{ product.id }}\"><a href=\"{{ path ('user_product_sheet', {'productId':product.id}) }}\" class=\"underline\" target=\"_blank\">{{ product.codeProducer|default('---') }}</a></td>
  3552. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td id=\"product_model_{{ product.id }}\">{{ product.model.name }}</td>
  3553. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td>{{ product.displaySuppliers()|raw }}</td>
  3554. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td>{{ product.displayCondition('string-short') }}</td>
  3555. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td>{{ product.model.producer }}</td>
  3556. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td id=\"product_codeSupplier_{{ product.id }}\">{{ product.codeSupplier|default('---') }}</td>
  3557. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td>{{ product.model.sku }}</td>
  3558. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td>{% if product.getLastTransfer is not null %}{{ product.getLastTransfer().userFrom }}{% endif %}</td>
  3559. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td>{{ product.displayTransfersDdt()|raw }}</td>
  3560. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td colspan=\"2\">{{ product.lastUserLog }}</td>
  3561. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</tr>
  3562. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% endfor %}
  3563. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% else %}
  3564. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% include 'components/twig/notice_no_values.html.twig' with {'message':'Nessun prodotto in questo stato'} %}
  3565. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% endif %}
  3566. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</tbody>
  3567. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</table>
  3568. \t\t\t\t\t\t\t\t\t\t\t\t\t\t</div>
  3569. \t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"col-12 navigation txt_a_r\">
  3570. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{{ knp_pagination_render(toManageProducts) }}
  3571. \t\t\t\t\t\t\t\t\t\t\t\t\t\t</div>
  3572. \t\t\t\t\t\t\t\t\t\t\t\t\t</div>
  3573. \t\t\t\t\t\t\t\t\t\t\t\t</div>
  3574. \t\t\t\t\t\t\t\t\t\t\t{% endif %}
  3575. \t\t\t\t\t\t\t\t\t\t\t<div class=\"tab-content clearfix\" id=\"available\">
  3576. \t\t\t\t\t\t\t\t\t\t\t\t{% set number = 1 %}
  3577. \t\t\t\t\t\t\t\t\t\t\t\t{% set tab = 's_available' %}
  3578. \t\t\t\t\t\t\t\t\t\t\t\t{% set status = 'available' %}
  3579. \t\t\t\t\t\t\t\t\t\t\t\t{% set products = availableProducts %}
  3580. \t\t\t\t\t\t\t\t\t\t\t\t{% set multipleSelection = [false, 1, []] %}
  3581. \t\t\t\t\t\t\t\t\t\t\t\t{% if app.user.canWrite('warehouse') or (warehouse.jtUser(app.user.id) != null and warehouse.jtUser(app.user.id).permission == 'RW') %}
  3582. \t\t\t\t\t\t\t\t\t\t\t\t\t{% if app.user.getAccountTypology != 'technician' %}
  3583. \t\t\t\t\t\t\t\t\t\t\t\t\t\t{% set multipleSelection = [true, 1, ['supplier', 'condition', 'send', 'export', 'print']] %}
  3584. \t\t\t\t\t\t\t\t\t\t\t\t\t{% else %}
  3585. \t\t\t\t\t\t\t\t\t\t\t\t\t\t{% set multipleSelection = [true, 1, ['condition', 'send', 'export']] %}
  3586. \t\t\t\t\t\t\t\t\t\t\t\t\t{% endif %}
  3587. \t\t\t\t\t\t\t\t\t\t\t\t{% endif %}
  3588. \t\t\t\t\t\t\t\t\t\t\t\t{% block tableStocks %}
  3589. \t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"row\">
  3590. \t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"col-12\">
  3591. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% if multipleSelection[0] %}
  3592. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% if 'print' in multipleSelection[2] %}<a id=\"button_{{ multipleSelection[1] }}_print\" href=\"javascript: void(0)\" class=\"button button-3d button-mini button-grey f_right m_b_10p p_tb4_lr6\"><i class=\"icon-print d-block d-lg-none m_r_none\" data-bs-toggle=\"tooltip\" title=\"Stampa etichette\"></i><span class=\"d-none d-lg-block\">Stampa etichette</span></a>{% endif %}
  3593. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% if 'condition' in multipleSelection[2] %}<a id=\"button_{{ multipleSelection[1] }}_condition\" href=\"javascript: void(0)\" class=\"button button-3d button-mini button-grey f_right m_b_10p p_tb4_lr6\"><i class=\"icon-line-alert-circle d-block d-lg-none m_r_none\" data-bs-toggle=\"tooltip\" title=\"Cambia condizione\"></i><span class=\"d-none d-lg-block\">Cambia condizione</span></a>{% endif %}
  3594. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% if 'supplier' in multipleSelection[2] %}<a id=\"button_{{ multipleSelection[1] }}_supplier\" href=\"javascript: void(0)\" class=\"button button-3d button-mini button-grey f_right m_b_10p p_tb4_lr6\"><i class=\"icon-hand-holding d-block d-lg-none m_r_none\" data-bs-toggle=\"tooltip\" title=\"Modifica fornitori\"></i><span class=\"d-none d-lg-block\">Modifica fornitori</span></a>{% endif %}
  3595. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% if 'send' in multipleSelection[2] %}<a id=\"button_{{ multipleSelection[1] }}_send\" href=\"javascript: void(0)\" class=\"button button-3d button-mini button-grey f_right m_b_10p p_tb4_lr6\"><i class=\"icon-line-send d-block d-lg-none m_r_none\" data-bs-toggle=\"tooltip\" title=\"Invia materiale\"></i><span class=\"d-none d-lg-block\">Invia materiale</span></a>{% endif %}
  3596. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% if 'export' in multipleSelection[2] %}<a href=\"{{ path ('user_warehouse_stocks_export_csv_for_send', {'warehouseId':warehouse.id, 'status':status}) }}\" class=\"button button-3d button-mini button-amber f_right m_b_10p p_tb4_lr6\"><i class=\"icon-line-send d-block d-lg-none m_r_none\" data-bs-toggle=\"tooltip\" title=\"Esporta per invio\"></i><span class=\"d-none d-lg-block\">Esporta per invio</span></a>{% endif %}
  3597. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% endif %}
  3598. \t\t\t\t\t\t\t\t\t\t\t\t\t\t</div>
  3599. \t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"col-12 overflow_a\">
  3600. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<table class=\"table table-sm table-bordered responsive_font_size v_a_m\">
  3601. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<thead>
  3602. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<tr>
  3603. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<form method=\"get\" action=\"{{ path ('user_warehouse_sheet', {'warehouseId':warehouse.id}) }}\" id=\"formFilter_1\">
  3604. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td {% if multipleSelection[0] %}colspan=\"2\"{% endif %}><a href=\"{{ path ('remove_filter', {'route':app.request.attributes.get('_route'), 'route_params':app.request.attributes.get('_route_params')}) }}\" class=\"f_right\" data-bs-toggle=\"tooltip\" title=\"Escludi filtro\"><img class=\"icon_action icon_red\" src=\"{{ asset (icon_delete) }}\"></a></td>
  3605. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td class=\"td_w_150p\"><input type=\"text\" inputmode=\"search\" class=\"form-control\" name=\"codeProducer_1\" value=\"{{ filters.codeProducer_1|default() }}\" data-bs-toggle=\"tooltip\" title=\"Puoi effettuare ricerche multiple inserendo valori separati da virgola [Es. 1234,5678,901 o 1234, 5678, 901]\"/></td>
  3606. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td class=\"td_w_180p\"><input type=\"text\" inputmode=\"search\" class=\"form-control\" name=\"model_1\" value=\"{{ filters.model_1|default() }}\"/></td>
  3607. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td class=\"td_w_120p\"><input type=\"text\" class=\"form-control\" id=\"filter_supplier_value_{{ number }}\" readonly onClick=\"filterSuppliers{{ number }}()\" data-bs-toggle=\"tooltip\"/><input type=\"hidden\" id=\"filter_supplier_id_{{ number }}\" name=\"supplier_1\" value=\"{{ filters.supplier_1|default() }}\"/></td>
  3608. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td class=\"td_w_120p\"><input type=\"text\" inputmode=\"search\" class=\"form-control\" name=\"condition_1\" value=\"{{ filters.condition_1|default() }}\"/></td>
  3609. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td class=\"td_w_90p\"><input type=\"text\" inputmode=\"search\" class=\"form-control\" name=\"producer_1\" value=\"{{ filters.producer_1|default() }}\"/></td>
  3610. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td class=\"td_w_150p\"><input type=\"text\" inputmode=\"search\" class=\"form-control\" name=\"codeSupplier_1\" value=\"{{ filters.codeSupplier_1|default() }}\"/></td>
  3611. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td class=\"td_w_120p\"><input type=\"text\" inputmode=\"search\" class=\"form-control\" name=\"sku_1\" value=\"{{ filters.sku_1|default() }}\"/></td>
  3612. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td class=\"td_w_120p\"><input type=\"text\" class=\"form-control daterange1last font_12\" id=\"daterange1last_{{ number }}\" inputmode=\"search\" autocomplete=\"off\" name=\"dateLastTransfer_1\" style=\"height: 38px\" date-filter=\"range\"/></td>
  3613. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td class=\"td_w_60p\"><input type=\"text\" inputmode=\"search\" class=\"form-control\" name=\"ddt_1\" value=\"{{ filters.ddt_1|default() }}\"/></td>
  3614. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td class=\"td_w_60p\">
  3615. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<button type=\"submit\" class=\"btn bg_w f_left p_0p\" data-bs-toggle=\"tooltip\" title=\"Filtra\"><img class=\"icon_action icon_green\" src=\"{{ asset (icon_search) }}\"></button>
  3616. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<a href=\"{{ path ('user_warehouse_stocks_export_csv_filtered', {'warehouseId':warehouse.id, 'status':status}) }}\" class=\"f_right\" data-bs-toggle=\"tooltip\" title=\"Esporta filtrati\"><img class=\"icon_action icon_amber\" src=\"{{ asset (icon_xls) }}\"></a>
  3617. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</td>
  3618. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<input type=\"hidden\" name=\"filter_tab\" value=\"{{ tab }}\">
  3619. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<input id=\"sort_field_1\" type=\"hidden\" name=\"sortField_1\" value=\"{{ filters.sortField_1|default() }}\"/>
  3620. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<input id=\"sort_order_1\" type=\"hidden\" name=\"sortOrder_1\" value=\"{{ filters.sortOrder_1|default() }}\"/>
  3621. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</form>
  3622. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</tr>
  3623. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<tr class=\"bg_pr color_w\">
  3624. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<th class=\"td_w_20p\"></th>
  3625. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% if multipleSelection[0] %}
  3626. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<th class=\"td_w_20p\">
  3627. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"switch\" data-bs-toggle=\"tooltip\" title=\"Seleziona tutti\">
  3628. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<input id=\"stock_{{ multipleSelection[1] }}_all_checkboxes\" class=\"switch-toggle switch-flat-mini switch-toggle-flat\" type=\"checkbox\" onChange=\"javascript: selectAll({{ multipleSelection[1] }}, '{{ tab }}')\">
  3629. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<label for=\"stock_{{ multipleSelection[1] }}_all_checkboxes\" class=\"m_b_none\"></label>
  3630. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</div>
  3631. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</th>
  3632. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% endif %}
  3633. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<th>Matr. produttore<button type=\"button\" onClick=\"setOrderBy1('p.codeProducer')\" data-orderField=\"p.codeProducer\" class=\"f_right filter_arrow_1\"><img width=\"18\" data-bs-toggle=\"tooltip\" title=\"Ordina in ordine alfabetico\"></button></th>
  3634. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<th>Modello<button type=\"button\" onClick=\"setOrderBy1('m.name')\" data-orderField=\"m.name\" class=\"f_right filter_arrow_1\"><img width=\"18\" data-bs-toggle=\"tooltip\" title=\"Ordina in ordine alfabetico\"></button></th>
  3635. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<th>Fornitori</th>
  3636. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<th>Condizione<br>(Ultimi riferimenti)<button type=\"button\" onClick=\"setOrderBy1('c.value')\" data-orderField=\"c.value\" class=\"f_right filter_arrow_1\"><img width=\"18\" data-bs-toggle=\"tooltip\" title=\"Ordina in ordine alfabetico\"></button></th>
  3637. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<th>Produttore<button type=\"button\" onClick=\"setOrderBy1('pr.name')\" data-orderField=\"pr.name\" class=\"f_right filter_arrow_1\"><img width=\"18\" data-bs-toggle=\"tooltip\" title=\"Ordina in ordine alfabetico\"></button></th>
  3638. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<th>Matr. fornitore<button type=\"button\" onClick=\"setOrderBy1('p.codeSupplier')\" data-orderField=\"p.codeSupplier\" class=\"f_right filter_arrow_1\"><img width=\"18\" data-bs-toggle=\"tooltip\" title=\"Ordina in ordine alfabetico\"></button></th>
  3639. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<th>SKU<button type=\"button\" onClick=\"setOrderBy1('m.sku')\" data-orderField=\"m.sku\" class=\"f_right filter_arrow_1\"><img width=\"18\" data-bs-toggle=\"tooltip\" title=\"Ordina in ordine alfabetico\"></button></th>
  3640. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<th>Data ultimo trasf.<button type=\"button\" onClick=\"setOrderBy1('p.dateLastTransfer')\" data-orderField=\"p.dateLastTransfer\" class=\"f_right filter_arrow_1\"><img width=\"18\" data-bs-toggle=\"tooltip\" title=\"Ordina in ordine alfabetico\"></button></th>
  3641. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<th colspan=\"2\">DDT</th>
  3642. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</tr>
  3643. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</thead>
  3644. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<tbody>
  3645. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% if products|length > 0 %}
  3646. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% for product in products %}
  3647. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% set first = true %}
  3648. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% set suppliersString = '' %}
  3649. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% for supplier in product.suppliers %}
  3650. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% if first %}{% set first = false %}{% else %}{% set suppliersString = suppliersString ~ '-' %}{% endif %}
  3651. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% set suppliersString = suppliersString ~ supplier.id %}
  3652. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% endfor %}
  3653. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<input type=\"hidden\" id=\"suppliers_ids_string\" value=\"{{ suppliersString }}\">
  3654. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<tr {% if product.toManage %}class=\"bg_to_manage_{{ product.toManagePriority }}\"{% endif %}>
  3655. \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':product.id}) }}\" data-bs-toggle=\"tooltip\" title=\"Scheda\"><img class=\"icon_action icon_pr\" src=\"{{ asset(icon_sheet) }}\"></a></td>
  3656. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% if multipleSelection[0] %}
  3657. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td>
  3658. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"switch\">
  3659. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<input id=\"stock_checkbox_{{ product.id }}\" class=\"switch-toggle switch-flat-mini switch-toggle-flat stock_{{ multipleSelection[1] }}_checkbox\" type=\"checkbox\" value=\"{{ product.id }}\" onChange=\"javascript: updateButtons({{ multipleSelection[1] }}, '{{ tab }}')\">
  3660. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<label for=\"stock_checkbox_{{ product.id }}\" class=\"m_b_none\"></label>
  3661. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</div>
  3662. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</td>
  3663. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% endif %}
  3664. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td id=\"product_codeProducer_{{ product.id }}\">{{ product.codeProducer|default('---') }}</td>
  3665. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td id=\"product_model_{{ product.id }}\">{{ product.model.name }}</td>
  3666. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td>{{ product.displaySuppliers()|raw }}</td>
  3667. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td>{{ product.displayCondition('string-short') }}
  3668. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% if product.getLastTicket is not null and tab == \"s_not_available\" %}<a href=\"{{ path('user_ticket_sheet', {'ticketId': product.getLastTicket.id }) }}\" target=\"_blank\">{{ product.displayLastRefs|raw }}</a>{% endif %}
  3669. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</td>
  3670. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td>{{ product.model.producer }}</td>
  3671. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td id=\"product_codeSupplier_{{ product.id }}\">{{ product.codeSupplier|default('---') }}</td>
  3672. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td>{{ product.model.sku }}</td>
  3673. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td>{{ product.dateLastTransfer|date('d-m-Y H:i') }}</td>
  3674. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td colspan=\"2\">{{ product.displayTransfersDdt()|raw }}</td>
  3675. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</tr>
  3676. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% endfor %}
  3677. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% else %}
  3678. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% include 'components/twig/notice_no_values.html.twig' with {'message':'Nessun prodotto in questo stato'} %}
  3679. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% endif %}
  3680. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</tbody>
  3681. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</table>
  3682. \t\t\t\t\t\t\t\t\t\t\t\t\t\t</div>
  3683. \t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"col-12 navigation txt_a_r\">
  3684. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{{ knp_pagination_render(products) }}
  3685. \t\t\t\t\t\t\t\t\t\t\t\t\t\t</div>
  3686. \t\t\t\t\t\t\t\t\t\t\t\t\t</div>
  3687. \t\t\t\t\t\t\t\t\t\t\t\t{% endblock %}
  3688. \t\t\t\t\t\t\t\t\t\t\t</div>
  3689. \t\t\t\t\t\t\t\t\t\t\t<div class=\"tab-content clearfix\" id=\"not_available\">
  3690. \t\t\t\t\t\t\t\t\t\t\t\t{% set number = 2 %}
  3691. \t\t\t\t\t\t\t\t\t\t\t\t{% set tab = 's_not_available' %}
  3692. \t\t\t\t\t\t\t\t\t\t\t\t{% set status = 'not_available' %}
  3693. \t\t\t\t\t\t\t\t\t\t\t\t{% set products = notAvailableProducts %}
  3694. \t\t\t\t\t\t\t\t\t\t\t\t{% set index = 1 %}
  3695. \t\t\t\t\t\t\t\t\t\t\t\t{% set multipleSelection = [false, 2, []] %}
  3696. \t\t\t\t\t\t\t\t\t\t\t\t{% if app.user.canWrite('warehouse') or (warehouse.jtUser(app.user.id) != null and warehouse.jtUser(app.user.id).permission == 'RW') %}
  3697. \t\t\t\t\t\t\t\t\t\t\t\t\t{% if app.user.getAccountTypology != 'technician' %}
  3698. \t\t\t\t\t\t\t\t\t\t\t\t\t\t{% set multipleSelection = [true, 2, ['supplier', 'condition', 'send', 'export', 'print']] %}
  3699. \t\t\t\t\t\t\t\t\t\t\t\t\t{% else %}
  3700. \t\t\t\t\t\t\t\t\t\t\t\t\t\t{% set multipleSelection = [true, 2, ['condition', 'send', 'export']] %}
  3701. \t\t\t\t\t\t\t\t\t\t\t\t\t{% endif %}
  3702. \t\t\t\t\t\t\t\t\t\t\t\t{% endif %}
  3703. \t\t\t\t\t\t\t\t\t\t\t\t{{ block('tableStocks') }}
  3704. \t\t\t\t\t\t\t\t\t\t\t</div>
  3705. \t\t\t\t\t\t\t\t\t\t\t<div class=\"tab-content clearfix\" id=\"transfer\">
  3706. \t\t\t\t\t\t\t\t\t\t\t\t{% set number = 3 %}
  3707. \t\t\t\t\t\t\t\t\t\t\t\t{% set tab = 's_transfer' %}
  3708. \t\t\t\t\t\t\t\t\t\t\t\t{% set status = 'transfer' %}
  3709. \t\t\t\t\t\t\t\t\t\t\t\t{% set products = transferProducts %}
  3710. \t\t\t\t\t\t\t\t\t\t\t\t{% set index = 1 %}
  3711. \t\t\t\t\t\t\t\t\t\t\t\t{% set multipleSelection = [false, null, []] %}
  3712. \t\t\t\t\t\t\t\t\t\t\t\t{{ block('tableStocks') }}
  3713. \t\t\t\t\t\t\t\t\t\t\t</div>
  3714. \t\t\t\t\t\t\t\t\t\t</div>
  3715. \t\t\t\t\t\t\t\t\t</div>
  3716. \t\t\t\t\t\t\t\t</div>
  3717. \t\t\t\t\t\t\t</div>
  3718. \t\t\t\t\t\t</div>
  3719. \t\t\t\t\t\t{# Trasferimenti #}
  3720. \t\t\t\t\t\t<div class=\"tab-content clearfix\" id=\"transfers\">
  3721. \t\t\t\t\t\t\t<div class=\"row\">
  3722. \t\t\t\t\t\t\t\t<div class=\"col-12\">
  3723. \t\t\t\t\t\t\t\t\t<h4 class=\"form_title\">Trasferimenti</h4>
  3724. \t\t\t\t\t\t\t\t\t<hr class=\"m_t_none\">
  3725. \t\t\t\t\t\t\t\t\t<div class=\"tabs clearfix\">
  3726. \t\t\t\t\t\t\t\t\t\t<ul class=\"tab-nav clearfix\">
  3727. \t\t\t\t\t\t\t\t\t\t\t<li><a id=\"btn_tab_pt_incoming\" href=\"#incoming\" class=\"tab_session2\" data-filterTab=\"pt_incoming\"><i class=\"icon-download d-block d-md-none\" data-bs-toggle=\"tooltip\" title=\"In entrata ({{ incomingTransfers.getTotalItemCount }})\"></i><span class=\"d-none d-md-block\">In entrata ({{ incomingTransfers.getTotalItemCount }})</span></a></li>
  3728. \t\t\t\t\t\t\t\t\t\t\t<li><a id=\"btn_tab_pt_output\" href=\"#output\" class=\"tab_session2\" data-filterTab=\"pt_output\"><i class=\"icon-upload d-block d-md-none\" data-bs-toggle=\"tooltip\" title=\"In uscita ({{ outputTransfers.getTotalItemCount }})\"></i><span class=\"d-none d-md-block\">In uscita ({{ outputTransfers.getTotalItemCount }})</span></a></li>
  3729. \t\t\t\t\t\t\t\t\t\t</ul>
  3730. \t\t\t\t\t\t\t\t\t\t<div class=\"tab-container\">
  3731. \t\t\t\t\t\t\t\t\t\t\t<div class=\"tab-content clearfix\" id=\"incoming\">
  3732. \t\t\t\t\t\t\t\t\t\t\t\t{% set transfers = incomingTransfers %}
  3733. \t\t\t\t\t\t\t\t\t\t\t\t{% set number = 1 %}
  3734. \t\t\t\t\t\t\t\t\t\t\t\t{% set tabType = 'pt_incoming' %}
  3735. \t\t\t\t\t\t\t\t\t\t\t\t{% block tableTransfers %}
  3736. \t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"row\">
  3737. \t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"col-12 overflow_a\">
  3738. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<table class=\"table table-bordered table-hover responsive_font_size\">
  3739. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<thead>
  3740. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<tr>
  3741. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<form method=\"get\" action=\"{{ path ('user_warehouse_sheet', {'warehouseId':warehouse.id}) }}\" id=\"formFilter_2\">
  3742. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td colspan=\"2\"><a href=\"{{ path ('remove_filter', {'route':app.request.attributes.get('_route'), 'route_params':app.request.attributes.get('_route_params') }) }}\" class=\"f_right\" data-bs-toggle=\"tooltip\" title=\"Escludi filtro\"><img class=\"icon_action icon_red\" src=\"{{ asset (icon_delete) }}\"></a></td>
  3743. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td class=\"td_w_100p\"><input type=\"text\" class=\"form-control daterange2creation font_12\" id=\"daterange2creation_{{ number }}\" inputmode=\"search\" autocomplete=\"off\" name=\"datetimeCreation_2\" style=\"height: 38px\" date-filter=\"range\"/></td>
  3744. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td class=\"td_w_100p\"><input type=\"text\" class=\"form-control daterange2send font_12\" id=\"daterange2send_{{ number }}\" inputmode=\"search\" autocomplete=\"off\" name=\"datetimeSend_2\" style=\"height: 38px\" date-filter=\"range\"/></td>
  3745. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td class=\"td_w_100p\"><input type=\"text\" class=\"form-control daterange2completion font_12\" id=\"daterange2completion_{{ number }}\" inputmode=\"search\" autocomplete=\"off\" name=\"datetimeCompletion_2\" style=\"height: 38px\" date-filter=\"range\"/></td>
  3746. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td class=\"td_w_200p\"><input type=\"text\" class=\"form-control\" inputmode=\"search\" name=\"warehouseFrom_2\" value=\"{{ filters.warehouseFrom_2|default() }}\"/></td>
  3747. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td class=\"td_w_200p\"><input type=\"text\" class=\"form-control\" inputmode=\"search\" name=\"warehouseTo_2\" value=\"{{ filters.warehouseTo_2|default() }}\"/></td>
  3748. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td class=\"td_w_80p\"><input type=\"text\" class=\"form-control\" inputmode=\"search\" name=\"ddt_2\" value=\"{{ filters.ddt_2|default() }}\"/></td>
  3749. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td class=\"td_w_100p\"><input type=\"text\" class=\"form-control\" inputmode=\"search\" name=\"stockOrder_2\" value=\"{{ filters.stockOrder_2|default() }}\"/></td>
  3750. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td class=\"td_w_20p\"><button type=\"submit\" class=\"btn bg_w f_left p_0p\" data-bs-toggle=\"tooltip\" title=\"Filtra\"><img class=\"icon_action icon_green\" src=\"{{ asset (icon_search) }}\"></button></td>\t
  3751. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<input type=\"hidden\" name=\"filter_tab\" value=\"{{ tabType }}\">
  3752. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<input id=\"sort_field_2\" type=\"hidden\" name=\"sortField_2\" value=\"{{ filters.sortField_2|default() }}\"/>
  3753. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<input id=\"sort_order_2\" type=\"hidden\" name=\"sortOrder_2\" value=\"{{ filters.sortOrder_2|default() }}\"/>
  3754. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</form>
  3755. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</tr>
  3756. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<tr class=\"bg_pr color_w\">
  3757. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<th rowspan=\"2\" class=\"td_w_20p\"></th>
  3758. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<th rowspan=\"2\" class=\"td_w_100p v_a_m\">Fase<button type=\"button\" onClick=\"setOrderBy2('p.phase')\" data-orderField=\"p.phase\" class=\"f_right filter_arrow_2\"><img width=\"18\" data-bs-toggle=\"tooltip\" title=\"Ordina in ordine alfabetico\"></button></th>
  3759. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<th colspan=\"3\" class=\"txt_a_c p_025rem\">Data/ora</th>
  3760. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<th rowspan=\"2\" class=\"v_a_m\">Mag. partenza<button type=\"button\" onClick=\"setOrderBy2('wf.nickname')\" data-orderField=\"wf.nickname\" class=\"f_right filter_arrow_2\"><img width=\"18\" data-bs-toggle=\"tooltip\" title=\"Ordina in ordine alfabetico\"></button></th>
  3761. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<th rowspan=\"2\" class=\"v_a_m\">Mag. arrivo<button type=\"button\" onClick=\"setOrderBy2('wt.nickname')\" data-orderField=\"wt.nickname\" class=\"f_right filter_arrow_2\"><img width=\"18\" data-bs-toggle=\"tooltip\" title=\"Ordina in ordine alfabetico\"></button></th>
  3762. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<th rowspan=\"2\" class=\"v_a_m txt_a_c\">DDT<button type=\"button\" onClick=\"setOrderBy2('p.ddt')\" data-orderField=\"p.ddt\" class=\"f_right filter_arrow_2\"><img width=\"18\" data-bs-toggle=\"tooltip\" title=\"Ordina in ordine alfabetico\"></button></th>
  3763. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<th rowspan=\"2\" class=\"v_a_m\">Stock order<button type=\"button\" onClick=\"setOrderBy2('p.stockOrder')\" data-orderField=\"p.stockOrder\" class=\"f_right filter_arrow_2\"><img width=\"18\" data-bs-toggle=\"tooltip\" title=\"Ordina in ordine alfabetico\"></button></th>
  3764. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<th rowspan=\"2\"></th>
  3765. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</tr>
  3766. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<tr class=\"bg_pr color_w\">
  3767. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<th class=\"p_025rem txt_a_c\">Creazione<button type=\"button\" onClick=\"setOrderBy2('p.datetimeCreation')\" data-orderField=\"p.datetimeCreation\" class=\"f_right filter_arrow_2\"><img width=\"18\" data-bs-toggle=\"tooltip\" title=\"Ordina in ordine alfabetico\"></button></th>
  3768. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<th class=\"p_025rem txt_a_c\">Invio<button type=\"button\" onClick=\"setOrderBy2('p.datetimeSend')\" data-orderField=\"p.datetimeSend\" class=\"f_right filter_arrow_2\"><img width=\"18\" data-bs-toggle=\"tooltip\" title=\"Ordina in ordine alfabetico\"></button></th>
  3769. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<th class=\"p_025rem txt_a_c\">Completam{% if app.user.getAccountTypology() != 'technician' %}ento{% endif %}<button type=\"button\" onClick=\"setOrderBy2('p.datetimeCompletion')\" data-orderField=\"p.datetimeCompletion\" class=\"f_right filter_arrow_2\"><img width=\"18\" data-bs-toggle=\"tooltip\" title=\"Ordina in ordine alfabetico\"></button></th>
  3770. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</tr>
  3771. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</thead>
  3772. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<tbody>
  3773. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% if transfers|length > 0 %}
  3774. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% for pt in transfers %}
  3775. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<tr>
  3776. \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_warehouse_transfer_sheet', {'warehouseId':warehouse.id, 'transferId':pt.id}) }}\" data-bs-toggle=\"tooltip\" title=\"Scheda\"><img class=\"icon_action icon_pr\" src=\"{{ asset (icon_sheet) }}\"></a></td>
  3777. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td>{{ pt.displayPhase('string')|raw }}</td>
  3778. \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.datetimeCreation|date('d-m-Y H:i') }}</td>
  3779. \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 pt.datetimeSend != null %}{{ pt.datetimeSend|date('d-m-Y H:i') }}{% else %}---{% endif %}</td>
  3780. \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 pt.datetimeCompletion != null %}{{ pt.datetimeCompletion|date('d-m-Y H:i') }}{% else %}---{% endif %}</td>
  3781. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td>{% if pt.warehouseFrom != null %}{{ pt.warehouseFrom }}{% else %}---{% endif %}</td>
  3782. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td>{% if pt.warehouseTo != null %}{{ pt.warehouseTo }}{% else %}---{% endif %}</td>
  3783. \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 pt.ddtPath != null %}{{ pt.ddt }}{% else %}---{% endif %}</td>
  3784. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td>{% if pt.stockOrder != null %}{{ pt.stockOrder }}{% else %}---{% endif %}</td>
  3785. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% if (warehouse.jtUser(app.user.id) != null and warehouse.jtUser(app.user.id).permission == 'RW') or app.user.canWrite('warehouse') %}
  3786. \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\">
  3787. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% if tabType == 'pt_incoming' %}
  3788. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% if pt.type == 'destination' %}
  3789. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<a href=\"javascript: transferDelete({{ pt.id }})\" data-bs-toggle=\"tooltip\" title=\"Elimina trasferimento\"><img class=\"icon_action icon_red\" src=\"{{ asset (icon_delete) }}\"></a>
  3790. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% endif %}
  3791. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% elseif tabType == 'pt_output' %}
  3792. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% if pt.hasProductsTransfered %}
  3793. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<a href=\"javascript: void(0)\" data-bs-toggle=\"tooltip\" title=\"Impossibile eliminare, alcuni prodotti sono stati già trasferiti!\"><img class=\"icon_action icon_grey\" src=\"{{ asset (icon_delete) }}\"></a>
  3794. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% else %}
  3795. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<a href=\"javascript: transferDelete({{ pt.id }})\" data-bs-toggle=\"tooltip\" title=\"Elimina trasferimento\"><img class=\"icon_action icon_red\" src=\"{{ asset (icon_delete) }}\"></a>
  3796. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% endif %}
  3797. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% endif %}
  3798. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</td>
  3799. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% endif %}
  3800. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</tr>
  3801. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% endfor %}
  3802. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% else %}
  3803. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% include 'components/twig/notice_no_values.html.twig' with {'message':'Nessuno trasferimento in questo stato'} %}
  3804. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% endif %}
  3805. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</tbody>
  3806. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</table>
  3807. \t\t\t\t\t\t\t\t\t\t\t\t\t\t</div>
  3808. \t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"col-12 navigation txt_a_r\">
  3809. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{{ knp_pagination_render(transfers) }}
  3810. \t\t\t\t\t\t\t\t\t\t\t\t\t\t</div>
  3811. \t\t\t\t\t\t\t\t\t\t\t\t\t</div>
  3812. \t\t\t\t\t\t\t\t\t\t\t\t{% endblock %}
  3813. \t\t\t\t\t\t\t\t\t\t\t</div>
  3814. \t\t\t\t\t\t\t\t\t\t\t<div class=\"tab-content clearfix\" id=\"output\">
  3815. \t\t\t\t\t\t\t\t\t\t\t\t{% set transfers = outputTransfers %}
  3816. \t\t\t\t\t\t\t\t\t\t\t\t{% set number = 2 %}
  3817. \t\t\t\t\t\t\t\t\t\t\t\t{% set tabType = 'pt_output' %}
  3818. \t\t\t\t\t\t\t\t\t\t\t\t{{ block('tableTransfers') }}
  3819. \t\t\t\t\t\t\t\t\t\t\t</div>
  3820. \t\t\t\t\t\t\t\t\t\t</div>
  3821. \t\t\t\t\t\t\t\t\t</div>
  3822. \t\t\t\t\t\t\t\t</div>
  3823. \t\t\t\t\t\t\t</div>
  3824. \t\t\t\t\t\t</div>
  3825. \t\t\t\t\t\t{# Dati e utenti #}
  3826. \t\t\t\t\t\t<div class=\"tab-content clearfix\" id=\"data\">
  3827. \t\t\t\t\t\t\t<div class=\"row\">
  3828. \t\t\t\t\t\t\t\t<div class=\"col-12 col-lg-6\">
  3829. \t\t\t\t\t\t\t\t\t<h4 class=\"form_title\">Dati generici
  3830. \t\t\t\t\t\t\t\t\t\t{% if app.user.canWrite('warehouse') %}
  3831. \t\t\t\t\t\t\t\t\t\t\t<a href=\"javascript: warehouseEdit()\" class=\"f_right\" data-bs-toggle=\"tooltip\" title=\"Modifica\"><img class=\"icon_action icon_amber\" src=\"{{ asset (icon_edit) }}\"></a>
  3832. \t\t\t\t\t\t\t\t\t\t{% endif %}
  3833. \t\t\t\t\t\t\t\t\t</h4>
  3834. \t\t\t\t\t\t\t\t\t<hr class=\"m_t_none\">
  3835. \t\t\t\t\t\t\t\t\t<table class=\"table table-hover responsive_font_size\">
  3836. \t\t\t\t\t\t\t\t\t\t<tr>
  3837. \t\t\t\t\t\t\t\t\t\t\t<th>Nickname</th>
  3838. \t\t\t\t\t\t\t\t\t\t\t<td>{{ warehouse.nickname }}</td>
  3839. \t\t\t\t\t\t\t\t\t\t</tr>
  3840. \t\t\t\t\t\t\t\t\t\t<tr>
  3841. \t\t\t\t\t\t\t\t\t\t\t<th>Attivo</th>
  3842. \t\t\t\t\t\t\t\t\t\t\t<td>{% if warehouse.active %}Sì{% else %}No{% endif %}</td>
  3843. \t\t\t\t\t\t\t\t\t\t</tr>
  3844. \t\t\t\t\t\t\t\t\t\t<tr>
  3845. \t\t\t\t\t\t\t\t\t\t\t<th>Sede</th>
  3846. \t\t\t\t\t\t\t\t\t\t\t<td>{% if warehouse.headquarter %}Sì{% else %}No{% endif %}</td>
  3847. \t\t\t\t\t\t\t\t\t\t</tr>
  3848. \t\t\t\t\t\t\t\t\t\t<tr>
  3849. \t\t\t\t\t\t\t\t\t\t\t<th>Indirizzo DDT</th>
  3850. \t\t\t\t\t\t\t\t\t\t\t<td>{{ warehouse.address }}</td>
  3851. \t\t\t\t\t\t\t\t\t\t</tr>
  3852. \t\t\t\t\t\t\t\t\t\t<tr>
  3853. \t\t\t\t\t\t\t\t\t\t\t<th>Fisso/Mobile</th>
  3854. \t\t\t\t\t\t\t\t\t\t\t<td>{% if warehouse.movable %}Mobile{% else %}Fisso{% endif %}</td>
  3855. \t\t\t\t\t\t\t\t\t\t</tr>
  3856. \t\t\t\t\t\t\t\t\t</table>
  3857. \t\t\t\t\t\t\t\t</div>
  3858. \t\t\t\t\t\t\t\t<div class=\"col-12 col-lg-6\">
  3859. \t\t\t\t\t\t\t\t\t<h4 class=\"form_title\">Utenti</h4>
  3860. \t\t\t\t\t\t\t\t\t<hr class=\"m_t_none\">
  3861. \t\t\t\t\t\t\t\t\t<table class=\"table table-hover responsive_font_size\">
  3862. \t\t\t\t\t\t\t\t\t\t<thead>
  3863. \t\t\t\t\t\t\t\t\t\t\t<tr>
  3864. \t\t\t\t\t\t\t\t\t\t\t\t<th>Utente</th>
  3865. \t\t\t\t\t\t\t\t\t\t\t\t<th>Permessi</th>
  3866. \t\t\t\t\t\t\t\t\t\t\t\t<th class=\"txt_a_c\">Principale</th>
  3867. \t\t\t\t\t\t\t\t\t\t\t</tr>
  3868. \t\t\t\t\t\t\t\t\t\t</thead>
  3869. \t\t\t\t\t\t\t\t\t\t<tbody>
  3870. \t\t\t\t\t\t\t\t\t\t\t{% for jtuw in warehouse.users %}
  3871. \t\t\t\t\t\t\t\t\t\t\t\t<tr>
  3872. \t\t\t\t\t\t\t\t\t\t\t\t\t<td>{{ jtuw.user }}</td>
  3873. \t\t\t\t\t\t\t\t\t\t\t\t\t<td>{{ jtuw.displayPermission }}</td>
  3874. \t\t\t\t\t\t\t\t\t\t\t\t\t<td class=\"txt_a_c\">{% if jtuw.main %}Sì{% else %}No{% endif %}</td>
  3875. \t\t\t\t\t\t\t\t\t\t\t\t</tr>
  3876. \t\t\t\t\t\t\t\t\t\t\t{% endfor %}
  3877. \t\t\t\t\t\t\t\t\t\t</tbody>
  3878. \t\t\t\t\t\t\t\t\t</table>
  3879. \t\t\t\t\t\t\t\t</div>
  3880. \t\t\t\t\t\t\t</div>
  3881. \t\t\t\t\t\t</div>
  3882. \t\t\t\t\t\t{# Richieste tecnici #}
  3883. \t\t\t\t\t\t{% if (warehouse.headquarter and (app.user.getAccountTypology == 'agency' or app.user.getAccountTypology == 'warehouse')) or app.user.getAccountTypology == 'technician' %}
  3884. \t\t\t\t\t\t\t<div class=\"tab-content clearfix\" id=\"technicianRequests\">
  3885. \t\t\t\t\t\t\t\t<div class=\"row\">
  3886. \t\t\t\t\t\t\t\t\t<div class=\"col-12\">
  3887. \t\t\t\t\t\t\t\t\t\t<h4 class=\"form_title\">{{ prReqTitle }}
  3888. \t\t\t\t\t\t\t\t\t\t\t{% if app.user.getAccountTypology == 'technician' %}
  3889. \t\t\t\t\t\t\t\t\t\t\t\t<a href=\"{{ path ('user_warehouse_product_request_new', {'warehouseId':warehouse.id}) }}\" class=\"button button-3d button-mini button-green m_t_none m_b_none f_right\"><i class=\"icon-plus d-block d-lg-none m_r_none\" data-bs-toggle=\"tooltip\" title=\"Richiedi materiale\"></i><span class=\"d-none d-lg-block\">Richiedi materiale</span></a></li>
  3890. \t\t\t\t\t\t\t\t\t\t\t{% endif %}
  3891. \t\t\t\t\t\t\t\t\t\t</h4>
  3892. \t\t\t\t\t\t\t\t\t\t<hr class=\"m_t_none\">
  3893. \t\t\t\t\t\t\t\t\t\t<div class=\"tabs clearfix\">
  3894. \t\t\t\t\t\t\t\t\t\t\t<ul class=\"tab-nav clearfix\">
  3895. \t\t\t\t\t\t\t\t\t\t\t\t<li><a id=\"btn_tab_pr_inserted\" href=\"#inserted\" class=\"tab_session2\" data-filterTab=\"pr_inserted\"><i class=\"icon-line-send d-block d-md-none\" data-bs-toggle=\"tooltip\" title=\"{{ prReqInserted }} ({{ insertedProductRequests.getTotalItemCount }})\"></i><span class=\"d-none d-md-block\">{{ prReqInserted }} ({{ insertedProductRequests.getTotalItemCount }})</span></a></li>
  3896. \t\t\t\t\t\t\t\t\t\t\t\t<li><a id=\"btn_tab_pr_take_charge\" href=\"#take_charge\" class=\"tab_session2\" data-filterTab=\"pr_take_charge\"><i class=\"icon-cog d-block d-md-none\" data-bs-toggle=\"tooltip\" title=\"{{ prReqTakeCharge }} ({{ takeChargeProductRequests.getTotalItemCount }})\"></i><span class=\"d-none d-md-block\">{{ prReqTakeCharge }} ({{ takeChargeProductRequests.getTotalItemCount }})</span></a></li>
  3897. \t\t\t\t\t\t\t\t\t\t\t\t<li><a id=\"btn_tab_pr_completed\" href=\"#completed\" class=\"tab_session2\" data-filterTab=\"pr_completed\"><i class=\"icon-checkmark d-block d-md-none\" data-bs-toggle=\"tooltip\" title=\"{{ prReqCompleted }} ({{ completedProductRequests.getTotalItemCount }})\"></i><span class=\"d-none d-md-block\">{{ prReqCompleted }} ({{ completedProductRequests.getTotalItemCount }})</span></a></li>
  3898. \t\t\t\t\t\t\t\t\t\t\t</ul>
  3899. \t\t\t\t\t\t\t\t\t\t\t<div class=\"tab-container\">
  3900. \t\t\t\t\t\t\t\t\t\t\t\t<div class=\"tab-content clearfix\" id=\"inserted\">
  3901. \t\t\t\t\t\t\t\t\t\t\t\t\t{% set requests = insertedProductRequests %}
  3902. \t\t\t\t\t\t\t\t\t\t\t\t\t{% set tabType = 'pr_inserted' %}
  3903. \t\t\t\t\t\t\t\t\t\t\t\t\t{% set number = 1 %}
  3904. \t\t\t\t\t\t\t\t\t\t\t\t\t{% set tabAction = '' %}
  3905. \t\t\t\t\t\t\t\t\t\t\t\t\t{% if app.user.getAccountTypology == 'agency' or app.user.getAccountTypology == 'warehouse' and warehouse.headquarter %}
  3906. \t\t\t\t\t\t\t\t\t\t\t\t\t\t{% set tabAction = 'take_charge' %}
  3907. \t\t\t\t\t\t\t\t\t\t\t\t\t{% elseif app.user.getAccountTypology == 'technician' %}
  3908. \t\t\t\t\t\t\t\t\t\t\t\t\t\t{% set tabAction = 'delete' %}
  3909. \t\t\t\t\t\t\t\t\t\t\t\t\t{% endif %}
  3910. \t\t\t\t\t\t\t\t\t\t\t\t\t{% block tableRequests %}
  3911. \t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"row\">
  3912. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"col-12 overflow_a\">
  3913. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<table class=\"table table-bordered table-hover responsive_font_size\">
  3914. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<thead>
  3915. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<tr>
  3916. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<form method=\"get\" action=\"{{ path ('user_warehouse_sheet', {'warehouseId':warehouse.id}) }}\" id=\"formFilter_3\">
  3917. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td class=\"td_w_40p txt_a_c\"><a href=\"{{ path ('remove_filter', {'route':app.request.attributes.get('_route'), 'route_params':app.request.attributes.get('_route_params') }) }}\" class=\"f_right\" data-bs-toggle=\"tooltip\" title=\"Escludi filtro\"><img class=\"icon_action icon_red\" src=\"{{ asset (icon_delete) }}\"></a></td>
  3918. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td class=\"td_w_140p\"><input type=\"text\" class=\"form-control daterange3 font_12\" id=\"daterange3_{{ number }}\" inputmode=\"search\" autocomplete=\"off\" name=\"date_3\" style=\"height: 38px\" date-filter=\"range\"/></td>
  3919. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td><input type=\"text\" class=\"form-control\" inputmode=\"search\" name=\"technician_3\" value=\"{{ filters.technician_3|default() }}\"/></td>
  3920. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td><input type=\"text\" class=\"form-control\" inputmode=\"search\" name=\"warehouse_3\" value=\"{{ filters.warehouse_3|default() }}\"/></td>
  3921. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td colspan=\"4\" class=\"td_action\"><button type=\"submit\" class=\"btn bg_w f_left p_0p\" data-bs-toggle=\"tooltip\" title=\"Filtra\"><img class=\"icon_green\" src=\"{{ asset (icon_search) }}\"></button></td>\t
  3922. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<input type=\"hidden\" name=\"filter_tab\" value=\"{{ tabType }}\">
  3923. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<input id=\"sort_field_3\" type=\"hidden\" name=\"sortField_3\" value=\"{{ filters.sortField_3|default() }}\"/>
  3924. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<input id=\"sort_order_3\" type=\"hidden\" name=\"sortOrder_3\" value=\"{{ filters.sortOrder_3|default() }}\"/>
  3925. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</form>
  3926. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</tr>
  3927. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<tr class=\"bg_pr color_w\">
  3928. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<th colspan=\"2\" class=\"txt_a_c\">Data/Ora<button type=\"button\" onClick=\"setOrderBy3('pr.datetime')\" data-orderField=\"pr.datetime\" class=\"f_right filter_arrow_3\"><img width=\"18\" data-bs-toggle=\"tooltip\" title=\"Ordina in ordine alfabetico\"></button></th>
  3929. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<th class=\"td_w_200p\">Tecnico<button type=\"button\" onClick=\"setOrderBy3('p.surname')\" data-orderField=\"p.surname\" class=\"f_right filter_arrow_3\"><img width=\"18\" data-bs-toggle=\"tooltip\" title=\"Ordina in ordine alfabetico\"></button></th>
  3930. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% if warehouse.headquarter %}
  3931. \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\">Mag. Tecnico<button type=\"button\" onClick=\"setOrderBy3('w.nickname')\" data-orderField=\"w.nickname\" class=\"f_right filter_arrow_3\"><img width=\"18\" data-bs-toggle=\"tooltip\" title=\"Ordina in ordine alfabetico\"></button></th>
  3932. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% else %}
  3933. \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\">Mag. Sede<button type=\"button\" onClick=\"setOrderBy3('wh.nickname')\" data-orderField=\"wh.nickname\" class=\"f_right filter_arrow_3\"><img width=\"18\" data-bs-toggle=\"tooltip\" title=\"Ordina in ordine alfabetico\"></button></th>
  3934. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% endif %}
  3935. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<th class=\"td_w_500p\">Prodotti</th>
  3936. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<th class=\"td_w_300p\">Note</th>
  3937. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<th class=\"td_action\"></th>
  3938. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% if tabAction == 'delete' or tabAction == 'take_charge' or tabAction == 'complete' %}<th colspan=\"2\"></th>{% endif %}
  3939. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</tr>
  3940. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</thead>
  3941. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<tbody>
  3942. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% if requests|length > 0 %}
  3943. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% for pr in requests %}
  3944. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<input type=\"hidden\" id=\"request_warehouse_id\" value=\"{{ pr.warehouse.id }}\">
  3945. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<input type=\"hidden\" id=\"request_warehouse_nickname\" value=\"{{ pr.warehouse.nickname }}\">
  3946. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<input type=\"hidden\" id=\"request_{{ pr.id }}_datetime\" value=\"{{ pr.datetime|date('d-m-Y H:i') }}\">
  3947. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<input type=\"hidden\" id=\"request_{{ pr.id }}_technician\" value=\"{{ pr.technician }}\">
  3948. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<input type=\"hidden\" id=\"request_{{ pr.id }}_warehouse\" value=\"{{ pr.warehouse.nickname }}\">
  3949. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<input type=\"hidden\" id=\"request_{{ pr.id }}_warehouse_headquarter\" value=\"{{ pr.warehouseHeadquarter.nickname }}\">
  3950. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<input type=\"hidden\" id=\"request_{{ pr.id }}_notes\" value=\"{{ pr.notes }}\">
  3951. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<tr>
  3952. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td colspan=\"2\" class=\"txt_a_c\">{{ pr.datetime|date('d-m-Y H:i') }}</td>
  3953. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td>{{ pr.technician }}</td>
  3954. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% if warehouse.headquarter %}
  3955. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td>{{ pr.warehouse }}</td>
  3956. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% else %}
  3957. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td>{{ pr.warehouseHeadquarter }}</td>
  3958. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% endif %}
  3959. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td>{{ pr.displayDetails|raw }}</td>
  3960. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td>{{ pr.notes }}</td>
  3961. \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=\"javascript: productRequestSheet({{ pr.id }})\" data-bs-toggle=\"tooltip\" title=\"Scheda\"><img class=\"icon_pr\" src=\"{{ asset (icon_sheet) }}\"></a></td>
  3962. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% if tabAction == 'delete' %}
  3963. \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=\"javascript: productRequestDelete({{ pr.id }})\" data-bs-toggle=\"tooltip\" title=\"Elimina\"><img class=\"icon_red\" src=\"{{ asset (icon_delete) }}\"></a></td>
  3964. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% elseif tabAction == 'take_charge' %}
  3965. \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=\"javascript: productRequestTakeCharge({{ pr.id }})\" data-bs-toggle=\"tooltip\" title=\"Prendi in carico\"><img class=\"icon_green\" src=\"{{ asset (icon_thumb_up) }}\"></a></td>
  3966. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% elseif tabAction == 'complete' %}
  3967. \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=\"javascript: productRequestManaged({{ pr.id }})\" data-bs-toggle=\"tooltip\" title=\"Richiesta gestita\"><img class=\"icon_green\" src=\"{{ asset (icon_select) }}\"></a></td>
  3968. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% endif %}
  3969. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</tr>
  3970. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% endfor %}
  3971. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% else %}
  3972. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% include 'components/twig/notice_no_values.html.twig' with {'message':'Nessuna richiesta in questa fase'} %}
  3973. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% endif %}
  3974. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</tbody>
  3975. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</table>
  3976. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</div>
  3977. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"col-12 navigation txt_a_r\">
  3978. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{{ knp_pagination_render(requests) }}
  3979. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</div>
  3980. \t\t\t\t\t\t\t\t\t\t\t\t\t\t</div>
  3981. \t\t\t\t\t\t\t\t\t\t\t\t\t{% endblock %}
  3982. \t\t\t\t\t\t\t\t\t\t\t\t</div>
  3983. \t\t\t\t\t\t\t\t\t\t\t\t<div class=\"tab-content clearfix\" id=\"take_charge\">
  3984. \t\t\t\t\t\t\t\t\t\t\t\t\t{% set requests = takeChargeProductRequests %}
  3985. \t\t\t\t\t\t\t\t\t\t\t\t\t{% set tabType = 'pr_take_charge' %}
  3986. \t\t\t\t\t\t\t\t\t\t\t\t\t{% set number = 2 %}
  3987. \t\t\t\t\t\t\t\t\t\t\t\t\t{% set tabAction = '' %}
  3988. \t\t\t\t\t\t\t\t\t\t\t\t\t{% if app.user.getAccountTypology == 'agency' or app.user.getAccountTypology == 'warehouse' and warehouse.headquarter %}
  3989. \t\t\t\t\t\t\t\t\t\t\t\t\t\t{% set tabAction = 'complete' %}
  3990. \t\t\t\t\t\t\t\t\t\t\t\t\t{% endif %}
  3991. \t\t\t\t\t\t\t\t\t\t\t\t\t{{ block('tableRequests') }}
  3992. \t\t\t\t\t\t\t\t\t\t\t\t</div>
  3993. \t\t\t\t\t\t\t\t\t\t\t\t<div class=\"tab-content clearfix\" id=\"completed\">
  3994. \t\t\t\t\t\t\t\t\t\t\t\t\t{% set requests = completedProductRequests %}
  3995. \t\t\t\t\t\t\t\t\t\t\t\t\t{% set tabType = 'pr_completed' %}
  3996. \t\t\t\t\t\t\t\t\t\t\t\t\t{% set number = 3 %}
  3997. \t\t\t\t\t\t\t\t\t\t\t\t\t{% set tabAction = '' %}
  3998. \t\t\t\t\t\t\t\t\t\t\t\t\t{{ block('tableRequests') }}
  3999. \t\t\t\t\t\t\t\t\t\t\t\t</div>
  4000. \t\t\t\t\t\t\t\t\t\t\t</div>
  4001. \t\t\t\t\t\t\t\t\t\t</div>
  4002. \t\t\t\t\t\t\t\t\t</div>
  4003. \t\t\t\t\t\t\t\t</div>
  4004. \t\t\t\t\t\t\t</div>
  4005. \t\t\t\t\t\t{% endif %}
  4006. \t\t\t\t\t</div>
  4007. \t\t\t\t</div>
  4008. \t\t\t</div>
  4009. \t\t</div>
  4010. \t</section>
  4011. \t{# Inventario #}
  4012. \t<div id=\"stockInventoryModal\" class=\"modal fade\" tabindex=\"-1\" role=\"dialog\">
  4013. \t\t<div class=\"modal-dialog\" role=\"document\">
  4014. \t\t\t<div class=\"modal-content\">
  4015. \t\t\t\t{{ form_start(formInventory, {'attr': {'novalidate': 'novalidate'}}) }}
  4016. \t\t\t\t\t<div class=\"modal-header\"><h3 class=\"modal-title\">Verifica inventario</h3></div>
  4017. \t\t\t\t\t<div class=\"modal-body\">
  4018. \t\t\t\t\t\t<div class=\"row\">
  4019. \t\t\t\t\t\t\t<div class=\"col-12 form-group\">
  4020. \t\t\t\t\t\t\t\t<label class=\"form_label\">Fornitore*</label>
  4021. \t\t\t\t\t\t\t\t<div {{ form_errors(formInventory.supplier) }}>
  4022. \t\t\t\t\t\t\t\t\t{{ form_widget(formInventory.supplier, {'attr':{'class':'form-control form-select'}}) }}
  4023. \t\t\t\t\t\t\t\t</div>
  4024. \t\t\t\t\t\t\t</div>
  4025. \t\t\t\t\t\t\t<div class=\"col-12 form-group\">
  4026. \t\t\t\t\t\t\t\t<label class=\"form_label\">Stato*</label>
  4027. \t\t\t\t\t\t\t\t<div {{ form_errors(formInventory.status) }}>
  4028. \t\t\t\t\t\t\t\t\t{{ form_widget(formInventory.status, {'attr':{'class':'form-control form-select'}}) }}
  4029. \t\t\t\t\t\t\t\t</div>
  4030. \t\t\t\t\t\t\t</div>
  4031. \t\t\t\t\t\t\t<div class=\"col-12\">
  4032. \t\t\t\t\t\t\t\t<label class=\"form_label\">File*</label>
  4033. \t\t\t\t\t\t\t\t<div {{ form_errors(formInventory.path) }}>
  4034. \t\t\t\t\t\t\t\t\t{{ form_widget(formInventory.path, {'attr': {'class':'display_n'}}) }}
  4035. \t\t\t\t\t\t\t\t\t{{ form_widget(formInventory.file, {'attr': {'class':'display_n'}}) }}
  4036. \t\t\t\t\t\t\t\t\t<div class=\"input-group\">
  4037. \t\t\t\t\t\t\t\t\t\t<span class=\"input-group-btn\"><button id=\"selectFile2\" class=\"button button-3d button-small button-rounded button-pr button_input_group\" type=\"button\">Seleziona</button></span>
  4038. \t\t\t\t\t\t\t\t\t\t<input id=\"filename2\" type=\"text\" class=\"form-control\" readonly>
  4039. \t\t\t\t\t\t\t\t\t</div>
  4040. \t\t\t\t\t\t\t\t</div>
  4041. \t\t\t\t\t\t\t</div>
  4042. \t\t\t\t\t\t</div>
  4043. \t\t\t\t\t</div>
  4044. \t\t\t\t\t<div class=\"modal-footer\">
  4045. \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>
  4046. \t\t\t\t\t\t<button type=\"submit\" class=\"button button-3d button-mini button-green f_right\">Prosegui</button>
  4047. \t\t\t\t\t</div>
  4048. \t\t\t\t{{ form_end(formInventory) }}
  4049. \t\t\t</div>
  4050. \t\t</div>
  4051. \t</div>
  4052. \t
  4053. \t{# Ricevi #}
  4054. \t<div id=\"transferReceiveModal\" class=\"modal fade\" tabindex=\"-1\" role=\"dialog\">
  4055. \t\t<div class=\"modal-dialog\" role=\"document\">
  4056. \t\t\t<div class=\"modal-content\">
  4057. \t\t\t\t{{ form_start(formReceive, {'attr': {'novalidate': 'novalidate'}}) }} 
  4058. \t\t\t\t\t<div class=\"modal-header\"><h3 class=\"modal-title\">Ricevi materiale</h3></div>
  4059. \t\t\t\t\t<div class=\"modal-body\">
  4060. \t\t\t\t\t\t<div class=\"row\">
  4061. \t\t\t\t\t\t\t<div class=\"col-12 form-group\">
  4062. \t\t\t\t\t\t\t\t<label class=\"form_label\">Magazzino di provenienza*</label>
  4063. \t\t\t\t\t\t\t\t<div {{ form_errors(formReceive.warehouse) }}>
  4064. \t\t\t\t\t\t\t\t\t{{ form_widget(formReceive.warehouse, {'attr':{'class':'form-control form-select'}}) }}
  4065. \t\t\t\t\t\t\t\t</div>
  4066. \t\t\t\t\t\t\t</div>
  4067. \t\t\t\t\t\t\t<div class=\"col-6 form-group\">
  4068. \t\t\t\t\t\t\t\t<label class=\"form_label\">Stock order</label>
  4069. \t\t\t\t\t\t\t\t<div {{ form_errors(formReceive.stockOrder) }}>
  4070. \t\t\t\t\t\t\t\t\t{{ form_widget(formReceive.stockOrder) }}
  4071. \t\t\t\t\t\t\t\t</div>
  4072. \t\t\t\t\t\t\t</div>
  4073. \t\t\t\t\t\t\t<div class=\"col-6 form-group\">
  4074. \t\t\t\t\t\t\t\t<label class=\"form_label\">Inserire DDT?</label>
  4075. \t\t\t\t\t\t\t\t<div {{ form_errors(formReceive.ddtMandatory) }}>
  4076. \t\t\t\t\t\t\t\t\t<table class=\"m_none\">
  4077. \t\t\t\t\t\t\t\t\t\t<tr>
  4078. \t\t\t\t\t\t\t\t\t\t\t<td class=\"txt_a_l\"><label class=\"m_b_none m_r_10p l_s_none f_w_500\">No</label></td>
  4079. \t\t\t\t\t\t\t\t\t\t\t<td>{{ form_widget(formReceive.ddtMandatory, {'attr': {'class':'switch-toggle switch-flat-mini switch-toggle-flat', 'onChange':'javascript: tranferReceiveShowHideDDT()', 'checked':true}}) }}<label class=\"m_auto\" for=\"{{ formReceive.ddtMandatory.vars.id }}\"></label></td>
  4080. \t\t\t\t\t\t\t\t\t\t\t<td class=\"txt_a_l\"><label class=\"m_b_none m_l_10p l_s_none f_w_500\">Sì</label></td>
  4081. \t\t\t\t\t\t\t\t\t\t</tr>
  4082. \t\t\t\t\t\t\t\t\t</table>
  4083. \t\t\t\t\t\t\t\t</div>
  4084. \t\t\t\t\t\t\t</div>
  4085. \t\t\t\t\t\t</div>
  4086. \t\t\t\t\t\t<div class=\"row\" id=\"row_receive_ddt\">
  4087. \t\t\t\t\t\t\t<div class=\"col-6 form-group\">
  4088. \t\t\t\t\t\t\t\t<label class=\"form_label\">Numero DDT*</label>
  4089. \t\t\t\t\t\t\t\t<div {{ form_errors(formReceive.ddt) }}>
  4090. \t\t\t\t\t\t\t\t\t{{ form_widget(formReceive.ddt) }}
  4091. \t\t\t\t\t\t\t\t</div>
  4092. \t\t\t\t\t\t\t</div>
  4093. \t\t\t\t\t\t\t<div class=\"col-6 form-group\">
  4094. \t\t\t\t\t\t\t\t<label class=\"form_label\">DDT*</label>
  4095. \t\t\t\t\t\t\t\t<div {{ form_errors(formReceive.ddtPath) }}>
  4096. \t\t\t\t\t\t\t\t\t{{ form_widget(formReceive.ddtPath, {'attr': {'class':'display_n'}}) }}
  4097. \t\t\t\t\t\t\t\t\t{{ form_widget(formReceive.file, {'attr': {'class':'display_n'}}) }}
  4098. \t\t\t\t\t\t\t\t\t<div class=\"input-group\">
  4099. \t\t\t\t\t\t\t\t\t\t<span class=\"input-group-btn\"><button id=\"selectFile1\" class=\"button button-3d button-small button-rounded button-pr button_input_group\" type=\"button\">Seleziona</button></span>
  4100. \t\t\t\t\t\t\t\t\t\t<input id=\"filename1\" type=\"text\" class=\"form-control\" readonly>
  4101. \t\t\t\t\t\t\t\t\t</div>
  4102. \t\t\t\t\t\t\t\t</div>
  4103. \t\t\t\t\t\t\t</div>
  4104. \t\t\t\t\t\t</div>
  4105. \t\t\t\t\t</div>
  4106. \t\t\t\t\t<div class=\"modal-footer\">
  4107. \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>
  4108. \t\t\t\t\t\t<button type=\"submit\" class=\"button button-3d button-mini button-green f_right\">Continua</button>
  4109. \t\t\t\t\t</div>
  4110. \t\t\t\t{{ form_end(formReceive) }}
  4111. \t\t\t</div>
  4112. \t\t</div>
  4113. \t</div>
  4114. \t
  4115. \t{# Invia #}
  4116. \t<div id=\"transferSendModal\" class=\"modal fade\" tabindex=\"-1\" role=\"dialog\">
  4117. \t\t<div class=\"modal-dialog\" role=\"document\">
  4118. \t\t\t<div class=\"modal-content\">
  4119. \t\t\t\t{{ form_start(formSend, {'attr': {'novalidate': 'novalidate', 'id':'formSend'}}) }}
  4120. \t\t\t\t\t<div class=\"modal-header\"><h3 class=\"modal-title\">Invia materiale</h3></div>
  4121. \t\t\t\t\t<div class=\"modal-body\">
  4122. \t\t\t\t\t\t<div class=\"row\" id=\"row_select_type\">
  4123. \t\t\t\t\t\t\t<div class=\"col-12 txt_a_c\">
  4124. \t\t\t\t\t\t\t\t<label class=\"form_label\">A chi stai inviando il materiale?</label>
  4125. \t\t\t\t\t\t\t</div>
  4126. \t\t\t\t\t\t\t{% if warehouse.headquarter %}
  4127. \t\t\t\t\t\t\t\t<div class=\"col-12 col-md-6 txt_a_c\">
  4128. \t\t\t\t\t\t\t\t\t<a href=\"javascript: transferSendSetType('destination')\" class=\"button button-3d button-mini button-pr width_200p txt_a_c\">Destinazione esterna</a>
  4129. \t\t\t\t\t\t\t\t</div>
  4130. \t\t\t\t\t\t\t{% else %}
  4131. \t\t\t\t\t\t\t\t<div class=\"col-12 col-md-6 txt_a_c\">
  4132. \t\t\t\t\t\t\t\t\t<a href=\"javascript: transferSendSetType('main')\" class=\"button button-3d button-mini button-pr width_200p txt_a_c\">Sede centrale</a>
  4133. \t\t\t\t\t\t\t\t</div>
  4134. \t\t\t\t\t\t\t{% endif %}
  4135. \t\t\t\t\t\t\t<div class=\"col-12 col-md-6 txt_a_c\">
  4136. \t\t\t\t\t\t\t\t<a href=\"javascript: transferSendSetType('technician')\" class=\"button button-3d button-mini button-pr width_200p txt_a_c\" id=\"a_send_technician\">Tecnico</a>
  4137. \t\t\t\t\t\t\t</div>
  4138. \t\t\t\t\t\t\t{{ form_widget(formSend.type, {'attr':{'class':'display_n'}}) }}
  4139. \t\t\t\t\t\t</div>
  4140. \t\t\t\t\t\t<div class=\"row m_t_30p\" id=\"row_send_data\" style=\"display: none\">
  4141. \t\t\t\t\t\t\t<div class=\"col-12\">
  4142. \t\t\t\t\t\t\t\t<h4 class=\"form_title\">Invia materiale a: <span id=\"span_send_type\" class=\"f_w_b\"></span></h4>
  4143. \t\t\t\t\t\t\t\t<hr class=\"m_t_none\">
  4144. \t\t\t\t\t\t\t</div>
  4145. \t\t\t\t\t\t\t<div class=\"col-12 form-group\" id=\"row_user_from_select\" style=\"display: none\">
  4146. \t\t\t\t\t\t\t\t<label class=\"form_label\">Tecnico di partenza*</label>
  4147. \t\t\t\t\t\t\t\t<div {{ form_errors(formSend.userFrom) }}>
  4148. \t\t\t\t\t\t\t\t\t{{ form_widget(formSend.userFrom, {'attr':{'class':'form-control form-select'}}) }}
  4149. \t\t\t\t\t\t\t\t</div>
  4150. \t\t\t\t\t\t\t</div>
  4151. \t\t\t\t\t\t\t<div class=\"col-12 form-group\" id=\"row_user_to_select\">
  4152. \t\t\t\t\t\t\t\t<label class=\"form_label\">Tecnico di destinazione*</label>
  4153. \t\t\t\t\t\t\t\t<div {{ form_errors(formSend.userTo) }}>
  4154. \t\t\t\t\t\t\t\t\t{{ form_widget(formSend.userTo, {'attr':{'class':'form-control form-select', 'onchange':'updateTechnicianWarehouses()'}}) }}
  4155. \t\t\t\t\t\t\t\t</div>
  4156. \t\t\t\t\t\t\t</div>
  4157. \t\t\t\t\t\t\t<div class=\"col-12 form-group\" id=\"row_warehouse_select\">
  4158. \t\t\t\t\t\t\t\t<label class=\"form_label\">Magazzino di destinazione*</label>
  4159. \t\t\t\t\t\t\t\t<div {{ form_errors(formSend.warehouse) }}>
  4160. \t\t\t\t\t\t\t\t\t{{ form_widget(formSend.warehouse, {'attr':{'class':'form-control form-select'}}) }}
  4161. \t\t\t\t\t\t\t\t</div>
  4162. \t\t\t\t\t\t\t</div>
  4163. \t\t\t\t\t\t\t<div class=\"col-12 form-group\" id=\"row_warehouse_selected\" style=\"display: none\">
  4164. \t\t\t\t\t\t\t\t<label class=\"form_label\">Magazzino di destinazione*</label>
  4165. \t\t\t\t\t\t\t\t<input type=\"text\" readonly=\"true\" class=\"form-control\" id=\"input_warehouse_display\">
  4166. \t\t\t\t\t\t\t</div>
  4167. \t\t\t\t\t\t\t<div class=\"col-12 form-group\" id=\"div_send_supplier\">
  4168. \t\t\t\t\t\t\t\t<label class=\"form_label\">Fornitore*</label>
  4169. \t\t\t\t\t\t\t\t<div {{ form_errors(formSend.supplier) }}>
  4170. \t\t\t\t\t\t\t\t\t{{ form_widget(formSend.supplier, {'attr':{'class':'form-control form-select', 'onChange':'showHideDivestment()'}}) }}
  4171. \t\t\t\t\t\t\t\t</div>
  4172. \t\t\t\t\t\t\t</div>
  4173. \t\t\t\t\t\t\t<div class=\"col-12 form-group\" id=\"div_send_stock_order\">
  4174. \t\t\t\t\t\t\t\t<label class=\"form_label\">Stock Order</label>
  4175. \t\t\t\t\t\t\t\t<div {{ form_errors(formSend.stockOrder) }}>
  4176. \t\t\t\t\t\t\t\t\t{{ form_widget(formSend.stockOrder, {'attr':{'class':'form-control'}}) }}
  4177. \t\t\t\t\t\t\t\t</div>
  4178. \t\t\t\t\t\t\t</div>
  4179. \t\t\t\t\t\t\t<div class=\"col-12 form-group\" id=\"div_send_ddt_mandatory\" style=\"display: none\">
  4180. \t\t\t\t\t\t\t\t<div {{ form_errors(formSend.ddtMandatory) }}>
  4181. \t\t\t\t\t\t\t\t\t{% set checked = false %}
  4182. \t\t\t\t\t\t\t\t\t{% if settingDdtMandatory.value %}
  4183. \t\t\t\t\t\t\t\t\t\t{% set checked = true %}
  4184. \t\t\t\t\t\t\t\t\t{% endif %}
  4185. \t\t\t\t\t\t\t\t\t<table class=\"table table-sm b_none m_b_none\">
  4186. \t\t\t\t\t\t\t\t\t\t<tr>
  4187. \t\t\t\t\t\t\t\t\t\t\t<td><label class=\"form_label m_b_none\">Caricamento DDT firmato obbligatorio?</label></td>
  4188. \t\t\t\t\t\t\t\t\t\t\t<td class=\"td_w_40p txt_a_r\"><label class=\"m_b_none m_r_10p l_s_none f_w_500\">No</label></td>
  4189. \t\t\t\t\t\t\t\t\t\t\t<td class=\"td_w_40p\">{{ form_widget(formSend.ddtMandatory, {'attr': {'class':'switch-toggle switch-flat-mini switch-toggle-flat', 'checked':checked}}) }}<label class=\"m_auto\" for=\"{{ formSend.ddtMandatory.vars.id }}\"></label></td>
  4190. \t\t\t\t\t\t\t\t\t\t\t<td class=\"td_w_40p txt_a_l\"><label class=\"m_b_none m_l_10p l_s_none f_w_500\">Sì</label></td>
  4191. \t\t\t\t\t\t\t\t\t\t</tr>
  4192. \t\t\t\t\t\t\t\t\t</table>
  4193. \t\t\t\t\t\t\t\t</div>
  4194. \t\t\t\t\t\t\t</div>
  4195. \t\t\t\t\t\t\t<div class=\"col-12 form-group\" id=\"div_send_divestment\" style=\"display: none\">
  4196. \t\t\t\t\t\t\t\t<div {{ form_errors(formSend.divestment) }}>
  4197. \t\t\t\t\t\t\t\t\t<table class=\"table table-sm b_none m_b_none\">
  4198. \t\t\t\t\t\t\t\t\t\t<tr>
  4199. \t\t\t\t\t\t\t\t\t\t\t<td><label class=\"form_label m_b_none\">è dismissione?</label></td>
  4200. \t\t\t\t\t\t\t\t\t\t\t<td class=\"td_w_40p txt_a_r\"><label class=\"m_b_none m_r_10p l_s_none f_w_500\">No</label></td>
  4201. \t\t\t\t\t\t\t\t\t\t\t<td class=\"td_w_40p\">{{ form_widget(formSend.divestment, {'attr': {'class':'switch-toggle switch-flat-mini switch-toggle-flat'}}) }}<label class=\"m_auto\" for=\"{{ formSend.divestment.vars.id }}\"></label></td>
  4202. \t\t\t\t\t\t\t\t\t\t\t<td class=\"td_w_40p txt_a_l\"><label class=\"m_b_none m_l_10p l_s_none f_w_500\">Sì</label></td>
  4203. \t\t\t\t\t\t\t\t\t\t</tr>
  4204. \t\t\t\t\t\t\t\t\t</table>
  4205. \t\t\t\t\t\t\t\t</div>
  4206. \t\t\t\t\t\t\t</div>
  4207. \t\t\t\t\t\t</div>
  4208. \t\t\t\t\t</div>
  4209. \t\t\t\t\t{{ form_widget(formSend.sendStocksIds, {'attr':{'class':'display_n'}}) }}
  4210. \t\t\t\t\t{{ form_widget(formSend.productRequestId, {'attr':{'class':'display_n'}}) }}
  4211. \t\t\t\t\t<div class=\"modal-footer\">
  4212. \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>
  4213. \t\t\t\t\t\t<a id=\"button_send_submit\" href=\"javascript:void(0)\" class=\"button button-3d button-mini button-grey f_right\">Continua</a>
  4214. \t\t\t\t\t</div>
  4215. \t\t\t\t{{ form_end(formSend) }}
  4216. \t\t\t</div>
  4217. \t\t</div>
  4218. \t</div>
  4219. \t
  4220. \t{# Stock - Stampa etichette #}
  4221. \t<div id=\"stockPrintModal\" class=\"modal fade\" tabindex=\"-1\" role=\"dialog\">
  4222. \t\t<div class=\"modal-dialog\" role=\"document\">
  4223. \t\t\t<div class=\"modal-content\">
  4224. \t\t\t\t<form action=\"{{ path ('user_warehouse_stock_multiple_select_action', {'warehouseId':warehouse.id}) }}\" method=\"post\" id=\"formPrint\" target=\"_blank\">
  4225. \t\t\t\t\t<div class=\"modal-header\"><h3 class=\"modal-title\">Stampa etichette</h3></div>
  4226. \t\t\t\t\t<div class=\"modal-body\">
  4227. \t\t\t\t\t\t<input type=\"hidden\" id=\"printStocksIds\" name=\"ids\">
  4228. \t\t\t\t\t\t<input type=\"hidden\" id=\"printAction\" name=\"action\">
  4229. \t\t\t\t\t\t<div class=\"row\">
  4230. \t\t\t\t\t\t\t<div class=\"col-12\">
  4231. \t\t\t\t\t\t\t\t<label class=\"form_label\">Seleziona fornitore da stampare in etichetta</label>
  4232. \t\t\t\t\t\t\t\t<div id=\"divErrorSupplier\">
  4233. \t\t\t\t\t\t\t\t\t<select class=\"form-control form-select\" id=\"select_supplier\" name=\"supplierId\">
  4234. \t\t\t\t\t\t\t\t\t\t<option></option>
  4235. \t\t\t\t\t\t\t\t\t\t{% for supplier in suppliers %}
  4236. \t\t\t\t\t\t\t\t\t\t\t<option value=\"{{ supplier.id }}\">{{ supplier.name }}</option>
  4237. \t\t\t\t\t\t\t\t\t\t{% endfor %}
  4238. \t\t\t\t\t\t\t\t\t</select>
  4239. \t\t\t\t\t\t\t\t</div>
  4240. \t\t\t\t\t\t\t</div>
  4241. \t\t\t\t\t\t</div>
  4242. \t\t\t\t\t</div>
  4243. \t\t\t\t\t<div class=\"modal-footer\">
  4244. \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>
  4245. \t\t\t\t\t\t<button type=\"button\" class=\"button button-3d button-mini button-green f_right\" onclick=\"javascript: checkSubmit('print')\">Conferma</button>
  4246. \t\t\t\t\t</div>
  4247. \t\t\t\t</form>
  4248. \t\t\t</div>
  4249. \t\t</div>
  4250. \t</div>
  4251. \t
  4252. \t{# Stock - Gestito #}
  4253. \t<div id=\"stockManagedModal\" class=\"modal fade\" tabindex=\"-1\" role=\"dialog\">
  4254. \t\t<div class=\"modal-dialog\" role=\"document\">
  4255. \t\t\t<div class=\"modal-content\">
  4256. \t\t\t\t<form action=\"{{ path ('user_warehouse_stock_multiple_select_action', {'warehouseId':warehouse.id}) }}\" method=\"post\" id=\"formManaged\">
  4257. \t\t\t\t\t<div class=\"modal-header\"><h3 class=\"modal-title\">Prodotti gestiti</h3></div>\t\t\t\t\t\t
  4258. \t\t\t\t\t<div class=\"modal-body\">
  4259. \t\t\t\t\t\t<input type=\"hidden\" id=\"managedStocksIds\" name=\"ids\">
  4260. \t\t\t\t\t\t<input type=\"hidden\" id=\"managedAction\" name=\"action\">
  4261. \t\t\t\t\t\t<div class=\"row\">
  4262. \t\t\t\t\t\t\t<div class=\"col-12 txt_a_c\">
  4263. \t\t\t\t\t\t\t\t<label class=\"modal_subtitle\">Attenzione!</label><br>
  4264. \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> i prodotti selezionati verranno segnati come gestiti.<br>Si Ã¨ sicuri di voler proseguire?</p>
  4265. \t\t\t\t\t\t\t</div>
  4266. \t\t\t\t\t\t</div>
  4267. \t\t\t\t\t</div>
  4268. \t\t\t\t\t<div class=\"modal-footer\">
  4269. \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>
  4270. \t\t\t\t\t\t<button type=\"button\" class=\"button button-3d button-mini button-green f_right\" onclick=\"javascript: checkSubmit('managed')\">Conferma</button>
  4271. \t\t\t\t\t</div>
  4272. \t\t\t\t</form>
  4273. \t\t\t</div>
  4274. \t\t</div>
  4275. \t</div>
  4276. \t
  4277. \t{# Stock - Modifica fornitori #}
  4278. \t<div id=\"stockSupplierModal\" class=\"modal fade\" tabindex=\"-1\" role=\"dialog\">
  4279. \t\t<div class=\"modal-dialog\" role=\"document\">
  4280. \t\t\t<div class=\"modal-content\">
  4281. \t\t\t\t<form action=\"{{ path ('user_warehouse_stock_multiple_select_action', {'warehouseId':warehouse.id}) }}\" method=\"post\" id=\"formSupplier\">
  4282. \t\t\t\t\t<div class=\"modal-header\"><h3 class=\"modal-title\">Modifica fornitori per i prodotti</h3></div>\t\t\t\t\t\t
  4283. \t\t\t\t\t<div class=\"modal-body\">
  4284. \t\t\t\t\t\t<input type=\"hidden\" id=\"supplierStocksIds\" name=\"ids\">
  4285. \t\t\t\t\t\t<input type=\"hidden\" id=\"supplierAction\" name=\"action\">
  4286. \t\t\t\t\t\t<div class=\"row\">
  4287. \t\t\t\t\t\t\t<div class=\"col-12\">
  4288. \t\t\t\t\t\t\t\t<label class=\"form_label\">Seleziona i fornitori da aggiungere</label>
  4289. \t\t\t\t\t\t\t\t<div id=\"divErrorSupplier\">
  4290. \t\t\t\t\t\t\t\t\t{% for s in suppliers %}
  4291. \t\t\t\t\t\t\t\t\t\t<table class=\"table table_no_padding b_none m_b_none\">
  4292. \t\t\t\t\t\t\t\t\t\t\t<tr>
  4293. \t\t\t\t\t\t\t\t\t\t\t\t<td class=\"td_w_40p\"><input id=\"input_supplier_{{ s.id }}\" type=\"checkbox\" class=\"switch-toggle switch-flat-mini switch-toggle-flat supplier_checkboxes\" name=\"supplier_{{ s.id }}\"><label class=\"m_b_none\" for=\"input_supplier_{{ s.id }}\"></label></td>
  4294. \t\t\t\t\t\t\t\t\t\t\t\t<td><label class=\"m_b_none form_label\">{{ s.name }}</label></td>
  4295. \t\t\t\t\t\t\t\t\t\t\t</tr>
  4296. \t\t\t\t\t\t\t\t\t\t</table>
  4297. \t\t\t\t\t\t\t\t\t{% endfor %}
  4298. \t\t\t\t\t\t\t\t</div>
  4299. \t\t\t\t\t\t\t</div>
  4300. \t\t\t\t\t\t</div>
  4301. \t\t\t\t\t</div>
  4302. \t\t\t\t\t<div class=\"modal-footer\">
  4303. \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>
  4304. \t\t\t\t\t\t<button type=\"button\" class=\"button button-3d button-mini button-green f_right\" onclick=\"javascript: checkSubmit('supplier')\">Conferma</button>
  4305. \t\t\t\t\t</div>
  4306. \t\t\t\t</form>
  4307. \t\t\t</div>
  4308. \t\t</div>
  4309. \t</div>
  4310. \t{# Stock - Cambio condizione #}
  4311. \t<div id=\"stockConditionModal\" class=\"modal fade\" tabindex=\"-1\" role=\"dialog\">
  4312. \t\t<div class=\"modal-dialog\" role=\"document\">
  4313. \t\t\t<div class=\"modal-content\">
  4314. \t\t\t\t<form action=\"{{ path ('user_warehouse_stock_multiple_select_action', {'warehouseId':warehouse.id}) }}\" method=\"post\" id=\"formCondition\">
  4315. \t\t\t\t\t<div class=\"modal-header\"><h3 class=\"modal-title\">Cambia condizione prodotti</h3></div>
  4316. \t\t\t\t\t<div class=\"modal-body\">
  4317. \t\t\t\t\t\t<input type=\"hidden\" id=\"conditionStocksIds\" name=\"ids\">
  4318. \t\t\t\t\t\t<input type=\"hidden\" id=\"conditionAction\" name=\"action\">
  4319. \t\t\t\t\t\t<input type=\"hidden\" id=\"stockTab\" name=\"tab\">
  4320. \t\t\t\t\t\t<div class=\"row\">
  4321. \t\t\t\t\t\t\t<div class=\"col-12\">
  4322. \t\t\t\t\t\t\t\t<label class=\"form_label\">Seleziona nuova condizione</label>
  4323. \t\t\t\t\t\t\t\t<div id=\"divErrorCondition\">
  4324. \t\t\t\t\t\t\t\t\t<select class=\"form-control form-select\" id=\"select_product_condition\" name=\"productCondition\">
  4325. \t\t\t\t\t\t\t\t\t\t<option></option>
  4326. \t\t\t\t\t\t\t\t\t\t{% for condition in productConditions %}
  4327. \t\t\t\t\t\t\t\t\t\t\t<option value=\"{{ condition.id }}\">{{ condition.value }}</option>
  4328. \t\t\t\t\t\t\t\t\t\t{% endfor %}
  4329. \t\t\t\t\t\t\t\t\t</select>
  4330. \t\t\t\t\t\t\t\t</div>
  4331. \t\t\t\t\t\t\t</div>
  4332. \t\t\t\t\t\t</div>
  4333. \t\t\t\t\t</div>
  4334. \t\t\t\t\t<div class=\"modal-footer\">
  4335. \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>
  4336. \t\t\t\t\t\t<button type=\"button\" class=\"button button-3d button-mini button-green f_right\" onclick=\"javascript: checkSubmit('condition')\">Conferma</button>
  4337. \t\t\t\t\t</div>
  4338. \t\t\t\t</form>
  4339. \t\t\t</div>
  4340. \t\t</div>
  4341. \t</div>
  4342. \t{# Stock - Cambio modello #}
  4343. \t<div id=\"stockModelModal\" class=\"modal fade\" tabindex=\"-1\" role=\"dialog\">
  4344. \t\t<div class=\"modal-dialog\" role=\"document\">
  4345. \t\t\t<div class=\"modal-content\">
  4346. \t\t\t\t<form action=\"{{ path ('user_warehouse_stock_multiple_select_action', {'warehouseId':warehouse.id}) }}\" method=\"post\" id=\"formModel\">
  4347. \t\t\t\t\t<div class=\"modal-header\"><h3 class=\"modal-title\">Cambia modello prodotti</h3></div>
  4348. \t\t\t\t\t<div class=\"modal-body\">
  4349. \t\t\t\t\t\t<input type=\"hidden\" id=\"modelStocksIds\" name=\"ids\">
  4350. \t\t\t\t\t\t<input type=\"hidden\" id=\"modelAction\" name=\"action\">
  4351. \t\t\t\t\t\t<input type=\"hidden\" id=\"stockTab\" name=\"tab\">
  4352. \t\t\t\t\t\t<div class=\"row\">
  4353. \t\t\t\t\t\t\t<div class=\"col-12\">
  4354. \t\t\t\t\t\t\t\t<label class=\"form_label\">Seleziona nuovo modello</label>
  4355. \t\t\t\t\t\t\t\t<div class=\"col-12 form-group\">
  4356. \t\t\t\t\t\t\t\t\t<input type=\"text\" id=\"input_model_search\" class=\"form-control\" onkeyup=\"modelsUpdateUl()\" autocomplete=\"off\" placeholder=\"Cerca modello...\">
  4357. \t\t\t\t\t\t\t\t\t<ul id=\"ul_models\" class=\"ul_models pos_abs m_b_none\" style=\"list-style: none; display:none\"></ul>
  4358. \t\t\t\t\t\t\t\t</div>
  4359. \t\t\t\t\t\t\t\t<div id=\"divErrorModel\">
  4360. \t\t\t\t\t\t\t\t\t<select class=\"form-control form-select\" id=\"select_product_model\" name=\"productModel\">
  4361. \t\t\t\t\t\t\t\t\t\t<option></option>
  4362. \t\t\t\t\t\t\t\t\t\t{% for model in productModels %}
  4363. \t\t\t\t\t\t\t\t\t\t\t<option value=\"{{ model.id }}\">{{ model.name }}</option>
  4364. \t\t\t\t\t\t\t\t\t\t{% endfor %}
  4365. \t\t\t\t\t\t\t\t\t</select>
  4366. \t\t\t\t\t\t\t\t</div>
  4367. \t\t\t\t\t\t\t</div>
  4368. \t\t\t\t\t\t</div>
  4369. \t\t\t\t\t</div>
  4370. \t\t\t\t\t<div class=\"modal-footer\">
  4371. \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>
  4372. \t\t\t\t\t\t<button type=\"button\" class=\"button button-3d button-mini button-green f_right\" onclick=\"javascript: checkSubmit('model')\">Conferma</button>
  4373. \t\t\t\t\t</div>
  4374. \t\t\t\t</form>
  4375. \t\t\t</div>
  4376. \t\t</div>
  4377. \t</div>
  4378. \t
  4379. \t{# Transfer - Elimina #}
  4380. \t<div id=\"transferDeleteModal\" class=\"modal fade\" tabindex=\"-1\" role=\"dialog\">
  4381. \t\t<div class=\"modal-dialog\" role=\"document\">
  4382. \t\t\t<div class=\"modal-content\">
  4383. \t\t\t\t<form action=\"{{ path ('user_warehouse_transfer_delete', {'warehouseId':warehouse.id}) }}\" method=\"post\">
  4384. \t\t\t\t\t<div class=\"modal-header\"><h3 class=\"modal-title\">Trasferimento - Elimina</h3></div>
  4385. \t\t\t\t\t<div class=\"modal-body\">
  4386. \t\t\t\t\t\t<input type=\"hidden\" id=\"transferDeleteId\" name=\"transferDelId\"/>
  4387. \t\t\t\t\t\t<input type=\"hidden\" name=\"warehouseId\" value=\"{{ warehouse.id }}\"/>
  4388. \t\t\t\t\t\t<div class=\"row\">
  4389. \t\t\t\t\t\t\t<div class=\"col-12 txt_a_c\">
  4390. \t\t\t\t\t\t\t\t<label class=\"modal_subtitle\">Attenzione!</label>
  4391. \t\t\t\t\t\t\t\t<p class=\"modal_paragraph\">Cliccando sul bottone <a class='button button-3d button-mini button-red' href='javascript:void(0)'>conferma</a> eliminerai il trasferimento.<br>Si Ã¨ sicuri di voler proseguire?</p>
  4392. \t\t\t\t\t\t\t</div>
  4393. \t\t\t\t\t\t</div>
  4394. \t\t\t\t\t</div>
  4395. \t\t\t\t\t<div class=\"modal-footer\">
  4396. \t\t\t\t\t\t<a href=\"javascript:void(0)\" class=\"button button-3d button-mini button-green f_left\" data-bs-dismiss=\"modal\">Annulla</a>
  4397. \t\t\t\t\t\t<button type=\"submit\" class=\"button button-3d button-mini button-red f_right\">Conferma</button>
  4398. \t\t\t\t\t</div>
  4399. \t\t\t\t</form>
  4400. \t\t\t</div>
  4401. \t\t</div>
  4402. \t</div>\t
  4403. \t
  4404. \t{# Product request - Sheet #}
  4405. \t<div id=\"productRequestSheetModal\" class=\"modal fade\" tabindex=\"-1\" role=\"dialog\">
  4406. \t\t<div class=\"modal-dialog\" role=\"document\">
  4407. \t\t\t<div class=\"modal-content\">
  4408. \t\t\t\t<div class=\"modal-header\"><h3 class=\"modal-title\">Richiesta materiale - Dettaglio</h3></div>
  4409. \t\t\t\t<div class=\"modal-body\">
  4410. \t\t\t\t\t<table class=\"table table-sm responsive_font_size\">
  4411. \t\t\t\t\t\t<tr>
  4412. \t\t\t\t\t\t\t<th class=\"td_w_150p\">Data/Ora</th>
  4413. \t\t\t\t\t\t\t<td id=\"request_sheet_datetime\"></td>
  4414. \t\t\t\t\t\t</tr>
  4415. \t\t\t\t\t\t<tr>
  4416. \t\t\t\t\t\t\t<th>Tecnico</th>
  4417. \t\t\t\t\t\t\t<td id=\"request_sheet_technician\"></td>
  4418. \t\t\t\t\t\t</tr>
  4419. \t\t\t\t\t\t</tr>
  4420. \t\t\t\t\t\t\t<th>Magazzino tecnico</th>
  4421. \t\t\t\t\t\t\t<td id=\"request_sheet_warehouse\"></td>
  4422. \t\t\t\t\t\t</tr>
  4423. \t\t\t\t\t\t</tr>
  4424. \t\t\t\t\t\t\t<th>Magazzino richiesta</th>
  4425. \t\t\t\t\t\t\t<td id=\"request_sheet_warehouse_headquarter\"></td>
  4426. \t\t\t\t\t\t</tr>
  4427. \t\t\t\t\t\t<tr>
  4428. \t\t\t\t\t\t\t<th colspan=\"2\" style=\"border:0px\">Note</th>
  4429. \t\t\t\t\t\t</tr>
  4430. \t\t\t\t\t\t<tr>
  4431. \t\t\t\t\t\t\t<td colspan=\"2\" id=\"request_sheet_notes\"></td>
  4432. \t\t\t\t\t\t</tr>
  4433. \t\t\t\t\t</table>
  4434. \t\t\t\t</div>
  4435. \t\t\t\t<div class=\"modal-footer txt_a_c\">
  4436. \t\t\t\t\t<a href=\"javascript:void(0)\" class=\"button button-3d button-mini button-red\" data-bs-dismiss=\"modal\">Chiudi</a>
  4437. \t\t\t\t</div>
  4438. \t\t\t</div>
  4439. \t\t</div>
  4440. \t</div>
  4441. \t{# Product request - Take charge #}
  4442. \t<div id=\"productRequestTakeChargeModal\" class=\"modal fade\" tabindex=\"-1\" role=\"dialog\">
  4443. \t\t<div class=\"modal-dialog\" role=\"document\">
  4444. \t\t\t<div class=\"modal-content\">
  4445. \t\t\t\t<form action=\"{{ path ('user_warehouse_product_request_take_charge', {'warehouseId':warehouse.id}) }}\" method=\"post\">
  4446. \t\t\t\t\t<div class=\"modal-header\"><h3 class=\"modal-title\">Richiesta prodotti - Prendi in carico</h3></div>
  4447. \t\t\t\t\t<div class=\"modal-body\">
  4448. \t\t\t\t\t\t<input type=\"hidden\" id=\"product_request_take_charge_id\" name=\"productRequestId\">
  4449. \t\t\t\t\t\t<div class=\"row\">
  4450. \t\t\t\t\t\t\t<div class=\"col-12 txt_a_c\">
  4451. \t\t\t\t\t\t\t\t<label class=\"modal_subtitle\">Attenzione!</label><br>
  4452. \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 la richiesta.<br>Si Ã¨ sicuri di voler proseguire?</p>
  4453. \t\t\t\t\t\t\t</div>
  4454. \t\t\t\t\t\t</div>
  4455. \t\t\t\t\t</div>
  4456. \t\t\t\t\t<div class=\"modal-footer\">
  4457. \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>
  4458. \t\t\t\t\t\t<button type=\"submit\" class=\"button button-3d button-mini button-green f_right\">Conferma</button>
  4459. \t\t\t\t\t</div>
  4460. \t\t\t\t</form>
  4461. \t\t\t</div>
  4462. \t\t</div>
  4463. \t</div>
  4464. \t
  4465. \t{# Product request - Take charge #}
  4466. \t<div id=\"productRequestManagedModal\" class=\"modal fade\" tabindex=\"-1\" role=\"dialog\">
  4467. \t\t<div class=\"modal-dialog\" role=\"document\">
  4468. \t\t\t<div class=\"modal-content\">
  4469. \t\t\t\t<form action=\"{{ path ('user_warehouse_product_request_managed', {'warehouseId':warehouse.id}) }}\" method=\"post\">
  4470. \t\t\t\t\t<div class=\"modal-header\"><h3 class=\"modal-title\">Richiesta prodotti - Gestita</h3></div>
  4471. \t\t\t\t\t<div class=\"modal-body\">
  4472. \t\t\t\t\t\t<input type=\"hidden\" id=\"product_request_managed_id\" name=\"productRequestId\">
  4473. \t\t\t\t\t\t<div class=\"row\">
  4474. \t\t\t\t\t\t\t<div class=\"col-12 txt_a_c\">
  4475. \t\t\t\t\t\t\t\t<label class=\"modal_subtitle\">Attenzione!</label><br>
  4476. \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> dichiarerai gestita la richiesta.<br>Si Ã¨ sicuri di voler proseguire?</p>
  4477. \t\t\t\t\t\t\t</div>
  4478. \t\t\t\t\t\t</div>
  4479. \t\t\t\t\t</div>
  4480. \t\t\t\t\t<div class=\"modal-footer\">
  4481. \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>
  4482. \t\t\t\t\t\t<button type=\"submit\" class=\"button button-3d button-mini button-green f_right\">Conferma</button>
  4483. \t\t\t\t\t</div>
  4484. \t\t\t\t</form>
  4485. \t\t\t</div>
  4486. \t\t</div>
  4487. \t</div>
  4488. \t
  4489. \t{# Product request - Delete #}
  4490. \t<div id=\"productRequestDeleteModal\" class=\"modal fade\" tabindex=\"-1\" role=\"dialog\">
  4491. \t\t<div class=\"modal-dialog\" role=\"document\">
  4492. \t\t\t<div class=\"modal-content\">
  4493. \t\t\t\t<form action=\"{{ path ('user_warehouse_product_request_delete', {'warehouseId':warehouse.id}) }}\" method=\"post\">
  4494. \t\t\t\t\t<div class=\"modal-header\"><h3 class=\"modal-title\">Richieste prodotto - Elimina</h3></div>
  4495. \t\t\t\t\t<div class=\"modal-body\">
  4496. \t\t\t\t\t\t<input type=\"hidden\" id=\"product_request_delete_id\" name=\"productRequestId\">
  4497. \t\t\t\t\t\t<div class=\"row\">
  4498. \t\t\t\t\t\t\t<div class=\"col-12 txt_a_c\">
  4499. \t\t\t\t\t\t\t\t<label class=\"modal_subtitle\">Attenzione!</label><br>
  4500. \t\t\t\t\t\t\t\t<p class=\"modal_paragraph\">Cliccando sul bottone <a class='button button-3d button-mini button-red' href='javascript:void(0)'>conferma</a> eliminerai la richiesta.<br>Si Ã¨ sicuri di voler proseguire?</p>
  4501. \t\t\t\t\t\t\t</div>
  4502. \t\t\t\t\t\t</div>
  4503. \t\t\t\t\t</div>
  4504. \t\t\t\t\t<div class=\"modal-footer\">
  4505. \t\t\t\t\t\t<a href=\"javascript:void(0)\" class=\"button button-3d button-mini button-green f_left\" data-bs-dismiss=\"modal\">Annulla</a>
  4506. \t\t\t\t\t\t<button type=\"submit\" class=\"button button-3d button-mini button-red f_right\">Conferma</button>
  4507. \t\t\t\t\t</div>
  4508. \t\t\t\t</form>
  4509. \t\t\t</div>
  4510. \t\t</div>
  4511. \t</div>
  4512. {% endblock %}
  4513. {% block modals %}
  4514. \t{% include 'components/modals/filter_supplier.html.twig' with {'number':0, 'suppliers':suppliers} %}
  4515. \t{% include 'components/modals/filter_supplier.html.twig' with {'number':1, 'suppliers':suppliers} %}
  4516. \t{% include 'components/modals/filter_supplier.html.twig' with {'number':2, 'suppliers':suppliers} %}
  4517. \t{% include 'components/modals/filter_supplier.html.twig' with {'number':3, 'suppliers':suppliers} %}
  4518. \t{# Dati magazzino #}
  4519. \t{% set editWarehouseModalBody %}
  4520. \t\t<input type=\"hidden\" id=\"warehouseEditId\" name=\"warehouseEditId\"/>
  4521. \t\t<div class=\"row\">
  4522. \t\t\t<div class=\"col-12 form-group\">
  4523. \t\t\t\t<label class=\"form_label\">Nome*</label>
  4524. \t\t\t\t<div {{ form_errors(formEdit.nickname) }}>
  4525. \t\t\t\t\t{{ form_widget(formEdit.nickname) }}
  4526. \t\t\t\t</div>
  4527. \t\t\t</div>
  4528. \t\t\t<div class=\"col-12 form-group\">
  4529. \t\t\t\t<label class=\"form_label\">Indirizzo DDT*</label>
  4530. \t\t\t\t<div {{ form_errors(formEdit.address) }}>
  4531. \t\t\t\t\t{{ form_widget(formEdit.address) }}
  4532. \t\t\t\t</div>
  4533. \t\t\t</div>
  4534. \t\t\t<div class=\"col-12 col-md-6 form-group\">
  4535. \t\t\t\t<label class=\"form_label\">Sede centrale</label>
  4536. \t\t\t\t<div {{ form_errors(formEdit.headquarter) }}>
  4537. \t\t\t\t\t<table class=\"m_none\">
  4538. \t\t\t\t\t\t<tr>
  4539. \t\t\t\t\t\t\t<td class=\"txt_a_l\"><label class=\"m_b_none m_r_10p l_s_none f_w_500\">No</label></td>
  4540. \t\t\t\t\t\t\t<td>{{ form_widget(formEdit.headquarter, {'attr': {'class':'switch-toggle switch-flat-mini switch-toggle-flat'}}) }}<label class=\"m_auto\" for=\"{{ formEdit.headquarter.vars.id }}\"></label></td>
  4541. \t\t\t\t\t\t\t<td class=\"txt_a_l\"><label class=\"m_b_none m_l_10p l_s_none f_w_500\">Sì</label></td>
  4542. \t\t\t\t\t\t</tr>
  4543. \t\t\t\t\t</table>
  4544. \t\t\t\t</div>
  4545. \t\t\t</div>
  4546. \t\t\t<div class=\"col-12 col-md-6 form-group\">
  4547. \t\t\t\t<label class=\"form_label\">Magazzino mobile</label>
  4548. \t\t\t\t<div {{ form_errors(formEdit.movable) }}>
  4549. \t\t\t\t\t<table class=\"m_none\">
  4550. \t\t\t\t\t\t<tr>
  4551. \t\t\t\t\t\t\t<td class=\"txt_a_l\"><label class=\"m_b_none m_r_10p l_s_none f_w_500\">No</label></td>
  4552. \t\t\t\t\t\t\t<td>{{ form_widget(formEdit.movable, {'attr': {'class':'switch-toggle switch-flat-mini switch-toggle-flat'}}) }}<label class=\"m_auto\" for=\"{{ formEdit.movable.vars.id }}\"></label></td>
  4553. \t\t\t\t\t\t\t<td class=\"txt_a_l\"><label class=\"m_b_none m_l_10p l_s_none f_w_500\">Sì</label></td>
  4554. \t\t\t\t\t\t</tr>
  4555. \t\t\t\t\t</table>
  4556. \t\t\t\t</div>
  4557. \t\t\t</div>
  4558. \t\t</div>
  4559. \t{% endset %}
  4560. \t{% set editWarehouseScriptBody %}{% endset %}
  4561. \t{% include 'components/modals/edit.html.twig' with {'type':'warehouse', 'form':formEdit, 'text':'Magazzino', 'modalBody':editWarehouseModalBody, 'scriptBody':editWarehouseScriptBody, 'openModal':'openEditModal', 'id':''} %}
  4562. {% endblock %}
  4563. {% block javascripts %}
  4564. {{ parent() }}
  4565. {% include 'components/js/upload_file_js.html.twig' with {'number':'1', 'file':'form_transfer_receive_file', 'path':'form_transfer_receive_ddtPath'} %}
  4566. {% include 'components/js/upload_file_js.html.twig' with {'number':'2', 'file':'form_import_inventory_file', 'path':'form_import_inventory_path'} %}
  4567. {% include 'components/js/sort_js.html.twig' with {'number':0, 'actualSortField':filters.sortField_0, 'actualSortOrder':filters.sortOrder_0, 'sort_field':'sort_field_0', 'sort_order':'sort_order_0', 'formName':'formFilter_0', 'arrowClass':'filter_arrow_0'} %}
  4568. {% include 'components/js/sort_js.html.twig' with {'number':1, 'actualSortField':filters.sortField_1, 'actualSortOrder':filters.sortOrder_1, 'sort_field':'sort_field_1', 'sort_order':'sort_order_1', 'formName':'formFilter_1', 'arrowClass':'filter_arrow_1'} %}
  4569. {% include 'components/js/sort_js.html.twig' with {'number':2, 'actualSortField':filters.sortField_2, 'actualSortOrder':filters.sortOrder_2, 'sort_field':'sort_field_2', 'sort_order':'sort_order_2', 'formName':'formFilter_2', 'arrowClass':'filter_arrow_2'} %}
  4570. {% include 'components/js/sort_js.html.twig' with {'number':3, 'actualSortField':filters.sortField_3, 'actualSortOrder':filters.sortOrder_3, 'sort_field':'sort_field_3', 'sort_order':'sort_order_3', 'formName':'formFilter_3', 'arrowClass':'filter_arrow_3'} %}
  4571. {% include 'components/js/filter_supplier_js.html.twig' with {'number':0, 'suppliers':suppliers, 'filterSupplier':filters.supplier_0} %}
  4572. {% include 'components/js/filter_supplier_js.html.twig' with {'number':1, 'suppliers':suppliers, 'filterSupplier':filters.supplier_1} %}
  4573. {% include 'components/js/filter_supplier_js.html.twig' with {'number':2, 'suppliers':suppliers, 'filterSupplier':filters.supplier_1} %}
  4574. {% include 'components/js/filter_supplier_js.html.twig' with {'number':3, 'suppliers':suppliers, 'filterSupplier':filters.supplier_1} %}
  4575. {% include 'components/js/daterangepicker_js.html.twig' with {'id':'daterange1last_1', 'format':'DD-MM-YYYY HH:mm'} %}
  4576. {% include 'components/js/daterangepicker_js.html.twig' with {'id':'daterange1last_2', 'format':'DD-MM-YYYY HH:mm'} %}
  4577. {% include 'components/js/daterangepicker_js.html.twig' with {'id':'daterange1last_3', 'format':'DD-MM-YYYY HH:mm'} %}
  4578. {% include 'components/js/daterangepicker_js.html.twig' with {'id':'daterange2creation_1', 'format':'DD-MM-YYYY HH:mm'} %}
  4579. {% include 'components/js/daterangepicker_js.html.twig' with {'id':'daterange2send_1', 'format':'DD-MM-YYYY HH:mm'} %}
  4580. {% include 'components/js/daterangepicker_js.html.twig' with {'id':'daterange2completion_1', 'format':'DD-MM-YYYY HH:mm'} %}
  4581. {% include 'components/js/daterangepicker_js.html.twig' with {'id':'daterange2creation_2', 'format':'DD-MM-YYYY HH:mm'} %}
  4582. {% include 'components/js/daterangepicker_js.html.twig' with {'id':'daterange2send_2', 'format':'DD-MM-YYYY HH:mm'} %}
  4583. {% include 'components/js/daterangepicker_js.html.twig' with {'id':'daterange2completion_2', 'format':'DD-MM-YYYY HH:mm'} %}
  4584. {% include 'components/js/daterangepicker_js.html.twig' with {'id':'daterange2creation_3', 'format':'DD-MM-YYYY HH:mm'} %}
  4585. {% include 'components/js/daterangepicker_js.html.twig' with {'id':'daterange2send_3', 'format':'DD-MM-YYYY HH:mm'} %}
  4586. {% include 'components/js/daterangepicker_js.html.twig' with {'id':'daterange2completion_3', 'format':'DD-MM-YYYY HH:mm'} %}
  4587. {% include 'components/js/daterangepicker_js.html.twig' with {'id':'daterange3_1', 'format':'DD-MM-YYYY HH:mm'} %}
  4588. {% include 'components/js/daterangepicker_js.html.twig' with {'id':'daterange3_2', 'format':'DD-MM-YYYY HH:mm'} %}
  4589. {% include 'components/js/daterangepicker_js.html.twig' with {'id':'daterange3_3', 'format':'DD-MM-YYYY HH:mm'} %}
  4590. <script>
  4591. \t\$(document).ready(function(){
  4592. \t\t// Inventory
  4593. \t\t{% if app.session.get('openStockInventoryModal') %}
  4594. \t\t\tstockInventory();
  4595. \t\t\t{% do app.session.remove('openStockInventoryModal') %}
  4596. \t\t{% endif %}
  4597. \t\t// Receive
  4598. \t\t{% if app.session.get('openTransferReceiveModal') %}
  4599. \t\t\ttransferReceive();
  4600. \t\t\t{% do app.session.remove('openTransferReceiveModal') %}
  4601. \t\t{% endif %}
  4602. \t\t// Invia
  4603. \t\t{% if app.session.get('openTransferSendModal') %}
  4604. \t\t\ttransferSend();
  4605. \t\t\t{% do app.session.remove('openTransferSendModal') %}
  4606. \t\t{% endif %}
  4607. \t\t{% if app.session.get('transferStocksIds') %}
  4608. \t\t\t{% do app.session.remove('transferStocksIds') %}
  4609. \t\t{% endif %}
  4610. \t\tvar dateRanges1last = document.getElementsByClassName('daterange1last');
  4611. \t\t{% if filters.dateLastTransfer_1 != null and filters.dateLastTransfer_1 != '' %}
  4612. \t\t\tfor(i=0; i<dateRanges1last.length; i++){
  4613. \t\t\t\tdateRanges1last[i].value = \"{{ filters.dateLastTransfer_1 }}\";
  4614. \t\t\t}
  4615. \t\t{% else %}
  4616. \t\t\tfor(i=0; i<dateRanges1last.length; i++){
  4617. \t\t\t\tdateRanges1last[i].value = \"\";
  4618. \t\t\t}
  4619. \t\t{% endif %}
  4620. \t\tvar dateRanges2creation = document.getElementsByClassName('daterange2creation');
  4621. \t\t{% if filters.datetimeCreation_2 != null and filters.datetimeCreation_2 != '' %}
  4622. \t\t\tfor(i=0; i<dateRanges2creation.length; i++){
  4623. \t\t\t\tdateRanges2creation[i].value = \"{{ filters.datetimeCreation_2 }}\";
  4624. \t\t\t}
  4625. \t\t{% else %}
  4626. \t\t\tfor(i=0; i<dateRanges2creation.length; i++){
  4627. \t\t\t\tdateRanges2creation[i].value = \"\";
  4628. \t\t\t}
  4629. \t\t{% endif %}
  4630. \t\t
  4631. \t\tvar dateRanges2send = document.getElementsByClassName('daterange2send');
  4632. \t\t{% if filters.datetimeSend_2 != null and filters.datetimeSend_2 != '' %}
  4633. \t\t\tfor(i=0; i<dateRanges2send.length; i++){
  4634. \t\t\t\tdateRanges2send[i].value = \"{{ filters.datetimeSend_2 }}\";
  4635. \t\t\t}
  4636. \t\t{% else %}
  4637. \t\t\tfor(i=0; i<dateRanges2send.length; i++){
  4638. \t\t\t\tdateRanges2send[i].value = \"\";
  4639. \t\t\t}
  4640. \t\t{% endif %}
  4641. \t\t
  4642. \t\tvar dateRanges2completion = document.getElementsByClassName('daterange2completion');
  4643. \t\t{% if filters.datetimeCompletion_2 != null and filters.datetimeCompletion_2 != '' %}
  4644. \t\t\tfor(i=0; i<dateRanges2completion.length; i++){
  4645. \t\t\t\tdateRanges2completion[i].value = \"{{ filters.datetimeCompletion_2 }}\";
  4646. \t\t\t}
  4647. \t\t{% else %}
  4648. \t\t\tfor(i=0; i<dateRanges2completion.length; i++){
  4649. \t\t\t\tdateRanges2completion[i].value = \"\";
  4650. \t\t\t}
  4651. \t\t{% endif %}
  4652. \t\tvar dateRanges3 = document.getElementsByClassName('daterange3');
  4653. \t\t{% if filters.date_3 != null and filters.date_3 != '' %}
  4654. \t\t\tfor(i=0; i<dateRanges3.length; i++){
  4655. \t\t\t\tdateRanges3[i].value = \"{{ filters.date_3 }}\";
  4656. \t\t\t}
  4657. \t\t{% else %}
  4658. \t\t\tfor(i=0; i<dateRanges3.length; i++){
  4659. \t\t\t\tdateRanges3[i].value = \"\";
  4660. \t\t\t}
  4661. \t\t{% endif %}
  4662. \t});
  4663. \tfunction selectAll(index, tab){
  4664. \t\tvar checkboxes = document.getElementsByClassName('stock_' + index + '_checkbox');
  4665. \t\tvar isSelect = document.getElementById('stock_' + index + '_all_checkboxes').checked;
  4666. \t\tfor(i=0; i<checkboxes.length; i++)
  4667. \t\t\tcheckboxes[i].checked = isSelect;
  4668. \t\tupdateButtons(index, tab);
  4669. \t}
  4670. \t
  4671. \tfunction updateButtons(index, tab){
  4672. \t\tvar inputSelectAll = document.getElementById('stock_' + index + '_all_checkboxes');
  4673. \t\tvar checkboxes = document.getElementsByClassName('stock_' + index + '_checkbox');
  4674. \t\tvar buttonCondition = document.getElementById('button_' + index + '_condition');
  4675. \t\tvar buttonModel = document.getElementById('button_' + index + '_model');
  4676. \t\t{% if warehouse.headquarter %}
  4677. \t\t\tvar buttonPrint = document.getElementById('button_' + index + '_print');
  4678. \t\t{% endif %}
  4679. \t\tif(tab == 's_to_manage')
  4680. \t\t\tvar buttonManaged = document.getElementById('button_' + index + '_managed');
  4681. \t\t{% if app.user.getAccountTypology != 'technician' %}
  4682. \t\t\tif(tab == 's_to_manage' || tab == 's_available' || tab == 's_not_available')
  4683. \t\t\t\tvar buttonSupplier = document.getElementById('button_' + index + '_supplier');
  4684. \t\t{% endif %}
  4685. \t\tif(tab == 's_available' || tab == 's_not_available')
  4686. \t\t\tvar buttonSend = document.getElementById('button_' + index + '_send');
  4687. \t\tvar isAllSelected = true;
  4688. \t\tconst array = [];
  4689. \t\tfor(i=0; i<checkboxes.length; i++){
  4690. \t\t\tif(checkboxes[i].checked){
  4691. \t\t\t\tarray.push(checkboxes[i].value);
  4692. \t\t\t}
  4693. \t\t\telse
  4694. \t\t\t\tisAllSelected = false;
  4695. \t\t}
  4696. \t\t
  4697. \t\tif(!isAllSelected)
  4698. \t\t\tinputSelectAll.checked = false;
  4699. \t\t
  4700. \t\tif(array.length > 0){
  4701. \t\t\t{% if warehouse.headquarter %}
  4702. \t\t\t\tbuttonPrint.className = \"button button-3d button-mini button-green f_right m_b_10p\";
  4703. \t\t\t\tbuttonPrint.href = \"javascript: sendAction('print', \" + index + \", '\" + tab + \"')\";
  4704. \t\t\t{% endif %}
  4705. \t\t\tbuttonCondition.className = \"button button-3d button-mini button-green f_right m_b_10p\";
  4706. \t\t\tbuttonCondition.href = \"javascript: sendAction('condition', \" + index + \", '\" + tab + \"')\";
  4707. \t\t\tif(tab == 's_to_manage'){
  4708. \t\t\t\tbuttonManaged.className = \"button button-3d button-mini button-green f_right m_b_10p\";
  4709. \t\t\t\tbuttonManaged.href = \"javascript: sendAction('managed', \" + index + \", '\" + tab + \"')\";
  4710. \t\t\t\t// buttonModel uguale a buttonCondition solo per s_to_manage
  4711. \t\t\t\tbuttonModel.className = \"button button-3d button-mini button-green f_right m_b_10p\";
  4712. \t\t\t\tbuttonModel.href = \"javascript: sendAction('model', \" + index + \", '\" + tab + \"')\";
  4713. \t\t\t}
  4714. \t\t\t{% if app.user.getAccountTypology != 'technician' %}
  4715. \t\t\t\tif(tab == 's_to_manage' || tab == 's_available' || tab == 's_not_available'){
  4716. \t\t\t\t\tbuttonSupplier.className = \"button button-3d button-mini button-green f_right m_b_10p\";
  4717. \t\t\t\t\tbuttonSupplier.href = \"javascript: sendAction('supplier', \" + index + \", '\" + tab + \"')\";
  4718. \t\t\t\t}
  4719. \t\t\t{% endif %}
  4720. \t\t\tif(tab == 's_available' || tab == 's_not_available'){
  4721. \t\t\t\tbuttonSend.className = \"button button-3d button-mini button-green f_right m_b_10p\";
  4722. \t\t\t\tbuttonSend.href = \"javascript: sendAction('send', \" + index + \", '\" + tab + \"')\";
  4723. \t\t\t}
  4724. \t\t}
  4725. \t\telse{
  4726. \t\t\t{% if warehouse.headquarter %}
  4727. \t\t\t\tbuttonPrint.className = \"button button-3d button-mini button-grey f_right m_b_10p\";
  4728. \t\t\t\tbuttonPrint.href = \"javascript: void(0)\";
  4729. \t\t\t{% endif %}
  4730. \t\t\tbuttonCondition.className = \"button button-3d button-mini button-grey f_right m_b_10p\";
  4731. \t\t\tbuttonCondition.href = \"javascript: void(0)\";
  4732. \t\t\tif(tab == 's_to_manage'){
  4733. \t\t\t\tbuttonManaged.className = \"button button-3d button-mini button-grey f_right m_b_10p\";
  4734. \t\t\t\tbuttonManaged.href = \"javascript: void(0)\";
  4735. \t\t\t\tbuttonModel.className = \"button button-3d button-mini button-grey f_right m_b_10p\";
  4736. \t\t\t\tbuttonModel.href = \"javascript: void(0)\";
  4737. \t\t\t}
  4738. \t\t\t{% if app.user.getAccountTypology != 'technician' %}
  4739. \t\t\t\tif(tab == 's_to_manage' || tab == 's_available' || tab == 's_not_available'){
  4740. \t\t\t\t\tbuttonSupplier.className = \"button button-3d button-mini button-grey f_right m_b_10p\";
  4741. \t\t\t\t\tbuttonSupplier.href = \"javascript: void(0)\";
  4742. \t\t\t\t}
  4743. \t\t\t{% endif %}
  4744. \t\t\tif(tab == 's_available' || tab == 's_not_available'){
  4745. \t\t\t\tbuttonSend.className = \"button button-3d button-mini button-grey f_right m_b_10p\";
  4746. \t\t\t\tbuttonSend.href = \"javascript: void(0)\";
  4747. \t\t\t}
  4748. \t\t}
  4749. \t}
  4750. \tfunction sendAction(action, index, tab){
  4751. \t\tvar checkboxes = document.getElementsByClassName('stock_' + index + '_checkbox');
  4752. \t\tconst array = [];
  4753. \t\tfor(i=0; i<checkboxes.length; i++){
  4754. \t\t\tif(checkboxes[i].checked)
  4755. \t\t\t\tarray.push(checkboxes[i].value);
  4756. \t\t}
  4757. \t\tswitch(action){
  4758. \t\t\tcase 'print':
  4759. \t\t\t\tdocument.getElementById('printStocksIds').value = array;
  4760. \t\t\t\tdocument.getElementById('printAction').value = action;
  4761. \t\t\t\t\$('#stockPrintModal').modal({backdrop: 'static', keyboard: false}).modal(\"show\");
  4762. \t\t\t\tbreak;
  4763. \t\t\tcase 'managed':
  4764. \t\t\t\tdocument.getElementById('managedStocksIds').value = array;
  4765. \t\t\t\tdocument.getElementById('managedAction').value = action;
  4766. \t\t\t\t\$('#stockManagedModal').modal({backdrop: 'static', keyboard: false}).modal(\"show\");
  4767. \t\t\t\tbreak;
  4768. \t\t\tcase 'supplier':
  4769. \t\t\t\tvar checkboxes = document.getElementsByClassName('supplier_checkboxes');
  4770. \t\t\t\tfor(i=0; i<checkboxes.length; i++){
  4771. \t\t\t\t\tcheckboxes[i].removeAttribute(\"checked\");
  4772. \t\t\t\t\tcheckboxes[i].checked = false;
  4773. \t\t\t\t}
  4774. \t\t\t\tdocument.getElementById('supplierStocksIds').value = array;
  4775. \t\t\t\tdocument.getElementById('supplierAction').value = action;
  4776. \t\t\t\t\$('#stockSupplierModal').modal({backdrop: 'static', keyboard: false}).modal(\"show\");
  4777. \t\t\t\tbreak;
  4778. \t\t\tcase 'condition':
  4779. \t\t\t\tdocument.getElementById('conditionAction').value = action;
  4780. \t\t\t\tdocument.getElementById('conditionStocksIds').value = array;
  4781. \t\t\t\tswitch(index){
  4782. \t\t\t\t\tcase 0: document.getElementById('stockTab').value = 'to_manage'; break;
  4783. \t\t\t\t\tcase 1: document.getElementById('stockTab').value = 'available'; break;
  4784. \t\t\t\t\tcase 2: document.getElementById('stockTab').value = 'not_available'; break;
  4785. \t\t\t\t\tdefault: break;
  4786. \t\t\t\t}
  4787. \t\t\t\t\$('#stockConditionModal').modal({backdrop: 'static', keyboard: false}).modal(\"show\");
  4788. \t\t\t\tbreak;
  4789. \t\t\tcase 'model':
  4790. \t\t\t\tdocument.getElementById('modelAction').value = action;
  4791. \t\t\t\tdocument.getElementById('modelStocksIds').value = array;
  4792. \t\t\t\tswitch(index){
  4793. \t\t\t\t\tcase 0: document.getElementById('stockTab').value = 'to_manage'; break;
  4794. \t\t\t\t\tdefault: break;
  4795. \t\t\t\t}
  4796. \t\t\t\t\$('#stockModelModal').modal({backdrop: 'static', keyboard: false}).modal(\"show\");
  4797. \t\t\t\tbreak;
  4798. \t\t\tcase 'send':
  4799. \t\t\t\tvar a = document.getElementById('a_send_technician');
  4800. \t\t\t\tif(tab == 's_not_available'){
  4801. \t\t\t\t\ta.href = \"javascript: void(0)\";
  4802. \t\t\t\t\ta.className = \"button button-3d button-mini button-grey width_200p txt_a_c\";
  4803. \t\t\t\t}
  4804. \t\t\t\telse{
  4805. \t\t\t\t\ta.href = \"javascript: transferSendSetType('technician')\";
  4806. \t\t\t\t\ta.className = \"button button-3d button-mini button-pr width_200p txt_a_c\";
  4807. \t\t\t\t}
  4808. \t\t\t\tdocument.getElementById('form_transfer_send_sendStocksIds').value = array;
  4809. \t\t\t\ttransferSend();
  4810. \t\t\t\tbreak;
  4811. \t\t\tdefault: break;
  4812. \t\t}
  4813. \t}
  4814. \tfunction modelsUpdateUl(){
  4815. \t\tvar modelName = document.getElementById(\"input_model_search\").value;
  4816. \t\tif(modelName != null && modelName != \"\"){
  4817. \t\t\t\$.post(\"{{ path ('user_product_model_name_updates') }}\", {modelName: modelName}, function(response){ 
  4818. \t\t\t\tif(response.code == 200 && response.success){
  4819. \t\t\t\t\tvar ul = document.getElementById(\"ul_models\");
  4820. \t\t\t\t\tul.innerHTML = \"\";
  4821. \t\t\t\t\tvar values = JSON.parse(response.values);
  4822. \t\t\t\t\tvar max = values.length;
  4823. \t\t\t\t\tif(values.length > 10)
  4824. \t\t\t\t\t\tmax = 10;
  4825. \t\t\t\t\tfor(i=0; i<max; i++){
  4826. \t\t\t\t\t\tvar li = document.createElement(\"li\");
  4827. \t\t\t\t\t\tli.id = \"li_model_\" + i;
  4828. \t\t\t\t\t\tli.innerHTML = values[i]['name'];
  4829. \t\t\t\t\t\tli.setAttribute(\"onclick\", \"setModel(\" +  values[i]['id'] + \", '\" + values[i]['name'].replace(/'/g, \"\\\\'\") + \"')\");
  4830. \t\t\t\t\t\tul.appendChild(li);
  4831. \t\t\t\t\t}
  4832. \t\t\t\t\tif(max > 0){
  4833. \t\t\t\t\t\tif(max == 1){
  4834. \t\t\t\t\t\t\tdocument.getElementById(\"li_model_0\").click();
  4835. \t\t\t\t\t\t\tul.style.display = \"none\";
  4836. \t\t\t\t\t\t}
  4837. \t\t\t\t\t\telse
  4838. \t\t\t\t\t\t\tul.style.display = \"block\";
  4839. \t\t\t\t\t}
  4840. \t\t\t\t\telse
  4841. \t\t\t\t\t\tul.style.display = \"none\";
  4842. \t\t\t\t}
  4843. \t\t\t}, \"json\");
  4844. \t\t}
  4845. \t}
  4846. \tfunction setModel(id, name) {
  4847. \t\tvar select = document.getElementById(\"select_product_model\");
  4848. \t\twhile (select.options.length > 1) {
  4849. \t\t\tselect.remove(1);
  4850. \t\t}
  4851. \t\tvar option = new Option(name, id, true, true);
  4852. \t\tselect.options.add(option);
  4853. \t\tselect.value = id;
  4854. \t\tdocument.getElementById(\"ul_models\").style.display = \"none\";
  4855. \t\tdocument.getElementById(\"input_model_search\").value = name;
  4856. \t}
  4857. \tfunction checkSubmit(action){
  4858. \t\tswitch(action){
  4859. \t\t\tcase 'print':
  4860. \t\t\t\tif(document.getElementById('select_supplier').value != 0){
  4861. \t\t\t\t\t\$('#formPrint').submit();
  4862. \t\t\t\t\t\$('#stockPrintModal').modal(\"hide\");
  4863. \t\t\t\t}
  4864. \t\t\t\telse{
  4865. \t\t\t\t\tvar divError = document.getElementById('divErrorSupplier');
  4866. \t\t\t\t\tdivError.className = 'error';
  4867. \t\t\t\t\tdivError.children[0].setAttribute('data-bs-toggle', 'tooltip');
  4868. \t\t\t\t\tdivError.children[0].setAttribute('title', 'Campo obbligatorio');
  4869. \t\t\t\t}
  4870. \t\t\t\tbreak;
  4871. \t\t\tcase 'managed':
  4872. \t\t\t\ttriggerLoading();
  4873. \t\t\t\t\$('#formManaged').submit();
  4874. \t\t\t\tbreak;
  4875. \t\t\tcase 'supplier':
  4876. \t\t\t\tvar valid = false;
  4877. \t\t\t\tvar checkboxes = document.getElementsByClassName('supplier_checkboxes');
  4878. \t\t\t\tfor(i=0; i<checkboxes.length; i++){
  4879. \t\t\t\t\tif(checkboxes[i].checked){
  4880. \t\t\t\t\t\tvalid = true;
  4881. \t\t\t\t\t\tbreak;
  4882. \t\t\t\t\t}
  4883. \t\t\t\t}
  4884. \t\t\t\tif(valid){
  4885. \t\t\t\t\ttriggerLoading();
  4886. \t\t\t\t\t\$('#formSupplier').submit();
  4887. \t\t\t\t}
  4888. \t\t\t\telse{
  4889. \t\t\t\t\tvar divError = document.getElementById('divErrorSupplier');
  4890. \t\t\t\t\tdivError.className = 'error';
  4891. \t\t\t\t\tdivError.children[0].setAttribute('data-bs-toggle', 'tooltip');
  4892. \t\t\t\t\tdivError.children[0].setAttribute('title', 'Campo obbligatorio');
  4893. \t\t\t\t}
  4894. \t\t\t\tbreak;
  4895. \t\t\tcase 'condition':
  4896. \t\t\t\tif(document.getElementById('select_product_condition').value != 0){
  4897. \t\t\t\t\ttriggerLoading();
  4898. \t\t\t\t\t\$('#formCondition').submit();
  4899. \t\t\t\t}
  4900. \t\t\t\telse{
  4901. \t\t\t\t\tvar divError = document.getElementById('divErrorCondition');
  4902. \t\t\t\t\tdivError.className = 'error';
  4903. \t\t\t\t\tdivError.children[0].setAttribute('data-bs-toggle', 'tooltip');
  4904. \t\t\t\t\tdivError.children[0].setAttribute('title', 'Campo obbligatorio');
  4905. \t\t\t\t}
  4906. \t\t\t\tbreak;
  4907. \t\t\tcase 'model':
  4908. \t\t\t\tif(document.getElementById('select_product_model').value != 0){
  4909. \t\t\t\t\ttriggerLoading();
  4910. \t\t\t\t\t\$('#formModel').submit();
  4911. \t\t\t\t}
  4912. \t\t\t\telse{
  4913. \t\t\t\t\tvar divError = document.getElementById('divErrorModel');
  4914. \t\t\t\t\tdivError.className = 'error';
  4915. \t\t\t\t\tdivError.children[0].setAttribute('data-bs-toggle', 'tooltip');
  4916. \t\t\t\t\tdivError.children[0].setAttribute('title', 'Campo obbligatorio');
  4917. \t\t\t\t}
  4918. \t\t\t\tbreak;
  4919. \t\t\tdefault: break;
  4920. \t\t}
  4921. \t\t\$('[data-bs-toggle=\"tooltip\"]').tooltip();
  4922. \t}
  4923. \tfunction stockInventory(){
  4924. \t\t\$('#stockInventoryModal').modal({backdrop: 'static', keyboard: false}).modal(\"show\");
  4925. \t}
  4926. \t// RICEVI MATERIALE
  4927. \t\$('#form_transfer_receive_date').datepicker({ autoclose: true, todayHighlight: true, format: \"dd-mm-yyyy\", startDate: \"today\" });
  4928.     function transferReceive(){
  4929.         \$('#transferReceiveModal').modal({backdrop: 'static', keyboard: false}).modal(\"show\");
  4930.     }
  4931. \tfunction tranferReceiveShowHideDDT(){
  4932. \t\tif(document.getElementById('form_transfer_receive_ddtMandatory').checked == true){
  4933. \t\t\tdocument.getElementById('row_receive_ddt').style.display = 'flex';
  4934. \t\t}
  4935. \t\telse{
  4936. \t\t\tdocument.getElementById('row_receive_ddt').style.display = 'none';
  4937. \t\t}
  4938. \t}
  4939. \t// INVIA MATERIALE
  4940. \t\$('#form_transfer_send_date').datepicker({ autoclose: true, todayHighlight: true, format: \"dd-mm-yyyy\", startDate: \"today\" });
  4941.     function transferSend(){
  4942. \t\tdocument.getElementById('form_transfer_send_productRequestId').value = '';
  4943. \t\tdocument.getElementById('row_select_type').style.display = 'flex';
  4944. \t\tdocument.getElementById('row_warehouse_select').style.display = 'block';
  4945. \t\tdocument.getElementById('row_warehouse_selected').style.display = 'none';
  4946. \t\tdocument.getElementById('row_send_data').className = 'row m_t_30p';
  4947.         \$('#transferSendModal').modal({backdrop: 'static', keyboard: false}).modal(\"show\");
  4948.     }
  4949. \t
  4950. \tfunction transferSendSetType(type){
  4951. \t\tdocument.getElementById('form_transfer_send_type').value = type;
  4952. \t\t\$.post('{{ path (\"user_warehouse_transfer_update_warehouses\", {\"warehouseId\":warehouse.id}) }}', {type: type}, function(response){ 
  4953. \t\t\tif(response.code == 200 && response.success){
  4954. \t\t\t\tswitch(type){
  4955. \t\t\t\t\tcase 'technician': 
  4956. \t\t\t\t\t\tupdateTechnicianWarehouses();
  4957. \t\t\t\t\t\tdocument.getElementById('span_send_type').innerHTML = 'Tecnico';
  4958. \t\t\t\t\t\tdocument.getElementById('div_send_supplier').style.display = 'none';
  4959. \t\t\t\t\t\tdocument.getElementById('div_send_ddt_mandatory').style.display = 'block';
  4960. \t\t\t\t\t\tdocument.getElementById('row_user_to_select').style.display = 'block';
  4961. \t\t\t\t\t\tdocument.getElementById('div_send_stock_order').style.display = 'none';
  4962. \t\t\t\t\t\t{% if warehouse.headquarter == 0 and app.user.getAccountTypology != 'technician' %}
  4963. \t\t\t\t\t\t\tdocument.getElementById('row_user_from_select').style.display = 'block';
  4964. \t\t\t\t\t\t{% endif %}
  4965. \t\t\t\t\t\tbreak;
  4966. \t\t\t\t\tcase 'destination':
  4967. \t\t\t\t\t\tdocument.getElementById('span_send_type').innerHTML = 'Destinazione esterna';
  4968. \t\t\t\t\t\tdocument.getElementById('div_send_supplier').style.display = 'block';
  4969. \t\t\t\t\t\tdocument.getElementById('div_send_stock_order').style.display = 'block';
  4970. \t\t\t\t\t\tdocument.getElementById('div_send_ddt_mandatory').style.display = 'none';
  4971. \t\t\t\t\t\tdocument.getElementById('row_user_to_select').style.display = 'none';
  4972. \t\t\t\t\t\tbreak;
  4973. \t\t\t\t\tcase 'main':
  4974. \t\t\t\t\t\tdocument.getElementById('span_send_type').innerHTML = 'Sede centrale';
  4975. \t\t\t\t\t\tdocument.getElementById('div_send_supplier').style.display = 'none';
  4976. \t\t\t\t\t\tdocument.getElementById('div_send_ddt_mandatory').style.display = 'none';
  4977. \t\t\t\t\t\tdocument.getElementById('div_send_stock_order').style.display = 'none';
  4978. \t\t\t\t\t\tdocument.getElementById('row_user_to_select').style.display = 'none';
  4979. \t\t\t\t\t\t{% if warehouse.headquarter == 0 and app.user.getAccountTypology != 'technician' %}
  4980. \t\t\t\t\t\t\tdocument.getElementById('row_user_from_select').style.display = 'block';
  4981. \t\t\t\t\t\t{% endif %}
  4982. \t\t\t\t\t\tbreak;
  4983. \t\t\t\t\tdefault: break;
  4984. \t\t\t\t}
  4985. \t\t\t\tvar select = document.getElementById('form_transfer_send_warehouse');
  4986. \t\t\t\twhile(select.options.length){
  4987. \t\t\t\t\tselect.remove(0);
  4988. \t\t\t\t}
  4989. \t\t\t\tvar warehouses = JSON.parse(response.warehouses);
  4990. \t\t\t\tfor(var i = 0; i < warehouses.length; i++){
  4991. \t\t\t\t\tvar option = new Option(warehouses[i]['nickname'], warehouses[i]['id']);
  4992. \t\t\t\t\tselect.options.add(option);
  4993. \t\t\t\t}
  4994. \t\t\t\tdocument.getElementById('row_send_data').style.display = 'flex';
  4995. \t\t\t\tdocument.getElementById('button_send_submit').className = 'button button-3d button-mini button-green f_right';
  4996. \t\t\t\tdocument.getElementById('button_send_submit').href = 'javascript: transferSendSubmit()';
  4997. \t\t\t}
  4998. \t\t}, \"json\");
  4999. \t}
  5000. \tfunction showHideDivestment(){
  5001. \t\tvar select = document.getElementById('form_transfer_send_supplier');
  5002. \t\tvar options = select.children;
  5003. \t\tif(options[select.selectedIndex].innerHTML == 'NEXI BOOK MONETICA' || options[select.selectedIndex].innerHTML == 'NEXI BOOK MEPS' || options[select.selectedIndex].innerHTML == 'NEXI BOOK SIA' || options[select.selectedIndex].innerHTML == 'DS - NEXI BOOK MONETICA' || options[select.selectedIndex].innerHTML == 'DS - NEXI BOOK MEPS' || options[select.selectedIndex].innerHTML == 'DS - NEXI BOOK SIA')
  5004. \t\t\tdocument.getElementById('div_send_divestment').style.display = 'block';
  5005. \t\telse
  5006. \t\t\tdocument.getElementById('div_send_divestment').style.display = 'none';
  5007. \t}
  5008. \tfunction updateTechnicianWarehouses(){
  5009. \t\ttechnicianId = document.getElementById('form_transfer_send_userTo').value;
  5010. \t\t\$.post('{{ path (\"user_warehouse_transfer_update_technician_warehouses\", {\"warehouseId\":warehouse.id}) }}', {technicianId: technicianId}, function(response){ 
  5011. \t\t\tif(response.code == 200 && response.success){
  5012. \t\t\t\tvar select = document.getElementById('form_transfer_send_warehouse');
  5013. \t\t\t\twhile(select.options.length){
  5014. \t\t\t\t\tselect.remove(0);
  5015. \t\t\t\t}
  5016. \t\t\t\tvar warehouses = JSON.parse(response.warehouses);
  5017. \t\t\t\tfor(var i = 0; i < warehouses.length; i++){
  5018. \t\t\t\t\tvar option = new Option(warehouses[i]['nickname'], warehouses[i]['id']);
  5019. \t\t\t\t\tselect.options.add(option);
  5020. \t\t\t\t}
  5021. \t\t\t\tdocument.getElementById('row_send_data').style.display = 'flex';
  5022. \t\t\t}
  5023. \t\t}, \"json\");
  5024. \t}
  5025. \tfunction transferSendSubmit(){
  5026. \t\t\$('#formSend').submit();
  5027. \t}
  5028.     function transferDelete(id){
  5029.         document.getElementById(\"transferDeleteId\").value = id;
  5030.         \$('#transferDeleteModal').modal({backdrop: 'static', keyboard: false}).modal(\"show\");
  5031.     }
  5032. \t
  5033. \t// GESTISCI RICHIESTE TECNICI
  5034. \tfunction productRequestSheet(id){
  5035. \t\tdocument.getElementById('request_sheet_datetime').innerHTML = document.getElementById('request_' + id + '_datetime').value;
  5036. \t\tdocument.getElementById('request_sheet_technician').innerHTML = document.getElementById('request_' + id + '_technician').value;
  5037. \t\tdocument.getElementById('request_sheet_warehouse').innerHTML = document.getElementById('request_' + id + '_warehouse').value;
  5038. \t\tdocument.getElementById('request_sheet_warehouse_headquarter').innerHTML = document.getElementById('request_' + id + '_warehouse_headquarter').value;
  5039. \t\tdocument.getElementById('request_sheet_notes').innerHTML = document.getElementById('request_' + id + '_notes').value;
  5040. \t\t\$('#productRequestSheetModal').modal({backdrop: 'static', keyboard: false}).modal(\"show\");
  5041. \t}
  5042. \tfunction productRequestDelete(id){
  5043. \t\tdocument.getElementById('product_request_delete_id').value = id;
  5044. \t\t\$('#productRequestDeleteModal').modal({backdrop: 'static', keyboard: false}).modal(\"show\");
  5045. \t}
  5046. \t{% if warehouse.headquarter %}
  5047. \t\tfunction productRequestTakeCharge(id){
  5048. \t\t\tdocument.getElementById('product_request_take_charge_id').value = id;
  5049. \t\t\t\$('#productRequestTakeChargeModal').modal({backdrop: 'static', keyboard: false}).modal(\"show\");
  5050. \t\t}
  5051. \t\t
  5052. \t\tfunction productRequestManaged(id){
  5053. \t\t\tdocument.getElementById('product_request_managed_id').value = id;
  5054. \t\t\t\$('#productRequestManagedModal').modal({backdrop: 'static', keyboard: false}).modal(\"show\");
  5055. \t\t}
  5056. \t{% endif %}
  5057. </script>
  5058. {% endblock %}""role/user/warehouse/sheet.html.twig""/var/www/vhosts/eposmanager.software/templates/role/user/warehouse/sheet.html.twig");
  5059.     }
  5060. }