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((isset($context["toManageProductsCount"]) || array_key_exists("toManageProductsCount"$context) ? $context["toManageProductsCount"] : (function () { throw new RuntimeError('Variable "toManageProductsCount" does not exist.'80$this->source); })()), "html"nulltrue);
  286.             yield ")\"></i><span class=\"d-none d-md-block\">Da gestire (";
  287.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((isset($context["toManageProductsCount"]) || array_key_exists("toManageProductsCount"$context) ? $context["toManageProductsCount"] : (function () { throw new RuntimeError('Variable "toManageProductsCount" does not exist.'80$this->source); })()), "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((isset($context["availableProductsCount"]) || array_key_exists("availableProductsCount"$context) ? $context["availableProductsCount"] : (function () { throw new RuntimeError('Variable "availableProductsCount" does not exist.'82$this->source); })()), "html"nulltrue);
  294.         yield ")\"></i><span class=\"d-none d-md-block\">Disponibili (";
  295.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((isset($context["availableProductsCount"]) || array_key_exists("availableProductsCount"$context) ? $context["availableProductsCount"] : (function () { throw new RuntimeError('Variable "availableProductsCount" does not exist.'82$this->source); })()), "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((isset($context["notAvailableProductsCount"]) || array_key_exists("notAvailableProductsCount"$context) ? $context["notAvailableProductsCount"] : (function () { throw new RuntimeError('Variable "notAvailableProductsCount" does not exist.'83$this->source); })()), "html"nulltrue);
  300.         yield ")\"></i><span class=\"d-none d-md-block\">Non disponibili (";
  301.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((isset($context["notAvailableProductsCount"]) || array_key_exists("notAvailableProductsCount"$context) ? $context["notAvailableProductsCount"] : (function () { throw new RuntimeError('Variable "notAvailableProductsCount" does not exist.'83$this->source); })()), "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((isset($context["transferProductsCount"]) || array_key_exists("transferProductsCount"$context) ? $context["transferProductsCount"] : (function () { throw new RuntimeError('Variable "transferProductsCount" does not exist.'84$this->source); })()), "html"nulltrue);
  306.         yield ")\"></i><span class=\"d-none d-md-block\">In trasferimento (";
  307.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((isset($context["transferProductsCount"]) || array_key_exists("transferProductsCount"$context) ? $context["transferProductsCount"] : (function () { throw new RuntimeError('Variable "transferProductsCount" does not exist.'84$this->source); })()), "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_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>
  319. \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=\"Aggiungi fornitori\"></i><span class=\"d-none d-lg-block\">Aggiungi fornitori</span></a>
  320. \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>
  321. \t\t\t\t\t\t\t\t\t\t\t\t\t\t</div>
  322. \t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"col-12 overflow_a\">
  323. \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\">
  324. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<thead>
  325. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<tr>
  326. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<form method=\"get\" action=\"";
  327.             // line 99
  328.             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.'99$this->source); })()), "id", [], "any"falsefalsefalse99)]), "html"nulltrue);
  329.             yield "\" id=\"formFilter_0\">
  330. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td colspan=\"3\"><a href=\"";
  331.             // line 100
  332.             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.'100$this->source); })()), "request", [], "any"falsefalsefalse100), "attributes", [], "any"falsefalsefalse100), "get", ["_route"], "method"falsefalsefalse100), "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.'100$this->source); })()), "request", [], "any"falsefalsefalse100), "attributes", [], "any"falsefalsefalse100), "get", ["_route_params"], "method"falsefalsefalse100)]), "html"nulltrue);
  333.             yield "\" class=\"f_right\" data-bs-toggle=\"tooltip\" title=\"Escludi filtri\"><img class=\"icon_action icon_red\" src=\"";
  334.             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.'100$this->source); })())), "html"nulltrue);
  335.             yield "\"></a></td>
  336. \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=\"";
  337.             // line 101
  338.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(((CoreExtension::getAttribute($this->env$this->source, ($context["filters"] ?? null), "codeProducer_0", [], "any"truetruefalse101)) ? (Twig\Extension\CoreExtension::default(CoreExtension::getAttribute($this->env$this->source, ($context["filters"] ?? null), "codeProducer_0", [], "any"falsefalsefalse101))) : ("")), "html"nulltrue);
  339.             yield "\"/></td>
  340. \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=\"";
  341.             // line 102
  342.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(((CoreExtension::getAttribute($this->env$this->source, ($context["filters"] ?? null), "model_0", [], "any"truetruefalse102)) ? (Twig\Extension\CoreExtension::default(CoreExtension::getAttribute($this->env$this->source, ($context["filters"] ?? null), "model_0", [], "any"falsefalsefalse102))) : ("")), "html"nulltrue);
  343.             yield "\"/></td>
  344. \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=\"";
  345.             // line 103
  346.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(((CoreExtension::getAttribute($this->env$this->source, ($context["filters"] ?? null), "supplier_0", [], "any"truetruefalse103)) ? (Twig\Extension\CoreExtension::default(CoreExtension::getAttribute($this->env$this->source, ($context["filters"] ?? null), "supplier_0", [], "any"falsefalsefalse103))) : ("")), "html"nulltrue);
  347.             yield "\"/></td>
  348. \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=\"";
  349.             // line 104
  350.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(((CoreExtension::getAttribute($this->env$this->source, ($context["filters"] ?? null), "condition_0", [], "any"truetruefalse104)) ? (Twig\Extension\CoreExtension::default(CoreExtension::getAttribute($this->env$this->source, ($context["filters"] ?? null), "condition_0", [], "any"falsefalsefalse104))) : ("")), "html"nulltrue);
  351.             yield "\"/></td>
  352. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td class=\"td_w_120p d-none d-lg-table-cell\"><input type=\"text\" inputmode=\"search\" class=\"form-control\" name=\"producer_0\" value=\"";
  353.             // line 105
  354.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(((CoreExtension::getAttribute($this->env$this->source, ($context["filters"] ?? null), "producer_0", [], "any"truetruefalse105)) ? (Twig\Extension\CoreExtension::default(CoreExtension::getAttribute($this->env$this->source, ($context["filters"] ?? null), "producer_0", [], "any"falsefalsefalse105))) : ("")), "html"nulltrue);
  355.             yield "\"/></td>
  356. \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=\"";
  357.             // line 106
  358.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(((CoreExtension::getAttribute($this->env$this->source, ($context["filters"] ?? null), "codeSupplier_0", [], "any"truetruefalse106)) ? (Twig\Extension\CoreExtension::default(CoreExtension::getAttribute($this->env$this->source, ($context["filters"] ?? null), "codeSupplier_0", [], "any"falsefalsefalse106))) : ("")), "html"nulltrue);
  359.             yield "\"/></td>
  360. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td class=\"td_w_120p d-none d-lg-table-cell\"><input type=\"text\" inputmode=\"search\" class=\"form-control\" name=\"sku_0\" value=\"";
  361.             // line 107
  362.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(((CoreExtension::getAttribute($this->env$this->source, ($context["filters"] ?? null), "sku_0", [], "any"truetruefalse107)) ? (Twig\Extension\CoreExtension::default(CoreExtension::getAttribute($this->env$this->source, ($context["filters"] ?? null), "sku_0", [], "any"falsefalsefalse107))) : ("")), "html"nulltrue);
  363.             yield "\"/></td>
  364. \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=\"";
  365.             // line 108
  366.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(((CoreExtension::getAttribute($this->env$this->source, ($context["filters"] ?? null), "technician_0", [], "any"truetruefalse108)) ? (Twig\Extension\CoreExtension::default(CoreExtension::getAttribute($this->env$this->source, ($context["filters"] ?? null), "technician_0", [], "any"falsefalsefalse108))) : ("")), "html"nulltrue);
  367.             yield "\"/></td>
  368. \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=\"";
  369.             // line 109
  370.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(((CoreExtension::getAttribute($this->env$this->source, ($context["filters"] ?? null), "ddt_0", [], "any"truetruefalse109)) ? (Twig\Extension\CoreExtension::default(CoreExtension::getAttribute($this->env$this->source, ($context["filters"] ?? null), "ddt_0", [], "any"falsefalsefalse109))) : ("")), "html"nulltrue);
  371.             yield "\"/></td>
  372. \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=\"";
  373.             // line 110
  374.             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.'110$this->source); })())), "html"nulltrue);
  375.             yield "\"></button></td>
  376. \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\">
  377. \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=\"";
  378.             // line 112
  379.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(((CoreExtension::getAttribute($this->env$this->source, ($context["filters"] ?? null), "sortField_0", [], "any"truetruefalse112)) ? (Twig\Extension\CoreExtension::default(CoreExtension::getAttribute($this->env$this->source, ($context["filters"] ?? null), "sortField_0", [], "any"falsefalsefalse112))) : ("")), "html"nulltrue);
  380.             yield "\"/>
  381. \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=\"";
  382.             // line 113
  383.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(((CoreExtension::getAttribute($this->env$this->source, ($context["filters"] ?? null), "sortOrder_0", [], "any"truetruefalse113)) ? (Twig\Extension\CoreExtension::default(CoreExtension::getAttribute($this->env$this->source, ($context["filters"] ?? null), "sortOrder_0", [], "any"falsefalsefalse113))) : ("")), "html"nulltrue);
  384.             yield "\"/>
  385. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</form>
  386. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</tr>
  387. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<tr class=\"bg_pr color_w\">
  388. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<th class=\"td_w_20p\"></th>
  389. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<th class=\"td_w_20p\">
  390. \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\">
  391. \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')\">
  392. \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>
  393. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</div>
  394. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</th>
  395. \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>
  396. \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>
  397. \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>
  398. \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
  399. \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>
  400. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<th class=\"d-none d-lg-table-cell\">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>
  401. \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>
  402. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<th class=\"d-none d-lg-table-cell\">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>
  403. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<th>Tecnico</th>
  404. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<th colspan=\"2\">DDT</th>
  405. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</tr>
  406. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</thead>
  407. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<tbody>
  408. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
  409.             // line 137
  410.             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.'137$this->source); })())) > 0)) {
  411.                 // line 138
  412.                 yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
  413.                 $context['_parent'] = $context;
  414.                 $context['_seq'] = CoreExtension::ensureTraversable((isset($context["toManageProducts"]) || array_key_exists("toManageProducts"$context) ? $context["toManageProducts"] : (function () { throw new RuntimeError('Variable "toManageProducts" does not exist.'138$this->source); })()));
  415.                 foreach ($context['_seq'] as $context["_key"] => $context["product"]) {
  416.                     // line 139
  417.                     yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
  418.                     $context["first"] = true;
  419.                     // line 140
  420.                     yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
  421.                     $context["suppliersString"] = "";
  422.                     // line 141
  423.                     yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
  424.                     $context['_parent'] = $context;
  425.                     $context['_seq'] = CoreExtension::ensureTraversable(CoreExtension::getAttribute($this->env$this->source$context["product"], "suppliers", [], "any"falsefalsefalse141));
  426.                     foreach ($context['_seq'] as $context["_key"] => $context["supplier"]) {
  427.                         // line 142
  428.                         yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
  429.                         if ((isset($context["first"]) || array_key_exists("first"$context) ? $context["first"] : (function () { throw new RuntimeError('Variable "first" does not exist.'142$this->source); })())) {
  430.                             $context["first"] = false;
  431.                         } else {
  432.                             $context["suppliersString"] = ((isset($context["suppliersString"]) || array_key_exists("suppliersString"$context) ? $context["suppliersString"] : (function () { throw new RuntimeError('Variable "suppliersString" does not exist.'142$this->source); })()) . "-");
  433.                         }
  434.                         // line 143
  435.                         yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
  436.                         $context["suppliersString"] = ((isset($context["suppliersString"]) || array_key_exists("suppliersString"$context) ? $context["suppliersString"] : (function () { throw new RuntimeError('Variable "suppliersString" does not exist.'143$this->source); })()) . CoreExtension::getAttribute($this->env$this->source$context["supplier"], "id", [], "any"falsefalsefalse143));
  437.                         // line 144
  438.                         yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
  439.                     }
  440.                     $_parent $context['_parent'];
  441.                     unset($context['_seq'], $context['_iterated'], $context['_key'], $context['supplier'], $context['_parent'], $context['loop']);
  442.                     $context array_intersect_key($context$_parent) + $_parent;
  443.                     // line 145
  444.                     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=\"";
  445.                     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.'145$this->source); })()), "html"nulltrue);
  446.                     yield "\">
  447. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<tr ";
  448.                     // line 146
  449.                     if (CoreExtension::getAttribute($this->env$this->source$context["product"], "toManage", [], "any"falsefalsefalse146)) {
  450.                         yield "class=\"bg_to_manage_";
  451.                         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source$context["product"], "toManagePriority", [], "any"falsefalsefalse146), "html"nulltrue);
  452.                         yield "\"";
  453.                     }
  454.                     yield ">
  455. \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=\"";
  456.                     // line 147
  457.                     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"falsefalsefalse147)]), "html"nulltrue);
  458.                     yield "\" data-bs-toggle=\"tooltip\" title=\"Scheda\"><img class=\"icon_action icon_pr\" src=\"";
  459.                     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.'147$this->source); })())), "html"nulltrue);
  460.                     yield "\"></a></td>
  461. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td>
  462. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"switch\">
  463. \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_";
  464.                     // line 150
  465.                     yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source$context["product"], "id", [], "any"falsefalsefalse150), "html"nulltrue);
  466.                     yield "\" class=\"switch-toggle switch-flat-mini switch-toggle-flat stock_0_checkbox\" type=\"checkbox\" value=\"";
  467.                     yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source$context["product"], "id", [], "any"falsefalsefalse150), "html"nulltrue);
  468.                     yield "\" onChange=\"javascript: updateButtons(0, 's_to_manage')\">
  469. \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_";
  470.                     // line 151
  471.                     yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source$context["product"], "id", [], "any"falsefalsefalse151), "html"nulltrue);
  472.                     yield "\" class=\"m_b_none\"></label>
  473. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</div>
  474. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</td>
  475. \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\">";
  476.                     // line 154
  477.                     yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source$context["product"], "toManagePriority", [], "any"falsefalsefalse154), "html"nulltrue);
  478.                     yield "</td>
  479. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td id=\"product_codeProducer_";
  480.                     // line 155
  481.                     yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source$context["product"], "id", [], "any"falsefalsefalse155), "html"nulltrue);
  482.                     yield "\"><a href=\"";
  483.                     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);
  484.                     yield "\" class=\"underline\" target=\"_blank\">";
  485.                     yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(((CoreExtension::getAttribute($this->env$this->source$context["product"], "codeProducer", [], "any"truetruefalse155)) ? (Twig\Extension\CoreExtension::default(CoreExtension::getAttribute($this->env$this->source$context["product"], "codeProducer", [], "any"falsefalsefalse155), "---")) : ("---")), "html"nulltrue);
  486.                     yield "</a></td>
  487. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td id=\"product_model_";
  488.                     // line 156
  489.                     yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source$context["product"], "id", [], "any"falsefalsefalse156), "html"nulltrue);
  490.                     yield "\">";
  491.                     yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source$context["product"], "model", [], "any"falsefalsefalse156), "name", [], "any"falsefalsefalse156), "html"nulltrue);
  492.                     yield "</td>
  493. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td>";
  494.                     // line 157
  495.                     yield CoreExtension::getAttribute($this->env$this->source$context["product"], "displaySuppliers", [], "method"falsefalsefalse157);
  496.                     yield "</td>
  497. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td>";
  498.                     // line 158
  499.                     yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source$context["product"], "displayCondition", ["string-short"], "method"falsefalsefalse158), "html"nulltrue);
  500.                     yield "</td>
  501. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td class=\"d-none d-lg-table-cell\">";
  502.                     // line 159
  503.                     yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source$context["product"], "model", [], "any"falsefalsefalse159), "producer", [], "any"falsefalsefalse159), "html"nulltrue);
  504.                     yield "</td>
  505. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td id=\"product_codeSupplier_";
  506.                     // line 160
  507.                     yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source$context["product"], "id", [], "any"falsefalsefalse160), "html"nulltrue);
  508.                     yield "\">";
  509.                     yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(((CoreExtension::getAttribute($this->env$this->source$context["product"], "codeSupplier", [], "any"truetruefalse160)) ? (Twig\Extension\CoreExtension::default(CoreExtension::getAttribute($this->env$this->source$context["product"], "codeSupplier", [], "any"falsefalsefalse160), "---")) : ("---")), "html"nulltrue);
  510.                     yield "</td>
  511. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td class=\"d-none d-lg-table-cell\">";
  512.                     // line 161
  513.                     yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source$context["product"], "model", [], "any"falsefalsefalse161), "sku", [], "any"falsefalsefalse161), "html"nulltrue);
  514.                     yield "</td>
  515. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td>";
  516.                     // line 162
  517.                     if ( !(null === CoreExtension::getAttribute($this->env$this->source$context["product"], "getLastTransfer", [], "any"falsefalsefalse162))) {
  518.                         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source$context["product"], "getLastTransfer", [], "method"falsefalsefalse162), "userFrom", [], "any"falsefalsefalse162), "html"nulltrue);
  519.                     }
  520.                     yield "</td>
  521. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td colspan=\"2\">";
  522.                     // line 163
  523.                     yield CoreExtension::getAttribute($this->env$this->source$context["product"], "displayTransfersDdt", [], "method"falsefalsefalse163);
  524.                     yield "</td>
  525. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</tr>
  526. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
  527.                 }
  528.                 $_parent $context['_parent'];
  529.                 unset($context['_seq'], $context['_iterated'], $context['_key'], $context['product'], $context['_parent'], $context['loop']);
  530.                 $context array_intersect_key($context$_parent) + $_parent;
  531.                 // line 166
  532.                 yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
  533.             } else {
  534.                 // line 167
  535.                 yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
  536.                 yield from                 $this->loadTemplate("components/twig/notice_no_values.html.twig""role/user/warehouse/sheet.html.twig"167)->unwrap()->yield(CoreExtension::merge($context, ["message" => "Nessun prodotto in questo stato"]));
  537.                 // line 168
  538.                 yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
  539.             }
  540.             // line 169
  541.             yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</tbody>
  542. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</table>
  543. \t\t\t\t\t\t\t\t\t\t\t\t\t\t</div>
  544. \t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"col-12 navigation txt_a_r\">
  545. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
  546.             // line 173
  547.             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.'173$this->source); })()));
  548.             yield "
  549. \t\t\t\t\t\t\t\t\t\t\t\t\t\t</div>
  550. \t\t\t\t\t\t\t\t\t\t\t\t\t</div>
  551. \t\t\t\t\t\t\t\t\t\t\t\t</div>
  552. \t\t\t\t\t\t\t\t\t\t\t";
  553.         }
  554.         // line 178
  555.         yield "\t\t\t\t\t\t\t\t\t\t\t<div class=\"tab-content clearfix\" id=\"available\">
  556. \t\t\t\t\t\t\t\t\t\t\t\t";
  557.         // line 179
  558.         $context["number"] = 1;
  559.         // line 180
  560.         yield "\t\t\t\t\t\t\t\t\t\t\t\t";
  561.         $context["tab"] = "s_available";
  562.         // line 181
  563.         yield "\t\t\t\t\t\t\t\t\t\t\t\t";
  564.         $context["status"] = "available";
  565.         // line 182
  566.         yield "\t\t\t\t\t\t\t\t\t\t\t\t";
  567.         $context["products"] = (isset($context["availableProducts"]) || array_key_exists("availableProducts"$context) ? $context["availableProducts"] : (function () { throw new RuntimeError('Variable "availableProducts" does not exist.'182$this->source); })());
  568.         // line 183
  569.         yield "\t\t\t\t\t\t\t\t\t\t\t\t";
  570.         $context["multipleSelection"] = [false1, []];
  571.         // line 184
  572.         yield "\t\t\t\t\t\t\t\t\t\t\t\t";
  573.         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.'184$this->source); })()), "user", [], "any"falsefalsefalse184), "canWrite", ["warehouse"], "method"falsefalsefalse184) || ((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.'184$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.'184$this->source); })()), "user", [], "any"falsefalsefalse184), "id", [], "any"falsefalsefalse184)], "method"falsefalsefalse184) != 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.'184$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.'184$this->source); })()), "user", [], "any"falsefalsefalse184), "id", [], "any"falsefalsefalse184)], "method"falsefalsefalse184), "permission", [], "any"falsefalsefalse184) == "RW")))) {
  574.             // line 185
  575.             yield "\t\t\t\t\t\t\t\t\t\t\t\t\t";
  576.             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.'185$this->source); })()), "user", [], "any"falsefalsefalse185), "getAccountTypology", [], "any"falsefalsefalse185) != "technician")) {
  577.                 // line 186
  578.                 yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
  579.                 $context["multipleSelection"] = [true1, ["supplier""condition""send""export"]];
  580.                 // line 187
  581.                 yield "\t\t\t\t\t\t\t\t\t\t\t\t\t";
  582.             } else {
  583.                 // line 188
  584.                 yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
  585.                 $context["multipleSelection"] = [true1, ["condition""send""export"]];
  586.                 // line 189
  587.                 yield "\t\t\t\t\t\t\t\t\t\t\t\t\t";
  588.             }
  589.             // line 190
  590.             yield "\t\t\t\t\t\t\t\t\t\t\t\t";
  591.         }
  592.         // line 191
  593.         yield "\t\t\t\t\t\t\t\t\t\t\t\t";
  594.         yield from $this->unwrap()->yieldBlock('tableStocks'$context$blocks);
  595.         // line 287
  596.         yield "\t\t\t\t\t\t\t\t\t\t\t</div>
  597. \t\t\t\t\t\t\t\t\t\t\t<div class=\"tab-content clearfix\" id=\"not_available\">
  598. \t\t\t\t\t\t\t\t\t\t\t\t";
  599.         // line 289
  600.         $context["number"] = 2;
  601.         // line 290
  602.         yield "\t\t\t\t\t\t\t\t\t\t\t\t";
  603.         $context["tab"] = "s_not_available";
  604.         // line 291
  605.         yield "\t\t\t\t\t\t\t\t\t\t\t\t";
  606.         $context["status"] = "not_available";
  607.         // line 292
  608.         yield "\t\t\t\t\t\t\t\t\t\t\t\t";
  609.         $context["products"] = (isset($context["notAvailableProducts"]) || array_key_exists("notAvailableProducts"$context) ? $context["notAvailableProducts"] : (function () { throw new RuntimeError('Variable "notAvailableProducts" does not exist.'292$this->source); })());
  610.         // line 293
  611.         yield "\t\t\t\t\t\t\t\t\t\t\t\t";
  612.         $context["index"] = 1;
  613.         // line 294
  614.         yield "\t\t\t\t\t\t\t\t\t\t\t\t";
  615.         $context["multipleSelection"] = [false2, []];
  616.         // line 295
  617.         yield "\t\t\t\t\t\t\t\t\t\t\t\t";
  618.         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.'295$this->source); })()), "user", [], "any"falsefalsefalse295), "canWrite", ["warehouse"], "method"falsefalsefalse295) || ((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.'295$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.'295$this->source); })()), "user", [], "any"falsefalsefalse295), "id", [], "any"falsefalsefalse295)], "method"falsefalsefalse295) != 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.'295$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.'295$this->source); })()), "user", [], "any"falsefalsefalse295), "id", [], "any"falsefalsefalse295)], "method"falsefalsefalse295), "permission", [], "any"falsefalsefalse295) == "RW")))) {
  619.             // line 296
  620.             yield "\t\t\t\t\t\t\t\t\t\t\t\t\t";
  621.             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.'296$this->source); })()), "user", [], "any"falsefalsefalse296), "getAccountTypology", [], "any"falsefalsefalse296) != "technician")) {
  622.                 // line 297
  623.                 yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
  624.                 $context["multipleSelection"] = [true2, ["supplier""condition""send""export"]];
  625.                 // line 298
  626.                 yield "\t\t\t\t\t\t\t\t\t\t\t\t\t";
  627.             } else {
  628.                 // line 299
  629.                 yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
  630.                 $context["multipleSelection"] = [true2, ["condition""send""export"]];
  631.                 // line 300
  632.                 yield "\t\t\t\t\t\t\t\t\t\t\t\t\t";
  633.             }
  634.             // line 301
  635.             yield "\t\t\t\t\t\t\t\t\t\t\t\t";
  636.         }
  637.         // line 302
  638.         yield "\t\t\t\t\t\t\t\t\t\t\t\t";
  639.         yield from         $this->unwrap()->yieldBlock("tableStocks"$context$blocks);
  640.         yield "
  641. \t\t\t\t\t\t\t\t\t\t\t</div>
  642. \t\t\t\t\t\t\t\t\t\t\t<div class=\"tab-content clearfix\" id=\"transfer\">
  643. \t\t\t\t\t\t\t\t\t\t\t\t";
  644.         // line 305
  645.         $context["number"] = 3;
  646.         // line 306
  647.         yield "\t\t\t\t\t\t\t\t\t\t\t\t";
  648.         $context["tab"] = "s_transfer";
  649.         // line 307
  650.         yield "\t\t\t\t\t\t\t\t\t\t\t\t";
  651.         $context["status"] = "transfer";
  652.         // line 308
  653.         yield "\t\t\t\t\t\t\t\t\t\t\t\t";
  654.         $context["products"] = (isset($context["transferProducts"]) || array_key_exists("transferProducts"$context) ? $context["transferProducts"] : (function () { throw new RuntimeError('Variable "transferProducts" does not exist.'308$this->source); })());
  655.         // line 309
  656.         yield "\t\t\t\t\t\t\t\t\t\t\t\t";
  657.         $context["index"] = 1;
  658.         // line 310
  659.         yield "\t\t\t\t\t\t\t\t\t\t\t\t";
  660.         $context["multipleSelection"] = [falsenull, []];
  661.         // line 311
  662.         yield "\t\t\t\t\t\t\t\t\t\t\t\t";
  663.         yield from         $this->unwrap()->yieldBlock("tableStocks"$context$blocks);
  664.         yield "
  665. \t\t\t\t\t\t\t\t\t\t\t</div>
  666. \t\t\t\t\t\t\t\t\t\t</div>
  667. \t\t\t\t\t\t\t\t\t</div>
  668. \t\t\t\t\t\t\t\t</div>
  669. \t\t\t\t\t\t\t</div>
  670. \t\t\t\t\t\t</div>
  671. \t\t\t\t\t\t";
  672.         // line 319
  673.         yield "\t\t\t\t\t\t<div class=\"tab-content clearfix\" id=\"transfers\">
  674. \t\t\t\t\t\t\t<div class=\"row\">
  675. \t\t\t\t\t\t\t\t<div class=\"col-12\">
  676. \t\t\t\t\t\t\t\t\t<h4 class=\"form_title\">Trasferimenti</h4>
  677. \t\t\t\t\t\t\t\t\t<hr class=\"m_t_none\">
  678. \t\t\t\t\t\t\t\t\t<div class=\"tabs clearfix\">
  679. \t\t\t\t\t\t\t\t\t\t<ul class=\"tab-nav clearfix\">
  680. \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 (";
  681.         // line 326
  682.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(Twig\Extension\CoreExtension::length($this->env->getCharset(), (isset($context["incomingTransfers"]) || array_key_exists("incomingTransfers"$context) ? $context["incomingTransfers"] : (function () { throw new RuntimeError('Variable "incomingTransfers" does not exist.'326$this->source); })())), "html"nulltrue);
  683.         yield ")\"></i><span class=\"d-none d-md-block\">In entrata (";
  684.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(Twig\Extension\CoreExtension::length($this->env->getCharset(), (isset($context["incomingTransfers"]) || array_key_exists("incomingTransfers"$context) ? $context["incomingTransfers"] : (function () { throw new RuntimeError('Variable "incomingTransfers" does not exist.'326$this->source); })())), "html"nulltrue);
  685.         yield ")</span></a></li>
  686. \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 (";
  687.         // line 327
  688.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(Twig\Extension\CoreExtension::length($this->env->getCharset(), (isset($context["outputTransfers"]) || array_key_exists("outputTransfers"$context) ? $context["outputTransfers"] : (function () { throw new RuntimeError('Variable "outputTransfers" does not exist.'327$this->source); })())), "html"nulltrue);
  689.         yield ")\"></i><span class=\"d-none d-md-block\">In uscita (";
  690.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(Twig\Extension\CoreExtension::length($this->env->getCharset(), (isset($context["outputTransfers"]) || array_key_exists("outputTransfers"$context) ? $context["outputTransfers"] : (function () { throw new RuntimeError('Variable "outputTransfers" does not exist.'327$this->source); })())), "html"nulltrue);
  691.         yield ")</span></a></li>
  692. \t\t\t\t\t\t\t\t\t\t</ul>
  693. \t\t\t\t\t\t\t\t\t\t<div class=\"tab-container\">
  694. \t\t\t\t\t\t\t\t\t\t\t<div class=\"tab-content clearfix\" id=\"incoming\">
  695. \t\t\t\t\t\t\t\t\t\t\t\t";
  696.         // line 331
  697.         $context["transfers"] = (isset($context["incomingTransfers"]) || array_key_exists("incomingTransfers"$context) ? $context["incomingTransfers"] : (function () { throw new RuntimeError('Variable "incomingTransfers" does not exist.'331$this->source); })());
  698.         // line 332
  699.         yield "\t\t\t\t\t\t\t\t\t\t\t\t";
  700.         $context["number"] = 1;
  701.         // line 333
  702.         yield "\t\t\t\t\t\t\t\t\t\t\t\t";
  703.         $context["tabType"] = "pt_incoming";
  704.         // line 334
  705.         yield "\t\t\t\t\t\t\t\t\t\t\t\t";
  706.         yield from $this->unwrap()->yieldBlock('tableTransfers'$context$blocks);
  707.         // line 412
  708.         yield "\t\t\t\t\t\t\t\t\t\t\t</div>
  709. \t\t\t\t\t\t\t\t\t\t\t<div class=\"tab-content clearfix\" id=\"output\">
  710. \t\t\t\t\t\t\t\t\t\t\t\t";
  711.         // line 414
  712.         $context["transfers"] = (isset($context["outputTransfers"]) || array_key_exists("outputTransfers"$context) ? $context["outputTransfers"] : (function () { throw new RuntimeError('Variable "outputTransfers" does not exist.'414$this->source); })());
  713.         // line 415
  714.         yield "\t\t\t\t\t\t\t\t\t\t\t\t";
  715.         $context["number"] = 2;
  716.         // line 416
  717.         yield "\t\t\t\t\t\t\t\t\t\t\t\t";
  718.         $context["tabType"] = "pt_output";
  719.         // line 417
  720.         yield "\t\t\t\t\t\t\t\t\t\t\t\t";
  721.         yield from         $this->unwrap()->yieldBlock("tableTransfers"$context$blocks);
  722.         yield "
  723. \t\t\t\t\t\t\t\t\t\t\t</div>
  724. \t\t\t\t\t\t\t\t\t\t</div>
  725. \t\t\t\t\t\t\t\t\t</div>
  726. \t\t\t\t\t\t\t\t</div>
  727. \t\t\t\t\t\t\t</div>
  728. \t\t\t\t\t\t</div>
  729. \t\t\t\t\t\t";
  730.         // line 425
  731.         yield "\t\t\t\t\t\t<div class=\"tab-content clearfix\" id=\"data\">
  732. \t\t\t\t\t\t\t<div class=\"row\">
  733. \t\t\t\t\t\t\t\t<div class=\"col-12 col-lg-6\">
  734. \t\t\t\t\t\t\t\t\t<h4 class=\"form_title\">Dati generici
  735. \t\t\t\t\t\t\t\t\t\t";
  736.         // line 429
  737.         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.'429$this->source); })()), "user", [], "any"falsefalsefalse429), "canWrite", ["warehouse"], "method"falsefalsefalse429)) {
  738.             // line 430
  739.             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=\"";
  740.             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.'430$this->source); })())), "html"nulltrue);
  741.             yield "\"></a>
  742. \t\t\t\t\t\t\t\t\t\t";
  743.         }
  744.         // line 432
  745.         yield "\t\t\t\t\t\t\t\t\t</h4>
  746. \t\t\t\t\t\t\t\t\t<hr class=\"m_t_none\">
  747. \t\t\t\t\t\t\t\t\t<table class=\"table table-hover responsive_font_size\">
  748. \t\t\t\t\t\t\t\t\t\t<tr>
  749. \t\t\t\t\t\t\t\t\t\t\t<th>Nickname</th>
  750. \t\t\t\t\t\t\t\t\t\t\t<td>";
  751.         // line 437
  752.         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.'437$this->source); })()), "nickname", [], "any"falsefalsefalse437), "html"nulltrue);
  753.         yield "</td>
  754. \t\t\t\t\t\t\t\t\t\t</tr>
  755. \t\t\t\t\t\t\t\t\t\t<tr>
  756. \t\t\t\t\t\t\t\t\t\t\t<th>Attivo</th>
  757. \t\t\t\t\t\t\t\t\t\t\t<td>";
  758.         // line 441
  759.         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.'441$this->source); })()), "active", [], "any"falsefalsefalse441)) {
  760.             yield "Sì";
  761.         } else {
  762.             yield "No";
  763.         }
  764.         yield "</td>
  765. \t\t\t\t\t\t\t\t\t\t</tr>
  766. \t\t\t\t\t\t\t\t\t\t<tr>
  767. \t\t\t\t\t\t\t\t\t\t\t<th>Sede</th>
  768. \t\t\t\t\t\t\t\t\t\t\t<td>";
  769.         // line 445
  770.         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.'445$this->source); })()), "headquarter", [], "any"falsefalsefalse445)) {
  771.             yield "Sì";
  772.         } else {
  773.             yield "No";
  774.         }
  775.         yield "</td>
  776. \t\t\t\t\t\t\t\t\t\t</tr>
  777. \t\t\t\t\t\t\t\t\t\t<tr>
  778. \t\t\t\t\t\t\t\t\t\t\t<th>Indirizzo DDT</th>
  779. \t\t\t\t\t\t\t\t\t\t\t<td>";
  780.         // line 449
  781.         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.'449$this->source); })()), "address", [], "any"falsefalsefalse449), "html"nulltrue);
  782.         yield "</td>
  783. \t\t\t\t\t\t\t\t\t\t</tr>
  784. \t\t\t\t\t\t\t\t\t\t<tr>
  785. \t\t\t\t\t\t\t\t\t\t\t<th>Fisso/Mobile</th>
  786. \t\t\t\t\t\t\t\t\t\t\t<td>";
  787.         // line 453
  788.         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.'453$this->source); })()), "movable", [], "any"falsefalsefalse453)) {
  789.             yield "Mobile";
  790.         } else {
  791.             yield "Fisso";
  792.         }
  793.         yield "</td>
  794. \t\t\t\t\t\t\t\t\t\t</tr>
  795. \t\t\t\t\t\t\t\t\t</table>
  796. \t\t\t\t\t\t\t\t</div>
  797. \t\t\t\t\t\t\t\t<div class=\"col-12 col-lg-6\">
  798. \t\t\t\t\t\t\t\t\t<h4 class=\"form_title\">Utenti</h4>
  799. \t\t\t\t\t\t\t\t\t<hr class=\"m_t_none\">
  800. \t\t\t\t\t\t\t\t\t<table class=\"table table-hover responsive_font_size\">
  801. \t\t\t\t\t\t\t\t\t\t<thead>
  802. \t\t\t\t\t\t\t\t\t\t\t<tr>
  803. \t\t\t\t\t\t\t\t\t\t\t\t<th>Utente</th>
  804. \t\t\t\t\t\t\t\t\t\t\t\t<th>Permessi</th>
  805. \t\t\t\t\t\t\t\t\t\t\t\t<th class=\"txt_a_c\">Principale</th>
  806. \t\t\t\t\t\t\t\t\t\t\t</tr>
  807. \t\t\t\t\t\t\t\t\t\t</thead>
  808. \t\t\t\t\t\t\t\t\t\t<tbody>
  809. \t\t\t\t\t\t\t\t\t\t\t";
  810.         // line 469
  811.         $context['_parent'] = $context;
  812.         $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.'469$this->source); })()), "users", [], "any"falsefalsefalse469));
  813.         foreach ($context['_seq'] as $context["_key"] => $context["jtuw"]) {
  814.             // line 470
  815.             yield "\t\t\t\t\t\t\t\t\t\t\t\t<tr>
  816. \t\t\t\t\t\t\t\t\t\t\t\t\t<td>";
  817.             // line 471
  818.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source$context["jtuw"], "user", [], "any"falsefalsefalse471), "html"nulltrue);
  819.             yield "</td>
  820. \t\t\t\t\t\t\t\t\t\t\t\t\t<td>";
  821.             // line 472
  822.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source$context["jtuw"], "displayPermission", [], "any"falsefalsefalse472), "html"nulltrue);
  823.             yield "</td>
  824. \t\t\t\t\t\t\t\t\t\t\t\t\t<td class=\"txt_a_c\">";
  825.             // line 473
  826.             if (CoreExtension::getAttribute($this->env$this->source$context["jtuw"], "main", [], "any"falsefalsefalse473)) {
  827.                 yield "Sì";
  828.             } else {
  829.                 yield "No";
  830.             }
  831.             yield "</td>
  832. \t\t\t\t\t\t\t\t\t\t\t\t</tr>
  833. \t\t\t\t\t\t\t\t\t\t\t";
  834.         }
  835.         $_parent $context['_parent'];
  836.         unset($context['_seq'], $context['_iterated'], $context['_key'], $context['jtuw'], $context['_parent'], $context['loop']);
  837.         $context array_intersect_key($context$_parent) + $_parent;
  838.         // line 476
  839.         yield "\t\t\t\t\t\t\t\t\t\t</tbody>
  840. \t\t\t\t\t\t\t\t\t</table>
  841. \t\t\t\t\t\t\t\t</div>
  842. \t\t\t\t\t\t\t</div>
  843. \t\t\t\t\t\t</div>
  844. \t\t\t\t\t\t";
  845.         // line 482
  846.         yield "\t\t\t\t\t\t";
  847.         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.'482$this->source); })()), "headquarter", [], "any"falsefalsefalse482) && ((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.'482$this->source); })()), "user", [], "any"falsefalsefalse482), "getAccountTypology", [], "any"falsefalsefalse482) == "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.'482$this->source); })()), "user", [], "any"falsefalsefalse482), "getAccountTypology", [], "any"falsefalsefalse482) == "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.'482$this->source); })()), "user", [], "any"falsefalsefalse482), "getAccountTypology", [], "any"falsefalsefalse482) == "technician"))) {
  848.             // line 483
  849.             yield "\t\t\t\t\t\t\t<div class=\"tab-content clearfix\" id=\"technicianRequests\">
  850. \t\t\t\t\t\t\t\t<div class=\"row\">
  851. \t\t\t\t\t\t\t\t\t<div class=\"col-12\">
  852. \t\t\t\t\t\t\t\t\t\t<h4 class=\"form_title\">";
  853.             // line 486
  854.             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.'486$this->source); })()), "html"nulltrue);
  855.             yield "
  856. \t\t\t\t\t\t\t\t\t\t\t";
  857.             // line 487
  858.             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.'487$this->source); })()), "user", [], "any"falsefalsefalse487), "getAccountTypology", [], "any"falsefalsefalse487) == "technician")) {
  859.                 // line 488
  860.                 yield "\t\t\t\t\t\t\t\t\t\t\t\t<a href=\"";
  861.                 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.'488$this->source); })()), "id", [], "any"falsefalsefalse488)]), "html"nulltrue);
  862.                 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>
  863. \t\t\t\t\t\t\t\t\t\t\t";
  864.             }
  865.             // line 490
  866.             yield "\t\t\t\t\t\t\t\t\t\t</h4>
  867. \t\t\t\t\t\t\t\t\t\t<hr class=\"m_t_none\">
  868. \t\t\t\t\t\t\t\t\t\t<div class=\"tabs clearfix\">
  869. \t\t\t\t\t\t\t\t\t\t\t<ul class=\"tab-nav clearfix\">
  870. \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=\"";
  871.             // line 494
  872.             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.'494$this->source); })()), "html"nulltrue);
  873.             yield " (";
  874.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((isset($context["insertedProductRequestsCount"]) || array_key_exists("insertedProductRequestsCount"$context) ? $context["insertedProductRequestsCount"] : (function () { throw new RuntimeError('Variable "insertedProductRequestsCount" does not exist.'494$this->source); })()), "html"nulltrue);
  875.             yield ")\"></i><span class=\"d-none d-md-block\">";
  876.             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.'494$this->source); })()), "html"nulltrue);
  877.             yield " (";
  878.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((isset($context["insertedProductRequestsCount"]) || array_key_exists("insertedProductRequestsCount"$context) ? $context["insertedProductRequestsCount"] : (function () { throw new RuntimeError('Variable "insertedProductRequestsCount" does not exist.'494$this->source); })()), "html"nulltrue);
  879.             yield ")</span></a></li>
  880. \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=\"";
  881.             // line 495
  882.             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.'495$this->source); })()), "html"nulltrue);
  883.             yield " (";
  884.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((isset($context["takeChargeProductRequestsCount"]) || array_key_exists("takeChargeProductRequestsCount"$context) ? $context["takeChargeProductRequestsCount"] : (function () { throw new RuntimeError('Variable "takeChargeProductRequestsCount" does not exist.'495$this->source); })()), "html"nulltrue);
  885.             yield ")\"></i><span class=\"d-none d-md-block\">";
  886.             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.'495$this->source); })()), "html"nulltrue);
  887.             yield " (";
  888.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((isset($context["takeChargeProductRequestsCount"]) || array_key_exists("takeChargeProductRequestsCount"$context) ? $context["takeChargeProductRequestsCount"] : (function () { throw new RuntimeError('Variable "takeChargeProductRequestsCount" does not exist.'495$this->source); })()), "html"nulltrue);
  889.             yield ")</span></a></li>
  890. \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=\"";
  891.             // line 496
  892.             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.'496$this->source); })()), "html"nulltrue);
  893.             yield " (";
  894.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((isset($context["completedProductRequestsCount"]) || array_key_exists("completedProductRequestsCount"$context) ? $context["completedProductRequestsCount"] : (function () { throw new RuntimeError('Variable "completedProductRequestsCount" does not exist.'496$this->source); })()), "html"nulltrue);
  895.             yield ")\"></i><span class=\"d-none d-md-block\">";
  896.             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.'496$this->source); })()), "html"nulltrue);
  897.             yield " (";
  898.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((isset($context["completedProductRequestsCount"]) || array_key_exists("completedProductRequestsCount"$context) ? $context["completedProductRequestsCount"] : (function () { throw new RuntimeError('Variable "completedProductRequestsCount" does not exist.'496$this->source); })()), "html"nulltrue);
  899.             yield ")</span></a></li>
  900. \t\t\t\t\t\t\t\t\t\t\t</ul>
  901. \t\t\t\t\t\t\t\t\t\t\t<div class=\"tab-container\">
  902. \t\t\t\t\t\t\t\t\t\t\t\t<div class=\"tab-content clearfix\" id=\"inserted\">
  903. \t\t\t\t\t\t\t\t\t\t\t\t\t";
  904.             // line 500
  905.             $context["requests"] = (isset($context["insertedProductRequests"]) || array_key_exists("insertedProductRequests"$context) ? $context["insertedProductRequests"] : (function () { throw new RuntimeError('Variable "insertedProductRequests" does not exist.'500$this->source); })());
  906.             // line 501
  907.             yield "\t\t\t\t\t\t\t\t\t\t\t\t\t";
  908.             $context["tabType"] = "pr_inserted";
  909.             // line 502
  910.             yield "\t\t\t\t\t\t\t\t\t\t\t\t\t";
  911.             $context["number"] = 1;
  912.             // line 503
  913.             yield "\t\t\t\t\t\t\t\t\t\t\t\t\t";
  914.             $context["tabAction"] = "";
  915.             // line 504
  916.             yield "\t\t\t\t\t\t\t\t\t\t\t\t\t";
  917.             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.'504$this->source); })()), "user", [], "any"falsefalsefalse504), "getAccountTypology", [], "any"falsefalsefalse504) == "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.'504$this->source); })()), "user", [], "any"falsefalsefalse504), "getAccountTypology", [], "any"falsefalsefalse504) == "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.'504$this->source); })()), "headquarter", [], "any"falsefalsefalse504)))) {
  918.                 // line 505
  919.                 yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
  920.                 $context["tabAction"] = "take_charge";
  921.                 // line 506
  922.                 yield "\t\t\t\t\t\t\t\t\t\t\t\t\t";
  923.             } 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.'506$this->source); })()), "user", [], "any"falsefalsefalse506), "getAccountTypology", [], "any"falsefalsefalse506) == "technician")) {
  924.                 // line 507
  925.                 yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
  926.                 $context["tabAction"] = "delete";
  927.                 // line 508
  928.                 yield "\t\t\t\t\t\t\t\t\t\t\t\t\t";
  929.             }
  930.             // line 509
  931.             yield "\t\t\t\t\t\t\t\t\t\t\t\t\t";
  932.             yield from $this->unwrap()->yieldBlock('tableRequests'$context$blocks);
  933.             // line 578
  934.             yield "\t\t\t\t\t\t\t\t\t\t\t\t</div>
  935. \t\t\t\t\t\t\t\t\t\t\t\t<div class=\"tab-content clearfix\" id=\"take_charge\">
  936. \t\t\t\t\t\t\t\t\t\t\t\t\t";
  937.             // line 580
  938.             $context["requests"] = (isset($context["takeChargeProductRequests"]) || array_key_exists("takeChargeProductRequests"$context) ? $context["takeChargeProductRequests"] : (function () { throw new RuntimeError('Variable "takeChargeProductRequests" does not exist.'580$this->source); })());
  939.             // line 581
  940.             yield "\t\t\t\t\t\t\t\t\t\t\t\t\t";
  941.             $context["tabType"] = "pr_take_charge";
  942.             // line 582
  943.             yield "\t\t\t\t\t\t\t\t\t\t\t\t\t";
  944.             $context["number"] = 2;
  945.             // line 583
  946.             yield "\t\t\t\t\t\t\t\t\t\t\t\t\t";
  947.             $context["tabAction"] = "";
  948.             // line 584
  949.             yield "\t\t\t\t\t\t\t\t\t\t\t\t\t";
  950.             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.'584$this->source); })()), "user", [], "any"falsefalsefalse584), "getAccountTypology", [], "any"falsefalsefalse584) == "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.'584$this->source); })()), "user", [], "any"falsefalsefalse584), "getAccountTypology", [], "any"falsefalsefalse584) == "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.'584$this->source); })()), "headquarter", [], "any"falsefalsefalse584)))) {
  951.                 // line 585
  952.                 yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
  953.                 $context["tabAction"] = "complete";
  954.                 // line 586
  955.                 yield "\t\t\t\t\t\t\t\t\t\t\t\t\t";
  956.             }
  957.             // line 587
  958.             yield "\t\t\t\t\t\t\t\t\t\t\t\t\t";
  959.             yield from             $this->unwrap()->yieldBlock("tableRequests"$context$blocks);
  960.             yield "
  961. \t\t\t\t\t\t\t\t\t\t\t\t</div>
  962. \t\t\t\t\t\t\t\t\t\t\t\t<div class=\"tab-content clearfix\" id=\"completed\">
  963. \t\t\t\t\t\t\t\t\t\t\t\t\t";
  964.             // line 590
  965.             $context["requests"] = (isset($context["completedProductRequests"]) || array_key_exists("completedProductRequests"$context) ? $context["completedProductRequests"] : (function () { throw new RuntimeError('Variable "completedProductRequests" does not exist.'590$this->source); })());
  966.             // line 591
  967.             yield "\t\t\t\t\t\t\t\t\t\t\t\t\t";
  968.             $context["tabType"] = "pr_completed";
  969.             // line 592
  970.             yield "\t\t\t\t\t\t\t\t\t\t\t\t\t";
  971.             $context["number"] = 3;
  972.             // line 593
  973.             yield "\t\t\t\t\t\t\t\t\t\t\t\t\t";
  974.             $context["tabAction"] = "";
  975.             // line 594
  976.             yield "\t\t\t\t\t\t\t\t\t\t\t\t\t";
  977.             yield from             $this->unwrap()->yieldBlock("tableRequests"$context$blocks);
  978.             yield "
  979. \t\t\t\t\t\t\t\t\t\t\t\t</div>
  980. \t\t\t\t\t\t\t\t\t\t\t</div>
  981. \t\t\t\t\t\t\t\t\t\t</div>
  982. \t\t\t\t\t\t\t\t\t</div>
  983. \t\t\t\t\t\t\t\t</div>
  984. \t\t\t\t\t\t\t</div>
  985. \t\t\t\t\t\t";
  986.         }
  987.         // line 602
  988.         yield "\t\t\t\t\t</div>
  989. \t\t\t\t</div>
  990. \t\t\t</div>
  991. \t\t</div>
  992. \t</section>
  993. \t";
  994.         // line 609
  995.         yield "\t<div id=\"stockInventoryModal\" class=\"modal fade\" tabindex=\"-1\" role=\"dialog\">
  996. \t\t<div class=\"modal-dialog\" role=\"document\">
  997. \t\t\t<div class=\"modal-content\">
  998. \t\t\t\t";
  999.         // line 612
  1000.         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.'612$this->source); })()), 'form_start', ["attr" => ["novalidate" => "novalidate"]]);
  1001.         yield "
  1002. \t\t\t\t\t<div class=\"modal-header\"><h3 class=\"modal-title\">Verifica inventario</h3></div>
  1003. \t\t\t\t\t<div class=\"modal-body\">
  1004. \t\t\t\t\t\t<div class=\"row\">
  1005. \t\t\t\t\t\t\t<div class=\"col-12 form-group\">
  1006. \t\t\t\t\t\t\t\t<label class=\"form_label\">Fornitore*</label>
  1007. \t\t\t\t\t\t\t\t<div ";
  1008.         // line 618
  1009.         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.'618$this->source); })()), "supplier", [], "any"falsefalsefalse618), 'errors');
  1010.         yield ">
  1011. \t\t\t\t\t\t\t\t\t";
  1012.         // line 619
  1013.         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.'619$this->source); })()), "supplier", [], "any"falsefalsefalse619), 'widget', ["attr" => ["class" => "form-control form-select"]]);
  1014.         yield "
  1015. \t\t\t\t\t\t\t\t</div>
  1016. \t\t\t\t\t\t\t</div>
  1017. \t\t\t\t\t\t\t<div class=\"col-12 form-group\">
  1018. \t\t\t\t\t\t\t\t<label class=\"form_label\">Stato*</label>
  1019. \t\t\t\t\t\t\t\t<div ";
  1020.         // line 624
  1021.         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.'624$this->source); })()), "status", [], "any"falsefalsefalse624), 'errors');
  1022.         yield ">
  1023. \t\t\t\t\t\t\t\t\t";
  1024.         // line 625
  1025.         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.'625$this->source); })()), "status", [], "any"falsefalsefalse625), 'widget', ["attr" => ["class" => "form-control form-select"]]);
  1026.         yield "
  1027. \t\t\t\t\t\t\t\t</div>
  1028. \t\t\t\t\t\t\t</div>
  1029. \t\t\t\t\t\t\t<div class=\"col-12\">
  1030. \t\t\t\t\t\t\t\t<label class=\"form_label\">File*</label>
  1031. \t\t\t\t\t\t\t\t<div ";
  1032.         // line 630
  1033.         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.'630$this->source); })()), "path", [], "any"falsefalsefalse630), 'errors');
  1034.         yield ">
  1035. \t\t\t\t\t\t\t\t\t";
  1036.         // line 631
  1037.         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.'631$this->source); })()), "path", [], "any"falsefalsefalse631), 'widget', ["attr" => ["class" => "display_n"]]);
  1038.         yield "
  1039. \t\t\t\t\t\t\t\t\t";
  1040.         // line 632
  1041.         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.'632$this->source); })()), "file", [], "any"falsefalsefalse632), 'widget', ["attr" => ["class" => "display_n"]]);
  1042.         yield "
  1043. \t\t\t\t\t\t\t\t\t<div class=\"input-group\">
  1044. \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>
  1045. \t\t\t\t\t\t\t\t\t\t<input id=\"filename2\" type=\"text\" class=\"form-control\" readonly>
  1046. \t\t\t\t\t\t\t\t\t</div>
  1047. \t\t\t\t\t\t\t\t</div>
  1048. \t\t\t\t\t\t\t</div>
  1049. \t\t\t\t\t\t</div>
  1050. \t\t\t\t\t</div>
  1051. \t\t\t\t\t<div class=\"modal-footer\">
  1052. \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>
  1053. \t\t\t\t\t\t<button type=\"submit\" class=\"button button-3d button-mini button-green f_right\">Prosegui</button>
  1054. \t\t\t\t\t</div>
  1055. \t\t\t\t";
  1056.         // line 645
  1057.         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.'645$this->source); })()), 'form_end');
  1058.         yield "
  1059. \t\t\t</div>
  1060. \t\t</div>
  1061. \t</div>
  1062. \t
  1063. \t";
  1064.         // line 651
  1065.         yield "\t<div id=\"transferReceiveModal\" class=\"modal fade\" tabindex=\"-1\" role=\"dialog\">
  1066. \t\t<div class=\"modal-dialog\" role=\"document\">
  1067. \t\t\t<div class=\"modal-content\">
  1068. \t\t\t\t";
  1069.         // line 654
  1070.         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.'654$this->source); })()), 'form_start', ["attr" => ["novalidate" => "novalidate"]]);
  1071.         yield 
  1072. \t\t\t\t\t<div class=\"modal-header\"><h3 class=\"modal-title\">Ricevi materiale</h3></div>
  1073. \t\t\t\t\t<div class=\"modal-body\">
  1074. \t\t\t\t\t\t<div class=\"row\">
  1075. \t\t\t\t\t\t\t<div class=\"col-12 form-group\">
  1076. \t\t\t\t\t\t\t\t<label class=\"form_label\">Magazzino di provenienza*</label>
  1077. \t\t\t\t\t\t\t\t<div ";
  1078.         // line 660
  1079.         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.'660$this->source); })()), "warehouse", [], "any"falsefalsefalse660), 'errors');
  1080.         yield ">
  1081. \t\t\t\t\t\t\t\t\t";
  1082.         // line 661
  1083.         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.'661$this->source); })()), "warehouse", [], "any"falsefalsefalse661), 'widget', ["attr" => ["class" => "form-control form-select"]]);
  1084.         yield "
  1085. \t\t\t\t\t\t\t\t</div>
  1086. \t\t\t\t\t\t\t</div>
  1087. \t\t\t\t\t\t\t<div class=\"col-6 form-group\">
  1088. \t\t\t\t\t\t\t\t<label class=\"form_label\">Stock order</label>
  1089. \t\t\t\t\t\t\t\t<div ";
  1090.         // line 666
  1091.         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.'666$this->source); })()), "stockOrder", [], "any"falsefalsefalse666), 'errors');
  1092.         yield ">
  1093. \t\t\t\t\t\t\t\t\t";
  1094.         // line 667
  1095.         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.'667$this->source); })()), "stockOrder", [], "any"falsefalsefalse667), 'widget');
  1096.         yield "
  1097. \t\t\t\t\t\t\t\t</div>
  1098. \t\t\t\t\t\t\t</div>
  1099. \t\t\t\t\t\t\t<div class=\"col-6 form-group\">
  1100. \t\t\t\t\t\t\t\t<label class=\"form_label\">Inserire DDT?</label>
  1101. \t\t\t\t\t\t\t\t<div ";
  1102.         // line 672
  1103.         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.'672$this->source); })()), "ddtMandatory", [], "any"falsefalsefalse672), 'errors');
  1104.         yield ">
  1105. \t\t\t\t\t\t\t\t\t<table class=\"m_none\">
  1106. \t\t\t\t\t\t\t\t\t\t<tr>
  1107. \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>
  1108. \t\t\t\t\t\t\t\t\t\t\t<td>";
  1109.         // line 676
  1110.         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); })()), "ddtMandatory", [], "any"falsefalsefalse676), 'widget', ["attr" => ["class" => "switch-toggle switch-flat-mini switch-toggle-flat""onChange" => "javascript: tranferReceiveShowHideDDT()""checked" => true]]);
  1111.         yield "<label class=\"m_auto\" for=\"";
  1112.         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.'676$this->source); })()), "ddtMandatory", [], "any"falsefalsefalse676), "vars", [], "any"falsefalsefalse676), "id", [], "any"falsefalsefalse676), "html"nulltrue);
  1113.         yield "\"></label></td>
  1114. \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>
  1115. \t\t\t\t\t\t\t\t\t\t</tr>
  1116. \t\t\t\t\t\t\t\t\t</table>
  1117. \t\t\t\t\t\t\t\t</div>
  1118. \t\t\t\t\t\t\t</div>
  1119. \t\t\t\t\t\t</div>
  1120. \t\t\t\t\t\t<div class=\"row\" id=\"row_receive_ddt\">
  1121. \t\t\t\t\t\t\t<div class=\"col-6 form-group\">
  1122. \t\t\t\t\t\t\t\t<label class=\"form_label\">Numero DDT*</label>
  1123. \t\t\t\t\t\t\t\t<div ";
  1124.         // line 686
  1125.         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.'686$this->source); })()), "ddt", [], "any"falsefalsefalse686), 'errors');
  1126.         yield ">
  1127. \t\t\t\t\t\t\t\t\t";
  1128.         // line 687
  1129.         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.'687$this->source); })()), "ddt", [], "any"falsefalsefalse687), 'widget');
  1130.         yield "
  1131. \t\t\t\t\t\t\t\t</div>
  1132. \t\t\t\t\t\t\t</div>
  1133. \t\t\t\t\t\t\t<div class=\"col-6 form-group\">
  1134. \t\t\t\t\t\t\t\t<label class=\"form_label\">DDT*</label>
  1135. \t\t\t\t\t\t\t\t<div ";
  1136.         // line 692
  1137.         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); })()), "ddtPath", [], "any"falsefalsefalse692), 'errors');
  1138.         yield ">
  1139. \t\t\t\t\t\t\t\t\t";
  1140.         // line 693
  1141.         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.'693$this->source); })()), "ddtPath", [], "any"falsefalsefalse693), 'widget', ["attr" => ["class" => "display_n"]]);
  1142.         yield "
  1143. \t\t\t\t\t\t\t\t\t";
  1144.         // line 694
  1145.         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.'694$this->source); })()), "file", [], "any"falsefalsefalse694), 'widget', ["attr" => ["class" => "display_n"]]);
  1146.         yield "
  1147. \t\t\t\t\t\t\t\t\t<div class=\"input-group\">
  1148. \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>
  1149. \t\t\t\t\t\t\t\t\t\t<input id=\"filename1\" type=\"text\" class=\"form-control\" readonly>
  1150. \t\t\t\t\t\t\t\t\t</div>
  1151. \t\t\t\t\t\t\t\t</div>
  1152. \t\t\t\t\t\t\t</div>
  1153. \t\t\t\t\t\t</div>
  1154. \t\t\t\t\t</div>
  1155. \t\t\t\t\t<div class=\"modal-footer\">
  1156. \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>
  1157. \t\t\t\t\t\t<button type=\"submit\" class=\"button button-3d button-mini button-green f_right\">Continua</button>
  1158. \t\t\t\t\t</div>
  1159. \t\t\t\t";
  1160.         // line 707
  1161.         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.'707$this->source); })()), 'form_end');
  1162.         yield "
  1163. \t\t\t</div>
  1164. \t\t</div>
  1165. \t</div>
  1166. \t
  1167. \t";
  1168.         // line 713
  1169.         yield "\t<div id=\"transferSendModal\" class=\"modal fade\" tabindex=\"-1\" role=\"dialog\">
  1170. \t\t<div class=\"modal-dialog\" role=\"document\">
  1171. \t\t\t<div class=\"modal-content\">
  1172. \t\t\t\t";
  1173.         // line 716
  1174.         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.'716$this->source); })()), 'form_start', ["attr" => ["novalidate" => "novalidate""id" => "formSend"]]);
  1175.         yield "
  1176. \t\t\t\t\t<div class=\"modal-header\"><h3 class=\"modal-title\">Invia materiale</h3></div>
  1177. \t\t\t\t\t<div class=\"modal-body\">
  1178. \t\t\t\t\t\t<div class=\"row\" id=\"row_select_type\">
  1179. \t\t\t\t\t\t\t<div class=\"col-12 txt_a_c\">
  1180. \t\t\t\t\t\t\t\t<label class=\"form_label\">A chi stai inviando il materiale?</label>
  1181. \t\t\t\t\t\t\t</div>
  1182. \t\t\t\t\t\t\t";
  1183.         // line 723
  1184.         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.'723$this->source); })()), "headquarter", [], "any"falsefalsefalse723)) {
  1185.             // line 724
  1186.             yield "\t\t\t\t\t\t\t\t<div class=\"col-12 col-md-6 txt_a_c\">
  1187. \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>
  1188. \t\t\t\t\t\t\t\t</div>
  1189. \t\t\t\t\t\t\t";
  1190.         } else {
  1191.             // line 728
  1192.             yield "\t\t\t\t\t\t\t\t<div class=\"col-12 col-md-6 txt_a_c\">
  1193. \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>
  1194. \t\t\t\t\t\t\t\t</div>
  1195. \t\t\t\t\t\t\t";
  1196.         }
  1197.         // line 732
  1198.         yield "\t\t\t\t\t\t\t<div class=\"col-12 col-md-6 txt_a_c\">
  1199. \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>
  1200. \t\t\t\t\t\t\t</div>
  1201. \t\t\t\t\t\t\t";
  1202.         // line 735
  1203.         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.'735$this->source); })()), "type", [], "any"falsefalsefalse735), 'widget', ["attr" => ["class" => "display_n"]]);
  1204.         yield "
  1205. \t\t\t\t\t\t</div>
  1206. \t\t\t\t\t\t<div class=\"row m_t_30p\" id=\"row_send_data\" style=\"display: none\">
  1207. \t\t\t\t\t\t\t<div class=\"col-12\">
  1208. \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>
  1209. \t\t\t\t\t\t\t\t<hr class=\"m_t_none\">
  1210. \t\t\t\t\t\t\t</div>
  1211. \t\t\t\t\t\t\t<div class=\"col-12 form-group\" id=\"row_user_from_select\" style=\"display: none\">
  1212. \t\t\t\t\t\t\t\t<label class=\"form_label\">Tecnico di partenza*</label>
  1213. \t\t\t\t\t\t\t\t<div ";
  1214.         // line 744
  1215.         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.'744$this->source); })()), "userFrom", [], "any"falsefalsefalse744), 'errors');
  1216.         yield ">
  1217. \t\t\t\t\t\t\t\t\t";
  1218.         // line 745
  1219.         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.'745$this->source); })()), "userFrom", [], "any"falsefalsefalse745), 'widget', ["attr" => ["class" => "form-control form-select"]]);
  1220.         yield "
  1221. \t\t\t\t\t\t\t\t</div>
  1222. \t\t\t\t\t\t\t</div>
  1223. \t\t\t\t\t\t\t<div class=\"col-12 form-group\" id=\"row_user_to_select\">
  1224. \t\t\t\t\t\t\t\t<label class=\"form_label\">Tecnico di destinazione*</label>
  1225. \t\t\t\t\t\t\t\t<div ";
  1226.         // line 750
  1227.         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.'750$this->source); })()), "userTo", [], "any"falsefalsefalse750), 'errors');
  1228.         yield ">
  1229. \t\t\t\t\t\t\t\t\t";
  1230.         // line 751
  1231.         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); })()), "userTo", [], "any"falsefalsefalse751), 'widget', ["attr" => ["class" => "form-control form-select""onchange" => "updateTechnicianWarehouses()"]]);
  1232.         yield "
  1233. \t\t\t\t\t\t\t\t</div>
  1234. \t\t\t\t\t\t\t</div>
  1235. \t\t\t\t\t\t\t<div class=\"col-12 form-group\" id=\"row_warehouse_select\">
  1236. \t\t\t\t\t\t\t\t<label class=\"form_label\">Magazzino di destinazione*</label>
  1237. \t\t\t\t\t\t\t\t<div ";
  1238.         // line 756
  1239.         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.'756$this->source); })()), "warehouse", [], "any"falsefalsefalse756), 'errors');
  1240.         yield ">
  1241. \t\t\t\t\t\t\t\t\t";
  1242.         // line 757
  1243.         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.'757$this->source); })()), "warehouse", [], "any"falsefalsefalse757), 'widget', ["attr" => ["class" => "form-control form-select"]]);
  1244.         yield "
  1245. \t\t\t\t\t\t\t\t</div>
  1246. \t\t\t\t\t\t\t</div>
  1247. \t\t\t\t\t\t\t<div class=\"col-12 form-group\" id=\"row_warehouse_selected\" style=\"display: none\">
  1248. \t\t\t\t\t\t\t\t<label class=\"form_label\">Magazzino di destinazione*</label>
  1249. \t\t\t\t\t\t\t\t<input type=\"text\" readonly=\"true\" class=\"form-control\" id=\"input_warehouse_display\">
  1250. \t\t\t\t\t\t\t</div>
  1251. \t\t\t\t\t\t\t<div class=\"col-12 form-group\" id=\"div_send_supplier\">
  1252. \t\t\t\t\t\t\t\t<label class=\"form_label\">Fornitore*</label>
  1253. \t\t\t\t\t\t\t\t<div ";
  1254.         // line 766
  1255.         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); })()), "supplier", [], "any"falsefalsefalse766), 'errors');
  1256.         yield ">
  1257. \t\t\t\t\t\t\t\t\t";
  1258.         // line 767
  1259.         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); })()), "supplier", [], "any"falsefalsefalse767), 'widget', ["attr" => ["class" => "form-control form-select""onChange" => "showHideDivestment()"]]);
  1260.         yield "
  1261. \t\t\t\t\t\t\t\t</div>
  1262. \t\t\t\t\t\t\t</div>
  1263. \t\t\t\t\t\t\t<div class=\"col-12 form-group\" id=\"div_send_ddt_mandatory\" style=\"display: none\">
  1264. \t\t\t\t\t\t\t\t<div ";
  1265.         // line 771
  1266.         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.'771$this->source); })()), "ddtMandatory", [], "any"falsefalsefalse771), 'errors');
  1267.         yield ">
  1268. \t\t\t\t\t\t\t\t\t";
  1269.         // line 772
  1270.         $context["checked"] = false;
  1271.         // line 773
  1272.         yield "\t\t\t\t\t\t\t\t\t";
  1273.         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.'773$this->source); })()), "value", [], "any"falsefalsefalse773)) {
  1274.             // line 774
  1275.             yield "\t\t\t\t\t\t\t\t\t\t";
  1276.             $context["checked"] = true;
  1277.             // line 775
  1278.             yield "\t\t\t\t\t\t\t\t\t";
  1279.         }
  1280.         // line 776
  1281.         yield "\t\t\t\t\t\t\t\t\t<table class=\"table table-sm b_none m_b_none\">
  1282. \t\t\t\t\t\t\t\t\t\t<tr>
  1283. \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>
  1284. \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>
  1285. \t\t\t\t\t\t\t\t\t\t\t<td class=\"td_w_40p\">";
  1286.         // line 780
  1287.         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.'780$this->source); })()), "ddtMandatory", [], "any"falsefalsefalse780), '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.'780$this->source); })())]]);
  1288.         yield "<label class=\"m_auto\" for=\"";
  1289.         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.'780$this->source); })()), "ddtMandatory", [], "any"falsefalsefalse780), "vars", [], "any"falsefalsefalse780), "id", [], "any"falsefalsefalse780), "html"nulltrue);
  1290.         yield "\"></label></td>
  1291. \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>
  1292. \t\t\t\t\t\t\t\t\t\t</tr>
  1293. \t\t\t\t\t\t\t\t\t</table>
  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_divestment\" style=\"display: none\">
  1297. \t\t\t\t\t\t\t\t<div ";
  1298.         // line 787
  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.'787$this->source); })()), "divestment", [], "any"falsefalsefalse787), 'errors');
  1300.         yield ">
  1301. \t\t\t\t\t\t\t\t\t<table class=\"table table-sm b_none m_b_none\">
  1302. \t\t\t\t\t\t\t\t\t\t<tr>
  1303. \t\t\t\t\t\t\t\t\t\t\t<td><label class=\"form_label m_b_none\">è dismissione?</label></td>
  1304. \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>
  1305. \t\t\t\t\t\t\t\t\t\t\t<td class=\"td_w_40p\">";
  1306.         // line 792
  1307.         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.'792$this->source); })()), "divestment", [], "any"falsefalsefalse792), 'widget', ["attr" => ["class" => "switch-toggle switch-flat-mini switch-toggle-flat"]]);
  1308.         yield "<label class=\"m_auto\" for=\"";
  1309.         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.'792$this->source); })()), "divestment", [], "any"falsefalsefalse792), "vars", [], "any"falsefalsefalse792), "id", [], "any"falsefalsefalse792), "html"nulltrue);
  1310.         yield "\"></label></td>
  1311. \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>
  1312. \t\t\t\t\t\t\t\t\t\t</tr>
  1313. \t\t\t\t\t\t\t\t\t</table>
  1314. \t\t\t\t\t\t\t\t</div>
  1315. \t\t\t\t\t\t\t</div>
  1316. \t\t\t\t\t\t</div>
  1317. \t\t\t\t\t</div>
  1318. \t\t\t\t\t";
  1319.         // line 800
  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.'800$this->source); })()), "sendStocksIds", [], "any"falsefalsefalse800), 'widget', ["attr" => ["class" => "display_n"]]);
  1321.         yield "
  1322. \t\t\t\t\t";
  1323.         // line 801
  1324.         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.'801$this->source); })()), "productRequestId", [], "any"falsefalsefalse801), 'widget', ["attr" => ["class" => "display_n"]]);
  1325.         yield "
  1326. \t\t\t\t\t<div class=\"modal-footer\">
  1327. \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>
  1328. \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>
  1329. \t\t\t\t\t</div>
  1330. \t\t\t\t";
  1331.         // line 806
  1332.         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.'806$this->source); })()), 'form_end');
  1333.         yield "
  1334. \t\t\t</div>
  1335. \t\t</div>
  1336. \t</div>
  1337. \t
  1338. \t";
  1339.         // line 812
  1340.         yield "\t<div id=\"stockManagedModal\" class=\"modal fade\" tabindex=\"-1\" role=\"dialog\">
  1341. \t\t<div class=\"modal-dialog\" role=\"document\">
  1342. \t\t\t<div class=\"modal-content\">
  1343. \t\t\t\t<form action=\"";
  1344.         // line 815
  1345.         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.'815$this->source); })()), "id", [], "any"falsefalsefalse815)]), "html"nulltrue);
  1346.         yield "\" method=\"post\" id=\"formManaged\">
  1347. \t\t\t\t\t<div class=\"modal-header\"><h3 class=\"modal-title\">Prodotti gestiti</h3></div>\t\t\t\t\t\t
  1348. \t\t\t\t\t<div class=\"modal-body\">
  1349. \t\t\t\t\t\t<input type=\"hidden\" id=\"managedStocksIds\" name=\"ids\">
  1350. \t\t\t\t\t\t<input type=\"hidden\" id=\"managedAction\" name=\"action\">
  1351. \t\t\t\t\t\t<div class=\"row\">
  1352. \t\t\t\t\t\t\t<div class=\"col-12 txt_a_c\">
  1353. \t\t\t\t\t\t\t\t<label class=\"modal_subtitle\">Attenzione!</label><br>
  1354. \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>
  1355. \t\t\t\t\t\t\t</div>
  1356. \t\t\t\t\t\t</div>
  1357. \t\t\t\t\t</div>
  1358. \t\t\t\t\t<div class=\"modal-footer\">
  1359. \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>
  1360. \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>
  1361. \t\t\t\t\t</div>
  1362. \t\t\t\t</form>
  1363. \t\t\t</div>
  1364. \t\t</div>
  1365. \t</div>
  1366. \t
  1367. \t";
  1368.         // line 837
  1369.         yield "\t<div id=\"stockSupplierModal\" class=\"modal fade\" tabindex=\"-1\" role=\"dialog\">
  1370. \t\t<div class=\"modal-dialog\" role=\"document\">
  1371. \t\t\t<div class=\"modal-content\">
  1372. \t\t\t\t<form action=\"";
  1373.         // line 840
  1374.         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.'840$this->source); })()), "id", [], "any"falsefalsefalse840)]), "html"nulltrue);
  1375.         yield "\" method=\"post\" id=\"formSupplier\">
  1376. \t\t\t\t\t<div class=\"modal-header\"><h3 class=\"modal-title\">Aggiungi fornitori per i prodotti</h3></div>\t\t\t\t\t\t
  1377. \t\t\t\t\t<div class=\"modal-body\">
  1378. \t\t\t\t\t\t<input type=\"hidden\" id=\"supplierStocksIds\" name=\"ids\">
  1379. \t\t\t\t\t\t<input type=\"hidden\" id=\"supplierAction\" name=\"action\">
  1380. \t\t\t\t\t\t<div class=\"row\">
  1381. \t\t\t\t\t\t\t<div class=\"col-12\">
  1382. \t\t\t\t\t\t\t\t<label class=\"form_label\">Seleziona i fornitori da aggiungere</label>
  1383. \t\t\t\t\t\t\t\t<div id=\"divErrorSupplier\">
  1384. \t\t\t\t\t\t\t\t\t";
  1385.         // line 849
  1386.         $context['_parent'] = $context;
  1387.         $context['_seq'] = CoreExtension::ensureTraversable((isset($context["suppliers"]) || array_key_exists("suppliers"$context) ? $context["suppliers"] : (function () { throw new RuntimeError('Variable "suppliers" does not exist.'849$this->source); })()));
  1388.         foreach ($context['_seq'] as $context["_key"] => $context["s"]) {
  1389.             // line 850
  1390.             yield "\t\t\t\t\t\t\t\t\t\t<table class=\"table table_no_padding b_none m_b_none\">
  1391. \t\t\t\t\t\t\t\t\t\t\t<tr>
  1392. \t\t\t\t\t\t\t\t\t\t\t\t<td class=\"td_w_40p\"><input id=\"input_supplier_";
  1393.             // line 852
  1394.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source$context["s"], "id", [], "any"falsefalsefalse852), "html"nulltrue);
  1395.             yield "\" type=\"checkbox\" class=\"switch-toggle switch-flat-mini switch-toggle-flat supplier_checkboxes\" name=\"supplier_";
  1396.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source$context["s"], "id", [], "any"falsefalsefalse852), "html"nulltrue);
  1397.             yield "\"><label class=\"m_b_none\" for=\"input_supplier_";
  1398.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source$context["s"], "id", [], "any"falsefalsefalse852), "html"nulltrue);
  1399.             yield "\"></label></td>
  1400. \t\t\t\t\t\t\t\t\t\t\t\t<td><label class=\"m_b_none form_label\">";
  1401.             // line 853
  1402.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source$context["s"], "name", [], "any"falsefalsefalse853), "html"nulltrue);
  1403.             yield "</label></td>
  1404. \t\t\t\t\t\t\t\t\t\t\t</tr>
  1405. \t\t\t\t\t\t\t\t\t\t</table>
  1406. \t\t\t\t\t\t\t\t\t";
  1407.         }
  1408.         $_parent $context['_parent'];
  1409.         unset($context['_seq'], $context['_iterated'], $context['_key'], $context['s'], $context['_parent'], $context['loop']);
  1410.         $context array_intersect_key($context$_parent) + $_parent;
  1411.         // line 857
  1412.         yield "\t\t\t\t\t\t\t\t</div>
  1413. \t\t\t\t\t\t\t</div>
  1414. \t\t\t\t\t\t</div>
  1415. \t\t\t\t\t</div>
  1416. \t\t\t\t\t<div class=\"modal-footer\">
  1417. \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>
  1418. \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>
  1419. \t\t\t\t\t</div>
  1420. \t\t\t\t</form>
  1421. \t\t\t</div>
  1422. \t\t</div>
  1423. \t</div>
  1424. \t";
  1425.         // line 871
  1426.         yield "\t<div id=\"stockConditionModal\" class=\"modal fade\" tabindex=\"-1\" role=\"dialog\">
  1427. \t\t<div class=\"modal-dialog\" role=\"document\">
  1428. \t\t\t<div class=\"modal-content\">
  1429. \t\t\t\t<form action=\"";
  1430.         // line 874
  1431.         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.'874$this->source); })()), "id", [], "any"falsefalsefalse874)]), "html"nulltrue);
  1432.         yield "\" method=\"post\" id=\"formCondition\">
  1433. \t\t\t\t\t<div class=\"modal-header\"><h3 class=\"modal-title\">Cambia condizione prodotti</h3></div>
  1434. \t\t\t\t\t<div class=\"modal-body\">
  1435. \t\t\t\t\t\t<input type=\"hidden\" id=\"conditionStocksIds\" name=\"ids\">
  1436. \t\t\t\t\t\t<input type=\"hidden\" id=\"conditionAction\" name=\"action\">
  1437. \t\t\t\t\t\t<input type=\"hidden\" id=\"stockTab\" name=\"tab\">
  1438. \t\t\t\t\t\t<div class=\"row\">
  1439. \t\t\t\t\t\t\t<div class=\"col-12\">
  1440. \t\t\t\t\t\t\t\t<label class=\"form_label\">Seleziona nuova condizione</label>
  1441. \t\t\t\t\t\t\t\t<div id=\"divErrorCondition\">
  1442. \t\t\t\t\t\t\t\t\t<select class=\"form-control form-select\" id=\"select_product_condition\" name=\"productCondition\">
  1443. \t\t\t\t\t\t\t\t\t\t<option></option>
  1444. \t\t\t\t\t\t\t\t\t\t";
  1445.         // line 886
  1446.         $context['_parent'] = $context;
  1447.         $context['_seq'] = CoreExtension::ensureTraversable((isset($context["productConditions"]) || array_key_exists("productConditions"$context) ? $context["productConditions"] : (function () { throw new RuntimeError('Variable "productConditions" does not exist.'886$this->source); })()));
  1448.         foreach ($context['_seq'] as $context["_key"] => $context["condition"]) {
  1449.             // line 887
  1450.             yield "\t\t\t\t\t\t\t\t\t\t\t<option value=\"";
  1451.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source$context["condition"], "id", [], "any"falsefalsefalse887), "html"nulltrue);
  1452.             yield "\">";
  1453.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source$context["condition"], "value", [], "any"falsefalsefalse887), "html"nulltrue);
  1454.             yield "</option>
  1455. \t\t\t\t\t\t\t\t\t\t";
  1456.         }
  1457.         $_parent $context['_parent'];
  1458.         unset($context['_seq'], $context['_iterated'], $context['_key'], $context['condition'], $context['_parent'], $context['loop']);
  1459.         $context array_intersect_key($context$_parent) + $_parent;
  1460.         // line 889
  1461.         yield "\t\t\t\t\t\t\t\t\t</select>
  1462. \t\t\t\t\t\t\t\t</div>
  1463. \t\t\t\t\t\t\t</div>
  1464. \t\t\t\t\t\t</div>
  1465. \t\t\t\t\t</div>
  1466. \t\t\t\t\t<div class=\"modal-footer\">
  1467. \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>
  1468. \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>
  1469. \t\t\t\t\t</div>
  1470. \t\t\t\t</form>
  1471. \t\t\t</div>
  1472. \t\t</div>
  1473. \t</div>
  1474. \t
  1475. \t";
  1476.         // line 904
  1477.         yield "\t<div id=\"transferDeleteModal\" class=\"modal fade\" tabindex=\"-1\" role=\"dialog\">
  1478. \t\t<div class=\"modal-dialog\" role=\"document\">
  1479. \t\t\t<div class=\"modal-content\">
  1480. \t\t\t\t<form action=\"";
  1481.         // line 907
  1482.         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.'907$this->source); })()), "id", [], "any"falsefalsefalse907)]), "html"nulltrue);
  1483.         yield "\" method=\"post\">
  1484. \t\t\t\t\t<div class=\"modal-header\"><h3 class=\"modal-title\">Trasferimento - Elimina</h3></div>
  1485. \t\t\t\t\t<div class=\"modal-body\">
  1486. \t\t\t\t\t\t<input type=\"hidden\" id=\"transferDeleteId\" name=\"transferDelId\"/>
  1487. \t\t\t\t\t\t<input type=\"hidden\" name=\"warehouseId\" value=\"";
  1488.         // line 911
  1489.         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.'911$this->source); })()), "id", [], "any"falsefalsefalse911), "html"nulltrue);
  1490.         yield "\"/>
  1491. \t\t\t\t\t\t<div class=\"row\">
  1492. \t\t\t\t\t\t\t<div class=\"col-12 txt_a_c\">
  1493. \t\t\t\t\t\t\t\t<label class=\"modal_subtitle\">Attenzione!</label>
  1494. \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>
  1495. \t\t\t\t\t\t\t</div>
  1496. \t\t\t\t\t\t</div>
  1497. \t\t\t\t\t</div>
  1498. \t\t\t\t\t<div class=\"modal-footer\">
  1499. \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>
  1500. \t\t\t\t\t\t<button type=\"submit\" class=\"button button-3d button-mini button-red f_right\">Conferma</button>
  1501. \t\t\t\t\t</div>
  1502. \t\t\t\t</form>
  1503. \t\t\t</div>
  1504. \t\t</div>
  1505. \t</div>\t
  1506. \t
  1507. \t";
  1508.         // line 929
  1509.         yield "\t<div id=\"productRequestSheetModal\" 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<div class=\"modal-header\"><h3 class=\"modal-title\">Richiesta materiale - Dettaglio</h3></div>
  1513. \t\t\t\t<div class=\"modal-body\">
  1514. \t\t\t\t\t<table class=\"table table-sm responsive_font_size\">
  1515. \t\t\t\t\t\t<tr>
  1516. \t\t\t\t\t\t\t<th>Data/Ora</th>
  1517. \t\t\t\t\t\t\t<td id=\"request_sheet_datetime\"></td>
  1518. \t\t\t\t\t\t</tr>
  1519. \t\t\t\t\t\t<tr>
  1520. \t\t\t\t\t\t\t<th>Tecnico</th>
  1521. \t\t\t\t\t\t\t<td id=\"request_sheet_technician\"></td>
  1522. \t\t\t\t\t\t</tr>
  1523. \t\t\t\t\t\t</tr>
  1524. \t\t\t\t\t\t\t<th>Magazzino tecnico</th>
  1525. \t\t\t\t\t\t\t<td id=\"request_sheet_warehouse\"></td>
  1526. \t\t\t\t\t\t</tr>
  1527. \t\t\t\t\t\t</tr>
  1528. \t\t\t\t\t\t\t<th>Magazzino richiesta</th>
  1529. \t\t\t\t\t\t\t<td id=\"request_sheet_warehouse_headquarter\"></td>
  1530. \t\t\t\t\t\t</tr>
  1531. \t\t\t\t\t\t<tr>
  1532. \t\t\t\t\t\t\t<td colspan=\"2\" id=\"request_sheet_details\"></td>
  1533. \t\t\t\t\t\t</tr>
  1534. \t\t\t\t\t\t<tr>
  1535. \t\t\t\t\t\t\t<th>Note</th>
  1536. \t\t\t\t\t\t\t<td id=\"request_sheet_notes\"></td>
  1537. \t\t\t\t\t\t</tr>
  1538. \t\t\t\t\t</table>
  1539. \t\t\t\t</div>
  1540. \t\t\t\t<div class=\"modal-footer txt_a_c\">
  1541. \t\t\t\t\t<a href=\"javascript:void(0)\" class=\"button button-3d button-mini button-red\" data-bs-dismiss=\"modal\">Chiudi</a>
  1542. \t\t\t\t</div>
  1543. \t\t\t</div>
  1544. \t\t</div>
  1545. \t</div>
  1546. \t";
  1547.         // line 968
  1548.         yield "\t<div id=\"productRequestTakeChargeModal\" class=\"modal fade\" tabindex=\"-1\" role=\"dialog\">
  1549. \t\t<div class=\"modal-dialog\" role=\"document\">
  1550. \t\t\t<div class=\"modal-content\">
  1551. \t\t\t\t<form action=\"";
  1552.         // line 971
  1553.         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.'971$this->source); })()), "id", [], "any"falsefalsefalse971)]), "html"nulltrue);
  1554.         yield "\" method=\"post\">
  1555. \t\t\t\t\t<div class=\"modal-header\"><h3 class=\"modal-title\">Richiesta prodotti - Prendi in carico</h3></div>
  1556. \t\t\t\t\t<div class=\"modal-body\">
  1557. \t\t\t\t\t\t<input type=\"hidden\" id=\"product_request_take_charge_id\" name=\"productRequestId\">
  1558. \t\t\t\t\t\t<div class=\"row\">
  1559. \t\t\t\t\t\t\t<div class=\"col-12 txt_a_c\">
  1560. \t\t\t\t\t\t\t\t<label class=\"modal_subtitle\">Attenzione!</label><br>
  1561. \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>
  1562. \t\t\t\t\t\t\t</div>
  1563. \t\t\t\t\t\t</div>
  1564. \t\t\t\t\t</div>
  1565. \t\t\t\t\t<div class=\"modal-footer\">
  1566. \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>
  1567. \t\t\t\t\t\t<button type=\"submit\" class=\"button button-3d button-mini button-green f_right\">Conferma</button>
  1568. \t\t\t\t\t</div>
  1569. \t\t\t\t</form>
  1570. \t\t\t</div>
  1571. \t\t</div>
  1572. \t</div>
  1573. \t
  1574. \t";
  1575.         // line 992
  1576.         yield "\t<div id=\"productRequestManagedModal\" class=\"modal fade\" tabindex=\"-1\" role=\"dialog\">
  1577. \t\t<div class=\"modal-dialog\" role=\"document\">
  1578. \t\t\t<div class=\"modal-content\">
  1579. \t\t\t\t<form action=\"";
  1580.         // line 995
  1581.         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.'995$this->source); })()), "id", [], "any"falsefalsefalse995)]), "html"nulltrue);
  1582.         yield "\" method=\"post\">
  1583. \t\t\t\t\t<div class=\"modal-header\"><h3 class=\"modal-title\">Richiesta prodotti - Gestita</h3></div>
  1584. \t\t\t\t\t<div class=\"modal-body\">
  1585. \t\t\t\t\t\t<input type=\"hidden\" id=\"product_request_managed_id\" name=\"productRequestId\">
  1586. \t\t\t\t\t\t<div class=\"row\">
  1587. \t\t\t\t\t\t\t<div class=\"col-12 txt_a_c\">
  1588. \t\t\t\t\t\t\t\t<label class=\"modal_subtitle\">Attenzione!</label><br>
  1589. \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>
  1590. \t\t\t\t\t\t\t</div>
  1591. \t\t\t\t\t\t</div>
  1592. \t\t\t\t\t</div>
  1593. \t\t\t\t\t<div class=\"modal-footer\">
  1594. \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>
  1595. \t\t\t\t\t\t<button type=\"submit\" class=\"button button-3d button-mini button-green f_right\">Conferma</button>
  1596. \t\t\t\t\t</div>
  1597. \t\t\t\t</form>
  1598. \t\t\t</div>
  1599. \t\t</div>
  1600. \t</div>
  1601. \t
  1602. \t";
  1603.         // line 1016
  1604.         yield "\t<div id=\"productRequestDeleteModal\" class=\"modal fade\" tabindex=\"-1\" role=\"dialog\">
  1605. \t\t<div class=\"modal-dialog\" role=\"document\">
  1606. \t\t\t<div class=\"modal-content\">
  1607. \t\t\t\t<form action=\"";
  1608.         // line 1019
  1609.         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.'1019$this->source); })()), "id", [], "any"falsefalsefalse1019)]), "html"nulltrue);
  1610.         yield "\" method=\"post\">
  1611. \t\t\t\t\t<div class=\"modal-header\"><h3 class=\"modal-title\">Richieste prodotto - Elimina</h3></div>
  1612. \t\t\t\t\t<div class=\"modal-body\">
  1613. \t\t\t\t\t\t<input type=\"hidden\" id=\"product_request_delete_id\" name=\"productRequestId\">
  1614. \t\t\t\t\t\t<div class=\"row\">
  1615. \t\t\t\t\t\t\t<div class=\"col-12 txt_a_c\">
  1616. \t\t\t\t\t\t\t\t<label class=\"modal_subtitle\">Attenzione!</label><br>
  1617. \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>
  1618. \t\t\t\t\t\t\t</div>
  1619. \t\t\t\t\t\t</div>
  1620. \t\t\t\t\t</div>
  1621. \t\t\t\t\t<div class=\"modal-footer\">
  1622. \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>
  1623. \t\t\t\t\t\t<button type=\"submit\" class=\"button button-3d button-mini button-red f_right\">Conferma</button>
  1624. \t\t\t\t\t</div>
  1625. \t\t\t\t</form>
  1626. \t\t\t</div>
  1627. \t\t</div>
  1628. \t</div>
  1629. ";
  1630.         
  1631.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  1632.         
  1633.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  1634.         return; yield '';
  1635.     }
  1636.     // line 191
  1637.     public function block_tableStocks($context, array $blocks = [])
  1638.     {
  1639.         $macros $this->macros;
  1640.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  1641.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""tableStocks"));
  1642.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  1643.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""tableStocks"));
  1644.         // line 192
  1645.         yield "\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"row\">
  1646. \t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"col-12\">
  1647. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
  1648.         // line 194
  1649.         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.'194$this->source); })()), 0, [], "array"falsefalsefalse194)) {
  1650.             // line 195
  1651.             yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
  1652.             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.'195$this->source); })()), 2, [], "array"falsefalsefalse195))) {
  1653.                 yield "<a id=\"button_";
  1654.                 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.'195$this->source); })()), 1, [], "array"falsefalsefalse195), "html"nulltrue);
  1655.                 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>";
  1656.             }
  1657.             // line 196
  1658.             yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
  1659.             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.'196$this->source); })()), 2, [], "array"falsefalsefalse196))) {
  1660.                 yield "<a id=\"button_";
  1661.                 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.'196$this->source); })()), 1, [], "array"falsefalsefalse196), "html"nulltrue);
  1662.                 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=\"Aggiungi fornitori\"></i><span class=\"d-none d-lg-block\">Aggiungi fornitori</span></a>";
  1663.             }
  1664.             // line 197
  1665.             yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
  1666.             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.'197$this->source); })()), 2, [], "array"falsefalsefalse197))) {
  1667.                 yield "<a id=\"button_";
  1668.                 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.'197$this->source); })()), 1, [], "array"falsefalsefalse197), "html"nulltrue);
  1669.                 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>";
  1670.             }
  1671.             // line 198
  1672.             yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
  1673.             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.'198$this->source); })()), 2, [], "array"falsefalsefalse198))) {
  1674.                 yield "<a href=\"";
  1675.                 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.'198$this->source); })()), "id", [], "any"falsefalsefalse198), "status" => (isset($context["status"]) || array_key_exists("status"$context) ? $context["status"] : (function () { throw new RuntimeError('Variable "status" does not exist.'198$this->source); })())]), "html"nulltrue);
  1676.                 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>";
  1677.             }
  1678.             // line 199
  1679.             yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
  1680.         }
  1681.         // line 200
  1682.         yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t</div>
  1683. \t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"col-12 overflow_a\">
  1684. \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\">
  1685. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<thead>
  1686. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<tr>
  1687. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<form method=\"get\" action=\"";
  1688.         // line 205
  1689.         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.'205$this->source); })()), "id", [], "any"falsefalsefalse205)]), "html"nulltrue);
  1690.         yield "\" id=\"formFilter_1\">
  1691. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td ";
  1692.         // line 206
  1693.         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.'206$this->source); })()), 0, [], "array"falsefalsefalse206)) {
  1694.             yield "colspan=\"2\"";
  1695.         }
  1696.         yield "><a href=\"";
  1697.         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.'206$this->source); })()), "request", [], "any"falsefalsefalse206), "attributes", [], "any"falsefalsefalse206), "get", ["_route"], "method"falsefalsefalse206), "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.'206$this->source); })()), "request", [], "any"falsefalsefalse206), "attributes", [], "any"falsefalsefalse206), "get", ["_route_params"], "method"falsefalsefalse206)]), "html"nulltrue);
  1698.         yield "\" class=\"f_right\" data-bs-toggle=\"tooltip\" title=\"Escludi filtro\"><img class=\"icon_action icon_red\" src=\"";
  1699.         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.'206$this->source); })())), "html"nulltrue);
  1700.         yield "\"></a></td>
  1701. \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=\"";
  1702.         // line 207
  1703.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(((CoreExtension::getAttribute($this->env$this->source, ($context["filters"] ?? null), "codeProducer_1", [], "any"truetruefalse207)) ? (Twig\Extension\CoreExtension::default(CoreExtension::getAttribute($this->env$this->source, ($context["filters"] ?? null), "codeProducer_1", [], "any"falsefalsefalse207))) : ("")), "html"nulltrue);
  1704.         yield "\"/></td>
  1705. \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=\"";
  1706.         // line 208
  1707.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(((CoreExtension::getAttribute($this->env$this->source, ($context["filters"] ?? null), "model_1", [], "any"truetruefalse208)) ? (Twig\Extension\CoreExtension::default(CoreExtension::getAttribute($this->env$this->source, ($context["filters"] ?? null), "model_1", [], "any"falsefalsefalse208))) : ("")), "html"nulltrue);
  1708.         yield "\"/></td>
  1709. \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_";
  1710.         // line 209
  1711.         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.'209$this->source); })()), "html"nulltrue);
  1712.         yield "\" readonly onClick=\"filterSuppliers";
  1713.         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.'209$this->source); })()), "html"nulltrue);
  1714.         yield "()\" data-bs-toggle=\"tooltip\"/><input type=\"hidden\" id=\"filter_supplier_id_";
  1715.         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.'209$this->source); })()), "html"nulltrue);
  1716.         yield "\" name=\"supplier_1\" value=\"";
  1717.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(((CoreExtension::getAttribute($this->env$this->source, ($context["filters"] ?? null), "supplier_1", [], "any"truetruefalse209)) ? (Twig\Extension\CoreExtension::default(CoreExtension::getAttribute($this->env$this->source, ($context["filters"] ?? null), "supplier_1", [], "any"falsefalsefalse209))) : ("")), "html"nulltrue);
  1718.         yield "\"/></td>
  1719. \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=\"";
  1720.         // line 210
  1721.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(((CoreExtension::getAttribute($this->env$this->source, ($context["filters"] ?? null), "condition_1", [], "any"truetruefalse210)) ? (Twig\Extension\CoreExtension::default(CoreExtension::getAttribute($this->env$this->source, ($context["filters"] ?? null), "condition_1", [], "any"falsefalsefalse210))) : ("")), "html"nulltrue);
  1722.         yield "\"/></td>
  1723. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td class=\"td_w_90p d-none d-lg-table-cell\"><input type=\"text\" inputmode=\"search\" class=\"form-control\" name=\"producer_1\" value=\"";
  1724.         // line 211
  1725.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(((CoreExtension::getAttribute($this->env$this->source, ($context["filters"] ?? null), "producer_1", [], "any"truetruefalse211)) ? (Twig\Extension\CoreExtension::default(CoreExtension::getAttribute($this->env$this->source, ($context["filters"] ?? null), "producer_1", [], "any"falsefalsefalse211))) : ("")), "html"nulltrue);
  1726.         yield "\"/></td>
  1727. \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=\"";
  1728.         // line 212
  1729.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(((CoreExtension::getAttribute($this->env$this->source, ($context["filters"] ?? null), "codeSupplier_1", [], "any"truetruefalse212)) ? (Twig\Extension\CoreExtension::default(CoreExtension::getAttribute($this->env$this->source, ($context["filters"] ?? null), "codeSupplier_1", [], "any"falsefalsefalse212))) : ("")), "html"nulltrue);
  1730.         yield "\"/></td>
  1731. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td class=\"td_w_120p d-none d-lg-table-cell\"><input type=\"text\" inputmode=\"search\" class=\"form-control\" name=\"sku_1\" value=\"";
  1732.         // line 213
  1733.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(((CoreExtension::getAttribute($this->env$this->source, ($context["filters"] ?? null), "sku_1", [], "any"truetruefalse213)) ? (Twig\Extension\CoreExtension::default(CoreExtension::getAttribute($this->env$this->source, ($context["filters"] ?? null), "sku_1", [], "any"falsefalsefalse213))) : ("")), "html"nulltrue);
  1734.         yield "\"/></td>
  1735. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td class=\"td_w_120p d-none d-lg-table-cell\"><input type=\"text\" class=\"form-control daterange1last font_12\" id=\"daterange1last_";
  1736.         // line 214
  1737.         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.'214$this->source); })()), "html"nulltrue);
  1738.         yield "\" inputmode=\"search\" autocomplete=\"off\" name=\"dateLastTransfer_1\" style=\"height: 38px\" date-filter=\"range\"/></td>
  1739. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td class=\"td_w_60p\">
  1740. \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=\"";
  1741.         // line 216
  1742.         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.'216$this->source); })())), "html"nulltrue);
  1743.         yield "\"></button>
  1744. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<a href=\"";
  1745.         // line 217
  1746.         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.'217$this->source); })()), "id", [], "any"falsefalsefalse217), "status" => (isset($context["status"]) || array_key_exists("status"$context) ? $context["status"] : (function () { throw new RuntimeError('Variable "status" does not exist.'217$this->source); })())]), "html"nulltrue);
  1747.         yield "\" class=\"f_right\" data-bs-toggle=\"tooltip\" title=\"Esporta filtrati\"><img class=\"icon_action icon_amber\" src=\"";
  1748.         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.'217$this->source); })())), "html"nulltrue);
  1749.         yield "\"></a>
  1750. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</td>
  1751. \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=\"";
  1752.         // line 219
  1753.         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.'219$this->source); })()), "html"nulltrue);
  1754.         yield "\">
  1755. \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=\"";
  1756.         // line 220
  1757.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(((CoreExtension::getAttribute($this->env$this->source, ($context["filters"] ?? null), "sortField_1", [], "any"truetruefalse220)) ? (Twig\Extension\CoreExtension::default(CoreExtension::getAttribute($this->env$this->source, ($context["filters"] ?? null), "sortField_1", [], "any"falsefalsefalse220))) : ("")), "html"nulltrue);
  1758.         yield "\"/>
  1759. \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=\"";
  1760.         // line 221
  1761.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(((CoreExtension::getAttribute($this->env$this->source, ($context["filters"] ?? null), "sortOrder_1", [], "any"truetruefalse221)) ? (Twig\Extension\CoreExtension::default(CoreExtension::getAttribute($this->env$this->source, ($context["filters"] ?? null), "sortOrder_1", [], "any"falsefalsefalse221))) : ("")), "html"nulltrue);
  1762.         yield "\"/>
  1763. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</form>
  1764. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</tr>
  1765. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<tr class=\"bg_pr color_w\">
  1766. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<th class=\"td_w_20p\"></th>
  1767. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
  1768.         // line 226
  1769.         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.'226$this->source); })()), 0, [], "array"falsefalsefalse226)) {
  1770.             // line 227
  1771.             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\">
  1772. \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\">
  1773. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<input id=\"stock_";
  1774.             // line 229
  1775.             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.'229$this->source); })()), 1, [], "array"falsefalsefalse229), "html"nulltrue);
  1776.             yield "_all_checkboxes\" class=\"switch-toggle switch-flat-mini switch-toggle-flat\" type=\"checkbox\" onChange=\"javascript: selectAll(";
  1777.             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.'229$this->source); })()), 1, [], "array"falsefalsefalse229), "html"nulltrue);
  1778.             yield ", '";
  1779.             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.'229$this->source); })()), "html"nulltrue);
  1780.             yield "')\">
  1781. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<label for=\"stock_";
  1782.             // line 230
  1783.             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.'230$this->source); })()), 1, [], "array"falsefalsefalse230), "html"nulltrue);
  1784.             yield "_all_checkboxes\" class=\"m_b_none\"></label>
  1785. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</div>
  1786. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</th>
  1787. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
  1788.         }
  1789.         // line 234
  1790.         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>
  1791. \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>
  1792. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<th>Fornitori</th>
  1793. \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>
  1794. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<th class=\"d-none d-lg-table-cell\">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>
  1795. \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>
  1796. \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>
  1797. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<th colspan=\"2\" class=\"d-none d-lg-table-cell\">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>
  1798. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</tr>
  1799. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</thead>
  1800. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<tbody>
  1801. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
  1802.         // line 245
  1803.         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.'245$this->source); })())) > 0)) {
  1804.             // line 246
  1805.             yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
  1806.             $context['_parent'] = $context;
  1807.             $context['_seq'] = CoreExtension::ensureTraversable((isset($context["products"]) || array_key_exists("products"$context) ? $context["products"] : (function () { throw new RuntimeError('Variable "products" does not exist.'246$this->source); })()));
  1808.             foreach ($context['_seq'] as $context["_key"] => $context["product"]) {
  1809.                 // line 247
  1810.                 yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
  1811.                 $context["first"] = true;
  1812.                 // line 248
  1813.                 yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
  1814.                 $context["suppliersString"] = "";
  1815.                 // line 249
  1816.                 yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
  1817.                 $context['_parent'] = $context;
  1818.                 $context['_seq'] = CoreExtension::ensureTraversable(CoreExtension::getAttribute($this->env$this->source$context["product"], "suppliers", [], "any"falsefalsefalse249));
  1819.                 foreach ($context['_seq'] as $context["_key"] => $context["supplier"]) {
  1820.                     // line 250
  1821.                     yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
  1822.                     if ((isset($context["first"]) || array_key_exists("first"$context) ? $context["first"] : (function () { throw new RuntimeError('Variable "first" does not exist.'250$this->source); })())) {
  1823.                         $context["first"] = false;
  1824.                     } else {
  1825.                         $context["suppliersString"] = ((isset($context["suppliersString"]) || array_key_exists("suppliersString"$context) ? $context["suppliersString"] : (function () { throw new RuntimeError('Variable "suppliersString" does not exist.'250$this->source); })()) . "-");
  1826.                     }
  1827.                     // line 251
  1828.                     yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
  1829.                     $context["suppliersString"] = ((isset($context["suppliersString"]) || array_key_exists("suppliersString"$context) ? $context["suppliersString"] : (function () { throw new RuntimeError('Variable "suppliersString" does not exist.'251$this->source); })()) . CoreExtension::getAttribute($this->env$this->source$context["supplier"], "id", [], "any"falsefalsefalse251));
  1830.                     // line 252
  1831.                     yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
  1832.                 }
  1833.                 $_parent $context['_parent'];
  1834.                 unset($context['_seq'], $context['_iterated'], $context['_key'], $context['supplier'], $context['_parent'], $context['loop']);
  1835.                 $context array_intersect_key($context$_parent) + $_parent;
  1836.                 // line 253
  1837.                 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=\"";
  1838.                 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.'253$this->source); })()), "html"nulltrue);
  1839.                 yield "\">
  1840. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<tr ";
  1841.                 // line 254
  1842.                 if (CoreExtension::getAttribute($this->env$this->source$context["product"], "toManage", [], "any"falsefalsefalse254)) {
  1843.                     yield "class=\"bg_to_manage_";
  1844.                     yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source$context["product"], "toManagePriority", [], "any"falsefalsefalse254), "html"nulltrue);
  1845.                     yield "\"";
  1846.                 }
  1847.                 yield ">
  1848. \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=\"";
  1849.                 // line 255
  1850.                 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"falsefalsefalse255)]), "html"nulltrue);
  1851.                 yield "\" data-bs-toggle=\"tooltip\" title=\"Scheda\"><img class=\"icon_action icon_pr\" src=\"";
  1852.                 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.'255$this->source); })())), "html"nulltrue);
  1853.                 yield "\"></a></td>
  1854. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
  1855.                 // line 256
  1856.                 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.'256$this->source); })()), 0, [], "array"falsefalsefalse256)) {
  1857.                     // line 257
  1858.                     yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td>
  1859. \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\">
  1860. \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_";
  1861.                     // line 259
  1862.                     yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source$context["product"], "id", [], "any"falsefalsefalse259), "html"nulltrue);
  1863.                     yield "\" class=\"switch-toggle switch-flat-mini switch-toggle-flat stock_";
  1864.                     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.'259$this->source); })()), 1, [], "array"falsefalsefalse259), "html"nulltrue);
  1865.                     yield "_checkbox\" type=\"checkbox\" value=\"";
  1866.                     yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source$context["product"], "id", [], "any"falsefalsefalse259), "html"nulltrue);
  1867.                     yield "\" onChange=\"javascript: updateButtons(";
  1868.                     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.'259$this->source); })()), 1, [], "array"falsefalsefalse259), "html"nulltrue);
  1869.                     yield ", '";
  1870.                     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.'259$this->source); })()), "html"nulltrue);
  1871.                     yield "')\">
  1872. \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_";
  1873.                     // line 260
  1874.                     yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source$context["product"], "id", [], "any"falsefalsefalse260), "html"nulltrue);
  1875.                     yield "\" class=\"m_b_none\"></label>
  1876. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</div>
  1877. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</td>
  1878. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
  1879.                 }
  1880.                 // line 264
  1881.                 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_";
  1882.                 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source$context["product"], "id", [], "any"falsefalsefalse264), "html"nulltrue);
  1883.                 yield "\">";
  1884.                 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(((CoreExtension::getAttribute($this->env$this->source$context["product"], "codeProducer", [], "any"truetruefalse264)) ? (Twig\Extension\CoreExtension::default(CoreExtension::getAttribute($this->env$this->source$context["product"], "codeProducer", [], "any"falsefalsefalse264), "---")) : ("---")), "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\t<td id=\"product_model_";
  1887.                 // line 265
  1888.                 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source$context["product"], "id", [], "any"falsefalsefalse265), "html"nulltrue);
  1889.                 yield "\">";
  1890.                 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source$context["product"], "model", [], "any"falsefalsefalse265), "name", [], "any"falsefalsefalse265), "html"nulltrue);
  1891.                 yield "</td>
  1892. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td>";
  1893.                 // line 266
  1894.                 yield CoreExtension::getAttribute($this->env$this->source$context["product"], "displaySuppliers", [], "method"falsefalsefalse266);
  1895.                 yield "</td>
  1896. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td>";
  1897.                 // line 267
  1898.                 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source$context["product"], "displayCondition", ["string-short"], "method"falsefalsefalse267), "html"nulltrue);
  1899.                 yield "
  1900. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
  1901.                 // line 268
  1902.                 if (( !(null === CoreExtension::getAttribute($this->env$this->source$context["product"], "getLastTicket", [], "any"falsefalsefalse268)) && ((isset($context["tab"]) || array_key_exists("tab"$context) ? $context["tab"] : (function () { throw new RuntimeError('Variable "tab" does not exist.'268$this->source); })()) == "s_not_available"))) {
  1903.                     yield "<a href=\"";
  1904.                     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"falsefalsefalse268), "id", [], "any"falsefalsefalse268)]), "html"nulltrue);
  1905.                     yield "\" target=\"_blank\">";
  1906.                     yield CoreExtension::getAttribute($this->env$this->source$context["product"], "displayLastRefs", [], "any"falsefalsefalse268);
  1907.                     yield "</a>";
  1908.                 }
  1909.                 // line 269
  1910.                 yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</td>
  1911. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td class=\"d-none d-lg-table-cell\">";
  1912.                 // line 270
  1913.                 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source$context["product"], "model", [], "any"falsefalsefalse270), "producer", [], "any"falsefalsefalse270), "html"nulltrue);
  1914.                 yield "</td>
  1915. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td id=\"product_codeSupplier_";
  1916.                 // line 271
  1917.                 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source$context["product"], "id", [], "any"falsefalsefalse271), "html"nulltrue);
  1918.                 yield "\">";
  1919.                 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(((CoreExtension::getAttribute($this->env$this->source$context["product"], "codeSupplier", [], "any"truetruefalse271)) ? (Twig\Extension\CoreExtension::default(CoreExtension::getAttribute($this->env$this->source$context["product"], "codeSupplier", [], "any"falsefalsefalse271), "---")) : ("---")), "html"nulltrue);
  1920.                 yield "</td>
  1921. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td>";
  1922.                 // line 272
  1923.                 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source$context["product"], "model", [], "any"falsefalsefalse272), "sku", [], "any"falsefalsefalse272), "html"nulltrue);
  1924.                 yield "</td>
  1925. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td colspan=\"2\" class=\"d-none d-lg-table-cell\">";
  1926.                 // line 273
  1927.                 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Twig\Extension\CoreExtension']->formatDate(CoreExtension::getAttribute($this->env$this->source$context["product"], "dateLastTransfer", [], "any"falsefalsefalse273), "d-m-Y H:i"), "html"nulltrue);
  1928.                 yield "</td>
  1929. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</tr>
  1930. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
  1931.             }
  1932.             $_parent $context['_parent'];
  1933.             unset($context['_seq'], $context['_iterated'], $context['_key'], $context['product'], $context['_parent'], $context['loop']);
  1934.             $context array_intersect_key($context$_parent) + $_parent;
  1935.             // line 276
  1936.             yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
  1937.         } else {
  1938.             // line 277
  1939.             yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
  1940.             yield from             $this->loadTemplate("components/twig/notice_no_values.html.twig""role/user/warehouse/sheet.html.twig"277)->unwrap()->yield(CoreExtension::merge($context, ["message" => "Nessun prodotto in questo stato"]));
  1941.             // line 278
  1942.             yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
  1943.         }
  1944.         // line 279
  1945.         yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</tbody>
  1946. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</table>
  1947. \t\t\t\t\t\t\t\t\t\t\t\t\t\t</div>
  1948. \t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"col-12 navigation txt_a_r\">
  1949. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
  1950.         // line 283
  1951.         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.'283$this->source); })()));
  1952.         yield "
  1953. \t\t\t\t\t\t\t\t\t\t\t\t\t\t</div>
  1954. \t\t\t\t\t\t\t\t\t\t\t\t\t</div>
  1955. \t\t\t\t\t\t\t\t\t\t\t\t";
  1956.         
  1957.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  1958.         
  1959.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  1960.         return; yield '';
  1961.     }
  1962.     // line 334
  1963.     public function block_tableTransfers($context, array $blocks = [])
  1964.     {
  1965.         $macros $this->macros;
  1966.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  1967.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""tableTransfers"));
  1968.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  1969.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""tableTransfers"));
  1970.         // line 335
  1971.         yield "\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"row\">
  1972. \t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"col-12 overflow_a\">
  1973. \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\">
  1974. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<thead>
  1975. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<tr>
  1976. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<form method=\"get\" action=\"";
  1977.         // line 340
  1978.         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.'340$this->source); })()), "id", [], "any"falsefalsefalse340)]), "html"nulltrue);
  1979.         yield "\" id=\"formFilter_2\">
  1980. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td colspan=\"2\"><a href=\"";
  1981.         // line 341
  1982.         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.'341$this->source); })()), "request", [], "any"falsefalsefalse341), "attributes", [], "any"falsefalsefalse341), "get", ["_route"], "method"falsefalsefalse341), "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.'341$this->source); })()), "request", [], "any"falsefalsefalse341), "attributes", [], "any"falsefalsefalse341), "get", ["_route_params"], "method"falsefalsefalse341)]), "html"nulltrue);
  1983.         yield "\" class=\"f_right\" data-bs-toggle=\"tooltip\" title=\"Escludi filtro\"><img class=\"icon_action icon_red\" src=\"";
  1984.         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.'341$this->source); })())), "html"nulltrue);
  1985.         yield "\"></a></td>
  1986. \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_";
  1987.         // line 342
  1988.         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.'342$this->source); })()), "html"nulltrue);
  1989.         yield "\" inputmode=\"search\" autocomplete=\"off\" name=\"datetimeCreation_2\" style=\"height: 38px\" date-filter=\"range\"/></td>
  1990. \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_";
  1991.         // line 343
  1992.         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.'343$this->source); })()), "html"nulltrue);
  1993.         yield "\" inputmode=\"search\" autocomplete=\"off\" name=\"datetimeSend_2\" style=\"height: 38px\" date-filter=\"range\"/></td>
  1994. \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_";
  1995.         // line 344
  1996.         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.'344$this->source); })()), "html"nulltrue);
  1997.         yield "\" inputmode=\"search\" autocomplete=\"off\" name=\"datetimeCompletion_2\" style=\"height: 38px\" date-filter=\"range\"/></td>
  1998. \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=\"";
  1999.         // line 345
  2000.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(((CoreExtension::getAttribute($this->env$this->source, ($context["filters"] ?? null), "warehouseFrom_2", [], "any"truetruefalse345)) ? (Twig\Extension\CoreExtension::default(CoreExtension::getAttribute($this->env$this->source, ($context["filters"] ?? null), "warehouseFrom_2", [], "any"falsefalsefalse345))) : ("")), "html"nulltrue);
  2001.         yield "\"/></td>
  2002. \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=\"";
  2003.         // line 346
  2004.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(((CoreExtension::getAttribute($this->env$this->source, ($context["filters"] ?? null), "warehouseTo_2", [], "any"truetruefalse346)) ? (Twig\Extension\CoreExtension::default(CoreExtension::getAttribute($this->env$this->source, ($context["filters"] ?? null), "warehouseTo_2", [], "any"falsefalsefalse346))) : ("")), "html"nulltrue);
  2005.         yield "\"/></td>
  2006. \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=\"";
  2007.         // line 347
  2008.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(((CoreExtension::getAttribute($this->env$this->source, ($context["filters"] ?? null), "ddt_2", [], "any"truetruefalse347)) ? (Twig\Extension\CoreExtension::default(CoreExtension::getAttribute($this->env$this->source, ($context["filters"] ?? null), "ddt_2", [], "any"falsefalsefalse347))) : ("")), "html"nulltrue);
  2009.         yield "\"/></td>
  2010. \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=\"";
  2011.         // line 348
  2012.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(((CoreExtension::getAttribute($this->env$this->source, ($context["filters"] ?? null), "stockOrder_2", [], "any"truetruefalse348)) ? (Twig\Extension\CoreExtension::default(CoreExtension::getAttribute($this->env$this->source, ($context["filters"] ?? null), "stockOrder_2", [], "any"falsefalsefalse348))) : ("")), "html"nulltrue);
  2013.         yield "\"/></td>
  2014. \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=\"";
  2015.         // line 349
  2016.         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.'349$this->source); })())), "html"nulltrue);
  2017.         yield "\"></button></td>\t
  2018. \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=\"";
  2019.         // line 350
  2020.         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.'350$this->source); })()), "html"nulltrue);
  2021.         yield "\">
  2022. \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=\"";
  2023.         // line 351
  2024.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(((CoreExtension::getAttribute($this->env$this->source, ($context["filters"] ?? null), "sortField_2", [], "any"truetruefalse351)) ? (Twig\Extension\CoreExtension::default(CoreExtension::getAttribute($this->env$this->source, ($context["filters"] ?? null), "sortField_2", [], "any"falsefalsefalse351))) : ("")), "html"nulltrue);
  2025.         yield "\"/>
  2026. \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=\"";
  2027.         // line 352
  2028.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(((CoreExtension::getAttribute($this->env$this->source, ($context["filters"] ?? null), "sortOrder_2", [], "any"truetruefalse352)) ? (Twig\Extension\CoreExtension::default(CoreExtension::getAttribute($this->env$this->source, ($context["filters"] ?? null), "sortOrder_2", [], "any"falsefalsefalse352))) : ("")), "html"nulltrue);
  2029.         yield "\"/>
  2030. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</form>
  2031. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</tr>
  2032. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<tr class=\"bg_pr color_w\">
  2033. \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>
  2034. \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>
  2035. \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>
  2036. \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>
  2037. \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>
  2038. \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\">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>
  2039. \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>
  2040. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<th rowspan=\"2\"></th>
  2041. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</tr>
  2042. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<tr class=\"bg_pr color_w\">
  2043. \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>
  2044. \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>
  2045. \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";
  2046.         // line 368
  2047.         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.'368$this->source); })()), "user", [], "any"falsefalsefalse368), "getAccountTypology", [], "method"falsefalsefalse368) != "technician")) {
  2048.             yield "ento";
  2049.         }
  2050.         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>
  2051. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</tr>
  2052. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</thead>
  2053. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<tbody>
  2054. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
  2055.         // line 372
  2056.         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.'372$this->source); })())) > 0)) {
  2057.             // line 373
  2058.             yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
  2059.             $context['_parent'] = $context;
  2060.             $context['_seq'] = CoreExtension::ensureTraversable((isset($context["transfers"]) || array_key_exists("transfers"$context) ? $context["transfers"] : (function () { throw new RuntimeError('Variable "transfers" does not exist.'373$this->source); })()));
  2061.             foreach ($context['_seq'] as $context["_key"] => $context["pt"]) {
  2062.                 // line 374
  2063.                 yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<tr>
  2064. \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=\"";
  2065.                 // line 375
  2066.                 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.'375$this->source); })()), "id", [], "any"falsefalsefalse375), "transferId" => CoreExtension::getAttribute($this->env$this->source$context["pt"], "id", [], "any"falsefalsefalse375)]), "html"nulltrue);
  2067.                 yield "\" data-bs-toggle=\"tooltip\" title=\"Scheda\"><img class=\"icon_action icon_pr\" src=\"";
  2068.                 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.'375$this->source); })())), "html"nulltrue);
  2069.                 yield "\"></a></td>
  2070. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td>";
  2071.                 // line 376
  2072.                 yield CoreExtension::getAttribute($this->env$this->source$context["pt"], "displayPhase", ["string"], "method"falsefalsefalse376);
  2073.                 yield "</td>
  2074. \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\">";
  2075.                 // line 377
  2076.                 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Twig\Extension\CoreExtension']->formatDate(CoreExtension::getAttribute($this->env$this->source$context["pt"], "datetimeCreation", [], "any"falsefalsefalse377), "d-m-Y H:i"), "html"nulltrue);
  2077.                 yield "</td>
  2078. \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\">";
  2079.                 // line 378
  2080.                 if ((CoreExtension::getAttribute($this->env$this->source$context["pt"], "datetimeSend", [], "any"falsefalsefalse378) != null)) {
  2081.                     yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Twig\Extension\CoreExtension']->formatDate(CoreExtension::getAttribute($this->env$this->source$context["pt"], "datetimeSend", [], "any"falsefalsefalse378), "d-m-Y H:i"), "html"nulltrue);
  2082.                 } else {
  2083.                     yield "---";
  2084.                 }
  2085.                 yield "</td>
  2086. \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\">";
  2087.                 // line 379
  2088.                 if ((CoreExtension::getAttribute($this->env$this->source$context["pt"], "datetimeCompletion", [], "any"falsefalsefalse379) != null)) {
  2089.                     yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Twig\Extension\CoreExtension']->formatDate(CoreExtension::getAttribute($this->env$this->source$context["pt"], "datetimeCompletion", [], "any"falsefalsefalse379), "d-m-Y H:i"), "html"nulltrue);
  2090.                 } else {
  2091.                     yield "---";
  2092.                 }
  2093.                 yield "</td>
  2094. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td>";
  2095.                 // line 380
  2096.                 if ((CoreExtension::getAttribute($this->env$this->source$context["pt"], "warehouseFrom", [], "any"falsefalsefalse380) != null)) {
  2097.                     yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source$context["pt"], "warehouseFrom", [], "any"falsefalsefalse380), "html"nulltrue);
  2098.                 } else {
  2099.                     yield "---";
  2100.                 }
  2101.                 yield "</td>
  2102. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td>";
  2103.                 // line 381
  2104.                 if ((CoreExtension::getAttribute($this->env$this->source$context["pt"], "warehouseTo", [], "any"falsefalsefalse381) != null)) {
  2105.                     yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source$context["pt"], "warehouseTo", [], "any"falsefalsefalse381), "html"nulltrue);
  2106.                 } else {
  2107.                     yield "---";
  2108.                 }
  2109.                 yield "</td>
  2110. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td>";
  2111.                 // line 382
  2112.                 if ((CoreExtension::getAttribute($this->env$this->source$context["pt"], "ddtPath", [], "any"falsefalsefalse382) != null)) {
  2113.                     yield "N° ";
  2114.                     yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source$context["pt"], "ddt", [], "any"falsefalsefalse382), "html"nulltrue);
  2115.                 } else {
  2116.                     yield "---";
  2117.                 }
  2118.                 yield "</td>
  2119. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td>";
  2120.                 // line 383
  2121.                 if ((CoreExtension::getAttribute($this->env$this->source$context["pt"], "stockOrder", [], "any"falsefalsefalse383) != null)) {
  2122.                     yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source$context["pt"], "stockOrder", [], "any"falsefalsefalse383), "html"nulltrue);
  2123.                 } else {
  2124.                     yield "---";
  2125.                 }
  2126.                 yield "</td>
  2127. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
  2128.                 // line 384
  2129.                 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.'384$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.'384$this->source); })()), "user", [], "any"falsefalsefalse384), "id", [], "any"falsefalsefalse384)], "method"falsefalsefalse384) != 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.'384$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.'384$this->source); })()), "user", [], "any"falsefalsefalse384), "id", [], "any"falsefalsefalse384)], "method"falsefalsefalse384), "permission", [], "any"falsefalsefalse384) == "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.'384$this->source); })()), "user", [], "any"falsefalsefalse384), "canWrite", ["warehouse"], "method"falsefalsefalse384))) {
  2130.                     // line 385
  2131.                     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\">
  2132. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
  2133.                     // line 386
  2134.                     if (((isset($context["tabType"]) || array_key_exists("tabType"$context) ? $context["tabType"] : (function () { throw new RuntimeError('Variable "tabType" does not exist.'386$this->source); })()) == "pt_incoming")) {
  2135.                         // line 387
  2136.                         yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
  2137.                         if ((CoreExtension::getAttribute($this->env$this->source$context["pt"], "type", [], "any"falsefalsefalse387) == "destination")) {
  2138.                             // line 388
  2139.                             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(";
  2140.                             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source$context["pt"], "id", [], "any"falsefalsefalse388), "html"nulltrue);
  2141.                             yield ")\" data-bs-toggle=\"tooltip\" title=\"Elimina trasferimento\"><img class=\"icon_action icon_red\" src=\"";
  2142.                             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.'388$this->source); })())), "html"nulltrue);
  2143.                             yield "\"></a>
  2144. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
  2145.                         }
  2146.                         // line 390
  2147.                         yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
  2148.                     } elseif (((isset($context["tabType"]) || array_key_exists("tabType"$context) ? $context["tabType"] : (function () { throw new RuntimeError('Variable "tabType" does not exist.'390$this->source); })()) == "pt_output")) {
  2149.                         // line 391
  2150.                         yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
  2151.                         if (CoreExtension::getAttribute($this->env$this->source$context["pt"], "hasProductsTransfered", [], "any"falsefalsefalse391)) {
  2152.                             // line 392
  2153.                             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=\"";
  2154.                             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.'392$this->source); })())), "html"nulltrue);
  2155.                             yield "\"></a>
  2156. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
  2157.                         } else {
  2158.                             // line 394
  2159.                             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(";
  2160.                             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source$context["pt"], "id", [], "any"falsefalsefalse394), "html"nulltrue);
  2161.                             yield ")\" data-bs-toggle=\"tooltip\" title=\"Elimina trasferimento\"><img class=\"icon_action icon_red\" src=\"";
  2162.                             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.'394$this->source); })())), "html"nulltrue);
  2163.                             yield "\"></a>
  2164. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
  2165.                         }
  2166.                         // line 396
  2167.                         yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
  2168.                     }
  2169.                     // line 397
  2170.                     yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</td>
  2171. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
  2172.                 }
  2173.                 // line 399
  2174.                 yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</tr>
  2175. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
  2176.             }
  2177.             $_parent $context['_parent'];
  2178.             unset($context['_seq'], $context['_iterated'], $context['_key'], $context['pt'], $context['_parent'], $context['loop']);
  2179.             $context array_intersect_key($context$_parent) + $_parent;
  2180.             // line 401
  2181.             yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
  2182.         } else {
  2183.             // line 402
  2184.             yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
  2185.             yield from             $this->loadTemplate("components/twig/notice_no_values.html.twig""role/user/warehouse/sheet.html.twig"402)->unwrap()->yield(CoreExtension::merge($context, ["message" => "Nessuno trasferimento in questo stato"]));
  2186.             // line 403
  2187.             yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
  2188.         }
  2189.         // line 404
  2190.         yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</tbody>
  2191. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</table>
  2192. \t\t\t\t\t\t\t\t\t\t\t\t\t\t</div>
  2193. \t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"col-12 navigation txt_a_r\">
  2194. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
  2195.         // line 408
  2196.         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.'408$this->source); })()));
  2197.         yield "
  2198. \t\t\t\t\t\t\t\t\t\t\t\t\t\t</div>
  2199. \t\t\t\t\t\t\t\t\t\t\t\t\t</div>
  2200. \t\t\t\t\t\t\t\t\t\t\t\t";
  2201.         
  2202.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  2203.         
  2204.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  2205.         return; yield '';
  2206.     }
  2207.     // line 509
  2208.     public function block_tableRequests($context, array $blocks = [])
  2209.     {
  2210.         $macros $this->macros;
  2211.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  2212.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""tableRequests"));
  2213.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  2214.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""tableRequests"));
  2215.         // line 510
  2216.         yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"row\">
  2217. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"col-12 overflow_a\">
  2218. \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\">
  2219. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<thead>
  2220. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<tr>
  2221. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<form method=\"get\" action=\"";
  2222.         // line 515
  2223.         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.'515$this->source); })()), "id", [], "any"falsefalsefalse515)]), "html"nulltrue);
  2224.         yield "\" id=\"formFilter_3\">
  2225. \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=\"";
  2226.         // line 516
  2227.         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.'516$this->source); })()), "request", [], "any"falsefalsefalse516), "attributes", [], "any"falsefalsefalse516), "get", ["_route"], "method"falsefalsefalse516), "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.'516$this->source); })()), "request", [], "any"falsefalsefalse516), "attributes", [], "any"falsefalsefalse516), "get", ["_route_params"], "method"falsefalsefalse516)]), "html"nulltrue);
  2228.         yield "\" class=\"f_right\" data-bs-toggle=\"tooltip\" title=\"Escludi filtro\"><img class=\"icon_action icon_red\" src=\"";
  2229.         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.'516$this->source); })())), "html"nulltrue);
  2230.         yield "\"></a></td>
  2231. \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_";
  2232.         // line 517
  2233.         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.'517$this->source); })()), "html"nulltrue);
  2234.         yield "\" inputmode=\"search\" autocomplete=\"off\" name=\"date_3\" style=\"height: 38px\" date-filter=\"range\"/></td>
  2235. \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=\"";
  2236.         // line 518
  2237.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(((CoreExtension::getAttribute($this->env$this->source, ($context["filters"] ?? null), "technician_3", [], "any"truetruefalse518)) ? (Twig\Extension\CoreExtension::default(CoreExtension::getAttribute($this->env$this->source, ($context["filters"] ?? null), "technician_3", [], "any"falsefalsefalse518))) : ("")), "html"nulltrue);
  2238.         yield "\"/></td>
  2239. \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=\"";
  2240.         // line 519
  2241.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(((CoreExtension::getAttribute($this->env$this->source, ($context["filters"] ?? null), "warehouse_3", [], "any"truetruefalse519)) ? (Twig\Extension\CoreExtension::default(CoreExtension::getAttribute($this->env$this->source, ($context["filters"] ?? null), "warehouse_3", [], "any"falsefalsefalse519))) : ("")), "html"nulltrue);
  2242.         yield "\"/></td>
  2243. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td colspan=\"3\" 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=\"";
  2244.         // line 520
  2245.         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.'520$this->source); })())), "html"nulltrue);
  2246.         yield "\"></button></td>\t
  2247. \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=\"";
  2248.         // line 521
  2249.         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.'521$this->source); })()), "html"nulltrue);
  2250.         yield "\">
  2251. \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=\"";
  2252.         // line 522
  2253.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(((CoreExtension::getAttribute($this->env$this->source, ($context["filters"] ?? null), "sortField_3", [], "any"truetruefalse522)) ? (Twig\Extension\CoreExtension::default(CoreExtension::getAttribute($this->env$this->source, ($context["filters"] ?? null), "sortField_3", [], "any"falsefalsefalse522))) : ("")), "html"nulltrue);
  2254.         yield "\"/>
  2255. \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=\"";
  2256.         // line 523
  2257.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(((CoreExtension::getAttribute($this->env$this->source, ($context["filters"] ?? null), "sortOrder_3", [], "any"truetruefalse523)) ? (Twig\Extension\CoreExtension::default(CoreExtension::getAttribute($this->env$this->source, ($context["filters"] ?? null), "sortOrder_3", [], "any"falsefalsefalse523))) : ("")), "html"nulltrue);
  2258.         yield "\"/>
  2259. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</form>
  2260. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</tr>
  2261. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<tr class=\"bg_pr color_w\">
  2262. \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>
  2263. \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>
  2264. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
  2265.         // line 529
  2266.         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.'529$this->source); })()), "headquarter", [], "any"falsefalsefalse529)) {
  2267.             // line 530
  2268.             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>
  2269. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
  2270.         } else {
  2271.             // line 532
  2272.             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>
  2273. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
  2274.         }
  2275.         // line 534
  2276.         yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<th class=\"d-none d-lg-table-cell\">Prodotti</th>
  2277. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<th class=\"d-none d-lg-table-cell\">Note</th>
  2278. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<th class=\"td_action d-table-cell d-lg-none\"></th>
  2279. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
  2280.         // line 537
  2281.         if (((((isset($context["tabAction"]) || array_key_exists("tabAction"$context) ? $context["tabAction"] : (function () { throw new RuntimeError('Variable "tabAction" does not exist.'537$this->source); })()) == "delete") || ((isset($context["tabAction"]) || array_key_exists("tabAction"$context) ? $context["tabAction"] : (function () { throw new RuntimeError('Variable "tabAction" does not exist.'537$this->source); })()) == "take_charge")) || ((isset($context["tabAction"]) || array_key_exists("tabAction"$context) ? $context["tabAction"] : (function () { throw new RuntimeError('Variable "tabAction" does not exist.'537$this->source); })()) == "complete"))) {
  2282.             yield "<th colspan=\"2\"></th>";
  2283.         }
  2284.         // line 538
  2285.         yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</tr>
  2286. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</thead>
  2287. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<tbody>
  2288. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
  2289.         // line 541
  2290.         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.'541$this->source); })())) > 0)) {
  2291.             // line 542
  2292.             yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
  2293.             $context['_parent'] = $context;
  2294.             $context['_seq'] = CoreExtension::ensureTraversable((isset($context["requests"]) || array_key_exists("requests"$context) ? $context["requests"] : (function () { throw new RuntimeError('Variable "requests" does not exist.'542$this->source); })()));
  2295.             foreach ($context['_seq'] as $context["_key"] => $context["pr"]) {
  2296.                 // line 543
  2297.                 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=\"";
  2298.                 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source$context["pr"], "warehouse", [], "any"falsefalsefalse543), "id", [], "any"falsefalsefalse543), "html"nulltrue);
  2299.                 yield "\">
  2300. \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=\"";
  2301.                 // line 544
  2302.                 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source$context["pr"], "warehouse", [], "any"falsefalsefalse544), "nickname", [], "any"falsefalsefalse544), "html"nulltrue);
  2303.                 yield "\">
  2304. \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_";
  2305.                 // line 545
  2306.                 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source$context["pr"], "id", [], "any"falsefalsefalse545), "html"nulltrue);
  2307.                 yield "_details\" value=\"";
  2308.                 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source$context["pr"], "displayDetails", [], "any"falsefalsefalse545), "html"nulltrue);
  2309.                 yield "\">
  2310. \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_";
  2311.                 // line 546
  2312.                 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source$context["pr"], "id", [], "any"falsefalsefalse546), "html"nulltrue);
  2313.                 yield "_notes\" value=\"";
  2314.                 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source$context["pr"], "notes", [], "any"falsefalsefalse546), "html"nulltrue);
  2315.                 yield "\">
  2316. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<tr>
  2317. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td id=\"request_";
  2318.                 // line 548
  2319.                 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source$context["pr"], "id", [], "any"falsefalsefalse548), "html"nulltrue);
  2320.                 yield "_datetime\" colspan=\"2\" class=\"txt_a_c\">";
  2321.                 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Twig\Extension\CoreExtension']->formatDate(CoreExtension::getAttribute($this->env$this->source$context["pr"], "datetime", [], "any"falsefalsefalse548), "d-m-Y H:i"), "html"nulltrue);
  2322.                 yield "</td>
  2323. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td id=\"request_";
  2324.                 // line 549
  2325.                 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source$context["pr"], "id", [], "any"falsefalsefalse549), "html"nulltrue);
  2326.                 yield "_technician\">";
  2327.                 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source$context["pr"], "technician", [], "any"falsefalsefalse549), "html"nulltrue);
  2328.                 yield "</td>
  2329. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
  2330.                 // line 550
  2331.                 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.'550$this->source); })()), "headquarter", [], "any"falsefalsefalse550)) {
  2332.                     // line 551
  2333.                     yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td id=\"request_";
  2334.                     yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source$context["pr"], "id", [], "any"falsefalsefalse551), "html"nulltrue);
  2335.                     yield "_warehouse\">";
  2336.                     yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source$context["pr"], "warehouse", [], "any"falsefalsefalse551), "html"nulltrue);
  2337.                     yield "</td>
  2338. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
  2339.                 } else {
  2340.                     // line 553
  2341.                     yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td id=\"request_";
  2342.                     yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source$context["pr"], "id", [], "any"falsefalsefalse553), "html"nulltrue);
  2343.                     yield "_warehouse_headquarter\">";
  2344.                     yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source$context["pr"], "warehouseHeadquarter", [], "any"falsefalsefalse553), "html"nulltrue);
  2345.                     yield "</td>
  2346. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
  2347.                 }
  2348.                 // line 555
  2349.                 yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td class=\"d-none d-lg-table-cell\">";
  2350.                 yield CoreExtension::getAttribute($this->env$this->source$context["pr"], "displayDetails", [], "any"falsefalsefalse555);
  2351.                 yield "</td>
  2352. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td class=\"d-none d-lg-table-cell\">";
  2353.                 // line 556
  2354.                 yield CoreExtension::getAttribute($this->env$this->source$context["pr"], "notes", [], "any"falsefalsefalse556);
  2355.                 yield "</td>
  2356. \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 d-table-cell d-lg-none\"><a href=\"javascript: productRequestSheet(";
  2357.                 // line 557
  2358.                 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source$context["pr"], "id", [], "any"falsefalsefalse557), "html"nulltrue);
  2359.                 yield ")\" data-bs-toggle=\"tooltip\" title=\"Scheda\"><img class=\"icon_pr\" src=\"";
  2360.                 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.'557$this->source); })())), "html"nulltrue);
  2361.                 yield "\"></a></td>
  2362. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
  2363.                 // line 558
  2364.                 if (((isset($context["tabAction"]) || array_key_exists("tabAction"$context) ? $context["tabAction"] : (function () { throw new RuntimeError('Variable "tabAction" does not exist.'558$this->source); })()) == "delete")) {
  2365.                     // line 559
  2366.                     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(";
  2367.                     yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source$context["pr"], "id", [], "any"falsefalsefalse559), "html"nulltrue);
  2368.                     yield ")\" data-bs-toggle=\"tooltip\" title=\"Elimina\"><img class=\"icon_red\" src=\"";
  2369.                     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.'559$this->source); })())), "html"nulltrue);
  2370.                     yield "\"></a></td>
  2371. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
  2372.                 } elseif ((                // line 560
  2373. (isset($context["tabAction"]) || array_key_exists("tabAction"$context) ? $context["tabAction"] : (function () { throw new RuntimeError('Variable "tabAction" does not exist.'560$this->source); })()) == "take_charge")) {
  2374.                     // line 561
  2375.                     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(";
  2376.                     yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source$context["pr"], "id", [], "any"falsefalsefalse561), "html"nulltrue);
  2377.                     yield ")\" data-bs-toggle=\"tooltip\" title=\"Prendi in carico\"><img class=\"icon_green\" src=\"";
  2378.                     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.'561$this->source); })())), "html"nulltrue);
  2379.                     yield "\"></a></td>
  2380. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
  2381.                 } elseif ((                // line 562
  2382. (isset($context["tabAction"]) || array_key_exists("tabAction"$context) ? $context["tabAction"] : (function () { throw new RuntimeError('Variable "tabAction" does not exist.'562$this->source); })()) == "complete")) {
  2383.                     // line 563
  2384.                     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(";
  2385.                     yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source$context["pr"], "id", [], "any"falsefalsefalse563), "html"nulltrue);
  2386.                     yield ")\" data-bs-toggle=\"tooltip\" title=\"Richiesta gestita\"><img class=\"icon_green\" src=\"";
  2387.                     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.'563$this->source); })())), "html"nulltrue);
  2388.                     yield "\"></a></td>
  2389. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
  2390.                 }
  2391.                 // line 565
  2392.                 yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</tr>
  2393. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
  2394.             }
  2395.             $_parent $context['_parent'];
  2396.             unset($context['_seq'], $context['_iterated'], $context['_key'], $context['pr'], $context['_parent'], $context['loop']);
  2397.             $context array_intersect_key($context$_parent) + $_parent;
  2398.             // line 567
  2399.             yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
  2400.         } else {
  2401.             // line 568
  2402.             yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
  2403.             yield from             $this->loadTemplate("components/twig/notice_no_values.html.twig""role/user/warehouse/sheet.html.twig"568)->unwrap()->yield(CoreExtension::merge($context, ["message" => "Nessuna richiesta in questa fase"]));
  2404.             // line 569
  2405.             yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
  2406.         }
  2407.         // line 570
  2408.         yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</tbody>
  2409. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</table>
  2410. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</div>
  2411. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"col-12 navigation txt_a_r\">
  2412. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
  2413.         // line 574
  2414.         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.'574$this->source); })()));
  2415.         yield "
  2416. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</div>
  2417. \t\t\t\t\t\t\t\t\t\t\t\t\t\t</div>
  2418. \t\t\t\t\t\t\t\t\t\t\t\t\t";
  2419.         
  2420.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  2421.         
  2422.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  2423.         return; yield '';
  2424.     }
  2425.     // line 1040
  2426.     public function block_modals($context, array $blocks = [])
  2427.     {
  2428.         $macros $this->macros;
  2429.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  2430.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""modals"));
  2431.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  2432.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""modals"));
  2433.         // line 1041
  2434.         yield "\t";
  2435.         yield from         $this->loadTemplate("components/modals/filter_supplier.html.twig""role/user/warehouse/sheet.html.twig"1041)->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.'1041$this->source); })())]));
  2436.         // line 1042
  2437.         yield "\t";
  2438.         yield from         $this->loadTemplate("components/modals/filter_supplier.html.twig""role/user/warehouse/sheet.html.twig"1042)->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.'1042$this->source); })())]));
  2439.         // line 1043
  2440.         yield "\t";
  2441.         yield from         $this->loadTemplate("components/modals/filter_supplier.html.twig""role/user/warehouse/sheet.html.twig"1043)->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.'1043$this->source); })())]));
  2442.         // line 1044
  2443.         yield "\t";
  2444.         yield from         $this->loadTemplate("components/modals/filter_supplier.html.twig""role/user/warehouse/sheet.html.twig"1044)->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.'1044$this->source); })())]));
  2445.         // line 1045
  2446.         yield "
  2447. \t";
  2448.         // line 1047
  2449.         yield "\t";
  2450.         $context["editWarehouseModalBody"] = ('' === $tmp \Twig\Extension\CoreExtension::captureOutput((function () use (&$context$macros$blocks) {
  2451.             // line 1048
  2452.             yield "\t\t<input type=\"hidden\" id=\"warehouseEditId\" name=\"warehouseEditId\"/>
  2453. \t\t<div class=\"row\">
  2454. \t\t\t<div class=\"col-12 form-group\">
  2455. \t\t\t\t<label class=\"form_label\">Nome*</label>
  2456. \t\t\t\t<div ";
  2457.             // line 1052
  2458.             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.'1052$this->source); })()), "nickname", [], "any"falsefalsefalse1052), 'errors');
  2459.             yield ">
  2460. \t\t\t\t\t";
  2461.             // line 1053
  2462.             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.'1053$this->source); })()), "nickname", [], "any"falsefalsefalse1053), 'widget');
  2463.             yield "
  2464. \t\t\t\t</div>
  2465. \t\t\t</div>
  2466. \t\t\t<div class=\"col-12 form-group\">
  2467. \t\t\t\t<label class=\"form_label\">Indirizzo DDT*</label>
  2468. \t\t\t\t<div ";
  2469.             // line 1058
  2470.             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.'1058$this->source); })()), "address", [], "any"falsefalsefalse1058), 'errors');
  2471.             yield ">
  2472. \t\t\t\t\t";
  2473.             // line 1059
  2474.             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.'1059$this->source); })()), "address", [], "any"falsefalsefalse1059), 'widget');
  2475.             yield "
  2476. \t\t\t\t</div>
  2477. \t\t\t</div>
  2478. \t\t\t<div class=\"col-12 col-md-6 form-group\">
  2479. \t\t\t\t<label class=\"form_label\">Sede centrale</label>
  2480. \t\t\t\t<div ";
  2481.             // line 1064
  2482.             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.'1064$this->source); })()), "headquarter", [], "any"falsefalsefalse1064), 'errors');
  2483.             yield ">
  2484. \t\t\t\t\t<table class=\"m_none\">
  2485. \t\t\t\t\t\t<tr>
  2486. \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>
  2487. \t\t\t\t\t\t\t<td>";
  2488.             // line 1068
  2489.             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.'1068$this->source); })()), "headquarter", [], "any"falsefalsefalse1068), 'widget', ["attr" => ["class" => "switch-toggle switch-flat-mini switch-toggle-flat"]]);
  2490.             yield "<label class=\"m_auto\" for=\"";
  2491.             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.'1068$this->source); })()), "headquarter", [], "any"falsefalsefalse1068), "vars", [], "any"falsefalsefalse1068), "id", [], "any"falsefalsefalse1068), "html"nulltrue);
  2492.             yield "\"></label></td>
  2493. \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>
  2494. \t\t\t\t\t\t</tr>
  2495. \t\t\t\t\t</table>
  2496. \t\t\t\t</div>
  2497. \t\t\t</div>
  2498. \t\t\t<div class=\"col-12 col-md-6 form-group\">
  2499. \t\t\t\t<label class=\"form_label\">Magazzino mobile</label>
  2500. \t\t\t\t<div ";
  2501.             // line 1076
  2502.             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.'1076$this->source); })()), "movable", [], "any"falsefalsefalse1076), 'errors');
  2503.             yield ">
  2504. \t\t\t\t\t<table class=\"m_none\">
  2505. \t\t\t\t\t\t<tr>
  2506. \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>
  2507. \t\t\t\t\t\t\t<td>";
  2508.             // line 1080
  2509.             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.'1080$this->source); })()), "movable", [], "any"falsefalsefalse1080), 'widget', ["attr" => ["class" => "switch-toggle switch-flat-mini switch-toggle-flat"]]);
  2510.             yield "<label class=\"m_auto\" for=\"";
  2511.             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.'1080$this->source); })()), "movable", [], "any"falsefalsefalse1080), "vars", [], "any"falsefalsefalse1080), "id", [], "any"falsefalsefalse1080), "html"nulltrue);
  2512.             yield "\"></label></td>
  2513. \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>
  2514. \t\t\t\t\t\t</tr>
  2515. \t\t\t\t\t</table>
  2516. \t\t\t\t</div>
  2517. \t\t\t</div>
  2518. \t\t</div>
  2519. \t";
  2520.             return; yield '';
  2521.         })())) ? '' : new Markup($tmp$this->env->getCharset());
  2522.         // line 1088
  2523.         yield "\t";
  2524.         $context["editWarehouseScriptBody"] = ('' === $tmp \Twig\Extension\CoreExtension::captureOutput((function () use (&$context$macros$blocks) {
  2525.             return; yield '';
  2526.         })())) ? '' : new Markup($tmp$this->env->getCharset());
  2527.         // line 1089
  2528.         yield "\t";
  2529.         yield from         $this->loadTemplate("components/modals/edit.html.twig""role/user/warehouse/sheet.html.twig"1089)->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.'1089$this->source); })()), "text" => "Magazzino""modalBody" => (isset($context["editWarehouseModalBody"]) || array_key_exists("editWarehouseModalBody"$context) ? $context["editWarehouseModalBody"] : (function () { throw new RuntimeError('Variable "editWarehouseModalBody" does not exist.'1089$this->source); })()), "scriptBody" => (isset($context["editWarehouseScriptBody"]) || array_key_exists("editWarehouseScriptBody"$context) ? $context["editWarehouseScriptBody"] : (function () { throw new RuntimeError('Variable "editWarehouseScriptBody" does not exist.'1089$this->source); })()), "openModal" => "openEditModal""id" => ""]));
  2530.         
  2531.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  2532.         
  2533.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  2534.         return; yield '';
  2535.     }
  2536.     // line 1092
  2537.     public function block_javascripts($context, array $blocks = [])
  2538.     {
  2539.         $macros $this->macros;
  2540.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  2541.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""javascripts"));
  2542.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  2543.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""javascripts"));
  2544.         // line 1093
  2545.         yield from $this->yieldParentBlock("javascripts"$context$blocks);
  2546.         yield "
  2547. ";
  2548.         // line 1094
  2549.         yield from         $this->loadTemplate("components/js/upload_file_js.html.twig""role/user/warehouse/sheet.html.twig"1094)->unwrap()->yield(CoreExtension::merge($context, ["number" => "1""file" => "form_transfer_receive_file""path" => "form_transfer_receive_ddtPath"]));
  2550.         // line 1095
  2551.         yield from         $this->loadTemplate("components/js/upload_file_js.html.twig""role/user/warehouse/sheet.html.twig"1095)->unwrap()->yield(CoreExtension::merge($context, ["number" => "2""file" => "form_import_inventory_file""path" => "form_import_inventory_path"]));
  2552.         // line 1096
  2553.         yield from         $this->loadTemplate("components/js/sort_js.html.twig""role/user/warehouse/sheet.html.twig"1096)->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.'1096$this->source); })()), "sortField_0", [], "any"falsefalsefalse1096), "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.'1096$this->source); })()), "sortOrder_0", [], "any"falsefalsefalse1096), "sort_field" => "sort_field_0""sort_order" => "sort_order_0""formName" => "formFilter_0""arrowClass" => "filter_arrow_0"]));
  2554.         // line 1097
  2555.         yield from         $this->loadTemplate("components/js/sort_js.html.twig""role/user/warehouse/sheet.html.twig"1097)->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.'1097$this->source); })()), "sortField_1", [], "any"falsefalsefalse1097), "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.'1097$this->source); })()), "sortOrder_1", [], "any"falsefalsefalse1097), "sort_field" => "sort_field_1""sort_order" => "sort_order_1""formName" => "formFilter_1""arrowClass" => "filter_arrow_1"]));
  2556.         // line 1098
  2557.         yield from         $this->loadTemplate("components/js/sort_js.html.twig""role/user/warehouse/sheet.html.twig"1098)->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.'1098$this->source); })()), "sortField_2", [], "any"falsefalsefalse1098), "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.'1098$this->source); })()), "sortOrder_2", [], "any"falsefalsefalse1098), "sort_field" => "sort_field_2""sort_order" => "sort_order_2""formName" => "formFilter_2""arrowClass" => "filter_arrow_2"]));
  2558.         // line 1099
  2559.         yield from         $this->loadTemplate("components/js/sort_js.html.twig""role/user/warehouse/sheet.html.twig"1099)->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.'1099$this->source); })()), "sortField_3", [], "any"falsefalsefalse1099), "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.'1099$this->source); })()), "sortOrder_3", [], "any"falsefalsefalse1099), "sort_field" => "sort_field_3""sort_order" => "sort_order_3""formName" => "formFilter_3""arrowClass" => "filter_arrow_3"]));
  2560.         // line 1100
  2561.         yield from         $this->loadTemplate("components/js/filter_supplier_js.html.twig""role/user/warehouse/sheet.html.twig"1100)->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.'1100$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.'1100$this->source); })()), "supplier_0", [], "any"falsefalsefalse1100)]));
  2562.         // line 1101
  2563.         yield from         $this->loadTemplate("components/js/filter_supplier_js.html.twig""role/user/warehouse/sheet.html.twig"1101)->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.'1101$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.'1101$this->source); })()), "supplier_1", [], "any"falsefalsefalse1101)]));
  2564.         // line 1102
  2565.         yield from         $this->loadTemplate("components/js/filter_supplier_js.html.twig""role/user/warehouse/sheet.html.twig"1102)->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.'1102$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.'1102$this->source); })()), "supplier_1", [], "any"falsefalsefalse1102)]));
  2566.         // line 1103
  2567.         yield from         $this->loadTemplate("components/js/filter_supplier_js.html.twig""role/user/warehouse/sheet.html.twig"1103)->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.'1103$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.'1103$this->source); })()), "supplier_1", [], "any"falsefalsefalse1103)]));
  2568.         // line 1104
  2569.         yield from         $this->loadTemplate("components/js/daterangepicker_js.html.twig""role/user/warehouse/sheet.html.twig"1104)->unwrap()->yield(CoreExtension::merge($context, ["id" => "daterange1last_1""format" => "DD-MM-YYYY HH:mm"]));
  2570.         // line 1105
  2571.         yield from         $this->loadTemplate("components/js/daterangepicker_js.html.twig""role/user/warehouse/sheet.html.twig"1105)->unwrap()->yield(CoreExtension::merge($context, ["id" => "daterange1last_2""format" => "DD-MM-YYYY HH:mm"]));
  2572.         // line 1106
  2573.         yield from         $this->loadTemplate("components/js/daterangepicker_js.html.twig""role/user/warehouse/sheet.html.twig"1106)->unwrap()->yield(CoreExtension::merge($context, ["id" => "daterange1last_3""format" => "DD-MM-YYYY HH:mm"]));
  2574.         // line 1107
  2575.         yield from         $this->loadTemplate("components/js/daterangepicker_js.html.twig""role/user/warehouse/sheet.html.twig"1107)->unwrap()->yield(CoreExtension::merge($context, ["id" => "daterange2creation_1""format" => "DD-MM-YYYY HH:mm"]));
  2576.         // line 1108
  2577.         yield from         $this->loadTemplate("components/js/daterangepicker_js.html.twig""role/user/warehouse/sheet.html.twig"1108)->unwrap()->yield(CoreExtension::merge($context, ["id" => "daterange2send_1""format" => "DD-MM-YYYY HH:mm"]));
  2578.         // line 1109
  2579.         yield from         $this->loadTemplate("components/js/daterangepicker_js.html.twig""role/user/warehouse/sheet.html.twig"1109)->unwrap()->yield(CoreExtension::merge($context, ["id" => "daterange2completion_1""format" => "DD-MM-YYYY HH:mm"]));
  2580.         // line 1110
  2581.         yield from         $this->loadTemplate("components/js/daterangepicker_js.html.twig""role/user/warehouse/sheet.html.twig"1110)->unwrap()->yield(CoreExtension::merge($context, ["id" => "daterange2creation_2""format" => "DD-MM-YYYY HH:mm"]));
  2582.         // line 1111
  2583.         yield from         $this->loadTemplate("components/js/daterangepicker_js.html.twig""role/user/warehouse/sheet.html.twig"1111)->unwrap()->yield(CoreExtension::merge($context, ["id" => "daterange2send_2""format" => "DD-MM-YYYY HH:mm"]));
  2584.         // line 1112
  2585.         yield from         $this->loadTemplate("components/js/daterangepicker_js.html.twig""role/user/warehouse/sheet.html.twig"1112)->unwrap()->yield(CoreExtension::merge($context, ["id" => "daterange2completion_2""format" => "DD-MM-YYYY HH:mm"]));
  2586.         // line 1113
  2587.         yield from         $this->loadTemplate("components/js/daterangepicker_js.html.twig""role/user/warehouse/sheet.html.twig"1113)->unwrap()->yield(CoreExtension::merge($context, ["id" => "daterange2creation_3""format" => "DD-MM-YYYY HH:mm"]));
  2588.         // line 1114
  2589.         yield from         $this->loadTemplate("components/js/daterangepicker_js.html.twig""role/user/warehouse/sheet.html.twig"1114)->unwrap()->yield(CoreExtension::merge($context, ["id" => "daterange2send_3""format" => "DD-MM-YYYY HH:mm"]));
  2590.         // line 1115
  2591.         yield from         $this->loadTemplate("components/js/daterangepicker_js.html.twig""role/user/warehouse/sheet.html.twig"1115)->unwrap()->yield(CoreExtension::merge($context, ["id" => "daterange2completion_3""format" => "DD-MM-YYYY HH:mm"]));
  2592.         // line 1116
  2593.         yield from         $this->loadTemplate("components/js/daterangepicker_js.html.twig""role/user/warehouse/sheet.html.twig"1116)->unwrap()->yield(CoreExtension::merge($context, ["id" => "daterange3_1""format" => "DD-MM-YYYY HH:mm"]));
  2594.         // line 1117
  2595.         yield from         $this->loadTemplate("components/js/daterangepicker_js.html.twig""role/user/warehouse/sheet.html.twig"1117)->unwrap()->yield(CoreExtension::merge($context, ["id" => "daterange3_2""format" => "DD-MM-YYYY HH:mm"]));
  2596.         // line 1118
  2597.         yield from         $this->loadTemplate("components/js/daterangepicker_js.html.twig""role/user/warehouse/sheet.html.twig"1118)->unwrap()->yield(CoreExtension::merge($context, ["id" => "daterange3_3""format" => "DD-MM-YYYY HH:mm"]));
  2598.         // line 1119
  2599.         yield "<script>
  2600. \t\$(document).ready(function(){
  2601. \t\t// Inventory
  2602. \t\t";
  2603.         // line 1122
  2604.         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.'1122$this->source); })()), "session", [], "any"falsefalsefalse1122), "get", ["openStockInventoryModal"], "method"falsefalsefalse1122)) {
  2605.             // line 1123
  2606.             yield "\t\t\tstockInventory();
  2607. \t\t\t";
  2608.             // line 1124
  2609.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(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.'1124$this->source); })()), "session", [], "any"falsefalsefalse1124), "remove", ["openStockInventoryModal"], "method"falsefalsefalse1124), "html"nulltrue);
  2610.             yield "
  2611. \t\t";
  2612.         }
  2613.         // line 1126
  2614.         yield "\t\t// Receive
  2615. \t\t";
  2616.         // line 1127
  2617.         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.'1127$this->source); })()), "session", [], "any"falsefalsefalse1127), "get", ["openTransferReceiveModal"], "method"falsefalsefalse1127)) {
  2618.             // line 1128
  2619.             yield "\t\t\ttransferReceive();
  2620. \t\t\t";
  2621.             // line 1129
  2622.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(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.'1129$this->source); })()), "session", [], "any"falsefalsefalse1129), "remove", ["openTransferReceiveModal"], "method"falsefalsefalse1129), "html"nulltrue);
  2623.             yield "
  2624. \t\t";
  2625.         }
  2626.         // line 1131
  2627.         yield "\t\t// Invia
  2628. \t\t";
  2629.         // line 1132
  2630.         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.'1132$this->source); })()), "session", [], "any"falsefalsefalse1132), "get", ["openTransferSendModal"], "method"falsefalsefalse1132)) {
  2631.             // line 1133
  2632.             yield "\t\t\ttransferSend();
  2633. \t\t\t";
  2634.             // line 1134
  2635.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(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.'1134$this->source); })()), "session", [], "any"falsefalsefalse1134), "remove", ["openTransferSendModal"], "method"falsefalsefalse1134), "html"nulltrue);
  2636.             yield "
  2637. \t\t";
  2638.         }
  2639.         // line 1136
  2640.         yield "\t\t";
  2641.         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.'1136$this->source); })()), "session", [], "any"falsefalsefalse1136), "get", ["transferStocksIds"], "method"falsefalsefalse1136)) {
  2642.             // line 1137
  2643.             yield "\t\t\t";
  2644.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(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.'1137$this->source); })()), "session", [], "any"falsefalsefalse1137), "remove", ["transferStocksIds"], "method"falsefalsefalse1137), "html"nulltrue);
  2645.             yield "
  2646. \t\t";
  2647.         }
  2648.         // line 1139
  2649.         yield "
  2650. \t\tvar dateRanges1last = document.getElementsByClassName('daterange1last');
  2651. \t\t";
  2652.         // line 1141
  2653.         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.'1141$this->source); })()), "dateLastTransfer_1", [], "any"falsefalsefalse1141) != 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.'1141$this->source); })()), "dateLastTransfer_1", [], "any"falsefalsefalse1141) != ""))) {
  2654.             // line 1142
  2655.             yield "\t\t\tfor(i=0; i<dateRanges1last.length; i++){
  2656. \t\t\t\tdateRanges1last[i].value = \"";
  2657.             // line 1143
  2658.             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.'1143$this->source); })()), "dateLastTransfer_1", [], "any"falsefalsefalse1143), "html"nulltrue);
  2659.             yield "\";
  2660. \t\t\t}
  2661. \t\t";
  2662.         } else {
  2663.             // line 1146
  2664.             yield "\t\t\tfor(i=0; i<dateRanges1last.length; i++){
  2665. \t\t\t\tdateRanges1last[i].value = \"\";
  2666. \t\t\t}
  2667. \t\t";
  2668.         }
  2669.         // line 1150
  2670.         yield "
  2671. \t\tvar dateRanges2creation = document.getElementsByClassName('daterange2creation');
  2672. \t\t";
  2673.         // line 1152
  2674.         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.'1152$this->source); })()), "datetimeCreation_2", [], "any"falsefalsefalse1152) != 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.'1152$this->source); })()), "datetimeCreation_2", [], "any"falsefalsefalse1152) != ""))) {
  2675.             // line 1153
  2676.             yield "\t\t\tfor(i=0; i<dateRanges2creation.length; i++){
  2677. \t\t\t\tdateRanges2creation[i].value = \"";
  2678.             // line 1154
  2679.             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.'1154$this->source); })()), "datetimeCreation_2", [], "any"falsefalsefalse1154), "html"nulltrue);
  2680.             yield "\";
  2681. \t\t\t}
  2682. \t\t";
  2683.         } else {
  2684.             // line 1157
  2685.             yield "\t\t\tfor(i=0; i<dateRanges2creation.length; i++){
  2686. \t\t\t\tdateRanges2creation[i].value = \"\";
  2687. \t\t\t}
  2688. \t\t";
  2689.         }
  2690.         // line 1161
  2691.         yield "\t\t
  2692. \t\tvar dateRanges2send = document.getElementsByClassName('daterange2send');
  2693. \t\t";
  2694.         // line 1163
  2695.         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.'1163$this->source); })()), "datetimeSend_2", [], "any"falsefalsefalse1163) != 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.'1163$this->source); })()), "datetimeSend_2", [], "any"falsefalsefalse1163) != ""))) {
  2696.             // line 1164
  2697.             yield "\t\t\tfor(i=0; i<dateRanges2send.length; i++){
  2698. \t\t\t\tdateRanges2send[i].value = \"";
  2699.             // line 1165
  2700.             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.'1165$this->source); })()), "datetimeSend_2", [], "any"falsefalsefalse1165), "html"nulltrue);
  2701.             yield "\";
  2702. \t\t\t}
  2703. \t\t";
  2704.         } else {
  2705.             // line 1168
  2706.             yield "\t\t\tfor(i=0; i<dateRanges2send.length; i++){
  2707. \t\t\t\tdateRanges2send[i].value = \"\";
  2708. \t\t\t}
  2709. \t\t";
  2710.         }
  2711.         // line 1172
  2712.         yield "\t\t
  2713. \t\tvar dateRanges2completion = document.getElementsByClassName('daterange2completion');
  2714. \t\t";
  2715.         // line 1174
  2716.         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.'1174$this->source); })()), "datetimeCompletion_2", [], "any"falsefalsefalse1174) != 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.'1174$this->source); })()), "datetimeCompletion_2", [], "any"falsefalsefalse1174) != ""))) {
  2717.             // line 1175
  2718.             yield "\t\t\tfor(i=0; i<dateRanges2completion.length; i++){
  2719. \t\t\t\tdateRanges2completion[i].value = \"";
  2720.             // line 1176
  2721.             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.'1176$this->source); })()), "datetimeCompletion_2", [], "any"falsefalsefalse1176), "html"nulltrue);
  2722.             yield "\";
  2723. \t\t\t}
  2724. \t\t";
  2725.         } else {
  2726.             // line 1179
  2727.             yield "\t\t\tfor(i=0; i<dateRanges2completion.length; i++){
  2728. \t\t\t\tdateRanges2completion[i].value = \"\";
  2729. \t\t\t}
  2730. \t\t";
  2731.         }
  2732.         // line 1183
  2733.         yield "
  2734. \t\tvar dateRanges3 = document.getElementsByClassName('daterange3');
  2735. \t\t";
  2736.         // line 1185
  2737.         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.'1185$this->source); })()), "date_3", [], "any"falsefalsefalse1185) != 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.'1185$this->source); })()), "date_3", [], "any"falsefalsefalse1185) != ""))) {
  2738.             // line 1186
  2739.             yield "\t\t\tfor(i=0; i<dateRanges3.length; i++){
  2740. \t\t\t\tdateRanges3[i].value = \"";
  2741.             // line 1187
  2742.             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.'1187$this->source); })()), "date_3", [], "any"falsefalsefalse1187), "html"nulltrue);
  2743.             yield "\";
  2744. \t\t\t}
  2745. \t\t";
  2746.         } else {
  2747.             // line 1190
  2748.             yield "\t\t\tfor(i=0; i<dateRanges3.length; i++){
  2749. \t\t\t\tdateRanges3[i].value = \"\";
  2750. \t\t\t}
  2751. \t\t";
  2752.         }
  2753.         // line 1194
  2754.         yield "\t});
  2755. \tfunction selectAll(index, tab){
  2756. \t\tvar checkboxes = document.getElementsByClassName('stock_' + index + '_checkbox');
  2757. \t\tvar isSelect = document.getElementById('stock_' + index + '_all_checkboxes').checked;
  2758. \t\tfor(i=0; i<checkboxes.length; i++)
  2759. \t\t\tcheckboxes[i].checked = isSelect;
  2760. \t\tupdateButtons(index, tab);
  2761. \t}
  2762. \t
  2763. \tfunction updateButtons(index, tab){
  2764. \t\tvar inputSelectAll = document.getElementById('stock_' + index + '_all_checkboxes');
  2765. \t\tvar checkboxes = document.getElementsByClassName('stock_' + index + '_checkbox');
  2766. \t\tvar buttonCondition = document.getElementById('button_' + index + '_condition');
  2767. \t\tif(tab == 's_to_manage')
  2768. \t\t\tvar buttonManaged = document.getElementById('button_' + index + '_managed');
  2769. \t\t";
  2770.         // line 1210
  2771.         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.'1210$this->source); })()), "user", [], "any"falsefalsefalse1210), "getAccountTypology", [], "any"falsefalsefalse1210) != "technician")) {
  2772.             // line 1211
  2773.             yield "\t\t\tif(tab == 's_to_manage' || tab == 's_available' || tab == 's_not_available')
  2774. \t\t\t\tvar buttonSupplier = document.getElementById('button_' + index + '_supplier');
  2775. \t\t";
  2776.         }
  2777.         // line 1214
  2778.         yield "\t\tif(tab == 's_available' || tab == 's_not_available')
  2779. \t\t\tvar buttonSend = document.getElementById('button_' + index + '_send');
  2780. \t\tvar isAllSelected = true;
  2781. \t\tconst array = [];
  2782. \t\tfor(i=0; i<checkboxes.length; i++){
  2783. \t\t\tif(checkboxes[i].checked){
  2784. \t\t\t\tarray.push(checkboxes[i].value);
  2785. \t\t\t}
  2786. \t\t\telse
  2787. \t\t\t\tisAllSelected = false;
  2788. \t\t}
  2789. \t\t
  2790. \t\tif(!isAllSelected)
  2791. \t\t\tinputSelectAll.checked = false;
  2792. \t\t
  2793. \t\tif(array.length > 0){
  2794. \t\t\tbuttonCondition.className = \"button button-3d button-mini button-green f_right m_b_10p\";
  2795. \t\t\tbuttonCondition.href = \"javascript: sendAction('condition', \" + index + \", '\" + tab + \"')\";
  2796. \t\t\tif(tab == 's_to_manage'){
  2797. \t\t\t\tbuttonManaged.className = \"button button-3d button-mini button-green f_right m_b_10p\";
  2798. \t\t\t\tbuttonManaged.href = \"javascript: sendAction('managed', \" + index + \", '\" + tab + \"')\";
  2799. \t\t\t}
  2800. \t\t\t";
  2801.         // line 1237
  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.'1237$this->source); })()), "user", [], "any"falsefalsefalse1237), "getAccountTypology", [], "any"falsefalsefalse1237) != "technician")) {
  2803.             // line 1238
  2804.             yield "\t\t\t\tif(tab == 's_to_manage' || tab == 's_available' || tab == 's_not_available'){
  2805. \t\t\t\t\tbuttonSupplier.className = \"button button-3d button-mini button-green f_right m_b_10p\";
  2806. \t\t\t\t\tbuttonSupplier.href = \"javascript: sendAction('supplier', \" + index + \", '\" + tab + \"')\";
  2807. \t\t\t\t}
  2808. \t\t\t";
  2809.         }
  2810.         // line 1243
  2811.         yield "\t\t\tif(tab == 's_available' || tab == 's_not_available'){
  2812. \t\t\t\tbuttonSend.className = \"button button-3d button-mini button-green f_right m_b_10p\";
  2813. \t\t\t\tbuttonSend.href = \"javascript: sendAction('send', \" + index + \", '\" + tab + \"')\";
  2814. \t\t\t}
  2815. \t\t}
  2816. \t\telse{
  2817. \t\t\tbuttonCondition.className = \"button button-3d button-mini button-grey f_right m_b_10p\";
  2818. \t\t\tbuttonCondition.href = \"javascript: void(0)\";
  2819. \t\t\tif(tab == 's_to_manage'){
  2820. \t\t\t\tbuttonManaged.className = \"button button-3d button-mini button-grey f_right m_b_10p\";
  2821. \t\t\t\tbuttonManaged.href = \"javascript: void(0)\";
  2822. \t\t\t}
  2823. \t\t\t";
  2824.         // line 1255
  2825.         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.'1255$this->source); })()), "user", [], "any"falsefalsefalse1255), "getAccountTypology", [], "any"falsefalsefalse1255) != "technician")) {
  2826.             // line 1256
  2827.             yield "\t\t\t\tif(tab == 's_to_manage' || tab == 's_available' || tab == 's_not_available'){
  2828. \t\t\t\t\tbuttonSupplier.className = \"button button-3d button-mini button-grey f_right m_b_10p\";
  2829. \t\t\t\t\tbuttonSupplier.href = \"javascript: void(0)\";
  2830. \t\t\t\t}
  2831. \t\t\t";
  2832.         }
  2833.         // line 1261
  2834.         yield "\t\t\tif(tab == 's_available' || tab == 's_not_available'){
  2835. \t\t\t\tbuttonSend.className = \"button button-3d button-mini button-grey f_right m_b_10p\";
  2836. \t\t\t\tbuttonSend.href = \"javascript: void(0)\";
  2837. \t\t\t}
  2838. \t\t}
  2839. \t}
  2840. \tfunction sendAction(action, index, tab){
  2841. \t\tvar checkboxes = document.getElementsByClassName('stock_' + index + '_checkbox');
  2842. \t\tconst array = [];
  2843. \t\tfor(i=0; i<checkboxes.length; i++){
  2844. \t\t\tif(checkboxes[i].checked)
  2845. \t\t\t\tarray.push(checkboxes[i].value);
  2846. \t\t}
  2847. \t\tswitch(action){
  2848. \t\t\tcase 'managed':
  2849. \t\t\t\tdocument.getElementById('managedStocksIds').value = array;
  2850. \t\t\t\tdocument.getElementById('managedAction').value = action;
  2851. \t\t\t\t\$('#stockManagedModal').modal({backdrop: 'static', keyboard: false}).modal(\"show\");
  2852. \t\t\t\tbreak;
  2853. \t\t\tcase 'supplier':
  2854. \t\t\t\tvar checkboxes = document.getElementsByClassName('supplier_checkboxes');
  2855. \t\t\t\tfor(i=0; i<checkboxes.length; i++){
  2856. \t\t\t\t\tcheckboxes[i].removeAttribute(\"checked\");
  2857. \t\t\t\t\tcheckboxes[i].checked = false;
  2858. \t\t\t\t}
  2859. \t\t\t\tdocument.getElementById('supplierStocksIds').value = array;
  2860. \t\t\t\tdocument.getElementById('supplierAction').value = action;
  2861. \t\t\t\t\$('#stockSupplierModal').modal({backdrop: 'static', keyboard: false}).modal(\"show\");
  2862. \t\t\t\tbreak;
  2863. \t\t\tcase 'condition':
  2864. \t\t\t\tdocument.getElementById('conditionAction').value = action;
  2865. \t\t\t\tdocument.getElementById('conditionStocksIds').value = array;
  2866. \t\t\t\tswitch(index){
  2867. \t\t\t\t\tcase 0: document.getElementById('stockTab').value = 'to_manage'; break;
  2868. \t\t\t\t\tcase 1: document.getElementById('stockTab').value = 'available'; break;
  2869. \t\t\t\t\tcase 2: document.getElementById('stockTab').value = 'not_available'; break;
  2870. \t\t\t\t\tdefault: break;
  2871. \t\t\t\t}
  2872. \t\t\t\t\$('#stockConditionModal').modal({backdrop: 'static', keyboard: false}).modal(\"show\");
  2873. \t\t\t\tbreak;
  2874. \t\t\tcase 'send':
  2875. \t\t\t\tvar a = document.getElementById('a_send_technician');
  2876. \t\t\t\tif(tab == 's_not_available'){
  2877. \t\t\t\t\ta.href = \"javascript: void(0)\";
  2878. \t\t\t\t\ta.className = \"button button-3d button-mini button-grey width_200p txt_a_c\";
  2879. \t\t\t\t}
  2880. \t\t\t\telse{
  2881. \t\t\t\t\ta.href = \"javascript: transferSendSetType('technician')\";
  2882. \t\t\t\t\ta.className = \"button button-3d button-mini button-pr width_200p txt_a_c\";
  2883. \t\t\t\t}
  2884. \t\t\t\tdocument.getElementById('form_transfer_send_sendStocksIds').value = array;
  2885. \t\t\t\ttransferSend();
  2886. \t\t\t\tbreak;
  2887. \t\t\tdefault: break;
  2888. \t\t}
  2889. \t}
  2890. \tfunction checkSubmit(action){
  2891. \t\tswitch(action){
  2892. \t\t\tcase 'managed':
  2893. \t\t\t\ttriggerLoading();
  2894. \t\t\t\t\$('#formManaged').submit();
  2895. \t\t\t\tbreak;
  2896. \t\t\tcase 'supplier':
  2897. \t\t\t\tvar valid = false;
  2898. \t\t\t\tvar checkboxes = document.getElementsByClassName('supplier_checkboxes');
  2899. \t\t\t\tfor(i=0; i<checkboxes.length; i++){
  2900. \t\t\t\t\tif(checkboxes[i].checked){
  2901. \t\t\t\t\t\tvalid = true;
  2902. \t\t\t\t\t\tbreak;
  2903. \t\t\t\t\t}
  2904. \t\t\t\t}
  2905. \t\t\t\tif(valid){
  2906. \t\t\t\t\ttriggerLoading();
  2907. \t\t\t\t\t\$('#formSupplier').submit();
  2908. \t\t\t\t}
  2909. \t\t\t\telse{
  2910. \t\t\t\t\tvar divError = document.getElementById('divErrorSupplier');
  2911. \t\t\t\t\tdivError.className = 'error';
  2912. \t\t\t\t\tdivError.children[0].setAttribute('data-bs-toggle', 'tooltip');
  2913. \t\t\t\t\tdivError.children[0].setAttribute('title', 'Campo obbligatorio');
  2914. \t\t\t\t}
  2915. \t\t\t\tbreak;
  2916. \t\t\tcase 'condition':
  2917. \t\t\t\tif(document.getElementById('select_product_condition').value != 0){
  2918. \t\t\t\t\ttriggerLoading();
  2919. \t\t\t\t\t\$('#formCondition').submit();
  2920. \t\t\t\t}
  2921. \t\t\t\telse{
  2922. \t\t\t\t\tvar divError = document.getElementById('divErrorCondition');
  2923. \t\t\t\t\tdivError.className = 'error';
  2924. \t\t\t\t\tdivError.children[0].setAttribute('data-bs-toggle', 'tooltip');
  2925. \t\t\t\t\tdivError.children[0].setAttribute('title', 'Campo obbligatorio');
  2926. \t\t\t\t}
  2927. \t\t\t\tbreak;
  2928. \t\t\tdefault: break;
  2929. \t\t}
  2930. \t\t\$('[data-bs-toggle=\"tooltip\"]').tooltip();
  2931. \t}
  2932. \tfunction stockInventory(){
  2933. \t\t\$('#stockInventoryModal').modal({backdrop: 'static', keyboard: false}).modal(\"show\");
  2934. \t}
  2935. \t// RICEVI MATERIALE
  2936. \t\$('#form_transfer_receive_date').datepicker({ autoclose: true, todayHighlight: true, format: \"dd-mm-yyyy\", startDate: \"today\" });
  2937.     function transferReceive(){
  2938.         \$('#transferReceiveModal').modal({backdrop: 'static', keyboard: false}).modal(\"show\");
  2939.     }
  2940. \tfunction tranferReceiveShowHideDDT(){
  2941. \t\tif(document.getElementById('form_transfer_receive_ddtMandatory').checked == true){
  2942. \t\t\tdocument.getElementById('row_receive_ddt').style.display = 'flex';
  2943. \t\t}
  2944. \t\telse{
  2945. \t\t\tdocument.getElementById('row_receive_ddt').style.display = 'none';
  2946. \t\t}
  2947. \t}
  2948. \t// INVIA MATERIALE
  2949. \t\$('#form_transfer_send_date').datepicker({ autoclose: true, todayHighlight: true, format: \"dd-mm-yyyy\", startDate: \"today\" });
  2950.     function transferSend(){
  2951. \t\tdocument.getElementById('form_transfer_send_productRequestId').value = '';
  2952. \t\tdocument.getElementById('row_select_type').style.display = 'flex';
  2953. \t\tdocument.getElementById('row_warehouse_select').style.display = 'block';
  2954. \t\tdocument.getElementById('row_warehouse_selected').style.display = 'none';
  2955. \t\tdocument.getElementById('row_send_data').className = 'row m_t_30p';
  2956.         \$('#transferSendModal').modal({backdrop: 'static', keyboard: false}).modal(\"show\");
  2957.     }
  2958. \t
  2959. \tfunction transferSendSetType(type){
  2960. \t\tdocument.getElementById('form_transfer_send_type').value = type;
  2961. \t\t\$.post('";
  2962.         // line 1397
  2963.         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.'1397$this->source); })()), "id", [], "any"falsefalsefalse1397)]), "html"nulltrue);
  2964.         yield "', {type: type}, function(response){ 
  2965. \t\t\tif(response.code == 200 && response.success){
  2966. \t\t\t\tswitch(type){
  2967. \t\t\t\t\tcase 'technician': 
  2968. \t\t\t\t\t\tupdateTechnicianWarehouses();
  2969. \t\t\t\t\t\tdocument.getElementById('span_send_type').innerHTML = 'Tecnico';
  2970. \t\t\t\t\t\tdocument.getElementById('div_send_supplier').style.display = 'none';
  2971. \t\t\t\t\t\tdocument.getElementById('div_send_ddt_mandatory').style.display = 'block';
  2972. \t\t\t\t\t\tdocument.getElementById('row_user_to_select').style.display = 'block';
  2973. \t\t\t\t\t\t";
  2974.         // line 1406
  2975.         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.'1406$this->source); })()), "headquarter", [], "any"falsefalsefalse1406) == 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.'1406$this->source); })()), "user", [], "any"falsefalsefalse1406), "getAccountTypology", [], "any"falsefalsefalse1406) != "technician"))) {
  2976.             // line 1407
  2977.             yield "\t\t\t\t\t\t\tdocument.getElementById('row_user_from_select').style.display = 'block';
  2978. \t\t\t\t\t\t";
  2979.         }
  2980.         // line 1409
  2981.         yield "\t\t\t\t\t\tbreak;
  2982. \t\t\t\t\tcase 'destination':
  2983. \t\t\t\t\t\tdocument.getElementById('span_send_type').innerHTML = 'Destinazione esterna';
  2984. \t\t\t\t\t\tdocument.getElementById('div_send_supplier').style.display = 'block';
  2985. \t\t\t\t\t\tdocument.getElementById('div_send_ddt_mandatory').style.display = 'none';
  2986. \t\t\t\t\t\tdocument.getElementById('row_user_to_select').style.display = 'none';
  2987. \t\t\t\t\t\tbreak;
  2988. \t\t\t\t\tcase 'main':
  2989. \t\t\t\t\t\tdocument.getElementById('span_send_type').innerHTML = 'Sede centrale';
  2990. \t\t\t\t\t\tdocument.getElementById('div_send_supplier').style.display = 'none';
  2991. \t\t\t\t\t\tdocument.getElementById('div_send_ddt_mandatory').style.display = 'none';
  2992. \t\t\t\t\t\tdocument.getElementById('row_user_to_select').style.display = 'none';
  2993. \t\t\t\t\t\t";
  2994.         // line 1421
  2995.         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.'1421$this->source); })()), "headquarter", [], "any"falsefalsefalse1421) == 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.'1421$this->source); })()), "user", [], "any"falsefalsefalse1421), "getAccountTypology", [], "any"falsefalsefalse1421) != "technician"))) {
  2996.             // line 1422
  2997.             yield "\t\t\t\t\t\t\tdocument.getElementById('row_user_from_select').style.display = 'block';
  2998. \t\t\t\t\t\t";
  2999.         }
  3000.         // line 1424
  3001.         yield "\t\t\t\t\t\tbreak;
  3002. \t\t\t\t\tdefault: break;
  3003. \t\t\t\t}
  3004. \t\t\t\tvar select = document.getElementById('form_transfer_send_warehouse');
  3005. \t\t\t\twhile(select.options.length){
  3006. \t\t\t\t\tselect.remove(0);
  3007. \t\t\t\t}
  3008. \t\t\t\tvar warehouses = JSON.parse(response.warehouses);
  3009. \t\t\t\tfor(var i = 0; i < warehouses.length; i++){
  3010. \t\t\t\t\tvar option = new Option(warehouses[i]['nickname'], warehouses[i]['id']);
  3011. \t\t\t\t\tselect.options.add(option);
  3012. \t\t\t\t}
  3013. \t\t\t\tdocument.getElementById('row_send_data').style.display = 'flex';
  3014. \t\t\t\tdocument.getElementById('button_send_submit').className = 'button button-3d button-mini button-green f_right';
  3015. \t\t\t\tdocument.getElementById('button_send_submit').href = 'javascript: transferSendSubmit()';
  3016. \t\t\t}
  3017. \t\t}, \"json\");
  3018. \t}
  3019. \tfunction showHideDivestment(){
  3020. \t\tvar select = document.getElementById('form_transfer_send_supplier');
  3021. \t\tvar options = select.children;
  3022. \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')
  3023. \t\t\tdocument.getElementById('div_send_divestment').style.display = 'block';
  3024. \t\telse
  3025. \t\t\tdocument.getElementById('div_send_divestment').style.display = 'none';
  3026. \t}
  3027. \tfunction updateTechnicianWarehouses(){
  3028. \t\ttechnicianId = document.getElementById('form_transfer_send_userTo').value;
  3029. \t\t\$.post('";
  3030.         // line 1455
  3031.         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.'1455$this->source); })()), "id", [], "any"falsefalsefalse1455)]), "html"nulltrue);
  3032.         yield "', {technicianId: technicianId}, function(response){ 
  3033. \t\t\tif(response.code == 200 && response.success){
  3034. \t\t\t\tvar select = document.getElementById('form_transfer_send_warehouse');
  3035. \t\t\t\twhile(select.options.length){
  3036. \t\t\t\t\tselect.remove(0);
  3037. \t\t\t\t}
  3038. \t\t\t\tvar warehouses = JSON.parse(response.warehouses);
  3039. \t\t\t\tfor(var i = 0; i < warehouses.length; i++){
  3040. \t\t\t\t\tvar option = new Option(warehouses[i]['nickname'], warehouses[i]['id']);
  3041. \t\t\t\t\tselect.options.add(option);
  3042. \t\t\t\t}
  3043. \t\t\t\tdocument.getElementById('row_send_data').style.display = 'flex';
  3044. \t\t\t}
  3045. \t\t}, \"json\");
  3046. \t}
  3047. \tfunction transferSendSubmit(){
  3048. \t\t\$('#formSend').submit();
  3049. \t}
  3050.     function transferDelete(id){
  3051.         document.getElementById(\"transferDeleteId\").value = id;
  3052.         \$('#transferDeleteModal').modal({backdrop: 'static', keyboard: false}).modal(\"show\");
  3053.     }
  3054. \t
  3055. \t// GESTISCI RICHIESTE TECNICI
  3056. \tfunction productRequestSheet(id){
  3057. \t\tdocument.getElementById('request_sheet_datetime').innerHTML = document.getElementById('request_' + id + '_datetime').innerHTML;
  3058. \t\tdocument.getElementById('request_sheet_technician').innerHTML = document.getElementById('request_' + id + '_technician').innerHTML;
  3059. \t\tdocument.getElementById('request_sheet_warehouse').innerHTML = document.getElementById('request_' + id + '_warehouse').innerHTML;
  3060. \t\tdocument.getElementById('request_sheet_warehouse_headquarter').innerHTML = document.getElementById('request_' + id + '_warehouse_headquarter').innerHTML;
  3061. \t\tdocument.getElementById('request_sheet_details').innerHTML = document.getElementById('request_' + id + '_details').value;
  3062. \t\tdocument.getElementById('request_sheet_notes').innerHTML = document.getElementById('request_' + id + '_notes').value;
  3063. \t\t\$('#productRequestSheetModal').modal({backdrop: 'static', keyboard: false}).modal(\"show\");
  3064. \t}
  3065. \tfunction productRequestDelete(id){
  3066. \t\tdocument.getElementById('product_request_delete_id').value = id;
  3067. \t\t\$('#productRequestDeleteModal').modal({backdrop: 'static', keyboard: false}).modal(\"show\");
  3068. \t}
  3069. \t";
  3070.         // line 1497
  3071.         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.'1497$this->source); })()), "headquarter", [], "any"falsefalsefalse1497)) {
  3072.             // line 1498
  3073.             yield "\t\tfunction productRequestTakeCharge(id){
  3074. \t\t\tdocument.getElementById('product_request_take_charge_id').value = id;
  3075. \t\t\t\$('#productRequestTakeChargeModal').modal({backdrop: 'static', keyboard: false}).modal(\"show\");
  3076. \t\t}
  3077. \t\t
  3078. \t\tfunction productRequestManaged(id){
  3079. \t\t\tdocument.getElementById('product_request_managed_id').value = id;
  3080. \t\t\t\$('#productRequestManagedModal').modal({backdrop: 'static', keyboard: false}).modal(\"show\");
  3081. \t\t}
  3082. \t";
  3083.         }
  3084.         // line 1508
  3085.         yield "</script>
  3086. ";
  3087.         
  3088.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  3089.         
  3090.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  3091.         return; yield '';
  3092.     }
  3093.     /**
  3094.      * @codeCoverageIgnore
  3095.      */
  3096.     public function getTemplateName()
  3097.     {
  3098.         return "role/user/warehouse/sheet.html.twig";
  3099.     }
  3100.     /**
  3101.      * @codeCoverageIgnore
  3102.      */
  3103.     public function isTraitable()
  3104.     {
  3105.         return false;
  3106.     }
  3107.     /**
  3108.      * @codeCoverageIgnore
  3109.      */
  3110.     public function getDebugInfo()
  3111.     {
  3112.         return array (  3171 => 1508,  3159 => 1498,  3157 => 1497,  3112 => 1455,  3079 => 1424,  3075 => 1422,  3073 => 1421,  3059 => 1409,  3055 => 1407,  3053 => 1406,  3041 => 1397,  2903 => 1261,  2896 => 1256,  2894 => 1255,  2880 => 1243,  2873 => 1238,  2871 => 1237,  2846 => 1214,  2841 => 1211,  2839 => 1210,  2821 => 1194,  2815 => 1190,  2809 => 1187,  2806 => 1186,  2804 => 1185,  2800 => 1183,  2794 => 1179,  2788 => 1176,  2785 => 1175,  2783 => 1174,  2779 => 1172,  2773 => 1168,  2767 => 1165,  2764 => 1164,  2762 => 1163,  2758 => 1161,  2752 => 1157,  2746 => 1154,  2743 => 1153,  2741 => 1152,  2737 => 1150,  2731 => 1146,  2725 => 1143,  2722 => 1142,  2720 => 1141,  2716 => 1139,  2710 => 1137,  2707 => 1136,  2702 => 1134,  2699 => 1133,  2697 => 1132,  2694 => 1131,  2689 => 1129,  2686 => 1128,  2684 => 1127,  2681 => 1126,  2676 => 1124,  2673 => 1123,  2671 => 1122,  2666 => 1119,  2664 => 1118,  2662 => 1117,  2660 => 1116,  2658 => 1115,  2656 => 1114,  2654 => 1113,  2652 => 1112,  2650 => 1111,  2648 => 1110,  2646 => 1109,  2644 => 1108,  2642 => 1107,  2640 => 1106,  2638 => 1105,  2636 => 1104,  2634 => 1103,  2632 => 1102,  2630 => 1101,  2628 => 1100,  2626 => 1099,  2624 => 1098,  2622 => 1097,  2620 => 1096,  2618 => 1095,  2616 => 1094,  2612 => 1093,  2602 => 1092,  2590 => 1089,  2585 => 1088,  2571 => 1080,  2564 => 1076,  2551 => 1068,  2544 => 1064,  2536 => 1059,  2532 => 1058,  2524 => 1053,  2520 => 1052,  2514 => 1048,  2511 => 1047,  2508 => 1045,  2505 => 1044,  2502 => 1043,  2499 => 1042,  2496 => 1041,  2486 => 1040,  2471 => 574,  2465 => 570,  2462 => 569,  2459 => 568,  2456 => 567,  2449 => 565,  2441 => 563,  2439 => 562,  2432 => 561,  2430 => 560,  2423 => 559,  2421 => 558,  2415 => 557,  2411 => 556,  2406 => 555,  2398 => 553,  2390 => 551,  2388 => 550,  2382 => 549,  2376 => 548,  2369 => 546,  2363 => 545,  2359 => 544,  2354 => 543,  2349 => 542,  2347 => 541,  2342 => 538,  2338 => 537,  2333 => 534,  2329 => 532,  2325 => 530,  2323 => 529,  2314 => 523,  2310 => 522,  2306 => 521,  2302 => 520,  2298 => 519,  2294 => 518,  2290 => 517,  2284 => 516,  2280 => 515,  2273 => 510,  2263 => 509,  2248 => 408,  2242 => 404,  2239 => 403,  2236 => 402,  2233 => 401,  2226 => 399,  2222 => 397,  2219 => 396,  2211 => 394,  2205 => 392,  2202 => 391,  2199 => 390,  2191 => 388,  2188 => 387,  2186 => 386,  2183 => 385,  2181 => 384,  2173 => 383,  2164 => 382,  2156 => 381,  2148 => 380,  2140 => 379,  2132 => 378,  2128 => 377,  2124 => 376,  2118 => 375,  2115 => 374,  2110 => 373,  2108 => 372,  2099 => 368,  2080 => 352,  2076 => 351,  2072 => 350,  2068 => 349,  2064 => 348,  2060 => 347,  2056 => 346,  2052 => 345,  2048 => 344,  2044 => 343,  2040 => 342,  2034 => 341,  2030 => 340,  2023 => 335,  2013 => 334,  1998 => 283,  1992 => 279,  1989 => 278,  1986 => 277,  1983 => 276,  1974 => 273,  1970 => 272,  1964 => 271,  1960 => 270,  1957 => 269,  1949 => 268,  1945 => 267,  1941 => 266,  1935 => 265,  1928 => 264,  1921 => 260,  1909 => 259,  1905 => 257,  1903 => 256,  1897 => 255,  1889 => 254,  1884 => 253,  1878 => 252,  1875 => 251,  1868 => 250,  1863 => 249,  1860 => 248,  1857 => 247,  1852 => 246,  1850 => 245,  1837 => 234,  1830 => 230,  1822 => 229,  1818 => 227,  1816 => 226,  1808 => 221,  1804 => 220,  1800 => 219,  1793 => 217,  1789 => 216,  1784 => 214,  1780 => 213,  1776 => 212,  1772 => 211,  1768 => 210,  1758 => 209,  1754 => 208,  1750 => 207,  1740 => 206,  1736 => 205,  1729 => 200,  1726 => 199,  1719 => 198,  1712 => 197,  1705 => 196,  1698 => 195,  1696 => 194,  1692 => 192,  1682 => 191,  1651 => 1019,  1646 => 1016,  1623 => 995,  1618 => 992,  1595 => 971,  1590 => 968,  1550 => 929,  1530 => 911,  1523 => 907,  1518 => 904,  1502 => 889,  1491 => 887,  1487 => 886,  1472 => 874,  1467 => 871,  1452 => 857,  1442 => 853,  1434 => 852,  1430 => 850,  1426 => 849,  1414 => 840,  1409 => 837,  1385 => 815,  1380 => 812,  1372 => 806,  1364 => 801,  1360 => 800,  1347 => 792,  1339 => 787,  1327 => 780,  1321 => 776,  1318 => 775,  1315 => 774,  1312 => 773,  1310 => 772,  1306 => 771,  1299 => 767,  1295 => 766,  1283 => 757,  1279 => 756,  1271 => 751,  1267 => 750,  1259 => 745,  1255 => 744,  1243 => 735,  1238 => 732,  1232 => 728,  1226 => 724,  1224 => 723,  1214 => 716,  1209 => 713,  1201 => 707,  1185 => 694,  1181 => 693,  1177 => 692,  1169 => 687,  1165 => 686,  1150 => 676,  1143 => 672,  1135 => 667,  1131 => 666,  1123 => 661,  1119 => 660,  1110 => 654,  1105 => 651,  1097 => 645,  1081 => 632,  1077 => 631,  1073 => 630,  1065 => 625,  1061 => 624,  1053 => 619,  1049 => 618,  1040 => 612,  1035 => 609,  1027 => 602,  1015 => 594,  1012 => 593,  1009 => 592,  1006 => 591,  1004 => 590,  997 => 587,  994 => 586,  991 => 585,  988 => 584,  985 => 583,  982 => 582,  979 => 581,  977 => 580,  973 => 578,  970 => 509,  967 => 508,  964 => 507,  961 => 506,  958 => 505,  955 => 504,  952 => 503,  949 => 502,  946 => 501,  944 => 500,  931 => 496,  921 => 495,  911 => 494,  905 => 490,  899 => 488,  897 => 487,  893 => 486,  888 => 483,  885 => 482,  878 => 476,  865 => 473,  861 => 472,  857 => 471,  854 => 470,  850 => 469,  827 => 453,  820 => 449,  809 => 445,  798 => 441,  791 => 437,  784 => 432,  778 => 430,  776 => 429,  770 => 425,  759 => 417,  756 => 416,  753 => 415,  751 => 414,  747 => 412,  744 => 334,  741 => 333,  738 => 332,  736 => 331,  727 => 327,  721 => 326,  712 => 319,  701 => 311,  698 => 310,  695 => 309,  692 => 308,  689 => 307,  686 => 306,  684 => 305,  677 => 302,  674 => 301,  671 => 300,  668 => 299,  665 => 298,  662 => 297,  659 => 296,  656 => 295,  653 => 294,  650 => 293,  647 => 292,  644 => 291,  641 => 290,  639 => 289,  635 => 287,  632 => 191,  629 => 190,  626 => 189,  623 => 188,  620 => 187,  617 => 186,  614 => 185,  611 => 184,  608 => 183,  605 => 182,  602 => 181,  599 => 180,  597 => 179,  594 => 178,  586 => 173,  580 => 169,  577 => 168,  574 => 167,  571 => 166,  562 => 163,  556 => 162,  552 => 161,  546 => 160,  542 => 159,  538 => 158,  534 => 157,  528 => 156,  520 => 155,  516 => 154,  510 => 151,  504 => 150,  496 => 147,  488 => 146,  483 => 145,  477 => 144,  474 => 143,  467 => 142,  462 => 141,  459 => 140,  456 => 139,  451 => 138,  449 => 137,  422 => 113,  418 => 112,  413 => 110,  409 => 109,  405 => 108,  401 => 107,  397 => 106,  393 => 105,  389 => 104,  385 => 103,  381 => 102,  377 => 101,  371 => 100,  367 => 99,  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,);
  3113.     }
  3114.     public function getSourceContext()
  3115.     {
  3116.         return new Source("{% extends 'role/user/index.html.twig' %}
  3117. {% block title %}Magazzino - Scheda{% endblock %}
  3118. {% block pageTitleH1 %}Magazzino - Scheda{% endblock %}
  3119. {% block pageTitleBreadcrumb %}
  3120. \t<li class=\"breadcrumb-item\"><a href=\"{{ path('user_warehouse_list') }}\">Magazzini</a></li>
  3121. \t<li class=\"breadcrumb-item\"><a href=\"javascript:void(0)\">Scheda</a></li>
  3122. {% endblock %}
  3123. {% block subMenuLeft %}
  3124. \t{% if app.user.warehouses|length == 1 %}
  3125. \t\t<li class=\"nav-item\"><a class=\"nav-link\" href=\"{{ path ('user_index') }}\">Scrivania</a></li>
  3126. \t{% else %}
  3127. \t\t<li class=\"nav-item\"><a class=\"nav-link\" href=\"{{ path ('user_warehouse_list') }}\">Magazzini</a></li>
  3128. \t{% endif %}
  3129. {% endblock %}
  3130. {% block subMenuRight %}
  3131. \t{% if app.user.canWrite('warehouse') or (warehouse.jtUser(app.user.id) is not null and warehouse.jtUser(app.user.id).permission == 'RW') %}
  3132. \t\t{% if warehouse.headquarter and (app.user.canWrite('warehouse') or app.user.canWrite('warehouse_receive_material')) %}
  3133. \t\t\t<li class=\"nav-item\"><a class=\"nav-link\" href=\"javascript: transferReceive()\">Ricevi materiale</a></li>
  3134. \t\t{% endif %}
  3135. \t\t<li class=\"nav-item\"><a class=\"nav-link\" href=\"javascript: transferSend()\">Invia materiale</a></li>
  3136. \t{% endif %}
  3137. {% endblock %}
  3138. {% block content %}
  3139. \t{% if app.user.getAccountTypology == 'agency' or app.user.getAccountTypology == 'warehouse' %}
  3140. \t\t{% set prReqTitle = \"Richieste tecnici\" %}
  3141. \t\t{% set prReqInserted = \"Da gestire\" %}
  3142. \t\t{% set prReqTakeCharge = \"Prese in carico\" %}
  3143. \t\t{% set prReqCompleted = \"Gestite\" %}
  3144. \t{% elseif app.user.getAccountTypology == 'technician' %}
  3145. \t\t{% set prReqTitle = \"Le tue richieste\" %}
  3146. \t\t{% set prReqInserted = \"Inviate\" %}
  3147. \t\t{% set prReqTakeCharge = \"Prese in carico\" %}
  3148. \t\t{% set prReqCompleted = \"Completate\" %}
  3149. \t{% endif %}
  3150. \t<section class=\"p_lr_30p m_tb_40p\">
  3151. \t\t<div class=\"row\">
  3152. \t\t\t<div class=\"col-12\">
  3153. \t\t\t\t<h3 class=\"form_title\">Magazzino: {{ warehouse.nickname }}</h3>
  3154. \t\t\t\t<hr class=\"m_t_none\">
  3155. \t\t\t\t<div class=\"tabs clearfix\">
  3156. \t\t\t\t\t<ul class=\"tab-nav clearfix\">
  3157. \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>
  3158. \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>
  3159. \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>
  3160. \t\t\t\t\t\t{% if (warehouse.headquarter and (app.user.getAccountTypology == 'agency' or app.user.getAccountTypology == 'warehouse')) or app.user.getAccountTypology == 'technician' %}
  3161. \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>
  3162. \t\t\t\t\t\t{% endif %}
  3163. \t\t\t\t\t</ul>
  3164. \t\t\t\t\t<div class=\"tab-container\">
  3165. \t\t\t\t\t\t{# Scorte #}
  3166. \t\t\t\t\t\t<div class=\"tab-content clearfix\" id=\"stocks\">
  3167. \t\t\t\t\t\t\t<div class=\"row\">
  3168. \t\t\t\t\t\t\t\t<div class=\"col-12\">
  3169. \t\t\t\t\t\t\t\t\t<h4 class=\"form_title\">Scorte in magazzino
  3170. \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>
  3171. \t\t\t\t\t\t\t\t\t\t{% if (app.user.getAccountTypology == 'agency' or app.user.getAccountTypology == 'warehouse') %}
  3172. \t\t\t\t\t\t\t\t\t\t\t{% if warehouse.headquarter and settingRecoverStock.value == 1 %}
  3173. \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>
  3174. \t\t\t\t\t\t\t\t\t\t\t{% endif %}
  3175. \t\t\t\t\t\t\t\t\t\t\t{% if settingRegisterStock.value == 1 %}
  3176. \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>
  3177. \t\t\t\t\t\t\t\t\t\t\t{% endif %}
  3178. \t\t\t\t\t\t\t\t\t\t{% endif %}
  3179. \t\t\t\t\t\t\t\t\t\t{% if app.user.canWrite('warehouse_inventory') %}
  3180. \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>
  3181. \t\t\t\t\t\t\t\t\t\t{% endif %}
  3182. \t\t\t\t\t\t\t\t\t</h4>
  3183. \t\t\t\t\t\t\t\t\t<hr class=\"m_t_none\">
  3184. \t\t\t\t\t\t\t\t</div>
  3185. \t\t\t\t\t\t\t\t<div class=\"col-12\">
  3186. \t\t\t\t\t\t\t\t\t<div class=\"tabs clearfix\">
  3187. \t\t\t\t\t\t\t\t\t\t<ul class=\"tab-nav clearfix\">
  3188. \t\t\t\t\t\t\t\t\t\t\t{% if warehouse.headquarter %}
  3189. \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 ({{ toManageProductsCount }})\"></i><span class=\"d-none d-md-block\">Da gestire ({{ toManageProductsCount }})</span></a></li>
  3190. \t\t\t\t\t\t\t\t\t\t\t{% endif %}
  3191. \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 ({{ availableProductsCount }})\"></i><span class=\"d-none d-md-block\">Disponibili ({{ availableProductsCount }})</span></a></li>
  3192. \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 ({{ notAvailableProductsCount }})\"></i><span class=\"d-none d-md-block\">Non disponibili ({{ notAvailableProductsCount }})</span></a></li>
  3193. \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 ({{ transferProductsCount }})\"></i><span class=\"d-none d-md-block\">In trasferimento ({{ transferProductsCount }})</span></a></li>
  3194. \t\t\t\t\t\t\t\t\t\t</ul>
  3195. \t\t\t\t\t\t\t\t\t\t<div class=\"tab-container\">
  3196. \t\t\t\t\t\t\t\t\t\t\t{% if warehouse.headquarter %}
  3197. \t\t\t\t\t\t\t\t\t\t\t\t<div class=\"tab-content clearfix\" id=\"to_manage\">
  3198. \t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"row\">
  3199. \t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"col-12\">
  3200. \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>
  3201. \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=\"Aggiungi fornitori\"></i><span class=\"d-none d-lg-block\">Aggiungi fornitori</span></a>
  3202. \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>
  3203. \t\t\t\t\t\t\t\t\t\t\t\t\t\t</div>
  3204. \t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"col-12 overflow_a\">
  3205. \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\">
  3206. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<thead>
  3207. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<tr>
  3208. \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\">
  3209. \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>
  3210. \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>
  3211. \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>
  3212. \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>
  3213. \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>
  3214. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td class=\"td_w_120p d-none d-lg-table-cell\"><input type=\"text\" inputmode=\"search\" class=\"form-control\" name=\"producer_0\" value=\"{{ filters.producer_0|default() }}\"/></td>
  3215. \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>
  3216. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td class=\"td_w_120p d-none d-lg-table-cell\"><input type=\"text\" inputmode=\"search\" class=\"form-control\" name=\"sku_0\" value=\"{{ filters.sku_0|default() }}\"/></td>
  3217. \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>
  3218. \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>
  3219. \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>
  3220. \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\">
  3221. \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() }}\"/>
  3222. \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() }}\"/>
  3223. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</form>
  3224. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</tr>
  3225. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<tr class=\"bg_pr color_w\">
  3226. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<th class=\"td_w_20p\"></th>
  3227. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<th class=\"td_w_20p\">
  3228. \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\">
  3229. \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')\">
  3230. \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>
  3231. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</div>
  3232. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</th>
  3233. \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>
  3234. \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>
  3235. \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>
  3236. \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
  3237. \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>
  3238. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<th class=\"d-none d-lg-table-cell\">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>
  3239. \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>
  3240. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<th class=\"d-none d-lg-table-cell\">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>
  3241. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<th>Tecnico</th>
  3242. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<th colspan=\"2\">DDT</th>
  3243. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</tr>
  3244. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</thead>
  3245. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<tbody>
  3246. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% if toManageProducts|length > 0 %}
  3247. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% for product in toManageProducts %}
  3248. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% set first = true %}
  3249. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% set suppliersString = '' %}
  3250. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% for supplier in product.suppliers %}
  3251. \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 %}
  3252. \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 %}
  3253. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% endfor %}
  3254. \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 }}\">
  3255. \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 %}>
  3256. \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>
  3257. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td>
  3258. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"switch\">
  3259. \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')\">
  3260. \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>
  3261. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</div>
  3262. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</td>
  3263. \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>
  3264. \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>
  3265. \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>
  3266. \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>
  3267. \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>
  3268. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td class=\"d-none d-lg-table-cell\">{{ product.model.producer }}</td>
  3269. \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>
  3270. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td class=\"d-none d-lg-table-cell\">{{ product.model.sku }}</td>
  3271. \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>
  3272. \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>
  3273. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</tr>
  3274. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% endfor %}
  3275. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% else %}
  3276. \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'} %}
  3277. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% endif %}
  3278. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</tbody>
  3279. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</table>
  3280. \t\t\t\t\t\t\t\t\t\t\t\t\t\t</div>
  3281. \t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"col-12 navigation txt_a_r\">
  3282. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{{ knp_pagination_render(toManageProducts) }}
  3283. \t\t\t\t\t\t\t\t\t\t\t\t\t\t</div>
  3284. \t\t\t\t\t\t\t\t\t\t\t\t\t</div>
  3285. \t\t\t\t\t\t\t\t\t\t\t\t</div>
  3286. \t\t\t\t\t\t\t\t\t\t\t{% endif %}
  3287. \t\t\t\t\t\t\t\t\t\t\t<div class=\"tab-content clearfix\" id=\"available\">
  3288. \t\t\t\t\t\t\t\t\t\t\t\t{% set number = 1 %}
  3289. \t\t\t\t\t\t\t\t\t\t\t\t{% set tab = 's_available' %}
  3290. \t\t\t\t\t\t\t\t\t\t\t\t{% set status = 'available' %}
  3291. \t\t\t\t\t\t\t\t\t\t\t\t{% set products = availableProducts %}
  3292. \t\t\t\t\t\t\t\t\t\t\t\t{% set multipleSelection = [false, 1, []] %}
  3293. \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') %}
  3294. \t\t\t\t\t\t\t\t\t\t\t\t\t{% if app.user.getAccountTypology != 'technician' %}
  3295. \t\t\t\t\t\t\t\t\t\t\t\t\t\t{% set multipleSelection = [true, 1, ['supplier', 'condition', 'send', 'export']] %}
  3296. \t\t\t\t\t\t\t\t\t\t\t\t\t{% else %}
  3297. \t\t\t\t\t\t\t\t\t\t\t\t\t\t{% set multipleSelection = [true, 1, ['condition', 'send', 'export']] %}
  3298. \t\t\t\t\t\t\t\t\t\t\t\t\t{% endif %}
  3299. \t\t\t\t\t\t\t\t\t\t\t\t{% endif %}
  3300. \t\t\t\t\t\t\t\t\t\t\t\t{% block tableStocks %}
  3301. \t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"row\">
  3302. \t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"col-12\">
  3303. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% if multipleSelection[0] %}
  3304. \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 %}
  3305. \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=\"Aggiungi fornitori\"></i><span class=\"d-none d-lg-block\">Aggiungi fornitori</span></a>{% endif %}
  3306. \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 %}
  3307. \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 %}
  3308. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% endif %}
  3309. \t\t\t\t\t\t\t\t\t\t\t\t\t\t</div>
  3310. \t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"col-12 overflow_a\">
  3311. \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\">
  3312. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<thead>
  3313. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<tr>
  3314. \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\">
  3315. \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>
  3316. \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() }}\"/></td>
  3317. \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>
  3318. \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>
  3319. \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>
  3320. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td class=\"td_w_90p d-none d-lg-table-cell\"><input type=\"text\" inputmode=\"search\" class=\"form-control\" name=\"producer_1\" value=\"{{ filters.producer_1|default() }}\"/></td>
  3321. \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>
  3322. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td class=\"td_w_120p d-none d-lg-table-cell\"><input type=\"text\" inputmode=\"search\" class=\"form-control\" name=\"sku_1\" value=\"{{ filters.sku_1|default() }}\"/></td>
  3323. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td class=\"td_w_120p d-none d-lg-table-cell\"><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>
  3324. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td class=\"td_w_60p\">
  3325. \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>
  3326. \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>
  3327. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</td>
  3328. \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 }}\">
  3329. \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() }}\"/>
  3330. \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() }}\"/>
  3331. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</form>
  3332. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</tr>
  3333. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<tr class=\"bg_pr color_w\">
  3334. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<th class=\"td_w_20p\"></th>
  3335. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% if multipleSelection[0] %}
  3336. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<th class=\"td_w_20p\">
  3337. \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\">
  3338. \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 }}')\">
  3339. \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>
  3340. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</div>
  3341. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</th>
  3342. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% endif %}
  3343. \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>
  3344. \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>
  3345. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<th>Fornitori</th>
  3346. \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>
  3347. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<th class=\"d-none d-lg-table-cell\">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>
  3348. \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>
  3349. \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>
  3350. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<th colspan=\"2\" class=\"d-none d-lg-table-cell\">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>
  3351. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</tr>
  3352. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</thead>
  3353. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<tbody>
  3354. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% if products|length > 0 %}
  3355. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% for product in products %}
  3356. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% set first = true %}
  3357. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% set suppliersString = '' %}
  3358. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% for supplier in product.suppliers %}
  3359. \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 %}
  3360. \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 %}
  3361. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% endfor %}
  3362. \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 }}\">
  3363. \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 %}>
  3364. \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>
  3365. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% if multipleSelection[0] %}
  3366. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td>
  3367. \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\">
  3368. \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 }}')\">
  3369. \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>
  3370. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</div>
  3371. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</td>
  3372. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% endif %}
  3373. \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>
  3374. \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>
  3375. \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>
  3376. \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') }}
  3377. \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 %}
  3378. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</td>
  3379. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td class=\"d-none d-lg-table-cell\">{{ product.model.producer }}</td>
  3380. \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>
  3381. \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>
  3382. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td colspan=\"2\" class=\"d-none d-lg-table-cell\">{{ product.dateLastTransfer|date('d-m-Y H:i') }}</td>
  3383. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</tr>
  3384. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% endfor %}
  3385. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% else %}
  3386. \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'} %}
  3387. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% endif %}
  3388. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</tbody>
  3389. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</table>
  3390. \t\t\t\t\t\t\t\t\t\t\t\t\t\t</div>
  3391. \t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"col-12 navigation txt_a_r\">
  3392. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{{ knp_pagination_render(products) }}
  3393. \t\t\t\t\t\t\t\t\t\t\t\t\t\t</div>
  3394. \t\t\t\t\t\t\t\t\t\t\t\t\t</div>
  3395. \t\t\t\t\t\t\t\t\t\t\t\t{% endblock %}
  3396. \t\t\t\t\t\t\t\t\t\t\t</div>
  3397. \t\t\t\t\t\t\t\t\t\t\t<div class=\"tab-content clearfix\" id=\"not_available\">
  3398. \t\t\t\t\t\t\t\t\t\t\t\t{% set number = 2 %}
  3399. \t\t\t\t\t\t\t\t\t\t\t\t{% set tab = 's_not_available' %}
  3400. \t\t\t\t\t\t\t\t\t\t\t\t{% set status = 'not_available' %}
  3401. \t\t\t\t\t\t\t\t\t\t\t\t{% set products = notAvailableProducts %}
  3402. \t\t\t\t\t\t\t\t\t\t\t\t{% set index = 1 %}
  3403. \t\t\t\t\t\t\t\t\t\t\t\t{% set multipleSelection = [false, 2, []] %}
  3404. \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') %}
  3405. \t\t\t\t\t\t\t\t\t\t\t\t\t{% if app.user.getAccountTypology != 'technician' %}
  3406. \t\t\t\t\t\t\t\t\t\t\t\t\t\t{% set multipleSelection = [true, 2, ['supplier', 'condition', 'send', 'export']] %}
  3407. \t\t\t\t\t\t\t\t\t\t\t\t\t{% else %}
  3408. \t\t\t\t\t\t\t\t\t\t\t\t\t\t{% set multipleSelection = [true, 2, ['condition', 'send', 'export']] %}
  3409. \t\t\t\t\t\t\t\t\t\t\t\t\t{% endif %}
  3410. \t\t\t\t\t\t\t\t\t\t\t\t{% endif %}
  3411. \t\t\t\t\t\t\t\t\t\t\t\t{{ block('tableStocks') }}
  3412. \t\t\t\t\t\t\t\t\t\t\t</div>
  3413. \t\t\t\t\t\t\t\t\t\t\t<div class=\"tab-content clearfix\" id=\"transfer\">
  3414. \t\t\t\t\t\t\t\t\t\t\t\t{% set number = 3 %}
  3415. \t\t\t\t\t\t\t\t\t\t\t\t{% set tab = 's_transfer' %}
  3416. \t\t\t\t\t\t\t\t\t\t\t\t{% set status = 'transfer' %}
  3417. \t\t\t\t\t\t\t\t\t\t\t\t{% set products = transferProducts %}
  3418. \t\t\t\t\t\t\t\t\t\t\t\t{% set index = 1 %}
  3419. \t\t\t\t\t\t\t\t\t\t\t\t{% set multipleSelection = [false, null, []] %}
  3420. \t\t\t\t\t\t\t\t\t\t\t\t{{ block('tableStocks') }}
  3421. \t\t\t\t\t\t\t\t\t\t\t</div>
  3422. \t\t\t\t\t\t\t\t\t\t</div>
  3423. \t\t\t\t\t\t\t\t\t</div>
  3424. \t\t\t\t\t\t\t\t</div>
  3425. \t\t\t\t\t\t\t</div>
  3426. \t\t\t\t\t\t</div>
  3427. \t\t\t\t\t\t{# Trasferimenti #}
  3428. \t\t\t\t\t\t<div class=\"tab-content clearfix\" id=\"transfers\">
  3429. \t\t\t\t\t\t\t<div class=\"row\">
  3430. \t\t\t\t\t\t\t\t<div class=\"col-12\">
  3431. \t\t\t\t\t\t\t\t\t<h4 class=\"form_title\">Trasferimenti</h4>
  3432. \t\t\t\t\t\t\t\t\t<hr class=\"m_t_none\">
  3433. \t\t\t\t\t\t\t\t\t<div class=\"tabs clearfix\">
  3434. \t\t\t\t\t\t\t\t\t\t<ul class=\"tab-nav clearfix\">
  3435. \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|length }})\"></i><span class=\"d-none d-md-block\">In entrata ({{ incomingTransfers|length }})</span></a></li>
  3436. \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|length }})\"></i><span class=\"d-none d-md-block\">In uscita ({{ outputTransfers|length }})</span></a></li>
  3437. \t\t\t\t\t\t\t\t\t\t</ul>
  3438. \t\t\t\t\t\t\t\t\t\t<div class=\"tab-container\">
  3439. \t\t\t\t\t\t\t\t\t\t\t<div class=\"tab-content clearfix\" id=\"incoming\">
  3440. \t\t\t\t\t\t\t\t\t\t\t\t{% set transfers = incomingTransfers %}
  3441. \t\t\t\t\t\t\t\t\t\t\t\t{% set number = 1 %}
  3442. \t\t\t\t\t\t\t\t\t\t\t\t{% set tabType = 'pt_incoming' %}
  3443. \t\t\t\t\t\t\t\t\t\t\t\t{% block tableTransfers %}
  3444. \t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"row\">
  3445. \t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"col-12 overflow_a\">
  3446. \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\">
  3447. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<thead>
  3448. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<tr>
  3449. \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\">
  3450. \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>
  3451. \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>
  3452. \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>
  3453. \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>
  3454. \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>
  3455. \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>
  3456. \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>
  3457. \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>
  3458. \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
  3459. \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 }}\">
  3460. \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() }}\"/>
  3461. \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() }}\"/>
  3462. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</form>
  3463. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</tr>
  3464. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<tr class=\"bg_pr color_w\">
  3465. \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>
  3466. \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>
  3467. \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>
  3468. \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>
  3469. \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>
  3470. \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\">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>
  3471. \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>
  3472. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<th rowspan=\"2\"></th>
  3473. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</tr>
  3474. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<tr class=\"bg_pr color_w\">
  3475. \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>
  3476. \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>
  3477. \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>
  3478. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</tr>
  3479. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</thead>
  3480. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<tbody>
  3481. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% if transfers|length > 0 %}
  3482. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% for pt in transfers %}
  3483. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<tr>
  3484. \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>
  3485. \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>
  3486. \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>
  3487. \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>
  3488. \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>
  3489. \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>
  3490. \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>
  3491. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td>{% if pt.ddtPath != null %}N° {{ pt.ddt }}{% else %}---{% endif %}</td>
  3492. \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>
  3493. \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') %}
  3494. \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\">
  3495. \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' %}
  3496. \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' %}
  3497. \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>
  3498. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% endif %}
  3499. \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' %}
  3500. \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 %}
  3501. \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>
  3502. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% else %}
  3503. \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>
  3504. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% endif %}
  3505. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% endif %}
  3506. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</td>
  3507. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% endif %}
  3508. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</tr>
  3509. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% endfor %}
  3510. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% else %}
  3511. \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'} %}
  3512. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% endif %}
  3513. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</tbody>
  3514. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</table>
  3515. \t\t\t\t\t\t\t\t\t\t\t\t\t\t</div>
  3516. \t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"col-12 navigation txt_a_r\">
  3517. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{{ knp_pagination_render(transfers) }}
  3518. \t\t\t\t\t\t\t\t\t\t\t\t\t\t</div>
  3519. \t\t\t\t\t\t\t\t\t\t\t\t\t</div>
  3520. \t\t\t\t\t\t\t\t\t\t\t\t{% endblock %}
  3521. \t\t\t\t\t\t\t\t\t\t\t</div>
  3522. \t\t\t\t\t\t\t\t\t\t\t<div class=\"tab-content clearfix\" id=\"output\">
  3523. \t\t\t\t\t\t\t\t\t\t\t\t{% set transfers = outputTransfers %}
  3524. \t\t\t\t\t\t\t\t\t\t\t\t{% set number = 2 %}
  3525. \t\t\t\t\t\t\t\t\t\t\t\t{% set tabType = 'pt_output' %}
  3526. \t\t\t\t\t\t\t\t\t\t\t\t{{ block('tableTransfers') }}
  3527. \t\t\t\t\t\t\t\t\t\t\t</div>
  3528. \t\t\t\t\t\t\t\t\t\t</div>
  3529. \t\t\t\t\t\t\t\t\t</div>
  3530. \t\t\t\t\t\t\t\t</div>
  3531. \t\t\t\t\t\t\t</div>
  3532. \t\t\t\t\t\t</div>
  3533. \t\t\t\t\t\t{# Dati e utenti #}
  3534. \t\t\t\t\t\t<div class=\"tab-content clearfix\" id=\"data\">
  3535. \t\t\t\t\t\t\t<div class=\"row\">
  3536. \t\t\t\t\t\t\t\t<div class=\"col-12 col-lg-6\">
  3537. \t\t\t\t\t\t\t\t\t<h4 class=\"form_title\">Dati generici
  3538. \t\t\t\t\t\t\t\t\t\t{% if app.user.canWrite('warehouse') %}
  3539. \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>
  3540. \t\t\t\t\t\t\t\t\t\t{% endif %}
  3541. \t\t\t\t\t\t\t\t\t</h4>
  3542. \t\t\t\t\t\t\t\t\t<hr class=\"m_t_none\">
  3543. \t\t\t\t\t\t\t\t\t<table class=\"table table-hover responsive_font_size\">
  3544. \t\t\t\t\t\t\t\t\t\t<tr>
  3545. \t\t\t\t\t\t\t\t\t\t\t<th>Nickname</th>
  3546. \t\t\t\t\t\t\t\t\t\t\t<td>{{ warehouse.nickname }}</td>
  3547. \t\t\t\t\t\t\t\t\t\t</tr>
  3548. \t\t\t\t\t\t\t\t\t\t<tr>
  3549. \t\t\t\t\t\t\t\t\t\t\t<th>Attivo</th>
  3550. \t\t\t\t\t\t\t\t\t\t\t<td>{% if warehouse.active %}Sì{% else %}No{% endif %}</td>
  3551. \t\t\t\t\t\t\t\t\t\t</tr>
  3552. \t\t\t\t\t\t\t\t\t\t<tr>
  3553. \t\t\t\t\t\t\t\t\t\t\t<th>Sede</th>
  3554. \t\t\t\t\t\t\t\t\t\t\t<td>{% if warehouse.headquarter %}Sì{% else %}No{% endif %}</td>
  3555. \t\t\t\t\t\t\t\t\t\t</tr>
  3556. \t\t\t\t\t\t\t\t\t\t<tr>
  3557. \t\t\t\t\t\t\t\t\t\t\t<th>Indirizzo DDT</th>
  3558. \t\t\t\t\t\t\t\t\t\t\t<td>{{ warehouse.address }}</td>
  3559. \t\t\t\t\t\t\t\t\t\t</tr>
  3560. \t\t\t\t\t\t\t\t\t\t<tr>
  3561. \t\t\t\t\t\t\t\t\t\t\t<th>Fisso/Mobile</th>
  3562. \t\t\t\t\t\t\t\t\t\t\t<td>{% if warehouse.movable %}Mobile{% else %}Fisso{% endif %}</td>
  3563. \t\t\t\t\t\t\t\t\t\t</tr>
  3564. \t\t\t\t\t\t\t\t\t</table>
  3565. \t\t\t\t\t\t\t\t</div>
  3566. \t\t\t\t\t\t\t\t<div class=\"col-12 col-lg-6\">
  3567. \t\t\t\t\t\t\t\t\t<h4 class=\"form_title\">Utenti</h4>
  3568. \t\t\t\t\t\t\t\t\t<hr class=\"m_t_none\">
  3569. \t\t\t\t\t\t\t\t\t<table class=\"table table-hover responsive_font_size\">
  3570. \t\t\t\t\t\t\t\t\t\t<thead>
  3571. \t\t\t\t\t\t\t\t\t\t\t<tr>
  3572. \t\t\t\t\t\t\t\t\t\t\t\t<th>Utente</th>
  3573. \t\t\t\t\t\t\t\t\t\t\t\t<th>Permessi</th>
  3574. \t\t\t\t\t\t\t\t\t\t\t\t<th class=\"txt_a_c\">Principale</th>
  3575. \t\t\t\t\t\t\t\t\t\t\t</tr>
  3576. \t\t\t\t\t\t\t\t\t\t</thead>
  3577. \t\t\t\t\t\t\t\t\t\t<tbody>
  3578. \t\t\t\t\t\t\t\t\t\t\t{% for jtuw in warehouse.users %}
  3579. \t\t\t\t\t\t\t\t\t\t\t\t<tr>
  3580. \t\t\t\t\t\t\t\t\t\t\t\t\t<td>{{ jtuw.user }}</td>
  3581. \t\t\t\t\t\t\t\t\t\t\t\t\t<td>{{ jtuw.displayPermission }}</td>
  3582. \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>
  3583. \t\t\t\t\t\t\t\t\t\t\t\t</tr>
  3584. \t\t\t\t\t\t\t\t\t\t\t{% endfor %}
  3585. \t\t\t\t\t\t\t\t\t\t</tbody>
  3586. \t\t\t\t\t\t\t\t\t</table>
  3587. \t\t\t\t\t\t\t\t</div>
  3588. \t\t\t\t\t\t\t</div>
  3589. \t\t\t\t\t\t</div>
  3590. \t\t\t\t\t\t{# Richieste tecnici #}
  3591. \t\t\t\t\t\t{% if (warehouse.headquarter and (app.user.getAccountTypology == 'agency' or app.user.getAccountTypology == 'warehouse')) or app.user.getAccountTypology == 'technician' %}
  3592. \t\t\t\t\t\t\t<div class=\"tab-content clearfix\" id=\"technicianRequests\">
  3593. \t\t\t\t\t\t\t\t<div class=\"row\">
  3594. \t\t\t\t\t\t\t\t\t<div class=\"col-12\">
  3595. \t\t\t\t\t\t\t\t\t\t<h4 class=\"form_title\">{{ prReqTitle }}
  3596. \t\t\t\t\t\t\t\t\t\t\t{% if app.user.getAccountTypology == 'technician' %}
  3597. \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>
  3598. \t\t\t\t\t\t\t\t\t\t\t{% endif %}
  3599. \t\t\t\t\t\t\t\t\t\t</h4>
  3600. \t\t\t\t\t\t\t\t\t\t<hr class=\"m_t_none\">
  3601. \t\t\t\t\t\t\t\t\t\t<div class=\"tabs clearfix\">
  3602. \t\t\t\t\t\t\t\t\t\t\t<ul class=\"tab-nav clearfix\">
  3603. \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 }} ({{ insertedProductRequestsCount }})\"></i><span class=\"d-none d-md-block\">{{ prReqInserted }} ({{ insertedProductRequestsCount }})</span></a></li>
  3604. \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 }} ({{ takeChargeProductRequestsCount }})\"></i><span class=\"d-none d-md-block\">{{ prReqTakeCharge }} ({{ takeChargeProductRequestsCount }})</span></a></li>
  3605. \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 }} ({{ completedProductRequestsCount }})\"></i><span class=\"d-none d-md-block\">{{ prReqCompleted }} ({{ completedProductRequestsCount }})</span></a></li>
  3606. \t\t\t\t\t\t\t\t\t\t\t</ul>
  3607. \t\t\t\t\t\t\t\t\t\t\t<div class=\"tab-container\">
  3608. \t\t\t\t\t\t\t\t\t\t\t\t<div class=\"tab-content clearfix\" id=\"inserted\">
  3609. \t\t\t\t\t\t\t\t\t\t\t\t\t{% set requests = insertedProductRequests %}
  3610. \t\t\t\t\t\t\t\t\t\t\t\t\t{% set tabType = 'pr_inserted' %}
  3611. \t\t\t\t\t\t\t\t\t\t\t\t\t{% set number = 1 %}
  3612. \t\t\t\t\t\t\t\t\t\t\t\t\t{% set tabAction = '' %}
  3613. \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 %}
  3614. \t\t\t\t\t\t\t\t\t\t\t\t\t\t{% set tabAction = 'take_charge' %}
  3615. \t\t\t\t\t\t\t\t\t\t\t\t\t{% elseif app.user.getAccountTypology == 'technician' %}
  3616. \t\t\t\t\t\t\t\t\t\t\t\t\t\t{% set tabAction = 'delete' %}
  3617. \t\t\t\t\t\t\t\t\t\t\t\t\t{% endif %}
  3618. \t\t\t\t\t\t\t\t\t\t\t\t\t{% block tableRequests %}
  3619. \t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"row\">
  3620. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"col-12 overflow_a\">
  3621. \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\">
  3622. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<thead>
  3623. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<tr>
  3624. \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\">
  3625. \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>
  3626. \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>
  3627. \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>
  3628. \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>
  3629. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td colspan=\"3\" 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
  3630. \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 }}\">
  3631. \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() }}\"/>
  3632. \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() }}\"/>
  3633. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</form>
  3634. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</tr>
  3635. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<tr class=\"bg_pr color_w\">
  3636. \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>
  3637. \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>
  3638. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% if warehouse.headquarter %}
  3639. \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>
  3640. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% else %}
  3641. \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>
  3642. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% endif %}
  3643. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<th class=\"d-none d-lg-table-cell\">Prodotti</th>
  3644. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<th class=\"d-none d-lg-table-cell\">Note</th>
  3645. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<th class=\"td_action d-table-cell d-lg-none\"></th>
  3646. \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 %}
  3647. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</tr>
  3648. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</thead>
  3649. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<tbody>
  3650. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% if requests|length > 0 %}
  3651. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% for pr in requests %}
  3652. \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 }}\">
  3653. \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 }}\">
  3654. \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 }}_details\" value=\"{{ pr.displayDetails }}\">
  3655. \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 }}\">
  3656. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<tr>
  3657. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td id=\"request_{{ pr.id }}_datetime\" colspan=\"2\" class=\"txt_a_c\">{{ pr.datetime|date('d-m-Y H:i') }}</td>
  3658. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td id=\"request_{{ pr.id }}_technician\">{{ pr.technician }}</td>
  3659. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% if warehouse.headquarter %}
  3660. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td id=\"request_{{ pr.id }}_warehouse\">{{ pr.warehouse }}</td>
  3661. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% else %}
  3662. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td id=\"request_{{ pr.id }}_warehouse_headquarter\">{{ pr.warehouseHeadquarter }}</td>
  3663. \t\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\t<td class=\"d-none d-lg-table-cell\">{{ pr.displayDetails|raw }}</td>
  3665. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td class=\"d-none d-lg-table-cell\">{{ pr.notes|raw }}</td>
  3666. \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 d-table-cell d-lg-none\"><a href=\"javascript: productRequestSheet({{ pr.id }})\" data-bs-toggle=\"tooltip\" title=\"Scheda\"><img class=\"icon_pr\" src=\"{{ asset (icon_sheet) }}\"></a></td>
  3667. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% if tabAction == 'delete' %}
  3668. \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>
  3669. \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' %}
  3670. \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>
  3671. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% elseif tabAction == 'complete' %}
  3672. \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>
  3673. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% endif %}
  3674. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</tr>
  3675. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% endfor %}
  3676. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% else %}
  3677. \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'} %}
  3678. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% endif %}
  3679. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</tbody>
  3680. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</table>
  3681. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</div>
  3682. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"col-12 navigation txt_a_r\">
  3683. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{{ knp_pagination_render(requests) }}
  3684. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</div>
  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{% endblock %}
  3687. \t\t\t\t\t\t\t\t\t\t\t\t</div>
  3688. \t\t\t\t\t\t\t\t\t\t\t\t<div class=\"tab-content clearfix\" id=\"take_charge\">
  3689. \t\t\t\t\t\t\t\t\t\t\t\t\t{% set requests = takeChargeProductRequests %}
  3690. \t\t\t\t\t\t\t\t\t\t\t\t\t{% set tabType = 'pr_take_charge' %}
  3691. \t\t\t\t\t\t\t\t\t\t\t\t\t{% set number = 2 %}
  3692. \t\t\t\t\t\t\t\t\t\t\t\t\t{% set tabAction = '' %}
  3693. \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 %}
  3694. \t\t\t\t\t\t\t\t\t\t\t\t\t\t{% set tabAction = 'complete' %}
  3695. \t\t\t\t\t\t\t\t\t\t\t\t\t{% endif %}
  3696. \t\t\t\t\t\t\t\t\t\t\t\t\t{{ block('tableRequests') }}
  3697. \t\t\t\t\t\t\t\t\t\t\t\t</div>
  3698. \t\t\t\t\t\t\t\t\t\t\t\t<div class=\"tab-content clearfix\" id=\"completed\">
  3699. \t\t\t\t\t\t\t\t\t\t\t\t\t{% set requests = completedProductRequests %}
  3700. \t\t\t\t\t\t\t\t\t\t\t\t\t{% set tabType = 'pr_completed' %}
  3701. \t\t\t\t\t\t\t\t\t\t\t\t\t{% set number = 3 %}
  3702. \t\t\t\t\t\t\t\t\t\t\t\t\t{% set tabAction = '' %}
  3703. \t\t\t\t\t\t\t\t\t\t\t\t\t{{ block('tableRequests') }}
  3704. \t\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>
  3706. \t\t\t\t\t\t\t\t\t\t</div>
  3707. \t\t\t\t\t\t\t\t\t</div>
  3708. \t\t\t\t\t\t\t\t</div>
  3709. \t\t\t\t\t\t\t</div>
  3710. \t\t\t\t\t\t{% endif %}
  3711. \t\t\t\t\t</div>
  3712. \t\t\t\t</div>
  3713. \t\t\t</div>
  3714. \t\t</div>
  3715. \t</section>
  3716. \t{# Inventario #}
  3717. \t<div id=\"stockInventoryModal\" class=\"modal fade\" tabindex=\"-1\" role=\"dialog\">
  3718. \t\t<div class=\"modal-dialog\" role=\"document\">
  3719. \t\t\t<div class=\"modal-content\">
  3720. \t\t\t\t{{ form_start(formInventory, {'attr': {'novalidate': 'novalidate'}}) }}
  3721. \t\t\t\t\t<div class=\"modal-header\"><h3 class=\"modal-title\">Verifica inventario</h3></div>
  3722. \t\t\t\t\t<div class=\"modal-body\">
  3723. \t\t\t\t\t\t<div class=\"row\">
  3724. \t\t\t\t\t\t\t<div class=\"col-12 form-group\">
  3725. \t\t\t\t\t\t\t\t<label class=\"form_label\">Fornitore*</label>
  3726. \t\t\t\t\t\t\t\t<div {{ form_errors(formInventory.supplier) }}>
  3727. \t\t\t\t\t\t\t\t\t{{ form_widget(formInventory.supplier, {'attr':{'class':'form-control form-select'}}) }}
  3728. \t\t\t\t\t\t\t\t</div>
  3729. \t\t\t\t\t\t\t</div>
  3730. \t\t\t\t\t\t\t<div class=\"col-12 form-group\">
  3731. \t\t\t\t\t\t\t\t<label class=\"form_label\">Stato*</label>
  3732. \t\t\t\t\t\t\t\t<div {{ form_errors(formInventory.status) }}>
  3733. \t\t\t\t\t\t\t\t\t{{ form_widget(formInventory.status, {'attr':{'class':'form-control form-select'}}) }}
  3734. \t\t\t\t\t\t\t\t</div>
  3735. \t\t\t\t\t\t\t</div>
  3736. \t\t\t\t\t\t\t<div class=\"col-12\">
  3737. \t\t\t\t\t\t\t\t<label class=\"form_label\">File*</label>
  3738. \t\t\t\t\t\t\t\t<div {{ form_errors(formInventory.path) }}>
  3739. \t\t\t\t\t\t\t\t\t{{ form_widget(formInventory.path, {'attr': {'class':'display_n'}}) }}
  3740. \t\t\t\t\t\t\t\t\t{{ form_widget(formInventory.file, {'attr': {'class':'display_n'}}) }}
  3741. \t\t\t\t\t\t\t\t\t<div class=\"input-group\">
  3742. \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>
  3743. \t\t\t\t\t\t\t\t\t\t<input id=\"filename2\" type=\"text\" class=\"form-control\" readonly>
  3744. \t\t\t\t\t\t\t\t\t</div>
  3745. \t\t\t\t\t\t\t\t</div>
  3746. \t\t\t\t\t\t\t</div>
  3747. \t\t\t\t\t\t</div>
  3748. \t\t\t\t\t</div>
  3749. \t\t\t\t\t<div class=\"modal-footer\">
  3750. \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>
  3751. \t\t\t\t\t\t<button type=\"submit\" class=\"button button-3d button-mini button-green f_right\">Prosegui</button>
  3752. \t\t\t\t\t</div>
  3753. \t\t\t\t{{ form_end(formInventory) }}
  3754. \t\t\t</div>
  3755. \t\t</div>
  3756. \t</div>
  3757. \t
  3758. \t{# Ricevi #}
  3759. \t<div id=\"transferReceiveModal\" class=\"modal fade\" tabindex=\"-1\" role=\"dialog\">
  3760. \t\t<div class=\"modal-dialog\" role=\"document\">
  3761. \t\t\t<div class=\"modal-content\">
  3762. \t\t\t\t{{ form_start(formReceive, {'attr': {'novalidate': 'novalidate'}}) }} 
  3763. \t\t\t\t\t<div class=\"modal-header\"><h3 class=\"modal-title\">Ricevi materiale</h3></div>
  3764. \t\t\t\t\t<div class=\"modal-body\">
  3765. \t\t\t\t\t\t<div class=\"row\">
  3766. \t\t\t\t\t\t\t<div class=\"col-12 form-group\">
  3767. \t\t\t\t\t\t\t\t<label class=\"form_label\">Magazzino di provenienza*</label>
  3768. \t\t\t\t\t\t\t\t<div {{ form_errors(formReceive.warehouse) }}>
  3769. \t\t\t\t\t\t\t\t\t{{ form_widget(formReceive.warehouse, {'attr':{'class':'form-control form-select'}}) }}
  3770. \t\t\t\t\t\t\t\t</div>
  3771. \t\t\t\t\t\t\t</div>
  3772. \t\t\t\t\t\t\t<div class=\"col-6 form-group\">
  3773. \t\t\t\t\t\t\t\t<label class=\"form_label\">Stock order</label>
  3774. \t\t\t\t\t\t\t\t<div {{ form_errors(formReceive.stockOrder) }}>
  3775. \t\t\t\t\t\t\t\t\t{{ form_widget(formReceive.stockOrder) }}
  3776. \t\t\t\t\t\t\t\t</div>
  3777. \t\t\t\t\t\t\t</div>
  3778. \t\t\t\t\t\t\t<div class=\"col-6 form-group\">
  3779. \t\t\t\t\t\t\t\t<label class=\"form_label\">Inserire DDT?</label>
  3780. \t\t\t\t\t\t\t\t<div {{ form_errors(formReceive.ddtMandatory) }}>
  3781. \t\t\t\t\t\t\t\t\t<table class=\"m_none\">
  3782. \t\t\t\t\t\t\t\t\t\t<tr>
  3783. \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>
  3784. \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>
  3785. \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>
  3786. \t\t\t\t\t\t\t\t\t\t</tr>
  3787. \t\t\t\t\t\t\t\t\t</table>
  3788. \t\t\t\t\t\t\t\t</div>
  3789. \t\t\t\t\t\t\t</div>
  3790. \t\t\t\t\t\t</div>
  3791. \t\t\t\t\t\t<div class=\"row\" id=\"row_receive_ddt\">
  3792. \t\t\t\t\t\t\t<div class=\"col-6 form-group\">
  3793. \t\t\t\t\t\t\t\t<label class=\"form_label\">Numero DDT*</label>
  3794. \t\t\t\t\t\t\t\t<div {{ form_errors(formReceive.ddt) }}>
  3795. \t\t\t\t\t\t\t\t\t{{ form_widget(formReceive.ddt) }}
  3796. \t\t\t\t\t\t\t\t</div>
  3797. \t\t\t\t\t\t\t</div>
  3798. \t\t\t\t\t\t\t<div class=\"col-6 form-group\">
  3799. \t\t\t\t\t\t\t\t<label class=\"form_label\">DDT*</label>
  3800. \t\t\t\t\t\t\t\t<div {{ form_errors(formReceive.ddtPath) }}>
  3801. \t\t\t\t\t\t\t\t\t{{ form_widget(formReceive.ddtPath, {'attr': {'class':'display_n'}}) }}
  3802. \t\t\t\t\t\t\t\t\t{{ form_widget(formReceive.file, {'attr': {'class':'display_n'}}) }}
  3803. \t\t\t\t\t\t\t\t\t<div class=\"input-group\">
  3804. \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>
  3805. \t\t\t\t\t\t\t\t\t\t<input id=\"filename1\" type=\"text\" class=\"form-control\" readonly>
  3806. \t\t\t\t\t\t\t\t\t</div>
  3807. \t\t\t\t\t\t\t\t</div>
  3808. \t\t\t\t\t\t\t</div>
  3809. \t\t\t\t\t\t</div>
  3810. \t\t\t\t\t</div>
  3811. \t\t\t\t\t<div class=\"modal-footer\">
  3812. \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>
  3813. \t\t\t\t\t\t<button type=\"submit\" class=\"button button-3d button-mini button-green f_right\">Continua</button>
  3814. \t\t\t\t\t</div>
  3815. \t\t\t\t{{ form_end(formReceive) }}
  3816. \t\t\t</div>
  3817. \t\t</div>
  3818. \t</div>
  3819. \t
  3820. \t{# Invia #}
  3821. \t<div id=\"transferSendModal\" class=\"modal fade\" tabindex=\"-1\" role=\"dialog\">
  3822. \t\t<div class=\"modal-dialog\" role=\"document\">
  3823. \t\t\t<div class=\"modal-content\">
  3824. \t\t\t\t{{ form_start(formSend, {'attr': {'novalidate': 'novalidate', 'id':'formSend'}}) }}
  3825. \t\t\t\t\t<div class=\"modal-header\"><h3 class=\"modal-title\">Invia materiale</h3></div>
  3826. \t\t\t\t\t<div class=\"modal-body\">
  3827. \t\t\t\t\t\t<div class=\"row\" id=\"row_select_type\">
  3828. \t\t\t\t\t\t\t<div class=\"col-12 txt_a_c\">
  3829. \t\t\t\t\t\t\t\t<label class=\"form_label\">A chi stai inviando il materiale?</label>
  3830. \t\t\t\t\t\t\t</div>
  3831. \t\t\t\t\t\t\t{% if warehouse.headquarter %}
  3832. \t\t\t\t\t\t\t\t<div class=\"col-12 col-md-6 txt_a_c\">
  3833. \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>
  3834. \t\t\t\t\t\t\t\t</div>
  3835. \t\t\t\t\t\t\t{% else %}
  3836. \t\t\t\t\t\t\t\t<div class=\"col-12 col-md-6 txt_a_c\">
  3837. \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>
  3838. \t\t\t\t\t\t\t\t</div>
  3839. \t\t\t\t\t\t\t{% endif %}
  3840. \t\t\t\t\t\t\t<div class=\"col-12 col-md-6 txt_a_c\">
  3841. \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>
  3842. \t\t\t\t\t\t\t</div>
  3843. \t\t\t\t\t\t\t{{ form_widget(formSend.type, {'attr':{'class':'display_n'}}) }}
  3844. \t\t\t\t\t\t</div>
  3845. \t\t\t\t\t\t<div class=\"row m_t_30p\" id=\"row_send_data\" style=\"display: none\">
  3846. \t\t\t\t\t\t\t<div class=\"col-12\">
  3847. \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>
  3848. \t\t\t\t\t\t\t\t<hr class=\"m_t_none\">
  3849. \t\t\t\t\t\t\t</div>
  3850. \t\t\t\t\t\t\t<div class=\"col-12 form-group\" id=\"row_user_from_select\" style=\"display: none\">
  3851. \t\t\t\t\t\t\t\t<label class=\"form_label\">Tecnico di partenza*</label>
  3852. \t\t\t\t\t\t\t\t<div {{ form_errors(formSend.userFrom) }}>
  3853. \t\t\t\t\t\t\t\t\t{{ form_widget(formSend.userFrom, {'attr':{'class':'form-control form-select'}}) }}
  3854. \t\t\t\t\t\t\t\t</div>
  3855. \t\t\t\t\t\t\t</div>
  3856. \t\t\t\t\t\t\t<div class=\"col-12 form-group\" id=\"row_user_to_select\">
  3857. \t\t\t\t\t\t\t\t<label class=\"form_label\">Tecnico di destinazione*</label>
  3858. \t\t\t\t\t\t\t\t<div {{ form_errors(formSend.userTo) }}>
  3859. \t\t\t\t\t\t\t\t\t{{ form_widget(formSend.userTo, {'attr':{'class':'form-control form-select', 'onchange':'updateTechnicianWarehouses()'}}) }}
  3860. \t\t\t\t\t\t\t\t</div>
  3861. \t\t\t\t\t\t\t</div>
  3862. \t\t\t\t\t\t\t<div class=\"col-12 form-group\" id=\"row_warehouse_select\">
  3863. \t\t\t\t\t\t\t\t<label class=\"form_label\">Magazzino di destinazione*</label>
  3864. \t\t\t\t\t\t\t\t<div {{ form_errors(formSend.warehouse) }}>
  3865. \t\t\t\t\t\t\t\t\t{{ form_widget(formSend.warehouse, {'attr':{'class':'form-control form-select'}}) }}
  3866. \t\t\t\t\t\t\t\t</div>
  3867. \t\t\t\t\t\t\t</div>
  3868. \t\t\t\t\t\t\t<div class=\"col-12 form-group\" id=\"row_warehouse_selected\" style=\"display: none\">
  3869. \t\t\t\t\t\t\t\t<label class=\"form_label\">Magazzino di destinazione*</label>
  3870. \t\t\t\t\t\t\t\t<input type=\"text\" readonly=\"true\" class=\"form-control\" id=\"input_warehouse_display\">
  3871. \t\t\t\t\t\t\t</div>
  3872. \t\t\t\t\t\t\t<div class=\"col-12 form-group\" id=\"div_send_supplier\">
  3873. \t\t\t\t\t\t\t\t<label class=\"form_label\">Fornitore*</label>
  3874. \t\t\t\t\t\t\t\t<div {{ form_errors(formSend.supplier) }}>
  3875. \t\t\t\t\t\t\t\t\t{{ form_widget(formSend.supplier, {'attr':{'class':'form-control form-select', 'onChange':'showHideDivestment()'}}) }}
  3876. \t\t\t\t\t\t\t\t</div>
  3877. \t\t\t\t\t\t\t</div>
  3878. \t\t\t\t\t\t\t<div class=\"col-12 form-group\" id=\"div_send_ddt_mandatory\" style=\"display: none\">
  3879. \t\t\t\t\t\t\t\t<div {{ form_errors(formSend.ddtMandatory) }}>
  3880. \t\t\t\t\t\t\t\t\t{% set checked = false %}
  3881. \t\t\t\t\t\t\t\t\t{% if settingDdtMandatory.value %}
  3882. \t\t\t\t\t\t\t\t\t\t{% set checked = true %}
  3883. \t\t\t\t\t\t\t\t\t{% endif %}
  3884. \t\t\t\t\t\t\t\t\t<table class=\"table table-sm b_none m_b_none\">
  3885. \t\t\t\t\t\t\t\t\t\t<tr>
  3886. \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>
  3887. \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>
  3888. \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>
  3889. \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>
  3890. \t\t\t\t\t\t\t\t\t\t</tr>
  3891. \t\t\t\t\t\t\t\t\t</table>
  3892. \t\t\t\t\t\t\t\t</div>
  3893. \t\t\t\t\t\t\t</div>
  3894. \t\t\t\t\t\t\t<div class=\"col-12 form-group\" id=\"div_send_divestment\" style=\"display: none\">
  3895. \t\t\t\t\t\t\t\t<div {{ form_errors(formSend.divestment) }}>
  3896. \t\t\t\t\t\t\t\t\t<table class=\"table table-sm b_none m_b_none\">
  3897. \t\t\t\t\t\t\t\t\t\t<tr>
  3898. \t\t\t\t\t\t\t\t\t\t\t<td><label class=\"form_label m_b_none\">è dismissione?</label></td>
  3899. \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>
  3900. \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>
  3901. \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>
  3902. \t\t\t\t\t\t\t\t\t\t</tr>
  3903. \t\t\t\t\t\t\t\t\t</table>
  3904. \t\t\t\t\t\t\t\t</div>
  3905. \t\t\t\t\t\t\t</div>
  3906. \t\t\t\t\t\t</div>
  3907. \t\t\t\t\t</div>
  3908. \t\t\t\t\t{{ form_widget(formSend.sendStocksIds, {'attr':{'class':'display_n'}}) }}
  3909. \t\t\t\t\t{{ form_widget(formSend.productRequestId, {'attr':{'class':'display_n'}}) }}
  3910. \t\t\t\t\t<div class=\"modal-footer\">
  3911. \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>
  3912. \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>
  3913. \t\t\t\t\t</div>
  3914. \t\t\t\t{{ form_end(formSend) }}
  3915. \t\t\t</div>
  3916. \t\t</div>
  3917. \t</div>
  3918. \t
  3919. \t{# Stock - Gestito #}
  3920. \t<div id=\"stockManagedModal\" class=\"modal fade\" tabindex=\"-1\" role=\"dialog\">
  3921. \t\t<div class=\"modal-dialog\" role=\"document\">
  3922. \t\t\t<div class=\"modal-content\">
  3923. \t\t\t\t<form action=\"{{ path ('user_warehouse_stock_multiple_select_action', {'warehouseId':warehouse.id}) }}\" method=\"post\" id=\"formManaged\">
  3924. \t\t\t\t\t<div class=\"modal-header\"><h3 class=\"modal-title\">Prodotti gestiti</h3></div>\t\t\t\t\t\t
  3925. \t\t\t\t\t<div class=\"modal-body\">
  3926. \t\t\t\t\t\t<input type=\"hidden\" id=\"managedStocksIds\" name=\"ids\">
  3927. \t\t\t\t\t\t<input type=\"hidden\" id=\"managedAction\" name=\"action\">
  3928. \t\t\t\t\t\t<div class=\"row\">
  3929. \t\t\t\t\t\t\t<div class=\"col-12 txt_a_c\">
  3930. \t\t\t\t\t\t\t\t<label class=\"modal_subtitle\">Attenzione!</label><br>
  3931. \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>
  3932. \t\t\t\t\t\t\t</div>
  3933. \t\t\t\t\t\t</div>
  3934. \t\t\t\t\t</div>
  3935. \t\t\t\t\t<div class=\"modal-footer\">
  3936. \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>
  3937. \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>
  3938. \t\t\t\t\t</div>
  3939. \t\t\t\t</form>
  3940. \t\t\t</div>
  3941. \t\t</div>
  3942. \t</div>
  3943. \t
  3944. \t{# Stock - Aggiungi fornitori #}
  3945. \t<div id=\"stockSupplierModal\" class=\"modal fade\" tabindex=\"-1\" role=\"dialog\">
  3946. \t\t<div class=\"modal-dialog\" role=\"document\">
  3947. \t\t\t<div class=\"modal-content\">
  3948. \t\t\t\t<form action=\"{{ path ('user_warehouse_stock_multiple_select_action', {'warehouseId':warehouse.id}) }}\" method=\"post\" id=\"formSupplier\">
  3949. \t\t\t\t\t<div class=\"modal-header\"><h3 class=\"modal-title\">Aggiungi fornitori per i prodotti</h3></div>\t\t\t\t\t\t
  3950. \t\t\t\t\t<div class=\"modal-body\">
  3951. \t\t\t\t\t\t<input type=\"hidden\" id=\"supplierStocksIds\" name=\"ids\">
  3952. \t\t\t\t\t\t<input type=\"hidden\" id=\"supplierAction\" name=\"action\">
  3953. \t\t\t\t\t\t<div class=\"row\">
  3954. \t\t\t\t\t\t\t<div class=\"col-12\">
  3955. \t\t\t\t\t\t\t\t<label class=\"form_label\">Seleziona i fornitori da aggiungere</label>
  3956. \t\t\t\t\t\t\t\t<div id=\"divErrorSupplier\">
  3957. \t\t\t\t\t\t\t\t\t{% for s in suppliers %}
  3958. \t\t\t\t\t\t\t\t\t\t<table class=\"table table_no_padding b_none m_b_none\">
  3959. \t\t\t\t\t\t\t\t\t\t\t<tr>
  3960. \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>
  3961. \t\t\t\t\t\t\t\t\t\t\t\t<td><label class=\"m_b_none form_label\">{{ s.name }}</label></td>
  3962. \t\t\t\t\t\t\t\t\t\t\t</tr>
  3963. \t\t\t\t\t\t\t\t\t\t</table>
  3964. \t\t\t\t\t\t\t\t\t{% endfor %}
  3965. \t\t\t\t\t\t\t\t</div>
  3966. \t\t\t\t\t\t\t</div>
  3967. \t\t\t\t\t\t</div>
  3968. \t\t\t\t\t</div>
  3969. \t\t\t\t\t<div class=\"modal-footer\">
  3970. \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>
  3971. \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>
  3972. \t\t\t\t\t</div>
  3973. \t\t\t\t</form>
  3974. \t\t\t</div>
  3975. \t\t</div>
  3976. \t</div>
  3977. \t{# Stock - Cambio condizione #}
  3978. \t<div id=\"stockConditionModal\" class=\"modal fade\" tabindex=\"-1\" role=\"dialog\">
  3979. \t\t<div class=\"modal-dialog\" role=\"document\">
  3980. \t\t\t<div class=\"modal-content\">
  3981. \t\t\t\t<form action=\"{{ path ('user_warehouse_stock_multiple_select_action', {'warehouseId':warehouse.id}) }}\" method=\"post\" id=\"formCondition\">
  3982. \t\t\t\t\t<div class=\"modal-header\"><h3 class=\"modal-title\">Cambia condizione prodotti</h3></div>
  3983. \t\t\t\t\t<div class=\"modal-body\">
  3984. \t\t\t\t\t\t<input type=\"hidden\" id=\"conditionStocksIds\" name=\"ids\">
  3985. \t\t\t\t\t\t<input type=\"hidden\" id=\"conditionAction\" name=\"action\">
  3986. \t\t\t\t\t\t<input type=\"hidden\" id=\"stockTab\" name=\"tab\">
  3987. \t\t\t\t\t\t<div class=\"row\">
  3988. \t\t\t\t\t\t\t<div class=\"col-12\">
  3989. \t\t\t\t\t\t\t\t<label class=\"form_label\">Seleziona nuova condizione</label>
  3990. \t\t\t\t\t\t\t\t<div id=\"divErrorCondition\">
  3991. \t\t\t\t\t\t\t\t\t<select class=\"form-control form-select\" id=\"select_product_condition\" name=\"productCondition\">
  3992. \t\t\t\t\t\t\t\t\t\t<option></option>
  3993. \t\t\t\t\t\t\t\t\t\t{% for condition in productConditions %}
  3994. \t\t\t\t\t\t\t\t\t\t\t<option value=\"{{ condition.id }}\">{{ condition.value }}</option>
  3995. \t\t\t\t\t\t\t\t\t\t{% endfor %}
  3996. \t\t\t\t\t\t\t\t\t</select>
  3997. \t\t\t\t\t\t\t\t</div>
  3998. \t\t\t\t\t\t\t</div>
  3999. \t\t\t\t\t\t</div>
  4000. \t\t\t\t\t</div>
  4001. \t\t\t\t\t<div class=\"modal-footer\">
  4002. \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>
  4003. \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>
  4004. \t\t\t\t\t</div>
  4005. \t\t\t\t</form>
  4006. \t\t\t</div>
  4007. \t\t</div>
  4008. \t</div>
  4009. \t
  4010. \t{# Transfer - Elimina #}
  4011. \t<div id=\"transferDeleteModal\" class=\"modal fade\" tabindex=\"-1\" role=\"dialog\">
  4012. \t\t<div class=\"modal-dialog\" role=\"document\">
  4013. \t\t\t<div class=\"modal-content\">
  4014. \t\t\t\t<form action=\"{{ path ('user_warehouse_transfer_delete', {'warehouseId':warehouse.id}) }}\" method=\"post\">
  4015. \t\t\t\t\t<div class=\"modal-header\"><h3 class=\"modal-title\">Trasferimento - Elimina</h3></div>
  4016. \t\t\t\t\t<div class=\"modal-body\">
  4017. \t\t\t\t\t\t<input type=\"hidden\" id=\"transferDeleteId\" name=\"transferDelId\"/>
  4018. \t\t\t\t\t\t<input type=\"hidden\" name=\"warehouseId\" value=\"{{ warehouse.id }}\"/>
  4019. \t\t\t\t\t\t<div class=\"row\">
  4020. \t\t\t\t\t\t\t<div class=\"col-12 txt_a_c\">
  4021. \t\t\t\t\t\t\t\t<label class=\"modal_subtitle\">Attenzione!</label>
  4022. \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>
  4023. \t\t\t\t\t\t\t</div>
  4024. \t\t\t\t\t\t</div>
  4025. \t\t\t\t\t</div>
  4026. \t\t\t\t\t<div class=\"modal-footer\">
  4027. \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>
  4028. \t\t\t\t\t\t<button type=\"submit\" class=\"button button-3d button-mini button-red f_right\">Conferma</button>
  4029. \t\t\t\t\t</div>
  4030. \t\t\t\t</form>
  4031. \t\t\t</div>
  4032. \t\t</div>
  4033. \t</div>\t
  4034. \t
  4035. \t{# Product request - Sheet #}
  4036. \t<div id=\"productRequestSheetModal\" class=\"modal fade\" tabindex=\"-1\" role=\"dialog\">
  4037. \t\t<div class=\"modal-dialog\" role=\"document\">
  4038. \t\t\t<div class=\"modal-content\">
  4039. \t\t\t\t<div class=\"modal-header\"><h3 class=\"modal-title\">Richiesta materiale - Dettaglio</h3></div>
  4040. \t\t\t\t<div class=\"modal-body\">
  4041. \t\t\t\t\t<table class=\"table table-sm responsive_font_size\">
  4042. \t\t\t\t\t\t<tr>
  4043. \t\t\t\t\t\t\t<th>Data/Ora</th>
  4044. \t\t\t\t\t\t\t<td id=\"request_sheet_datetime\"></td>
  4045. \t\t\t\t\t\t</tr>
  4046. \t\t\t\t\t\t<tr>
  4047. \t\t\t\t\t\t\t<th>Tecnico</th>
  4048. \t\t\t\t\t\t\t<td id=\"request_sheet_technician\"></td>
  4049. \t\t\t\t\t\t</tr>
  4050. \t\t\t\t\t\t</tr>
  4051. \t\t\t\t\t\t\t<th>Magazzino tecnico</th>
  4052. \t\t\t\t\t\t\t<td id=\"request_sheet_warehouse\"></td>
  4053. \t\t\t\t\t\t</tr>
  4054. \t\t\t\t\t\t</tr>
  4055. \t\t\t\t\t\t\t<th>Magazzino richiesta</th>
  4056. \t\t\t\t\t\t\t<td id=\"request_sheet_warehouse_headquarter\"></td>
  4057. \t\t\t\t\t\t</tr>
  4058. \t\t\t\t\t\t<tr>
  4059. \t\t\t\t\t\t\t<td colspan=\"2\" id=\"request_sheet_details\"></td>
  4060. \t\t\t\t\t\t</tr>
  4061. \t\t\t\t\t\t<tr>
  4062. \t\t\t\t\t\t\t<th>Note</th>
  4063. \t\t\t\t\t\t\t<td id=\"request_sheet_notes\"></td>
  4064. \t\t\t\t\t\t</tr>
  4065. \t\t\t\t\t</table>
  4066. \t\t\t\t</div>
  4067. \t\t\t\t<div class=\"modal-footer txt_a_c\">
  4068. \t\t\t\t\t<a href=\"javascript:void(0)\" class=\"button button-3d button-mini button-red\" data-bs-dismiss=\"modal\">Chiudi</a>
  4069. \t\t\t\t</div>
  4070. \t\t\t</div>
  4071. \t\t</div>
  4072. \t</div>
  4073. \t{# Product request - Take charge #}
  4074. \t<div id=\"productRequestTakeChargeModal\" class=\"modal fade\" tabindex=\"-1\" role=\"dialog\">
  4075. \t\t<div class=\"modal-dialog\" role=\"document\">
  4076. \t\t\t<div class=\"modal-content\">
  4077. \t\t\t\t<form action=\"{{ path ('user_warehouse_product_request_take_charge', {'warehouseId':warehouse.id}) }}\" method=\"post\">
  4078. \t\t\t\t\t<div class=\"modal-header\"><h3 class=\"modal-title\">Richiesta prodotti - Prendi in carico</h3></div>
  4079. \t\t\t\t\t<div class=\"modal-body\">
  4080. \t\t\t\t\t\t<input type=\"hidden\" id=\"product_request_take_charge_id\" name=\"productRequestId\">
  4081. \t\t\t\t\t\t<div class=\"row\">
  4082. \t\t\t\t\t\t\t<div class=\"col-12 txt_a_c\">
  4083. \t\t\t\t\t\t\t\t<label class=\"modal_subtitle\">Attenzione!</label><br>
  4084. \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>
  4085. \t\t\t\t\t\t\t</div>
  4086. \t\t\t\t\t\t</div>
  4087. \t\t\t\t\t</div>
  4088. \t\t\t\t\t<div class=\"modal-footer\">
  4089. \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>
  4090. \t\t\t\t\t\t<button type=\"submit\" class=\"button button-3d button-mini button-green f_right\">Conferma</button>
  4091. \t\t\t\t\t</div>
  4092. \t\t\t\t</form>
  4093. \t\t\t</div>
  4094. \t\t</div>
  4095. \t</div>
  4096. \t
  4097. \t{# Product request - Take charge #}
  4098. \t<div id=\"productRequestManagedModal\" class=\"modal fade\" tabindex=\"-1\" role=\"dialog\">
  4099. \t\t<div class=\"modal-dialog\" role=\"document\">
  4100. \t\t\t<div class=\"modal-content\">
  4101. \t\t\t\t<form action=\"{{ path ('user_warehouse_product_request_managed', {'warehouseId':warehouse.id}) }}\" method=\"post\">
  4102. \t\t\t\t\t<div class=\"modal-header\"><h3 class=\"modal-title\">Richiesta prodotti - Gestita</h3></div>
  4103. \t\t\t\t\t<div class=\"modal-body\">
  4104. \t\t\t\t\t\t<input type=\"hidden\" id=\"product_request_managed_id\" name=\"productRequestId\">
  4105. \t\t\t\t\t\t<div class=\"row\">
  4106. \t\t\t\t\t\t\t<div class=\"col-12 txt_a_c\">
  4107. \t\t\t\t\t\t\t\t<label class=\"modal_subtitle\">Attenzione!</label><br>
  4108. \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>
  4109. \t\t\t\t\t\t\t</div>
  4110. \t\t\t\t\t\t</div>
  4111. \t\t\t\t\t</div>
  4112. \t\t\t\t\t<div class=\"modal-footer\">
  4113. \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>
  4114. \t\t\t\t\t\t<button type=\"submit\" class=\"button button-3d button-mini button-green f_right\">Conferma</button>
  4115. \t\t\t\t\t</div>
  4116. \t\t\t\t</form>
  4117. \t\t\t</div>
  4118. \t\t</div>
  4119. \t</div>
  4120. \t
  4121. \t{# Product request - Delete #}
  4122. \t<div id=\"productRequestDeleteModal\" class=\"modal fade\" tabindex=\"-1\" role=\"dialog\">
  4123. \t\t<div class=\"modal-dialog\" role=\"document\">
  4124. \t\t\t<div class=\"modal-content\">
  4125. \t\t\t\t<form action=\"{{ path ('user_warehouse_product_request_delete', {'warehouseId':warehouse.id}) }}\" method=\"post\">
  4126. \t\t\t\t\t<div class=\"modal-header\"><h3 class=\"modal-title\">Richieste prodotto - Elimina</h3></div>
  4127. \t\t\t\t\t<div class=\"modal-body\">
  4128. \t\t\t\t\t\t<input type=\"hidden\" id=\"product_request_delete_id\" name=\"productRequestId\">
  4129. \t\t\t\t\t\t<div class=\"row\">
  4130. \t\t\t\t\t\t\t<div class=\"col-12 txt_a_c\">
  4131. \t\t\t\t\t\t\t\t<label class=\"modal_subtitle\">Attenzione!</label><br>
  4132. \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>
  4133. \t\t\t\t\t\t\t</div>
  4134. \t\t\t\t\t\t</div>
  4135. \t\t\t\t\t</div>
  4136. \t\t\t\t\t<div class=\"modal-footer\">
  4137. \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>
  4138. \t\t\t\t\t\t<button type=\"submit\" class=\"button button-3d button-mini button-red f_right\">Conferma</button>
  4139. \t\t\t\t\t</div>
  4140. \t\t\t\t</form>
  4141. \t\t\t</div>
  4142. \t\t</div>
  4143. \t</div>
  4144. {% endblock %}
  4145. {% block modals %}
  4146. \t{% include 'components/modals/filter_supplier.html.twig' with {'number':0, 'suppliers':suppliers} %}
  4147. \t{% include 'components/modals/filter_supplier.html.twig' with {'number':1, 'suppliers':suppliers} %}
  4148. \t{% include 'components/modals/filter_supplier.html.twig' with {'number':2, 'suppliers':suppliers} %}
  4149. \t{% include 'components/modals/filter_supplier.html.twig' with {'number':3, 'suppliers':suppliers} %}
  4150. \t{# Dati magazzino #}
  4151. \t{% set editWarehouseModalBody %}
  4152. \t\t<input type=\"hidden\" id=\"warehouseEditId\" name=\"warehouseEditId\"/>
  4153. \t\t<div class=\"row\">
  4154. \t\t\t<div class=\"col-12 form-group\">
  4155. \t\t\t\t<label class=\"form_label\">Nome*</label>
  4156. \t\t\t\t<div {{ form_errors(formEdit.nickname) }}>
  4157. \t\t\t\t\t{{ form_widget(formEdit.nickname) }}
  4158. \t\t\t\t</div>
  4159. \t\t\t</div>
  4160. \t\t\t<div class=\"col-12 form-group\">
  4161. \t\t\t\t<label class=\"form_label\">Indirizzo DDT*</label>
  4162. \t\t\t\t<div {{ form_errors(formEdit.address) }}>
  4163. \t\t\t\t\t{{ form_widget(formEdit.address) }}
  4164. \t\t\t\t</div>
  4165. \t\t\t</div>
  4166. \t\t\t<div class=\"col-12 col-md-6 form-group\">
  4167. \t\t\t\t<label class=\"form_label\">Sede centrale</label>
  4168. \t\t\t\t<div {{ form_errors(formEdit.headquarter) }}>
  4169. \t\t\t\t\t<table class=\"m_none\">
  4170. \t\t\t\t\t\t<tr>
  4171. \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>
  4172. \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>
  4173. \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>
  4174. \t\t\t\t\t\t</tr>
  4175. \t\t\t\t\t</table>
  4176. \t\t\t\t</div>
  4177. \t\t\t</div>
  4178. \t\t\t<div class=\"col-12 col-md-6 form-group\">
  4179. \t\t\t\t<label class=\"form_label\">Magazzino mobile</label>
  4180. \t\t\t\t<div {{ form_errors(formEdit.movable) }}>
  4181. \t\t\t\t\t<table class=\"m_none\">
  4182. \t\t\t\t\t\t<tr>
  4183. \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>
  4184. \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>
  4185. \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>
  4186. \t\t\t\t\t\t</tr>
  4187. \t\t\t\t\t</table>
  4188. \t\t\t\t</div>
  4189. \t\t\t</div>
  4190. \t\t</div>
  4191. \t{% endset %}
  4192. \t{% set editWarehouseScriptBody %}{% endset %}
  4193. \t{% include 'components/modals/edit.html.twig' with {'type':'warehouse', 'form':formEdit, 'text':'Magazzino', 'modalBody':editWarehouseModalBody, 'scriptBody':editWarehouseScriptBody, 'openModal':'openEditModal', 'id':''} %}
  4194. {% endblock %}
  4195. {% block javascripts %}
  4196. {{ parent() }}
  4197. {% include 'components/js/upload_file_js.html.twig' with {'number':'1', 'file':'form_transfer_receive_file', 'path':'form_transfer_receive_ddtPath'} %}
  4198. {% include 'components/js/upload_file_js.html.twig' with {'number':'2', 'file':'form_import_inventory_file', 'path':'form_import_inventory_path'} %}
  4199. {% 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'} %}
  4200. {% 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'} %}
  4201. {% 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'} %}
  4202. {% 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'} %}
  4203. {% include 'components/js/filter_supplier_js.html.twig' with {'number':0, 'suppliers':suppliers, 'filterSupplier':filters.supplier_0} %}
  4204. {% include 'components/js/filter_supplier_js.html.twig' with {'number':1, 'suppliers':suppliers, 'filterSupplier':filters.supplier_1} %}
  4205. {% include 'components/js/filter_supplier_js.html.twig' with {'number':2, 'suppliers':suppliers, 'filterSupplier':filters.supplier_1} %}
  4206. {% include 'components/js/filter_supplier_js.html.twig' with {'number':3, 'suppliers':suppliers, 'filterSupplier':filters.supplier_1} %}
  4207. {% include 'components/js/daterangepicker_js.html.twig' with {'id':'daterange1last_1', 'format':'DD-MM-YYYY HH:mm'} %}
  4208. {% include 'components/js/daterangepicker_js.html.twig' with {'id':'daterange1last_2', 'format':'DD-MM-YYYY HH:mm'} %}
  4209. {% include 'components/js/daterangepicker_js.html.twig' with {'id':'daterange1last_3', 'format':'DD-MM-YYYY HH:mm'} %}
  4210. {% include 'components/js/daterangepicker_js.html.twig' with {'id':'daterange2creation_1', 'format':'DD-MM-YYYY HH:mm'} %}
  4211. {% include 'components/js/daterangepicker_js.html.twig' with {'id':'daterange2send_1', 'format':'DD-MM-YYYY HH:mm'} %}
  4212. {% include 'components/js/daterangepicker_js.html.twig' with {'id':'daterange2completion_1', 'format':'DD-MM-YYYY HH:mm'} %}
  4213. {% include 'components/js/daterangepicker_js.html.twig' with {'id':'daterange2creation_2', 'format':'DD-MM-YYYY HH:mm'} %}
  4214. {% include 'components/js/daterangepicker_js.html.twig' with {'id':'daterange2send_2', 'format':'DD-MM-YYYY HH:mm'} %}
  4215. {% include 'components/js/daterangepicker_js.html.twig' with {'id':'daterange2completion_2', 'format':'DD-MM-YYYY HH:mm'} %}
  4216. {% include 'components/js/daterangepicker_js.html.twig' with {'id':'daterange2creation_3', 'format':'DD-MM-YYYY HH:mm'} %}
  4217. {% include 'components/js/daterangepicker_js.html.twig' with {'id':'daterange2send_3', 'format':'DD-MM-YYYY HH:mm'} %}
  4218. {% include 'components/js/daterangepicker_js.html.twig' with {'id':'daterange2completion_3', 'format':'DD-MM-YYYY HH:mm'} %}
  4219. {% include 'components/js/daterangepicker_js.html.twig' with {'id':'daterange3_1', 'format':'DD-MM-YYYY HH:mm'} %}
  4220. {% include 'components/js/daterangepicker_js.html.twig' with {'id':'daterange3_2', 'format':'DD-MM-YYYY HH:mm'} %}
  4221. {% include 'components/js/daterangepicker_js.html.twig' with {'id':'daterange3_3', 'format':'DD-MM-YYYY HH:mm'} %}
  4222. <script>
  4223. \t\$(document).ready(function(){
  4224. \t\t// Inventory
  4225. \t\t{% if app.session.get('openStockInventoryModal') %}
  4226. \t\t\tstockInventory();
  4227. \t\t\t{{ app.session.remove('openStockInventoryModal') }}
  4228. \t\t{% endif %}
  4229. \t\t// Receive
  4230. \t\t{% if app.session.get('openTransferReceiveModal') %}
  4231. \t\t\ttransferReceive();
  4232. \t\t\t{{ app.session.remove('openTransferReceiveModal') }}
  4233. \t\t{% endif %}
  4234. \t\t// Invia
  4235. \t\t{% if app.session.get('openTransferSendModal') %}
  4236. \t\t\ttransferSend();
  4237. \t\t\t{{ app.session.remove('openTransferSendModal') }}
  4238. \t\t{% endif %}
  4239. \t\t{% if app.session.get('transferStocksIds') %}
  4240. \t\t\t{{ app.session.remove('transferStocksIds') }}
  4241. \t\t{% endif %}
  4242. \t\tvar dateRanges1last = document.getElementsByClassName('daterange1last');
  4243. \t\t{% if filters.dateLastTransfer_1 != null and filters.dateLastTransfer_1 != '' %}
  4244. \t\t\tfor(i=0; i<dateRanges1last.length; i++){
  4245. \t\t\t\tdateRanges1last[i].value = \"{{ filters.dateLastTransfer_1 }}\";
  4246. \t\t\t}
  4247. \t\t{% else %}
  4248. \t\t\tfor(i=0; i<dateRanges1last.length; i++){
  4249. \t\t\t\tdateRanges1last[i].value = \"\";
  4250. \t\t\t}
  4251. \t\t{% endif %}
  4252. \t\tvar dateRanges2creation = document.getElementsByClassName('daterange2creation');
  4253. \t\t{% if filters.datetimeCreation_2 != null and filters.datetimeCreation_2 != '' %}
  4254. \t\t\tfor(i=0; i<dateRanges2creation.length; i++){
  4255. \t\t\t\tdateRanges2creation[i].value = \"{{ filters.datetimeCreation_2 }}\";
  4256. \t\t\t}
  4257. \t\t{% else %}
  4258. \t\t\tfor(i=0; i<dateRanges2creation.length; i++){
  4259. \t\t\t\tdateRanges2creation[i].value = \"\";
  4260. \t\t\t}
  4261. \t\t{% endif %}
  4262. \t\t
  4263. \t\tvar dateRanges2send = document.getElementsByClassName('daterange2send');
  4264. \t\t{% if filters.datetimeSend_2 != null and filters.datetimeSend_2 != '' %}
  4265. \t\t\tfor(i=0; i<dateRanges2send.length; i++){
  4266. \t\t\t\tdateRanges2send[i].value = \"{{ filters.datetimeSend_2 }}\";
  4267. \t\t\t}
  4268. \t\t{% else %}
  4269. \t\t\tfor(i=0; i<dateRanges2send.length; i++){
  4270. \t\t\t\tdateRanges2send[i].value = \"\";
  4271. \t\t\t}
  4272. \t\t{% endif %}
  4273. \t\t
  4274. \t\tvar dateRanges2completion = document.getElementsByClassName('daterange2completion');
  4275. \t\t{% if filters.datetimeCompletion_2 != null and filters.datetimeCompletion_2 != '' %}
  4276. \t\t\tfor(i=0; i<dateRanges2completion.length; i++){
  4277. \t\t\t\tdateRanges2completion[i].value = \"{{ filters.datetimeCompletion_2 }}\";
  4278. \t\t\t}
  4279. \t\t{% else %}
  4280. \t\t\tfor(i=0; i<dateRanges2completion.length; i++){
  4281. \t\t\t\tdateRanges2completion[i].value = \"\";
  4282. \t\t\t}
  4283. \t\t{% endif %}
  4284. \t\tvar dateRanges3 = document.getElementsByClassName('daterange3');
  4285. \t\t{% if filters.date_3 != null and filters.date_3 != '' %}
  4286. \t\t\tfor(i=0; i<dateRanges3.length; i++){
  4287. \t\t\t\tdateRanges3[i].value = \"{{ filters.date_3 }}\";
  4288. \t\t\t}
  4289. \t\t{% else %}
  4290. \t\t\tfor(i=0; i<dateRanges3.length; i++){
  4291. \t\t\t\tdateRanges3[i].value = \"\";
  4292. \t\t\t}
  4293. \t\t{% endif %}
  4294. \t});
  4295. \tfunction selectAll(index, tab){
  4296. \t\tvar checkboxes = document.getElementsByClassName('stock_' + index + '_checkbox');
  4297. \t\tvar isSelect = document.getElementById('stock_' + index + '_all_checkboxes').checked;
  4298. \t\tfor(i=0; i<checkboxes.length; i++)
  4299. \t\t\tcheckboxes[i].checked = isSelect;
  4300. \t\tupdateButtons(index, tab);
  4301. \t}
  4302. \t
  4303. \tfunction updateButtons(index, tab){
  4304. \t\tvar inputSelectAll = document.getElementById('stock_' + index + '_all_checkboxes');
  4305. \t\tvar checkboxes = document.getElementsByClassName('stock_' + index + '_checkbox');
  4306. \t\tvar buttonCondition = document.getElementById('button_' + index + '_condition');
  4307. \t\tif(tab == 's_to_manage')
  4308. \t\t\tvar buttonManaged = document.getElementById('button_' + index + '_managed');
  4309. \t\t{% if app.user.getAccountTypology != 'technician' %}
  4310. \t\t\tif(tab == 's_to_manage' || tab == 's_available' || tab == 's_not_available')
  4311. \t\t\t\tvar buttonSupplier = document.getElementById('button_' + index + '_supplier');
  4312. \t\t{% endif %}
  4313. \t\tif(tab == 's_available' || tab == 's_not_available')
  4314. \t\t\tvar buttonSend = document.getElementById('button_' + index + '_send');
  4315. \t\tvar isAllSelected = true;
  4316. \t\tconst array = [];
  4317. \t\tfor(i=0; i<checkboxes.length; i++){
  4318. \t\t\tif(checkboxes[i].checked){
  4319. \t\t\t\tarray.push(checkboxes[i].value);
  4320. \t\t\t}
  4321. \t\t\telse
  4322. \t\t\t\tisAllSelected = false;
  4323. \t\t}
  4324. \t\t
  4325. \t\tif(!isAllSelected)
  4326. \t\t\tinputSelectAll.checked = false;
  4327. \t\t
  4328. \t\tif(array.length > 0){
  4329. \t\t\tbuttonCondition.className = \"button button-3d button-mini button-green f_right m_b_10p\";
  4330. \t\t\tbuttonCondition.href = \"javascript: sendAction('condition', \" + index + \", '\" + tab + \"')\";
  4331. \t\t\tif(tab == 's_to_manage'){
  4332. \t\t\t\tbuttonManaged.className = \"button button-3d button-mini button-green f_right m_b_10p\";
  4333. \t\t\t\tbuttonManaged.href = \"javascript: sendAction('managed', \" + index + \", '\" + tab + \"')\";
  4334. \t\t\t}
  4335. \t\t\t{% if app.user.getAccountTypology != 'technician' %}
  4336. \t\t\t\tif(tab == 's_to_manage' || tab == 's_available' || tab == 's_not_available'){
  4337. \t\t\t\t\tbuttonSupplier.className = \"button button-3d button-mini button-green f_right m_b_10p\";
  4338. \t\t\t\t\tbuttonSupplier.href = \"javascript: sendAction('supplier', \" + index + \", '\" + tab + \"')\";
  4339. \t\t\t\t}
  4340. \t\t\t{% endif %}
  4341. \t\t\tif(tab == 's_available' || tab == 's_not_available'){
  4342. \t\t\t\tbuttonSend.className = \"button button-3d button-mini button-green f_right m_b_10p\";
  4343. \t\t\t\tbuttonSend.href = \"javascript: sendAction('send', \" + index + \", '\" + tab + \"')\";
  4344. \t\t\t}
  4345. \t\t}
  4346. \t\telse{
  4347. \t\t\tbuttonCondition.className = \"button button-3d button-mini button-grey f_right m_b_10p\";
  4348. \t\t\tbuttonCondition.href = \"javascript: void(0)\";
  4349. \t\t\tif(tab == 's_to_manage'){
  4350. \t\t\t\tbuttonManaged.className = \"button button-3d button-mini button-grey f_right m_b_10p\";
  4351. \t\t\t\tbuttonManaged.href = \"javascript: void(0)\";
  4352. \t\t\t}
  4353. \t\t\t{% if app.user.getAccountTypology != 'technician' %}
  4354. \t\t\t\tif(tab == 's_to_manage' || tab == 's_available' || tab == 's_not_available'){
  4355. \t\t\t\t\tbuttonSupplier.className = \"button button-3d button-mini button-grey f_right m_b_10p\";
  4356. \t\t\t\t\tbuttonSupplier.href = \"javascript: void(0)\";
  4357. \t\t\t\t}
  4358. \t\t\t{% endif %}
  4359. \t\t\tif(tab == 's_available' || tab == 's_not_available'){
  4360. \t\t\t\tbuttonSend.className = \"button button-3d button-mini button-grey f_right m_b_10p\";
  4361. \t\t\t\tbuttonSend.href = \"javascript: void(0)\";
  4362. \t\t\t}
  4363. \t\t}
  4364. \t}
  4365. \tfunction sendAction(action, index, tab){
  4366. \t\tvar checkboxes = document.getElementsByClassName('stock_' + index + '_checkbox');
  4367. \t\tconst array = [];
  4368. \t\tfor(i=0; i<checkboxes.length; i++){
  4369. \t\t\tif(checkboxes[i].checked)
  4370. \t\t\t\tarray.push(checkboxes[i].value);
  4371. \t\t}
  4372. \t\tswitch(action){
  4373. \t\t\tcase 'managed':
  4374. \t\t\t\tdocument.getElementById('managedStocksIds').value = array;
  4375. \t\t\t\tdocument.getElementById('managedAction').value = action;
  4376. \t\t\t\t\$('#stockManagedModal').modal({backdrop: 'static', keyboard: false}).modal(\"show\");
  4377. \t\t\t\tbreak;
  4378. \t\t\tcase 'supplier':
  4379. \t\t\t\tvar checkboxes = document.getElementsByClassName('supplier_checkboxes');
  4380. \t\t\t\tfor(i=0; i<checkboxes.length; i++){
  4381. \t\t\t\t\tcheckboxes[i].removeAttribute(\"checked\");
  4382. \t\t\t\t\tcheckboxes[i].checked = false;
  4383. \t\t\t\t}
  4384. \t\t\t\tdocument.getElementById('supplierStocksIds').value = array;
  4385. \t\t\t\tdocument.getElementById('supplierAction').value = action;
  4386. \t\t\t\t\$('#stockSupplierModal').modal({backdrop: 'static', keyboard: false}).modal(\"show\");
  4387. \t\t\t\tbreak;
  4388. \t\t\tcase 'condition':
  4389. \t\t\t\tdocument.getElementById('conditionAction').value = action;
  4390. \t\t\t\tdocument.getElementById('conditionStocksIds').value = array;
  4391. \t\t\t\tswitch(index){
  4392. \t\t\t\t\tcase 0: document.getElementById('stockTab').value = 'to_manage'; break;
  4393. \t\t\t\t\tcase 1: document.getElementById('stockTab').value = 'available'; break;
  4394. \t\t\t\t\tcase 2: document.getElementById('stockTab').value = 'not_available'; break;
  4395. \t\t\t\t\tdefault: break;
  4396. \t\t\t\t}
  4397. \t\t\t\t\$('#stockConditionModal').modal({backdrop: 'static', keyboard: false}).modal(\"show\");
  4398. \t\t\t\tbreak;
  4399. \t\t\tcase 'send':
  4400. \t\t\t\tvar a = document.getElementById('a_send_technician');
  4401. \t\t\t\tif(tab == 's_not_available'){
  4402. \t\t\t\t\ta.href = \"javascript: void(0)\";
  4403. \t\t\t\t\ta.className = \"button button-3d button-mini button-grey width_200p txt_a_c\";
  4404. \t\t\t\t}
  4405. \t\t\t\telse{
  4406. \t\t\t\t\ta.href = \"javascript: transferSendSetType('technician')\";
  4407. \t\t\t\t\ta.className = \"button button-3d button-mini button-pr width_200p txt_a_c\";
  4408. \t\t\t\t}
  4409. \t\t\t\tdocument.getElementById('form_transfer_send_sendStocksIds').value = array;
  4410. \t\t\t\ttransferSend();
  4411. \t\t\t\tbreak;
  4412. \t\t\tdefault: break;
  4413. \t\t}
  4414. \t}
  4415. \tfunction checkSubmit(action){
  4416. \t\tswitch(action){
  4417. \t\t\tcase 'managed':
  4418. \t\t\t\ttriggerLoading();
  4419. \t\t\t\t\$('#formManaged').submit();
  4420. \t\t\t\tbreak;
  4421. \t\t\tcase 'supplier':
  4422. \t\t\t\tvar valid = false;
  4423. \t\t\t\tvar checkboxes = document.getElementsByClassName('supplier_checkboxes');
  4424. \t\t\t\tfor(i=0; i<checkboxes.length; i++){
  4425. \t\t\t\t\tif(checkboxes[i].checked){
  4426. \t\t\t\t\t\tvalid = true;
  4427. \t\t\t\t\t\tbreak;
  4428. \t\t\t\t\t}
  4429. \t\t\t\t}
  4430. \t\t\t\tif(valid){
  4431. \t\t\t\t\ttriggerLoading();
  4432. \t\t\t\t\t\$('#formSupplier').submit();
  4433. \t\t\t\t}
  4434. \t\t\t\telse{
  4435. \t\t\t\t\tvar divError = document.getElementById('divErrorSupplier');
  4436. \t\t\t\t\tdivError.className = 'error';
  4437. \t\t\t\t\tdivError.children[0].setAttribute('data-bs-toggle', 'tooltip');
  4438. \t\t\t\t\tdivError.children[0].setAttribute('title', 'Campo obbligatorio');
  4439. \t\t\t\t}
  4440. \t\t\t\tbreak;
  4441. \t\t\tcase 'condition':
  4442. \t\t\t\tif(document.getElementById('select_product_condition').value != 0){
  4443. \t\t\t\t\ttriggerLoading();
  4444. \t\t\t\t\t\$('#formCondition').submit();
  4445. \t\t\t\t}
  4446. \t\t\t\telse{
  4447. \t\t\t\t\tvar divError = document.getElementById('divErrorCondition');
  4448. \t\t\t\t\tdivError.className = 'error';
  4449. \t\t\t\t\tdivError.children[0].setAttribute('data-bs-toggle', 'tooltip');
  4450. \t\t\t\t\tdivError.children[0].setAttribute('title', 'Campo obbligatorio');
  4451. \t\t\t\t}
  4452. \t\t\t\tbreak;
  4453. \t\t\tdefault: break;
  4454. \t\t}
  4455. \t\t\$('[data-bs-toggle=\"tooltip\"]').tooltip();
  4456. \t}
  4457. \tfunction stockInventory(){
  4458. \t\t\$('#stockInventoryModal').modal({backdrop: 'static', keyboard: false}).modal(\"show\");
  4459. \t}
  4460. \t// RICEVI MATERIALE
  4461. \t\$('#form_transfer_receive_date').datepicker({ autoclose: true, todayHighlight: true, format: \"dd-mm-yyyy\", startDate: \"today\" });
  4462.     function transferReceive(){
  4463.         \$('#transferReceiveModal').modal({backdrop: 'static', keyboard: false}).modal(\"show\");
  4464.     }
  4465. \tfunction tranferReceiveShowHideDDT(){
  4466. \t\tif(document.getElementById('form_transfer_receive_ddtMandatory').checked == true){
  4467. \t\t\tdocument.getElementById('row_receive_ddt').style.display = 'flex';
  4468. \t\t}
  4469. \t\telse{
  4470. \t\t\tdocument.getElementById('row_receive_ddt').style.display = 'none';
  4471. \t\t}
  4472. \t}
  4473. \t// INVIA MATERIALE
  4474. \t\$('#form_transfer_send_date').datepicker({ autoclose: true, todayHighlight: true, format: \"dd-mm-yyyy\", startDate: \"today\" });
  4475.     function transferSend(){
  4476. \t\tdocument.getElementById('form_transfer_send_productRequestId').value = '';
  4477. \t\tdocument.getElementById('row_select_type').style.display = 'flex';
  4478. \t\tdocument.getElementById('row_warehouse_select').style.display = 'block';
  4479. \t\tdocument.getElementById('row_warehouse_selected').style.display = 'none';
  4480. \t\tdocument.getElementById('row_send_data').className = 'row m_t_30p';
  4481.         \$('#transferSendModal').modal({backdrop: 'static', keyboard: false}).modal(\"show\");
  4482.     }
  4483. \t
  4484. \tfunction transferSendSetType(type){
  4485. \t\tdocument.getElementById('form_transfer_send_type').value = type;
  4486. \t\t\$.post('{{ path (\"user_warehouse_transfer_update_warehouses\", {\"warehouseId\":warehouse.id}) }}', {type: type}, function(response){ 
  4487. \t\t\tif(response.code == 200 && response.success){
  4488. \t\t\t\tswitch(type){
  4489. \t\t\t\t\tcase 'technician': 
  4490. \t\t\t\t\t\tupdateTechnicianWarehouses();
  4491. \t\t\t\t\t\tdocument.getElementById('span_send_type').innerHTML = 'Tecnico';
  4492. \t\t\t\t\t\tdocument.getElementById('div_send_supplier').style.display = 'none';
  4493. \t\t\t\t\t\tdocument.getElementById('div_send_ddt_mandatory').style.display = 'block';
  4494. \t\t\t\t\t\tdocument.getElementById('row_user_to_select').style.display = 'block';
  4495. \t\t\t\t\t\t{% if warehouse.headquarter == 0 and app.user.getAccountTypology != 'technician' %}
  4496. \t\t\t\t\t\t\tdocument.getElementById('row_user_from_select').style.display = 'block';
  4497. \t\t\t\t\t\t{% endif %}
  4498. \t\t\t\t\t\tbreak;
  4499. \t\t\t\t\tcase 'destination':
  4500. \t\t\t\t\t\tdocument.getElementById('span_send_type').innerHTML = 'Destinazione esterna';
  4501. \t\t\t\t\t\tdocument.getElementById('div_send_supplier').style.display = 'block';
  4502. \t\t\t\t\t\tdocument.getElementById('div_send_ddt_mandatory').style.display = 'none';
  4503. \t\t\t\t\t\tdocument.getElementById('row_user_to_select').style.display = 'none';
  4504. \t\t\t\t\t\tbreak;
  4505. \t\t\t\t\tcase 'main':
  4506. \t\t\t\t\t\tdocument.getElementById('span_send_type').innerHTML = 'Sede centrale';
  4507. \t\t\t\t\t\tdocument.getElementById('div_send_supplier').style.display = 'none';
  4508. \t\t\t\t\t\tdocument.getElementById('div_send_ddt_mandatory').style.display = 'none';
  4509. \t\t\t\t\t\tdocument.getElementById('row_user_to_select').style.display = 'none';
  4510. \t\t\t\t\t\t{% if warehouse.headquarter == 0 and app.user.getAccountTypology != 'technician' %}
  4511. \t\t\t\t\t\t\tdocument.getElementById('row_user_from_select').style.display = 'block';
  4512. \t\t\t\t\t\t{% endif %}
  4513. \t\t\t\t\t\tbreak;
  4514. \t\t\t\t\tdefault: break;
  4515. \t\t\t\t}
  4516. \t\t\t\tvar select = document.getElementById('form_transfer_send_warehouse');
  4517. \t\t\t\twhile(select.options.length){
  4518. \t\t\t\t\tselect.remove(0);
  4519. \t\t\t\t}
  4520. \t\t\t\tvar warehouses = JSON.parse(response.warehouses);
  4521. \t\t\t\tfor(var i = 0; i < warehouses.length; i++){
  4522. \t\t\t\t\tvar option = new Option(warehouses[i]['nickname'], warehouses[i]['id']);
  4523. \t\t\t\t\tselect.options.add(option);
  4524. \t\t\t\t}
  4525. \t\t\t\tdocument.getElementById('row_send_data').style.display = 'flex';
  4526. \t\t\t\tdocument.getElementById('button_send_submit').className = 'button button-3d button-mini button-green f_right';
  4527. \t\t\t\tdocument.getElementById('button_send_submit').href = 'javascript: transferSendSubmit()';
  4528. \t\t\t}
  4529. \t\t}, \"json\");
  4530. \t}
  4531. \tfunction showHideDivestment(){
  4532. \t\tvar select = document.getElementById('form_transfer_send_supplier');
  4533. \t\tvar options = select.children;
  4534. \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')
  4535. \t\t\tdocument.getElementById('div_send_divestment').style.display = 'block';
  4536. \t\telse
  4537. \t\t\tdocument.getElementById('div_send_divestment').style.display = 'none';
  4538. \t}
  4539. \tfunction updateTechnicianWarehouses(){
  4540. \t\ttechnicianId = document.getElementById('form_transfer_send_userTo').value;
  4541. \t\t\$.post('{{ path (\"user_warehouse_transfer_update_technician_warehouses\", {\"warehouseId\":warehouse.id}) }}', {technicianId: technicianId}, function(response){ 
  4542. \t\t\tif(response.code == 200 && response.success){
  4543. \t\t\t\tvar select = document.getElementById('form_transfer_send_warehouse');
  4544. \t\t\t\twhile(select.options.length){
  4545. \t\t\t\t\tselect.remove(0);
  4546. \t\t\t\t}
  4547. \t\t\t\tvar warehouses = JSON.parse(response.warehouses);
  4548. \t\t\t\tfor(var i = 0; i < warehouses.length; i++){
  4549. \t\t\t\t\tvar option = new Option(warehouses[i]['nickname'], warehouses[i]['id']);
  4550. \t\t\t\t\tselect.options.add(option);
  4551. \t\t\t\t}
  4552. \t\t\t\tdocument.getElementById('row_send_data').style.display = 'flex';
  4553. \t\t\t}
  4554. \t\t}, \"json\");
  4555. \t}
  4556. \tfunction transferSendSubmit(){
  4557. \t\t\$('#formSend').submit();
  4558. \t}
  4559.     function transferDelete(id){
  4560.         document.getElementById(\"transferDeleteId\").value = id;
  4561.         \$('#transferDeleteModal').modal({backdrop: 'static', keyboard: false}).modal(\"show\");
  4562.     }
  4563. \t
  4564. \t// GESTISCI RICHIESTE TECNICI
  4565. \tfunction productRequestSheet(id){
  4566. \t\tdocument.getElementById('request_sheet_datetime').innerHTML = document.getElementById('request_' + id + '_datetime').innerHTML;
  4567. \t\tdocument.getElementById('request_sheet_technician').innerHTML = document.getElementById('request_' + id + '_technician').innerHTML;
  4568. \t\tdocument.getElementById('request_sheet_warehouse').innerHTML = document.getElementById('request_' + id + '_warehouse').innerHTML;
  4569. \t\tdocument.getElementById('request_sheet_warehouse_headquarter').innerHTML = document.getElementById('request_' + id + '_warehouse_headquarter').innerHTML;
  4570. \t\tdocument.getElementById('request_sheet_details').innerHTML = document.getElementById('request_' + id + '_details').value;
  4571. \t\tdocument.getElementById('request_sheet_notes').innerHTML = document.getElementById('request_' + id + '_notes').value;
  4572. \t\t\$('#productRequestSheetModal').modal({backdrop: 'static', keyboard: false}).modal(\"show\");
  4573. \t}
  4574. \tfunction productRequestDelete(id){
  4575. \t\tdocument.getElementById('product_request_delete_id').value = id;
  4576. \t\t\$('#productRequestDeleteModal').modal({backdrop: 'static', keyboard: false}).modal(\"show\");
  4577. \t}
  4578. \t{% if warehouse.headquarter %}
  4579. \t\tfunction productRequestTakeCharge(id){
  4580. \t\t\tdocument.getElementById('product_request_take_charge_id').value = id;
  4581. \t\t\t\$('#productRequestTakeChargeModal').modal({backdrop: 'static', keyboard: false}).modal(\"show\");
  4582. \t\t}
  4583. \t\t
  4584. \t\tfunction productRequestManaged(id){
  4585. \t\t\tdocument.getElementById('product_request_managed_id').value = id;
  4586. \t\t\t\$('#productRequestManagedModal').modal({backdrop: 'static', keyboard: false}).modal(\"show\");
  4587. \t\t}
  4588. \t{% endif %}
  4589. </script>
  4590. {% endblock %}""role/user/warehouse/sheet.html.twig""/var/www/vhosts/eposmanager.software/templates/role/user/warehouse/sheet.html.twig");
  4591.     }
  4592. }