var/cache/dev/twig/76/767bb2985346746eeec4158ea42b217f.php line 2822

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/ticket/list.html.twig */
  15. class __TwigTemplate_2ccf60ccdee3be77ace6f6596a404bd2 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.             'ticketsTab' => [$this'block_ticketsTab'],
  31.             'ticketsTabW' => [$this'block_ticketsTabW'],
  32.             'ticketsTab2' => [$this'block_ticketsTab2'],
  33.             'javascripts' => [$this'block_javascripts'],
  34.         ];
  35.     }
  36.     protected function doGetParent(array $context)
  37.     {
  38.         // line 1
  39.         return "role/user/ticket/index.html.twig";
  40.     }
  41.     protected function doDisplay(array $context, array $blocks = [])
  42.     {
  43.         $macros $this->macros;
  44.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  45.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""role/user/ticket/list.html.twig"));
  46.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  47.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""role/user/ticket/list.html.twig"));
  48.         $this->parent $this->loadTemplate("role/user/ticket/index.html.twig""role/user/ticket/list.html.twig"1);
  49.         yield from $this->parent->unwrap()->yield($contextarray_merge($this->blocks$blocks));
  50.         
  51.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  52.         
  53.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  54.     }
  55.     // line 3
  56.     public function block_title($context, array $blocks = [])
  57.     {
  58.         $macros $this->macros;
  59.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  60.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""title"));
  61.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  62.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""title"));
  63.         yield "Ticket - Lista";
  64.         
  65.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  66.         
  67.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  68.         return; yield '';
  69.     }
  70.     // line 5
  71.     public function block_pageTitleH1($context, array $blocks = [])
  72.     {
  73.         $macros $this->macros;
  74.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  75.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""pageTitleH1"));
  76.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  77.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""pageTitleH1"));
  78.         yield "Ticket - Lista";
  79.         
  80.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  81.         
  82.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  83.         return; yield '';
  84.     }
  85.     // line 7
  86.     public function block_pageTitleBreadcrumb($context, array $blocks = [])
  87.     {
  88.         $macros $this->macros;
  89.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  90.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""pageTitleBreadcrumb"));
  91.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  92.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""pageTitleBreadcrumb"));
  93.         // line 8
  94.         yield "\t<li class=\"breadcrumb-item\"><a href=\"";
  95.         yield $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("user_tickets");
  96.         yield "\">Ticket</a></li>
  97. \t<li class=\"breadcrumb-item\"><a href=\"javascript:void(0)\">Lista</a></li>
  98. ";
  99.         
  100.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  101.         
  102.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  103.         return; yield '';
  104.     }
  105.     // line 12
  106.     public function block_subMenuLeft($context, array $blocks = [])
  107.     {
  108.         $macros $this->macros;
  109.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  110.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""subMenuLeft"));
  111.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  112.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""subMenuLeft"));
  113.         // line 13
  114.         yield "\t<li class=\"nav-item\"><a class=\"nav-link\" href=\"";
  115.         yield $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("user_index");
  116.         yield "\">Scrivania</a></li>
  117. ";
  118.         
  119.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  120.         
  121.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  122.         return; yield '';
  123.     }
  124.     // line 16
  125.     public function block_subMenuRight($context, array $blocks = [])
  126.     {
  127.         $macros $this->macros;
  128.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  129.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""subMenuRight"));
  130.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  131.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""subMenuRight"));
  132.         // line 17
  133.         yield "\t";
  134.         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.'17$this->source); })()), "user", [], "any"falsefalsefalse17), "getAccountTypology", [], "any"falsefalsefalse17) == "agency")) {
  135.             // line 18
  136.             yield "\t\t<li class=\"nav-item\"><a class=\"nav-link\" href=\"";
  137.             yield $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("user_ticket_download_email");
  138.             yield "\">Scarica da email</a></li>
  139. \t\t";
  140.             // line 19
  141.             if ((isset($context["TICKET_DOWNLOAD_FROM_OTHER"]) || array_key_exists("TICKET_DOWNLOAD_FROM_OTHER"$context) ? $context["TICKET_DOWNLOAD_FROM_OTHER"] : (function () { throw new RuntimeError('Variable "TICKET_DOWNLOAD_FROM_OTHER" does not exist.'19$this->source); })())) {
  142.                 yield "<li class=\"nav-item\"><a class=\"nav-link\" href=\"";
  143.                 yield $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("user_ticket_download_email_other");
  144.                 yield "\">Scarica da email \"Altro\"</a></li>";
  145.             }
  146.             // line 20
  147.             yield "\t";
  148.         }
  149.         
  150.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  151.         
  152.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  153.         return; yield '';
  154.     }
  155.     // line 23
  156.     public function block_content($context, array $blocks = [])
  157.     {
  158.         $macros $this->macros;
  159.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  160.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""content"));
  161.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  162.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""content"));
  163.         // line 24
  164.         yield "\t<section class=\"m_tb_50p p_lr_30p\">
  165. \t\t<div class=\"row\">
  166. \t\t\t<div class=\"col-12\">
  167. \t\t\t\t<h3 class=\"form_title\">Ticket</h3>
  168. \t\t\t\t<hr class=\"m_t_none\">
  169. \t\t\t</div>
  170. \t\t\t";
  171.         // line 30
  172.         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")) {
  173.             // line 31
  174.             yield "\t\t\t\t";
  175.             // line 32
  176.             yield "\t\t\t\t<div class=\"col-12\">
  177. \t\t\t\t\t<div class=\"tabs clearfix\">
  178. \t\t\t\t\t\t<ul class=\"tab-nav clearfix\">
  179. \t\t\t\t\t\t\t<li>
  180. \t\t\t\t\t\t\t\t<a id=\"btn_tab_error\" href=\"#error\" class=\"tab_session\" data-filterTab=\"error\">
  181. \t\t\t\t\t\t\t\t\t<span class=\"font_16 d-block d-lg-none\" data-bs-toggle=\"tooltip\" title=\"Con errori\"><i class=\"icon-warning-sign font_20\"></i>";
  182.             // line 37
  183.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source, (isset($context["errorTickets"]) || array_key_exists("errorTickets"$context) ? $context["errorTickets"] : (function () { throw new RuntimeError('Variable "errorTickets" does not exist.'37$this->source); })()), "getTotalItemCount", [], "any"falsefalsefalse37), "html"nulltrue);
  184.             yield "</span>
  185. \t\t\t\t\t\t\t\t\t<span class=\"d-none d-lg-block\">Con errori (";
  186.             // line 38
  187.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source, (isset($context["errorTickets"]) || array_key_exists("errorTickets"$context) ? $context["errorTickets"] : (function () { throw new RuntimeError('Variable "errorTickets" does not exist.'38$this->source); })()), "getTotalItemCount", [], "any"falsefalsefalse38), "html"nulltrue);
  188.             yield ")</span>
  189. \t\t\t\t\t\t\t\t</a>
  190. \t\t\t\t\t\t\t</li>
  191. \t\t\t\t\t\t\t<li>
  192. \t\t\t\t\t\t\t\t<a id=\"btn_tab_to_assign\" href=\"#toAssign\" class=\"tab_session\" data-filterTab=\"to_assign\">
  193. \t\t\t\t\t\t\t\t\t<span class=\"font_16 d-block d-lg-none\" data-bs-toggle=\"tooltip\" title=\"Da assegnare\"><i class=\"icon-pencil-alt font_20\"></i>";
  194.             // line 43
  195.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source, (isset($context["toAssignTickets"]) || array_key_exists("toAssignTickets"$context) ? $context["toAssignTickets"] : (function () { throw new RuntimeError('Variable "toAssignTickets" does not exist.'43$this->source); })()), "getTotalItemCount", [], "any"falsefalsefalse43), "html"nulltrue);
  196.             yield "</span>
  197. \t\t\t\t\t\t\t\t\t<span class=\"d-none d-lg-block\">Da assegnare (";
  198.             // line 44
  199.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source, (isset($context["toAssignTickets"]) || array_key_exists("toAssignTickets"$context) ? $context["toAssignTickets"] : (function () { throw new RuntimeError('Variable "toAssignTickets" does not exist.'44$this->source); })()), "getTotalItemCount", [], "any"falsefalsefalse44), "html"nulltrue);
  200.             yield ")</span>
  201. \t\t\t\t\t\t\t\t</a>
  202. \t\t\t\t\t\t\t</li>
  203. \t\t\t\t\t\t\t<li>
  204. \t\t\t\t\t\t\t\t<a id=\"btn_tab_assigned\" href=\"#assigned\" class=\"tab_session\" data-filterTab=\"assigned\">
  205. \t\t\t\t\t\t\t\t\t<span class=\"font_16 d-block d-lg-none\" data-bs-toggle=\"tooltip\" title=\"Assegnati\"><i class=\"icon-tag font_20\"></i>";
  206.             // line 49
  207.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source, (isset($context["assignedTickets"]) || array_key_exists("assignedTickets"$context) ? $context["assignedTickets"] : (function () { throw new RuntimeError('Variable "assignedTickets" does not exist.'49$this->source); })()), "getTotalItemCount", [], "any"falsefalsefalse49), "html"nulltrue);
  208.             yield "</span>
  209. \t\t\t\t\t\t\t\t\t<span class=\"d-none d-lg-block\">Assegnati (";
  210.             // line 50
  211.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source, (isset($context["assignedTickets"]) || array_key_exists("assignedTickets"$context) ? $context["assignedTickets"] : (function () { throw new RuntimeError('Variable "assignedTickets" does not exist.'50$this->source); })()), "getTotalItemCount", [], "any"falsefalsefalse50), "html"nulltrue);
  212.             yield ")</span>
  213. \t\t\t\t\t\t\t\t</a>
  214. \t\t\t\t\t\t\t</li>
  215. \t\t\t\t\t\t\t<li>
  216. \t\t\t\t\t\t\t\t<a id=\"btn_tab_taken_charge\" href=\"#takenCharge\" class=\"tab_session\" data-filterTab=\"taken_charge\">
  217. \t\t\t\t\t\t\t\t\t<span class=\"font_16 d-block d-lg-none\" data-bs-toggle=\"tooltip\" title=\"Presi in carico\"><i class=\"icon-cog font_20\"></i>";
  218.             // line 55
  219.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source, (isset($context["takenChargeTickets"]) || array_key_exists("takenChargeTickets"$context) ? $context["takenChargeTickets"] : (function () { throw new RuntimeError('Variable "takenChargeTickets" does not exist.'55$this->source); })()), "getTotalItemCount", [], "any"falsefalsefalse55), "html"nulltrue);
  220.             yield "</span>
  221. \t\t\t\t\t\t\t\t\t<span class=\"d-none d-lg-block\">Presi in carico (";
  222.             // line 56
  223.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source, (isset($context["takenChargeTickets"]) || array_key_exists("takenChargeTickets"$context) ? $context["takenChargeTickets"] : (function () { throw new RuntimeError('Variable "takenChargeTickets" does not exist.'56$this->source); })()), "getTotalItemCount", [], "any"falsefalsefalse56), "html"nulltrue);
  224.             yield ")</span>
  225. \t\t\t\t\t\t\t\t</a>
  226. \t\t\t\t\t\t\t</li>
  227. \t\t\t\t\t\t\t<li>
  228. \t\t\t\t\t\t\t\t<a id=\"btn_tab_suspension_request\" href=\"#suspensionRequest\" class=\"tab_session\" data-filterTab=\"suspension_request\">
  229. \t\t\t\t\t\t\t\t\t<span class=\"font_16 d-block d-lg-none\" data-bs-toggle=\"tooltip\" title=\"Richiesta sospensione\"><i class=\"icon-clock font_20\"></i>";
  230.             // line 61
  231.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source, (isset($context["suspensionRequestTickets"]) || array_key_exists("suspensionRequestTickets"$context) ? $context["suspensionRequestTickets"] : (function () { throw new RuntimeError('Variable "suspensionRequestTickets" does not exist.'61$this->source); })()), "getTotalItemCount", [], "any"falsefalsefalse61), "html"nulltrue);
  232.             yield "</span>
  233. \t\t\t\t\t\t\t\t\t<span class=\"d-none d-lg-block\">Richiesta sospensione (";
  234.             // line 62
  235.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source, (isset($context["suspensionRequestTickets"]) || array_key_exists("suspensionRequestTickets"$context) ? $context["suspensionRequestTickets"] : (function () { throw new RuntimeError('Variable "suspensionRequestTickets" does not exist.'62$this->source); })()), "getTotalItemCount", [], "any"falsefalsefalse62), "html"nulltrue);
  236.             yield ")</span>
  237. \t\t\t\t\t\t\t\t</a>
  238. \t\t\t\t\t\t\t</li>
  239. \t\t\t\t\t\t\t<li>
  240. \t\t\t\t\t\t\t\t<a id=\"btn_tab_suspended\" href=\"#suspended\" class=\"tab_session\" data-filterTab=\"suspended\">
  241. \t\t\t\t\t\t\t\t\t<span class=\"font_16 d-block d-lg-none\" data-bs-toggle=\"tooltip\" title=\"Sospesi\"><i class=\"icon-clock font_20\"></i>";
  242.             // line 67
  243.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source, (isset($context["suspendedTickets"]) || array_key_exists("suspendedTickets"$context) ? $context["suspendedTickets"] : (function () { throw new RuntimeError('Variable "suspendedTickets" does not exist.'67$this->source); })()), "getTotalItemCount", [], "any"falsefalsefalse67), "html"nulltrue);
  244.             yield "</span>
  245. \t\t\t\t\t\t\t\t\t<span class=\"d-none d-lg-block\">Sospesi (";
  246.             // line 68
  247.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source, (isset($context["suspendedTickets"]) || array_key_exists("suspendedTickets"$context) ? $context["suspendedTickets"] : (function () { throw new RuntimeError('Variable "suspendedTickets" does not exist.'68$this->source); })()), "getTotalItemCount", [], "any"falsefalsefalse68), "html"nulltrue);
  248.             yield ")</span>
  249. \t\t\t\t\t\t\t\t</a>
  250. \t\t\t\t\t\t\t</li>
  251. \t\t\t\t\t\t\t<li>
  252. \t\t\t\t\t\t\t\t<a id=\"btn_tab_closed\" href=\"#closed\" class=\"tab_session\" data-filterTab=\"closed\">
  253. \t\t\t\t\t\t\t\t\t<span class=\"font_16 d-block d-lg-none\" data-bs-toggle=\"tooltip\" title=\"Chiusi\"><i class=\"icon-check font_20\"></i>";
  254.             // line 73
  255.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source, (isset($context["closedTickets"]) || array_key_exists("closedTickets"$context) ? $context["closedTickets"] : (function () { throw new RuntimeError('Variable "closedTickets" does not exist.'73$this->source); })()), "getTotalItemCount", [], "any"falsefalsefalse73), "html"nulltrue);
  256.             yield "</span>
  257. \t\t\t\t\t\t\t\t\t<span class=\"d-none d-lg-block\">Chiusi (";
  258.             // line 74
  259.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source, (isset($context["closedTickets"]) || array_key_exists("closedTickets"$context) ? $context["closedTickets"] : (function () { throw new RuntimeError('Variable "closedTickets" does not exist.'74$this->source); })()), "getTotalItemCount", [], "any"falsefalsefalse74), "html"nulltrue);
  260.             yield ")</span>
  261. \t\t\t\t\t\t\t\t</a>
  262. \t\t\t\t\t\t\t</li>
  263. \t\t\t\t\t\t\t<li>
  264. \t\t\t\t\t\t\t\t<a id=\"btn_tab_closed_on_portal\" href=\"#closedPortal\" class=\"tab_session\" data-filterTab=\"closed_on_portal\">
  265. \t\t\t\t\t\t\t\t\t<span class=\"font_16 d-block d-lg-none\" data-bs-toggle=\"tooltip\" title=\"Chiusi su fornitore\"><i class=\"icon-checkmark font_20\"></i>";
  266.             // line 79
  267.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source, (isset($context["closedPortalTickets"]) || array_key_exists("closedPortalTickets"$context) ? $context["closedPortalTickets"] : (function () { throw new RuntimeError('Variable "closedPortalTickets" does not exist.'79$this->source); })()), "getTotalItemCount", [], "any"falsefalsefalse79), "html"nulltrue);
  268.             yield "</span>
  269. \t\t\t\t\t\t\t\t\t<span class=\"d-none d-lg-block\">Chiusi su fornitore (";
  270.             // line 80
  271.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source, (isset($context["closedPortalTickets"]) || array_key_exists("closedPortalTickets"$context) ? $context["closedPortalTickets"] : (function () { throw new RuntimeError('Variable "closedPortalTickets" does not exist.'80$this->source); })()), "getTotalItemCount", [], "any"falsefalsefalse80), "html"nulltrue);
  272.             yield ")</span>
  273. \t\t\t\t\t\t\t\t</a>
  274. \t\t\t\t\t\t\t</li>
  275. \t\t\t\t\t\t\t<li>
  276. \t\t\t\t\t\t\t\t<a id=\"btn_tab_canceled\" href=\"#canceled\" class=\"tab_session\" data-filterTab=\"canceled\">
  277. \t\t\t\t\t\t\t\t\t<span class=\"font_16 d-block d-lg-none\" data-bs-toggle=\"tooltip\" title=\"Annullati\"><i class=\"icon-minus-sign font_20\"></i>";
  278.             // line 85
  279.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source, (isset($context["canceledTickets"]) || array_key_exists("canceledTickets"$context) ? $context["canceledTickets"] : (function () { throw new RuntimeError('Variable "canceledTickets" does not exist.'85$this->source); })()), "getTotalItemCount", [], "any"falsefalsefalse85), "html"nulltrue);
  280.             yield "</span>
  281. \t\t\t\t\t\t\t\t\t<span class=\"d-none d-lg-block\">Annullati (";
  282.             // line 86
  283.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source, (isset($context["canceledTickets"]) || array_key_exists("canceledTickets"$context) ? $context["canceledTickets"] : (function () { throw new RuntimeError('Variable "canceledTickets" does not exist.'86$this->source); })()), "getTotalItemCount", [], "any"falsefalsefalse86), "html"nulltrue);
  284.             yield ")</span>
  285. \t\t\t\t\t\t\t\t</a>
  286. \t\t\t\t\t\t\t</li>
  287. \t\t\t\t\t\t\t<li>
  288. \t\t\t\t\t\t\t\t<a id=\"btn_tab_wrong\" href=\"#wrong\" class=\"tab_session\" data-filterTab=\"wrong\">
  289. \t\t\t\t\t\t\t\t\t<span class=\"font_16 d-block d-lg-none\" data-bs-toggle=\"tooltip\" title=\"Errati\"><i class=\"icon-remove-sign font_20\"></i>";
  290.             // line 91
  291.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source, (isset($context["wrongTickets"]) || array_key_exists("wrongTickets"$context) ? $context["wrongTickets"] : (function () { throw new RuntimeError('Variable "wrongTickets" does not exist.'91$this->source); })()), "getTotalItemCount", [], "any"falsefalsefalse91), "html"nulltrue);
  292.             yield "</span>
  293. \t\t\t\t\t\t\t\t\t<span class=\"d-none d-lg-block\">Errati (";
  294.             // line 92
  295.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source, (isset($context["wrongTickets"]) || array_key_exists("wrongTickets"$context) ? $context["wrongTickets"] : (function () { throw new RuntimeError('Variable "wrongTickets" does not exist.'92$this->source); })()), "getTotalItemCount", [], "any"falsefalsefalse92), "html"nulltrue);
  296.             yield ")</span>
  297. \t\t\t\t\t\t\t\t</a>
  298. \t\t\t\t\t\t\t</li>
  299. \t\t\t\t\t\t</ul>
  300. \t\t\t\t\t\t<div class=\"tab-container\">
  301. \t\t\t\t\t\t\t";
  302.             // line 98
  303.             yield "\t\t\t\t\t\t\t<div class=\"tab-content clearfix\" id=\"error\">
  304. \t\t\t\t\t\t\t\t<div class=\"row\">
  305. \t\t\t\t\t\t\t\t\t<div class=\"col-12\">
  306. \t\t\t\t\t\t\t\t\t\t<a id=\"button_0_wrong\" href=\"javascript: void()\" class=\"button button-3d button-mini button-grey f_right m_b_10p\">Errato</a>
  307. \t\t\t\t\t\t\t\t\t</div>
  308. \t\t\t\t\t\t\t\t\t<div class=\"col-12 overflow_a\">
  309. \t\t\t\t\t\t\t\t\t\t<table class=\"table table-bordered table-hover font_12\">
  310. \t\t\t\t\t\t\t\t\t\t\t<thead>
  311. \t\t\t\t\t\t\t\t\t\t\t\t<tr>
  312. \t\t\t\t\t\t\t\t\t\t\t\t\t<form method=\"get\" action=\"";
  313.             // line 107
  314.             yield $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("user_ticket_list");
  315.             yield "\" id=\"formFilter_0\">
  316. \t\t\t\t\t\t\t\t\t\t\t\t\t\t<td class=\"td_action\"><a href=\"";
  317.             // line 108
  318.             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.'108$this->source); })()), "request", [], "any"falsefalsefalse108), "attributes", [], "any"falsefalsefalse108), "get", ["_route"], "method"falsefalsefalse108), "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.'108$this->source); })()), "request", [], "any"falsefalsefalse108), "attributes", [], "any"falsefalsefalse108), "get", ["_route_params"], "method"falsefalsefalse108)]), "html"nulltrue);
  319.             yield "\" class=\"f_right\" data-bs-toggle=\"tooltip\" title=\"Escludi filtro\"><img class=\"icon_red\" src=\"";
  320.             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.'108$this->source); })())), "html"nulltrue);
  321.             yield "\"></a></td>
  322. \t\t\t\t\t\t\t\t\t\t\t\t\t\t<td><input type=\"text\" class=\"form-control\" inputmode=\"search\" name=\"number\" value=\"";
  323.             // line 109
  324.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(((CoreExtension::getAttribute($this->env$this->source, ($context["filters"] ?? null), "number", [], "any"truetruefalse109)) ? (Twig\Extension\CoreExtension::default(CoreExtension::getAttribute($this->env$this->source, ($context["filters"] ?? null), "number", [], "any"falsefalsefalse109))) : ("")), "html"nulltrue);
  325.             yield "\" id=\"input_number_0\" data-bs-toggle=\"tooltip\" title=\"Puoi effettuare ricerche multiple inserendo valori separati da virgola [Es. 1234,5678,901]\"/></td>
  326. \t\t\t\t\t\t\t\t\t\t\t\t\t\t<td><input type=\"text\" class=\"form-control\" inputmode=\"search\" name=\"termid\" value=\"";
  327.             // line 110
  328.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(((CoreExtension::getAttribute($this->env$this->source, ($context["filters"] ?? null), "termid", [], "any"truetruefalse110)) ? (Twig\Extension\CoreExtension::default(CoreExtension::getAttribute($this->env$this->source, ($context["filters"] ?? null), "termid", [], "any"falsefalsefalse110))) : ("")), "html"nulltrue);
  329.             yield "\" id=\"input_termid_0\" data-bs-toggle=\"tooltip\" title=\"Puoi effettuare ricerche multiple inserendo valori separati da virgola [Es. 1234,5678,901]\"/></td>
  330. \t\t\t\t\t\t\t\t\t\t\t\t\t\t";
  331.             // line 111
  332.             if (CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source, (isset($context["global_company"]) || array_key_exists("global_company"$context) ? $context["global_company"] : (function () { throw new RuntimeError('Variable "global_company" does not exist.'111$this->source); })()), "actualCompany", [], "any"falsefalsefalse111), "tagTicketActive", [], "any"falsefalsefalse111)) {
  333.                 yield "<td><input type=\"text\" class=\"form-control\" id=\"filter_tag_value_0\" readonly onClick=\"filterTags0()\" data-bs-toggle=\"tooltip\"/><input type=\"hidden\" id=\"filter_tag_id_0\" name=\"tag\" value=\"";
  334.                 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(((CoreExtension::getAttribute($this->env$this->source, ($context["filters"] ?? null), "tag", [], "any"truetruefalse111)) ? (Twig\Extension\CoreExtension::default(CoreExtension::getAttribute($this->env$this->source, ($context["filters"] ?? null), "tag", [], "any"falsefalsefalse111))) : ("")), "html"nulltrue);
  335.                 yield "\"/></td>";
  336.             }
  337.             // line 112
  338.             yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td><input type=\"text\" class=\"form-control\" inputmode=\"search\" name=\"client\" value=\"";
  339.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(((CoreExtension::getAttribute($this->env$this->source, ($context["filters"] ?? null), "client", [], "any"truetruefalse112)) ? (Twig\Extension\CoreExtension::default(CoreExtension::getAttribute($this->env$this->source, ($context["filters"] ?? null), "client", [], "any"falsefalsefalse112))) : ("")), "html"nulltrue);
  340.             yield "\"/></td>
  341. \t\t\t\t\t\t\t\t\t\t\t\t\t\t<td><input type=\"text\" class=\"form-control\" id=\"filter_operation_value_0\" readonly onClick=\"filterOperations0()\" data-bs-toggle=\"tooltip\"/><input type=\"hidden\" id=\"filter_operation_id_0\" name=\"operation\" value=\"";
  342.             // line 113
  343.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(((CoreExtension::getAttribute($this->env$this->source, ($context["filters"] ?? null), "operation", [], "any"truetruefalse113)) ? (Twig\Extension\CoreExtension::default(CoreExtension::getAttribute($this->env$this->source, ($context["filters"] ?? null), "operation", [], "any"falsefalsefalse113))) : ("")), "html"nulltrue);
  344.             yield "\"/></td>
  345. \t\t\t\t\t\t\t\t\t\t\t\t\t\t<td><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\" value=\"";
  346.             // line 114
  347.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(((CoreExtension::getAttribute($this->env$this->source, ($context["filters"] ?? null), "supplier", [], "any"truetruefalse114)) ? (Twig\Extension\CoreExtension::default(CoreExtension::getAttribute($this->env$this->source, ($context["filters"] ?? null), "supplier", [], "any"falsefalsefalse114))) : ("")), "html"nulltrue);
  348.             yield "\"/></td>
  349. \t\t\t\t\t\t\t\t\t\t\t\t\t\t<td><input type=\"text\" class=\"form-control\" inputmode=\"search\" name=\"tariff\" value=\"";
  350.             // line 115
  351.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(((CoreExtension::getAttribute($this->env$this->source, ($context["filters"] ?? null), "tariff", [], "any"truetruefalse115)) ? (Twig\Extension\CoreExtension::default(CoreExtension::getAttribute($this->env$this->source, ($context["filters"] ?? null), "tariff", [], "any"falsefalsefalse115))) : ("")), "html"nulltrue);
  352.             yield "\"/></td>
  353. \t\t\t\t\t\t\t\t\t\t\t\t\t\t<td><input type=\"text\" class=\"form-control\" inputmode=\"search\" name=\"city\" value=\"";
  354.             // line 116
  355.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(((CoreExtension::getAttribute($this->env$this->source, ($context["filters"] ?? null), "city", [], "any"truetruefalse116)) ? (Twig\Extension\CoreExtension::default(CoreExtension::getAttribute($this->env$this->source, ($context["filters"] ?? null), "city", [], "any"falsefalsefalse116))) : ("")), "html"nulltrue);
  356.             yield "\"/></td>
  357. \t\t\t\t\t\t\t\t\t\t\t\t\t\t<td><input type=\"text\" class=\"form-control\" inputmode=\"search\" name=\"province\" value=\"";
  358.             // line 117
  359.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(((CoreExtension::getAttribute($this->env$this->source, ($context["filters"] ?? null), "province", [], "any"truetruefalse117)) ? (Twig\Extension\CoreExtension::default(CoreExtension::getAttribute($this->env$this->source, ($context["filters"] ?? null), "province", [], "any"falsefalsefalse117))) : ("")), "html"nulltrue);
  360.             yield "\"/></td>
  361. \t\t\t\t\t\t\t\t\t\t\t\t\t\t<td><input type=\"text\" class=\"form-control daterange font_12\" id=\"daterange_0\" inputmode=\"search\" autocomplete=\"off\" name=\"datetimeStart\" style=\"height: 38px\" date-filter=\"range\"/></td>
  362. \t\t\t\t\t\t\t\t\t\t\t\t\t\t<td colspan=\"2\"><button type=\"submit\" class=\"btn bg_w f_left p_0p\" data-bs-toggle=\"tooltip\" title=\"Filtra\"><img class=\"icon_action icon_green\" src=\"";
  363.             // line 119
  364.             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.'119$this->source); })())), "html"nulltrue);
  365.             yield "\"></button></td>
  366. \t\t\t\t\t\t\t\t\t\t\t\t\t\t<input id=\"sort_field_0\" type=\"hidden\" name=\"sortField\" value=\"";
  367.             // line 120
  368.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(((CoreExtension::getAttribute($this->env$this->source, ($context["filters"] ?? null), "sortField", [], "any"truetruefalse120)) ? (Twig\Extension\CoreExtension::default(CoreExtension::getAttribute($this->env$this->source, ($context["filters"] ?? null), "sortField", [], "any"falsefalsefalse120))) : ("")), "html"nulltrue);
  369.             yield "\"/>
  370. \t\t\t\t\t\t\t\t\t\t\t\t\t\t<input id=\"sort_order_0\" type=\"hidden\" name=\"sortOrder\" value=\"";
  371.             // line 121
  372.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(((CoreExtension::getAttribute($this->env$this->source, ($context["filters"] ?? null), "sortOrder", [], "any"truetruefalse121)) ? (Twig\Extension\CoreExtension::default(CoreExtension::getAttribute($this->env$this->source, ($context["filters"] ?? null), "sortOrder", [], "any"falsefalsefalse121))) : ("")), "html"nulltrue);
  373.             yield "\"/>
  374. \t\t\t\t\t\t\t\t\t\t\t\t\t</form>
  375. \t\t\t\t\t\t\t\t\t\t\t\t</tr>
  376. \t\t\t\t\t\t\t\t\t\t\t\t<tr class=\"bg_pr color_w\">
  377. \t\t\t\t\t\t\t\t\t\t\t\t\t<th class=\"td_action txt_a_c\">
  378. \t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"switch\" data-bs-toggle=\"tooltip\" title=\"Seleziona tutti\">
  379. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<input id=\"ticket_0_all_checkboxes\" class=\"switch-toggle switch-flat-mini switch-toggle-flat\" type=\"checkbox\" onChange=\"javascript: selectAll(0)\">
  380. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<label for=\"ticket_0_all_checkboxes\" class=\"m_b_none\"></label>
  381. \t\t\t\t\t\t\t\t\t\t\t\t\t\t</div>
  382. \t\t\t\t\t\t\t\t\t\t\t\t\t</th>
  383. \t\t\t\t\t\t\t\t\t\t\t\t\t<th class=\"td_w_120p\">N°<button type=\"button\" onClick=\"setOrderBy0('t.number')\" data-orderField=\"t.number\" class=\"f_right filter_arrow\"><img width=\"18\" data-bs-toggle=\"tooltip\" title=\"Ordina in ordine alfabetico\"></button></th>
  384. \t\t\t\t\t\t\t\t\t\t\t\t\t<th class=\"td_w_120p\">Termid<button type=\"button\" onClick=\"setOrderBy0('tt.code')\" data-orderField=\"tt.code\" class=\"f_right filter_arrow\"><img width=\"18\" data-bs-toggle=\"tooltip\" title=\"Ordina in ordine alfabetico\"></button></th>
  385. \t\t\t\t\t\t\t\t\t\t\t\t\t";
  386.             // line 133
  387.             if (CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source, (isset($context["global_company"]) || array_key_exists("global_company"$context) ? $context["global_company"] : (function () { throw new RuntimeError('Variable "global_company" does not exist.'133$this->source); })()), "actualCompany", [], "any"falsefalsefalse133), "tagTicketActive", [], "any"falsefalsefalse133)) {
  388.                 yield "<th class=\"td_w_100p\">Tag</th>";
  389.             }
  390.             // line 134
  391.             yield "\t\t\t\t\t\t\t\t\t\t\t\t\t<th class=\"td_w_200p\">Cliente<button type=\"button\" onClick=\"setOrderBy0('c.nickname')\" data-orderField=\"c.nickname\" class=\"f_right filter_arrow\"><img width=\"18\" data-bs-toggle=\"tooltip\" title=\"Ordina in ordine alfabetico\"></button></th>
  392. \t\t\t\t\t\t\t\t\t\t\t\t\t<th class=\"td_w_150p\">Operazione <i style=\"font-weight:400\">(Dettagli)</i><button type=\"button\" onClick=\"setOrderBy0('o.value')\" data-orderField=\"o.value\" class=\"f_right filter_arrow\"><img width=\"18\" data-bs-toggle=\"tooltip\" title=\"Ordina in ordine alfabetico\"></button></th>
  393. \t\t\t\t\t\t\t\t\t\t\t\t\t<th class=\"td_w_130p\">Fornitore <i style=\"font-weight:400\">(SLOT)</i><button type=\"button\" onClick=\"setOrderBy0('s.name')\" data-orderField=\"s.name\" class=\"f_right filter_arrow\"><img width=\"18\" data-bs-toggle=\"tooltip\" title=\"Ordina in ordine alfabetico\"></button></th>
  394. \t\t\t\t\t\t\t\t\t\t\t\t\t<th class=\"td_w_130p\">Tariffa<button type=\"button\" onClick=\"setOrderBy0('ot.value')\" data-orderField=\"ot.value\" class=\"f_right filter_arrow\"><img width=\"18\" data-bs-toggle=\"tooltip\" title=\"Ordina in ordine alfabetico\"></button></th>
  395. \t\t\t\t\t\t\t\t\t\t\t\t\t<th class=\"td_w_130p\">Città<button type=\"button\" onClick=\"setOrderBy1('t.idCity')\" data-orderField=\"t.idCity\" class=\"f_right filter_arrow\"><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<th class=\"td_w_70p txt_a_c\">Prov<button type=\"button\" onClick=\"setOrderBy1('t.idProvince')\" data-orderField=\"t.idProvince\" class=\"f_right filter_arrow\"><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<th class=\"td_w_140p\">Data/Ora ricezione<button type=\"button\" onClick=\"setOrderBy0('t.datetimeStart')\" data-orderField=\"t.datetimeStart\" class=\"f_right filter_arrow\"><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<th>Descrizione errore</th>
  399. \t\t\t\t\t\t\t\t\t\t\t\t\t<th></th>
  400. \t\t\t\t\t\t\t\t\t\t\t\t</tr>
  401. \t\t\t\t\t\t\t\t\t\t\t</thead>
  402. \t\t\t\t\t\t\t\t\t\t\t<tbody>
  403. \t\t\t\t\t\t\t\t\t\t\t\t";
  404.             // line 146
  405.             if ((Twig\Extension\CoreExtension::length($this->env->getCharset(), (isset($context["errorTickets"]) || array_key_exists("errorTickets"$context) ? $context["errorTickets"] : (function () { throw new RuntimeError('Variable "errorTickets" does not exist.'146$this->source); })())) > 0)) {
  406.                 // line 147
  407.                 yield "\t\t\t\t\t\t\t\t\t\t\t\t\t";
  408.                 $context['_parent'] = $context;
  409.                 $context['_seq'] = CoreExtension::ensureTraversable((isset($context["errorTickets"]) || array_key_exists("errorTickets"$context) ? $context["errorTickets"] : (function () { throw new RuntimeError('Variable "errorTickets" does not exist.'147$this->source); })()));
  410.                 foreach ($context['_seq'] as $context["_key"] => $context["ticket"]) {
  411.                     // line 148
  412.                     yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t<tr>
  413. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td class=\"td_w_30p\">
  414. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"switch\">
  415. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<input id=\"ticket_checkbox_";
  416.                     // line 151
  417.                     yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source$context["ticket"], "id", [], "any"falsefalsefalse151), "html"nulltrue);
  418.                     yield "\" class=\"switch-toggle switch-flat-mini switch-toggle-flat ticket_0_checkbox\" type=\"checkbox\" value=\"";
  419.                     yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source$context["ticket"], "id", [], "any"falsefalsefalse151), "html"nulltrue);
  420.                     yield "\" onChange=\"javascript: updateButtons(0)\">
  421. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<label for=\"ticket_checkbox_";
  422.                     // line 152
  423.                     yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source$context["ticket"], "id", [], "any"falsefalsefalse152), "html"nulltrue);
  424.                     yield "\" class=\"m_b_none\"></label>
  425. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</div>
  426. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</td>
  427. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td id=\"ticket_number_";
  428.                     // line 155
  429.                     yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source$context["ticket"], "id", [], "any"falsefalsefalse155), "html"nulltrue);
  430.                     yield "\">";
  431.                     yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source$context["ticket"], "number", [], "any"falsefalsefalse155), "html"nulltrue);
  432.                     yield "</td>
  433. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td id=\"ticket_termid_";
  434.                     // line 156
  435.                     yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source$context["ticket"], "id", [], "any"falsefalsefalse156), "html"nulltrue);
  436.                     yield "\">";
  437.                     yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source$context["ticket"], "termid", [], "any"falsefalsefalse156), "html"nulltrue);
  438.                     yield "</td>
  439. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
  440.                     // line 157
  441.                     if (CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source, (isset($context["global_company"]) || array_key_exists("global_company"$context) ? $context["global_company"] : (function () { throw new RuntimeError('Variable "global_company" does not exist.'157$this->source); })()), "actualCompany", [], "any"falsefalsefalse157), "tagTicketActive", [], "any"falsefalsefalse157)) {
  442.                         yield "<td id=\"ticket_tags_";
  443.                         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source$context["ticket"], "id", [], "any"falsefalsefalse157), "html"nulltrue);
  444.                         yield "\">";
  445.                         yield CoreExtension::getAttribute($this->env$this->source$context["ticket"], "displayTags", ["icon"], "method"falsefalsefalse157);
  446.                         yield "</td>";
  447.                     }
  448.                     // line 158
  449.                     yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td id=\"ticket_client_";
  450.                     yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source$context["ticket"], "id", [], "any"falsefalsefalse158), "html"nulltrue);
  451.                     yield "\">";
  452.                     yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source$context["ticket"], "client", [], "any"falsefalsefalse158), "html"nulltrue);
  453.                     yield "</td>
  454. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td id=\"ticket_operation_";
  455.                     // line 159
  456.                     yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source$context["ticket"], "id", [], "any"falsefalsefalse159), "html"nulltrue);
  457.                     yield "\">
  458. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
  459.                     // line 160
  460.                     if ( !(null === CoreExtension::getAttribute($this->env$this->source$context["ticket"], "operation", [], "any"falsefalsefalse160))) {
  461.                         // line 161
  462.                         yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
  463.                         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source$context["ticket"], "operation", [], "any"falsefalsefalse161), "value", [], "any"falsefalsefalse161), "html"nulltrue);
  464.                         yield "
  465. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
  466.                         // line 162
  467.                         if ((CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source$context["ticket"], "operation", [], "any"falsefalsefalse162), "getKeyValueByValue", ["Dettagli operazione"], "method"falsefalsefalse162) && (CoreExtension::getAttribute($this->env$this->source$context["ticket"], "displayJsonValueByColumn", [CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source$context["ticket"], "operation", [], "any"falsefalsefalse162), "getKeyValueByValue", ["Dettagli operazione"], "method"falsefalsefalse162)], "method"falsefalsefalse162) != null))) {
  468.                             // line 163
  469.                             yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<br><i>(";
  470.                             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source$context["ticket"], "displayJsonValueByColumn", [CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source$context["ticket"], "operation", [], "any"falsefalsefalse163), "getKeyValueByValue", ["Dettagli operazione"], "method"falsefalsefalse163)], "method"falsefalsefalse163), "html"nulltrue);
  471.                             yield 
  472. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
  473.                             // line 164
  474.                             if ((CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source$context["ticket"], "operation", [], "any"falsefalsefalse164), "getKeyValueByValue", ["Cluster"], "method"falsefalsefalse164) && (CoreExtension::getAttribute($this->env$this->source$context["ticket"], "displayJsonValueByColumn", [CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source$context["ticket"], "operation", [], "any"falsefalsefalse164), "getKeyValueByValue", ["Cluster"], "method"falsefalsefalse164)], "method"falsefalsefalse164) != null))) {
  475.                                 // line 165
  476.                                 yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tCluster ";
  477.                                 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source$context["ticket"], "displayJsonValueByColumn", [CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source$context["ticket"], "operation", [], "any"falsefalsefalse165), "getKeyValueByValue", ["Cluster"], "method"falsefalsefalse165)], "method"falsefalsefalse165), "html"nulltrue);
  478.                                 yield "
  479. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
  480.                             }
  481.                             // line 167
  482.                             yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t)</i>
  483. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
  484.                         }
  485.                         // line 169
  486.                         yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
  487.                     } else {
  488.                         // line 170
  489.                         yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tOperazione non riconosciuta
  490. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
  491.                     }
  492.                     // line 172
  493.                     yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</td>
  494. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td id=\"ticket_supplier_";
  495.                     // line 173
  496.                     yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source$context["ticket"], "id", [], "any"falsefalsefalse173), "html"nulltrue);
  497.                     yield "\">
  498. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
  499.                     // line 174
  500.                     if ( !(null === CoreExtension::getAttribute($this->env$this->source$context["ticket"], "operation", [], "any"falsefalsefalse174))) {
  501.                         // line 175
  502.                         yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
  503.                         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source$context["ticket"], "operation", [], "any"falsefalsefalse175), "supplier", [], "any"falsefalsefalse175), "html"nulltrue);
  504.                         if ((CoreExtension::getAttribute($this->env$this->source$context["ticket"], "displayJsonValueByColumn", ["SLOT"], "method"falsefalsefalse175) != null)) {
  505.                             yield "<br><i>(";
  506.                             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source$context["ticket"], "displayJsonValueByColumn", ["SLOT"], "method"falsefalsefalse175), "html"nulltrue);
  507.                             yield ")</i>";
  508.                         }
  509.                         // line 176
  510.                         yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
  511.                     } else {
  512.                         // line 177
  513.                         yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tFornitore non riconosciuto
  514. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
  515.                     }
  516.                     // line 179
  517.                     yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</td>
  518. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td>";
  519.                     // line 180
  520.                     if ((CoreExtension::getAttribute($this->env$this->source$context["ticket"], "operationTariffAmount", [], "any"falsefalsefalse180) != null)) {
  521.                         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(((CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source$context["ticket"], "operationTariffAmount", [], "any"falsetruefalse180), "value", [], "any"truetruefalse180)) ? (Twig\Extension\CoreExtension::default(CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source$context["ticket"], "operationTariffAmount", [], "any"falsetruefalse180), "value", [], "any"falsefalsefalse180))) : ("")), "html"nulltrue);
  522.                     }
  523.                     yield "</td>
  524. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td>";
  525.                     // line 181
  526.                     if ((CoreExtension::getAttribute($this->env$this->source$context["ticket"], "idCity", [], "any"falsefalsefalse181) != null)) {
  527.                         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['App\Twig\Extension\AppExtension']->translateCityOnly(CoreExtension::getAttribute($this->env$this->source$context["ticket"], "idCity", [], "any"falsefalsefalse181)), "html"nulltrue);
  528.                     }
  529.                     yield "</td>
  530. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td class=\"txt_a_c\">";
  531.                     // line 182
  532.                     if ((CoreExtension::getAttribute($this->env$this->source$context["ticket"], "idProvince", [], "any"falsefalsefalse182) != null)) {
  533.                         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['App\Twig\Extension\AppExtension']->translateProvinceSign(CoreExtension::getAttribute($this->env$this->source$context["ticket"], "idProvince", [], "any"falsefalsefalse182)), "html"nulltrue);
  534.                     }
  535.                     yield "</td>
  536. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td>";
  537.                     // line 183
  538.                     if ((CoreExtension::getAttribute($this->env$this->source$context["ticket"], "datetimeStart", [], "any"falsefalsefalse183) != null)) {
  539.                         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Twig\Extension\CoreExtension']->formatDate(CoreExtension::getAttribute($this->env$this->source$context["ticket"], "datetimeStart", [], "any"falsefalsefalse183), "d-m-Y H:i"), "html"nulltrue);
  540.                     } else {
  541.                         yield "---";
  542.                     }
  543.                     yield "</td>
  544. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td>";
  545.                     // line 184
  546.                     yield CoreExtension::getAttribute($this->env$this->source$context["ticket"], "systemErrorDetails", [], "any"falsefalsefalse184);
  547.                     yield "</td>
  548. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td class=\"td_action\"><a href=\"";
  549.                     // line 185
  550.                     yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("user_ticket_sheet", ["ticketId" => CoreExtension::getAttribute($this->env$this->source$context["ticket"], "id", [], "any"falsefalsefalse185)]), "html"nulltrue);
  551.                     yield "\"><img class=\"icon_pr\" data-bs-toggle=\"tooltip\" title=\"Scheda\" src=\"";
  552.                     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.'185$this->source); })())), "html"nulltrue);
  553.                     yield "\"></a></td>
  554. \t\t\t\t\t\t\t\t\t\t\t\t\t\t</tr>
  555. \t\t\t\t\t\t\t\t\t\t\t\t\t";
  556.                 }
  557.                 $_parent $context['_parent'];
  558.                 unset($context['_seq'], $context['_iterated'], $context['_key'], $context['ticket'], $context['_parent'], $context['loop']);
  559.                 $context array_intersect_key($context$_parent) + $_parent;
  560.                 // line 188
  561.                 yield "\t\t\t\t\t\t\t\t\t\t\t\t";
  562.             } else {
  563.                 // line 189
  564.                 yield "\t\t\t\t\t\t\t\t\t\t\t\t\t";
  565.                 yield from                 $this->loadTemplate("components/twig/notice_filter_no_match.html.twig""role/user/ticket/list.html.twig"189)->unwrap()->yield($context);
  566.                 // line 190
  567.                 yield "\t\t\t\t\t\t\t\t\t\t\t\t";
  568.             }
  569.             // line 191
  570.             yield "\t\t\t\t\t\t\t\t\t\t\t</tbody>
  571. \t\t\t\t\t\t\t\t\t\t</table>
  572. \t\t\t\t\t\t\t\t\t</div>
  573. \t\t\t\t\t\t\t\t</div>
  574. \t\t\t\t\t\t\t</div>
  575. \t\t\t\t\t\t\t";
  576.             // line 197
  577.             yield "\t\t\t\t\t\t\t<div class=\"tab-content clearfix\" id=\"toAssign\">
  578. \t\t\t\t\t\t\t\t";
  579.             // line 198
  580.             $context["tickets"] = (isset($context["toAssignTickets"]) || array_key_exists("toAssignTickets"$context) ? $context["toAssignTickets"] : (function () { throw new RuntimeError('Variable "toAssignTickets" does not exist.'198$this->source); })());
  581.             // line 199
  582.             yield "\t\t\t\t\t\t\t\t";
  583.             $context["number"] = 1;
  584.             // line 200
  585.             yield "\t\t\t\t\t\t\t\t";
  586.             $context["multipleSelection"] = [true1, ["print""assign""suspend""cancel""export"]];
  587.             // line 201
  588.             yield "\t\t\t\t\t\t\t\t";
  589.             $context["hasEmailTakeCharge"] = false;
  590.             // line 202
  591.             yield "\t\t\t\t\t\t\t\t";
  592.             $context["tabOpenValue"] = "to_assign";
  593.             // line 203
  594.             yield "\t\t\t\t\t\t\t\t";
  595.             $context["tab"] = "toAssign";
  596.             // line 204
  597.             yield "\t\t\t\t\t\t\t\t";
  598.             yield from $this->unwrap()->yieldBlock('ticketsTab'$context$blocks);
  599.             // line 347
  600.             yield "\t\t\t\t\t\t\t</div>
  601. \t\t\t\t\t\t\t";
  602.             // line 349
  603.             yield "\t\t\t\t\t\t\t<div class=\"tab-content clearfix\" id=\"assigned\">
  604. \t\t\t\t\t\t\t\t";
  605.             // line 350
  606.             $context["tickets"] = (isset($context["assignedTickets"]) || array_key_exists("assignedTickets"$context) ? $context["assignedTickets"] : (function () { throw new RuntimeError('Variable "assignedTickets" does not exist.'350$this->source); })());
  607.             // line 351
  608.             yield "\t\t\t\t\t\t\t\t";
  609.             $context["number"] = 2;
  610.             // line 352
  611.             yield "\t\t\t\t\t\t\t\t";
  612.             $context["multipleSelection"] = [true2, ["print""suspend""cancel""change""urge""export"]];
  613.             // line 353
  614.             yield "\t\t\t\t\t\t\t\t";
  615.             $context["hasEmailTakeCharge"] = true;
  616.             // line 354
  617.             yield "\t\t\t\t\t\t\t\t";
  618.             $context["tabOpenValue"] = "assigned";
  619.             // line 355
  620.             yield "\t\t\t\t\t\t\t\t";
  621.             $context["tab"] = "assigned";
  622.             // line 356
  623.             yield "\t\t\t\t\t\t\t\t";
  624.             yield from             $this->unwrap()->yieldBlock("ticketsTab"$context$blocks);
  625.             yield "
  626. \t\t\t\t\t\t\t</div>
  627. \t\t\t\t\t\t\t";
  628.             // line 359
  629.             yield "\t\t\t\t\t\t\t<div class=\"tab-content clearfix\" id=\"takenCharge\">
  630. \t\t\t\t\t\t\t\t";
  631.             // line 360
  632.             $context["tickets"] = (isset($context["takenChargeTickets"]) || array_key_exists("takenChargeTickets"$context) ? $context["takenChargeTickets"] : (function () { throw new RuntimeError('Variable "takenChargeTickets" does not exist.'360$this->source); })());
  633.             // line 361
  634.             yield "\t\t\t\t\t\t\t\t";
  635.             $context["number"] = 3;
  636.             // line 362
  637.             yield "\t\t\t\t\t\t\t\t";
  638.             if ((isset($context["settingBackOffice"]) || array_key_exists("settingBackOffice"$context) ? $context["settingBackOffice"] : (function () { throw new RuntimeError('Variable "settingBackOffice" does not exist.'362$this->source); })())) {
  639.                 yield " ";
  640.                 // line 363
  641.                 yield "\t\t\t\t\t\t\t\t\t";
  642.                 $context["multipleSelection"] = [true3, ["print""suspend""cancel""change""urge""export"]];
  643.                 // line 364
  644.                 yield "\t\t\t\t\t\t\t\t";
  645.             } else {
  646.                 // line 365
  647.                 yield "\t\t\t\t\t\t\t\t\t";
  648.                 $context["multipleSelection"] = [true3, ["suspend""cancel""change""urge""export"]];
  649.                 // line 366
  650.                 yield "\t\t\t\t\t\t\t\t";
  651.             }
  652.             // line 367
  653.             yield "\t\t\t\t\t\t\t\t";
  654.             $context["hasEmailTakeCharge"] = false;
  655.             // line 368
  656.             yield "\t\t\t\t\t\t\t\t";
  657.             $context["tabOpenValue"] = "taken_charge";
  658.             // line 369
  659.             yield "\t\t\t\t\t\t\t\t";
  660.             $context["tab"] = "takenCharge";
  661.             // line 370
  662.             yield "\t\t\t\t\t\t\t\t";
  663.             yield from             $this->unwrap()->yieldBlock("ticketsTab"$context$blocks);
  664.             yield "
  665. \t\t\t\t\t\t\t</div>
  666. \t\t\t\t\t\t\t";
  667.             // line 373
  668.             yield "\t\t\t\t\t\t\t<div class=\"tab-content clearfix\" id=\"suspensionRequest\">
  669. \t\t\t\t\t\t\t\t";
  670.             // line 374
  671.             $context["tickets"] = (isset($context["suspensionRequestTickets"]) || array_key_exists("suspensionRequestTickets"$context) ? $context["suspensionRequestTickets"] : (function () { throw new RuntimeError('Variable "suspensionRequestTickets" does not exist.'374$this->source); })());
  672.             // line 375
  673.             yield "\t\t\t\t\t\t\t\t";
  674.             $context["number"] = 4;
  675.             // line 376
  676.             yield "\t\t\t\t\t\t\t\t";
  677.             $context["multipleSelection"] = [true4, ["cancel""approve""export"]];
  678.             // line 377
  679.             yield "\t\t\t\t\t\t\t\t";
  680.             $context["hasEmailTakeCharge"] = false;
  681.             // line 378
  682.             yield "\t\t\t\t\t\t\t\t";
  683.             $context["tabOpenValue"] = "suspension_request";
  684.             // line 379
  685.             yield "\t\t\t\t\t\t\t\t";
  686.             $context["tab"] = "suspensionRequest";
  687.             // line 380
  688.             yield "\t\t\t\t\t\t\t\t";
  689.             yield from             $this->unwrap()->yieldBlock("ticketsTab"$context$blocks);
  690.             yield "
  691. \t\t\t\t\t\t\t</div>
  692. \t\t\t\t\t\t\t";
  693.             // line 383
  694.             yield "\t\t\t\t\t\t\t<div class=\"tab-content clearfix\" id=\"suspended\">
  695. \t\t\t\t\t\t\t\t";
  696.             // line 384
  697.             $context["tickets"] = (isset($context["suspendedTickets"]) || array_key_exists("suspendedTickets"$context) ? $context["suspendedTickets"] : (function () { throw new RuntimeError('Variable "suspendedTickets" does not exist.'384$this->source); })());
  698.             // line 385
  699.             yield "\t\t\t\t\t\t\t\t";
  700.             $context["number"] = 5;
  701.             // line 386
  702.             yield "\t\t\t\t\t\t\t\t";
  703.             $context["multipleSelection"] = [true5, ["print""suspend_end""cancel""export"]];
  704.             // line 387
  705.             yield "\t\t\t\t\t\t\t\t";
  706.             $context["hasEmailTakeCharge"] = false;
  707.             // line 388
  708.             yield "\t\t\t\t\t\t\t\t";
  709.             $context["tabOpenValue"] = "suspended";
  710.             // line 389
  711.             yield "\t\t\t\t\t\t\t\t";
  712.             $context["tab"] = "suspended";
  713.             // line 390
  714.             yield "\t\t\t\t\t\t\t\t";
  715.             yield from             $this->unwrap()->yieldBlock("ticketsTab"$context$blocks);
  716.             yield "
  717. \t\t\t\t\t\t\t</div>
  718. \t\t\t\t\t\t\t";
  719.             // line 393
  720.             yield "\t\t\t\t\t\t\t<div class=\"tab-content clearfix\" id=\"closed\">
  721. \t\t\t\t\t\t\t\t";
  722.             // line 394
  723.             $context["tickets"] = (isset($context["closedTickets"]) || array_key_exists("closedTickets"$context) ? $context["closedTickets"] : (function () { throw new RuntimeError('Variable "closedTickets" does not exist.'394$this->source); })());
  724.             // line 395
  725.             yield "\t\t\t\t\t\t\t\t";
  726.             $context["number"] = 6;
  727.             // line 396
  728.             yield "\t\t\t\t\t\t\t\t";
  729.             $context["multipleSelection"] = [true6, ["closed_portal""export"]];
  730.             // line 397
  731.             yield "\t\t\t\t\t\t\t\t";
  732.             $context["hasEmailTakeCharge"] = false;
  733.             // line 398
  734.             yield "\t\t\t\t\t\t\t\t";
  735.             $context["tabOpenValue"] = "closed";
  736.             // line 399
  737.             yield "\t\t\t\t\t\t\t\t";
  738.             $context["tab"] = "closed";
  739.             // line 400
  740.             yield "\t\t\t\t\t\t\t\t";
  741.             yield from             $this->unwrap()->yieldBlock("ticketsTab"$context$blocks);
  742.             yield "
  743. \t\t\t\t\t\t\t</div>
  744. \t\t\t\t\t\t\t";
  745.             // line 403
  746.             yield "\t\t\t\t\t\t\t<div class=\"tab-content clearfix\" id=\"closedPortal\">
  747. \t\t\t\t\t\t\t\t";
  748.             // line 404
  749.             $context["tickets"] = (isset($context["closedPortalTickets"]) || array_key_exists("closedPortalTickets"$context) ? $context["closedPortalTickets"] : (function () { throw new RuntimeError('Variable "closedPortalTickets" does not exist.'404$this->source); })());
  750.             // line 405
  751.             yield "\t\t\t\t\t\t\t\t";
  752.             $context["number"] = 7;
  753.             // line 406
  754.             yield "\t\t\t\t\t\t\t\t";
  755.             $context["multipleSelection"] = [false7, ["export"]];
  756.             // line 407
  757.             yield "\t\t\t\t\t\t\t\t";
  758.             $context["hasEmailTakeCharge"] = false;
  759.             // line 408
  760.             yield "\t\t\t\t\t\t\t\t";
  761.             $context["tabOpenValue"] = "closed_on_portal";
  762.             // line 409
  763.             yield "\t\t\t\t\t\t\t\t";
  764.             $context["tab"] = "closedPortal";
  765.             // line 410
  766.             yield "\t\t\t\t\t\t\t\t";
  767.             yield from             $this->unwrap()->yieldBlock("ticketsTab"$context$blocks);
  768.             yield "
  769. \t\t\t\t\t\t\t</div>
  770. \t\t\t\t\t\t\t";
  771.             // line 413
  772.             yield "\t\t\t\t\t\t\t<div class=\"tab-content clearfix\" id=\"canceled\">
  773. \t\t\t\t\t\t\t\t";
  774.             // line 414
  775.             $context["tickets"] = (isset($context["canceledTickets"]) || array_key_exists("canceledTickets"$context) ? $context["canceledTickets"] : (function () { throw new RuntimeError('Variable "canceledTickets" does not exist.'414$this->source); })());
  776.             // line 415
  777.             yield "\t\t\t\t\t\t\t\t";
  778.             $context["number"] = 8;
  779.             // line 416
  780.             yield "\t\t\t\t\t\t\t\t";
  781.             $context["multipleSelection"] = [true8, ["wrong""export"]];
  782.             // line 417
  783.             yield "\t\t\t\t\t\t\t\t";
  784.             $context["hasEmailTakeCharge"] = false;
  785.             // line 418
  786.             yield "\t\t\t\t\t\t\t\t";
  787.             $context["tabOpenValue"] = "canceled";
  788.             // line 419
  789.             yield "\t\t\t\t\t\t\t\t";
  790.             $context["tab"] = "canceled";
  791.             // line 420
  792.             yield "\t\t\t\t\t\t\t\t";
  793.             yield from             $this->unwrap()->yieldBlock("ticketsTab"$context$blocks);
  794.             yield "
  795. \t\t\t\t\t\t\t</div>
  796. \t\t\t\t\t\t\t";
  797.             // line 423
  798.             yield "\t\t\t\t\t\t\t<div class=\"tab-content clearfix\" id=\"wrong\">
  799. \t\t\t\t\t\t\t\t";
  800.             // line 424
  801.             $context["tickets"] = (isset($context["wrongTickets"]) || array_key_exists("wrongTickets"$context) ? $context["wrongTickets"] : (function () { throw new RuntimeError('Variable "wrongTickets" does not exist.'424$this->source); })());
  802.             // line 425
  803.             yield "\t\t\t\t\t\t\t\t";
  804.             $context["number"] = 9;
  805.             // line 426
  806.             yield "\t\t\t\t\t\t\t\t";
  807.             $context["multipleSelection"] = [true9, ["delete""export"]];
  808.             // line 427
  809.             yield "\t\t\t\t\t\t\t\t";
  810.             $context["hasEmailTakeCharge"] = false;
  811.             // line 428
  812.             yield "\t\t\t\t\t\t\t\t";
  813.             $context["tabOpenValue"] = "wrong";
  814.             // line 429
  815.             yield "\t\t\t\t\t\t\t\t";
  816.             $context["tab"] = "wrong";
  817.             // line 430
  818.             yield "\t\t\t\t\t\t\t\t";
  819.             yield from             $this->unwrap()->yieldBlock("ticketsTab"$context$blocks);
  820.             yield "
  821. \t\t\t\t\t\t\t</div>
  822. \t\t\t\t\t\t</div>
  823. \t\t\t\t\t</div>
  824. \t\t\t\t</div>
  825. \t\t\t";
  826.         } elseif ((CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source,         // line 435
  827. (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'435$this->source); })()), "user", [], "any"falsefalsefalse435), "getAccountTypology", [], "any"falsefalsefalse435) == "warehouse")) {
  828.             // line 436
  829.             yield "\t\t\t\t";
  830.             // line 437
  831.             yield "\t\t\t\t<div class=\"col-12\">
  832. \t\t\t\t\t<div class=\"tabs clearfix\">
  833. \t\t\t\t\t\t<ul class=\"tab-nav clearfix\">
  834. \t\t\t\t\t\t\t<li>
  835. \t\t\t\t\t\t\t\t<a id=\"btn_tab_to_assign\" href=\"#toAssign\" class=\"tab_session\" data-filterTab=\"to_assign\">
  836. \t\t\t\t\t\t\t\t\t<span class=\"font_16 d-block d-lg-none\" data-bs-toggle=\"tooltip\" title=\"Da assegnare\"><i class=\"icon-pencil-alt font_20\"></i>";
  837.             // line 442
  838.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source, (isset($context["toAssignTickets"]) || array_key_exists("toAssignTickets"$context) ? $context["toAssignTickets"] : (function () { throw new RuntimeError('Variable "toAssignTickets" does not exist.'442$this->source); })()), "getTotalItemCount", [], "any"falsefalsefalse442), "html"nulltrue);
  839.             yield "</span>
  840. \t\t\t\t\t\t\t\t\t<span class=\"d-none d-lg-block\">Da assegnare (";
  841.             // line 443
  842.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source, (isset($context["toAssignTickets"]) || array_key_exists("toAssignTickets"$context) ? $context["toAssignTickets"] : (function () { throw new RuntimeError('Variable "toAssignTickets" does not exist.'443$this->source); })()), "getTotalItemCount", [], "any"falsefalsefalse443), "html"nulltrue);
  843.             yield ")</span>
  844. \t\t\t\t\t\t\t\t</a>
  845. \t\t\t\t\t\t\t</li>
  846. \t\t\t\t\t\t\t<li>
  847. \t\t\t\t\t\t\t\t<a id=\"btn_tab_assigned\" href=\"#assigned\" class=\"tab_session\" data-filterTab=\"assigned\">
  848. \t\t\t\t\t\t\t\t\t<span class=\"font_16 d-block d-lg-none\" data-bs-toggle=\"tooltip\" title=\"Assegnati\"><i class=\"icon-tag font_20\"></i>";
  849.             // line 448
  850.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source, (isset($context["assignedTickets"]) || array_key_exists("assignedTickets"$context) ? $context["assignedTickets"] : (function () { throw new RuntimeError('Variable "assignedTickets" does not exist.'448$this->source); })()), "getTotalItemCount", [], "any"falsefalsefalse448), "html"nulltrue);
  851.             yield "</span>
  852. \t\t\t\t\t\t\t\t\t<span class=\"d-none d-lg-block\">Assegnati (";
  853.             // line 449
  854.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source, (isset($context["assignedTickets"]) || array_key_exists("assignedTickets"$context) ? $context["assignedTickets"] : (function () { throw new RuntimeError('Variable "assignedTickets" does not exist.'449$this->source); })()), "getTotalItemCount", [], "any"falsefalsefalse449), "html"nulltrue);
  855.             yield ")</span>
  856. \t\t\t\t\t\t\t\t</a>
  857. \t\t\t\t\t\t\t</li>
  858. \t\t\t\t\t\t\t<li>
  859. \t\t\t\t\t\t\t\t<a id=\"btn_tab_taken_charge\" href=\"#takenCharge\" class=\"tab_session\" data-filterTab=\"taken_charge\">
  860. \t\t\t\t\t\t\t\t\t<span class=\"font_16 d-block d-lg-none\" data-bs-toggle=\"tooltip\" title=\"Presi in carico\"><i class=\"icon-cog font_20\"></i>";
  861.             // line 454
  862.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source, (isset($context["takenChargeTickets"]) || array_key_exists("takenChargeTickets"$context) ? $context["takenChargeTickets"] : (function () { throw new RuntimeError('Variable "takenChargeTickets" does not exist.'454$this->source); })()), "getTotalItemCount", [], "any"falsefalsefalse454), "html"nulltrue);
  863.             yield "</span>
  864. \t\t\t\t\t\t\t\t\t<span class=\"d-none d-lg-block\">Presi in carico (";
  865.             // line 455
  866.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source, (isset($context["takenChargeTickets"]) || array_key_exists("takenChargeTickets"$context) ? $context["takenChargeTickets"] : (function () { throw new RuntimeError('Variable "takenChargeTickets" does not exist.'455$this->source); })()), "getTotalItemCount", [], "any"falsefalsefalse455), "html"nulltrue);
  867.             yield ")</span>
  868. \t\t\t\t\t\t\t\t</a>
  869. \t\t\t\t\t\t\t</li>
  870. \t\t\t\t\t\t\t<li>
  871. \t\t\t\t\t\t\t\t<a id=\"btn_tab_suspension_request\" href=\"#suspensionRequest\" class=\"tab_session\" data-filterTab=\"suspension_request\">
  872. \t\t\t\t\t\t\t\t\t<span class=\"font_16 d-block d-lg-none\" data-bs-toggle=\"tooltip\" title=\"Richiesta sospensione\"><i class=\"icon-clock font_20\"></i>";
  873.             // line 460
  874.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source, (isset($context["suspensionRequestTickets"]) || array_key_exists("suspensionRequestTickets"$context) ? $context["suspensionRequestTickets"] : (function () { throw new RuntimeError('Variable "suspensionRequestTickets" does not exist.'460$this->source); })()), "getTotalItemCount", [], "any"falsefalsefalse460), "html"nulltrue);
  875.             yield "</span>
  876. \t\t\t\t\t\t\t\t\t<span class=\"d-none d-lg-block\">Richiesta sospensione (";
  877.             // line 461
  878.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source, (isset($context["suspensionRequestTickets"]) || array_key_exists("suspensionRequestTickets"$context) ? $context["suspensionRequestTickets"] : (function () { throw new RuntimeError('Variable "suspensionRequestTickets" does not exist.'461$this->source); })()), "getTotalItemCount", [], "any"falsefalsefalse461), "html"nulltrue);
  879.             yield ")</span>
  880. \t\t\t\t\t\t\t\t</a>
  881. \t\t\t\t\t\t\t</li>
  882. \t\t\t\t\t\t\t<li>
  883. \t\t\t\t\t\t\t\t<a id=\"btn_tab_suspended\" href=\"#suspended\" class=\"tab_session\" data-filterTab=\"suspended\">
  884. \t\t\t\t\t\t\t\t\t<span class=\"font_16 d-block d-lg-none\" data-bs-toggle=\"tooltip\" title=\"Sospesi\"><i class=\"icon-clock font_20\"></i>";
  885.             // line 466
  886.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source, (isset($context["suspendedTickets"]) || array_key_exists("suspendedTickets"$context) ? $context["suspendedTickets"] : (function () { throw new RuntimeError('Variable "suspendedTickets" does not exist.'466$this->source); })()), "getTotalItemCount", [], "any"falsefalsefalse466), "html"nulltrue);
  887.             yield "</span>
  888. \t\t\t\t\t\t\t\t\t<span class=\"d-none d-lg-block\">Sospesi (";
  889.             // line 467
  890.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source, (isset($context["suspendedTickets"]) || array_key_exists("suspendedTickets"$context) ? $context["suspendedTickets"] : (function () { throw new RuntimeError('Variable "suspendedTickets" does not exist.'467$this->source); })()), "getTotalItemCount", [], "any"falsefalsefalse467), "html"nulltrue);
  891.             yield ")</span>
  892. \t\t\t\t\t\t\t\t</a>
  893. \t\t\t\t\t\t\t</li>
  894. \t\t\t\t\t\t\t<li>
  895. \t\t\t\t\t\t\t\t<a id=\"btn_tab_closed\" href=\"#closed\" class=\"tab_session\" data-filterTab=\"closed\">
  896. \t\t\t\t\t\t\t\t\t<span class=\"font_16 d-block d-lg-none\" data-bs-toggle=\"tooltip\" title=\"Chiusi\"><i class=\"icon-check font_20\"></i>";
  897.             // line 472
  898.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source, (isset($context["closedTickets"]) || array_key_exists("closedTickets"$context) ? $context["closedTickets"] : (function () { throw new RuntimeError('Variable "closedTickets" does not exist.'472$this->source); })()), "getTotalItemCount", [], "any"falsefalsefalse472), "html"nulltrue);
  899.             yield "</span>
  900. \t\t\t\t\t\t\t\t\t<span class=\"d-none d-lg-block\">Chiusi (";
  901.             // line 473
  902.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source, (isset($context["closedTickets"]) || array_key_exists("closedTickets"$context) ? $context["closedTickets"] : (function () { throw new RuntimeError('Variable "closedTickets" does not exist.'473$this->source); })()), "getTotalItemCount", [], "any"falsefalsefalse473), "html"nulltrue);
  903.             yield ")</span>
  904. \t\t\t\t\t\t\t\t</a>
  905. \t\t\t\t\t\t\t</li>
  906. \t\t\t\t\t\t\t<li>
  907. \t\t\t\t\t\t\t\t<a id=\"btn_tab_closed_on_portal\" href=\"#closedPortal\" class=\"tab_session\" data-filterTab=\"closed_on_portal\">
  908. \t\t\t\t\t\t\t\t\t<span class=\"font_16 d-block d-lg-none\" data-bs-toggle=\"tooltip\" title=\"Chiusi su fornitore\"><i class=\"icon-checkmark font_20\"></i>";
  909.             // line 478
  910.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source, (isset($context["closedPortalTickets"]) || array_key_exists("closedPortalTickets"$context) ? $context["closedPortalTickets"] : (function () { throw new RuntimeError('Variable "closedPortalTickets" does not exist.'478$this->source); })()), "getTotalItemCount", [], "any"falsefalsefalse478), "html"nulltrue);
  911.             yield "</span>
  912. \t\t\t\t\t\t\t\t\t<span class=\"d-none d-lg-block\">Chiusi su fornitore (";
  913.             // line 479
  914.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source, (isset($context["closedPortalTickets"]) || array_key_exists("closedPortalTickets"$context) ? $context["closedPortalTickets"] : (function () { throw new RuntimeError('Variable "closedPortalTickets" does not exist.'479$this->source); })()), "getTotalItemCount", [], "any"falsefalsefalse479), "html"nulltrue);
  915.             yield ")</span>
  916. \t\t\t\t\t\t\t\t</a>
  917. \t\t\t\t\t\t\t</li>
  918. \t\t\t\t\t\t\t<li>
  919. \t\t\t\t\t\t\t\t<a id=\"btn_tab_canceled\" href=\"#canceled\" class=\"tab_session\" data-filterTab=\"canceled\">
  920. \t\t\t\t\t\t\t\t\t<span class=\"font_16 d-block d-lg-none\" data-bs-toggle=\"tooltip\" title=\"Annullati\"><i class=\"icon-minus-sign font_20\"></i>";
  921.             // line 484
  922.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source, (isset($context["canceledTickets"]) || array_key_exists("canceledTickets"$context) ? $context["canceledTickets"] : (function () { throw new RuntimeError('Variable "canceledTickets" does not exist.'484$this->source); })()), "getTotalItemCount", [], "any"falsefalsefalse484), "html"nulltrue);
  923.             yield "</span>
  924. \t\t\t\t\t\t\t\t\t<span class=\"d-none d-lg-block\">Annullati (";
  925.             // line 485
  926.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source, (isset($context["canceledTickets"]) || array_key_exists("canceledTickets"$context) ? $context["canceledTickets"] : (function () { throw new RuntimeError('Variable "canceledTickets" does not exist.'485$this->source); })()), "getTotalItemCount", [], "any"falsefalsefalse485), "html"nulltrue);
  927.             yield ")</span>
  928. \t\t\t\t\t\t\t\t</a>
  929. \t\t\t\t\t\t\t</li>
  930. \t\t\t\t\t\t\t<li>
  931. \t\t\t\t\t\t\t\t<a id=\"btn_tab_wrong\" href=\"#wrong\" class=\"tab_session\" data-filterTab=\"wrong\">
  932. \t\t\t\t\t\t\t\t\t<span class=\"font_16 d-block d-lg-none\"data-bs-toggle=\"tooltip\" title=\"Errati\"><i class=\"icon-remove-sign font_20\" ></i>";
  933.             // line 490
  934.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source, (isset($context["wrongTickets"]) || array_key_exists("wrongTickets"$context) ? $context["wrongTickets"] : (function () { throw new RuntimeError('Variable "wrongTickets" does not exist.'490$this->source); })()), "getTotalItemCount", [], "any"falsefalsefalse490), "html"nulltrue);
  935.             yield "</span>
  936. \t\t\t\t\t\t\t\t\t<span class=\"d-none d-lg-block\">Errati (";
  937.             // line 491
  938.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source, (isset($context["wrongTickets"]) || array_key_exists("wrongTickets"$context) ? $context["wrongTickets"] : (function () { throw new RuntimeError('Variable "wrongTickets" does not exist.'491$this->source); })()), "getTotalItemCount", [], "any"falsefalsefalse491), "html"nulltrue);
  939.             yield ")</span>
  940. \t\t\t\t\t\t\t\t</a>
  941. \t\t\t\t\t\t\t</li>
  942. \t\t\t\t\t\t</ul>
  943. \t\t\t\t\t\t<div class=\"tab-container\">
  944. \t\t\t\t\t\t\t";
  945.             // line 497
  946.             yield "\t\t\t\t\t\t\t<div class=\"tab-content clearfix\" id=\"toAssign\">
  947. \t\t\t\t\t\t\t\t";
  948.             // line 498
  949.             $context["tickets"] = (isset($context["toAssignTickets"]) || array_key_exists("toAssignTickets"$context) ? $context["toAssignTickets"] : (function () { throw new RuntimeError('Variable "toAssignTickets" does not exist.'498$this->source); })());
  950.             // line 499
  951.             yield "\t\t\t\t\t\t\t\t";
  952.             $context["number"] = 1;
  953.             // line 500
  954.             yield "\t\t\t\t\t\t\t\t";
  955.             $context["tabOpenValue"] = "to_assign";
  956.             // line 501
  957.             yield "\t\t\t\t\t\t\t\t";
  958.             $context["tab"] = "toAssign";
  959.             // line 502
  960.             yield "\t\t\t\t\t\t\t\t";
  961.             yield from $this->unwrap()->yieldBlock('ticketsTabW'$context$blocks);
  962.             // line 597
  963.             yield "\t\t\t\t\t\t\t</div>
  964. \t\t\t\t\t\t\t";
  965.             // line 599
  966.             yield "\t\t\t\t\t\t\t<div class=\"tab-content clearfix\" id=\"assigned\">
  967. \t\t\t\t\t\t\t\t";
  968.             // line 600
  969.             $context["tickets"] = (isset($context["assignedTickets"]) || array_key_exists("assignedTickets"$context) ? $context["assignedTickets"] : (function () { throw new RuntimeError('Variable "assignedTickets" does not exist.'600$this->source); })());
  970.             // line 601
  971.             yield "\t\t\t\t\t\t\t\t";
  972.             $context["number"] = 2;
  973.             // line 602
  974.             yield "\t\t\t\t\t\t\t\t";
  975.             $context["hasEmailTakeCharge"] = true;
  976.             // line 603
  977.             yield "\t\t\t\t\t\t\t\t";
  978.             $context["tabOpenValue"] = "assigned";
  979.             // line 604
  980.             yield "\t\t\t\t\t\t\t\t";
  981.             $context["tab"] = "assigned";
  982.             // line 605
  983.             yield "\t\t\t\t\t\t\t\t";
  984.             yield from             $this->unwrap()->yieldBlock("ticketsTabW"$context$blocks);
  985.             yield "
  986. \t\t\t\t\t\t\t</div>
  987. \t\t\t\t\t\t\t";
  988.             // line 608
  989.             yield "\t\t\t\t\t\t\t<div class=\"tab-content clearfix\" id=\"takenCharge\">
  990. \t\t\t\t\t\t\t\t";
  991.             // line 609
  992.             $context["tickets"] = (isset($context["takenChargeTickets"]) || array_key_exists("takenChargeTickets"$context) ? $context["takenChargeTickets"] : (function () { throw new RuntimeError('Variable "takenChargeTickets" does not exist.'609$this->source); })());
  993.             // line 610
  994.             yield "\t\t\t\t\t\t\t\t";
  995.             $context["number"] = 3;
  996.             // line 611
  997.             yield "\t\t\t\t\t\t\t\t";
  998.             $context["hasEmailTakeCharge"] = false;
  999.             // line 612
  1000.             yield "\t\t\t\t\t\t\t\t";
  1001.             $context["tabOpenValue"] = "taken_charge";
  1002.             // line 613
  1003.             yield "\t\t\t\t\t\t\t\t";
  1004.             $context["tab"] = "takenCharge";
  1005.             // line 614
  1006.             yield "\t\t\t\t\t\t\t\t";
  1007.             yield from             $this->unwrap()->yieldBlock("ticketsTabW"$context$blocks);
  1008.             yield "
  1009. \t\t\t\t\t\t\t</div>
  1010. \t\t\t\t\t\t\t";
  1011.             // line 617
  1012.             yield "\t\t\t\t\t\t\t<div class=\"tab-content clearfix\" id=\"suspensionRequest\">
  1013. \t\t\t\t\t\t\t\t";
  1014.             // line 618
  1015.             $context["tickets"] = (isset($context["suspensionRequestTickets"]) || array_key_exists("suspensionRequestTickets"$context) ? $context["suspensionRequestTickets"] : (function () { throw new RuntimeError('Variable "suspensionRequestTickets" does not exist.'618$this->source); })());
  1016.             // line 619
  1017.             yield "\t\t\t\t\t\t\t\t";
  1018.             $context["number"] = 4;
  1019.             // line 620
  1020.             yield "\t\t\t\t\t\t\t\t";
  1021.             $context["hasEmailTakeCharge"] = false;
  1022.             // line 621
  1023.             yield "\t\t\t\t\t\t\t\t";
  1024.             $context["tabOpenValue"] = "suspension_request";
  1025.             // line 622
  1026.             yield "\t\t\t\t\t\t\t\t";
  1027.             $context["tab"] = "suspensionRequest";
  1028.             // line 623
  1029.             yield "\t\t\t\t\t\t\t\t";
  1030.             yield from             $this->unwrap()->yieldBlock("ticketsTabW"$context$blocks);
  1031.             yield "
  1032. \t\t\t\t\t\t\t</div>
  1033. \t\t\t\t\t\t\t";
  1034.             // line 626
  1035.             yield "\t\t\t\t\t\t\t<div class=\"tab-content clearfix\" id=\"suspended\">
  1036. \t\t\t\t\t\t\t\t";
  1037.             // line 627
  1038.             $context["tickets"] = (isset($context["suspendedTickets"]) || array_key_exists("suspendedTickets"$context) ? $context["suspendedTickets"] : (function () { throw new RuntimeError('Variable "suspendedTickets" does not exist.'627$this->source); })());
  1039.             // line 628
  1040.             yield "\t\t\t\t\t\t\t\t";
  1041.             $context["number"] = 5;
  1042.             // line 629
  1043.             yield "\t\t\t\t\t\t\t\t";
  1044.             $context["hasEmailTakeCharge"] = false;
  1045.             // line 630
  1046.             yield "\t\t\t\t\t\t\t\t";
  1047.             $context["tabOpenValue"] = "suspended";
  1048.             // line 631
  1049.             yield "\t\t\t\t\t\t\t\t";
  1050.             $context["tab"] = "suspended";
  1051.             // line 632
  1052.             yield "\t\t\t\t\t\t\t\t";
  1053.             yield from             $this->unwrap()->yieldBlock("ticketsTabW"$context$blocks);
  1054.             yield "
  1055. \t\t\t\t\t\t\t</div>
  1056. \t\t\t\t\t\t\t";
  1057.             // line 635
  1058.             yield "\t\t\t\t\t\t\t<div class=\"tab-content clearfix\" id=\"closed\">
  1059. \t\t\t\t\t\t\t\t";
  1060.             // line 636
  1061.             $context["tickets"] = (isset($context["closedTickets"]) || array_key_exists("closedTickets"$context) ? $context["closedTickets"] : (function () { throw new RuntimeError('Variable "closedTickets" does not exist.'636$this->source); })());
  1062.             // line 637
  1063.             yield "\t\t\t\t\t\t\t\t";
  1064.             $context["number"] = 6;
  1065.             // line 638
  1066.             yield "\t\t\t\t\t\t\t\t";
  1067.             $context["hasEmailTakeCharge"] = false;
  1068.             // line 639
  1069.             yield "\t\t\t\t\t\t\t\t";
  1070.             $context["tabOpenValue"] = "closed";
  1071.             // line 640
  1072.             yield "\t\t\t\t\t\t\t\t";
  1073.             $context["tab"] = "closed";
  1074.             // line 641
  1075.             yield "\t\t\t\t\t\t\t\t";
  1076.             yield from             $this->unwrap()->yieldBlock("ticketsTabW"$context$blocks);
  1077.             yield "
  1078. \t\t\t\t\t\t\t</div>
  1079. \t\t\t\t\t\t\t";
  1080.             // line 644
  1081.             yield "\t\t\t\t\t\t\t<div class=\"tab-content clearfix\" id=\"closedPortal\">
  1082. \t\t\t\t\t\t\t\t";
  1083.             // line 645
  1084.             $context["tickets"] = (isset($context["closedPortalTickets"]) || array_key_exists("closedPortalTickets"$context) ? $context["closedPortalTickets"] : (function () { throw new RuntimeError('Variable "closedPortalTickets" does not exist.'645$this->source); })());
  1085.             // line 646
  1086.             yield "\t\t\t\t\t\t\t\t";
  1087.             $context["number"] = 7;
  1088.             // line 647
  1089.             yield "\t\t\t\t\t\t\t\t";
  1090.             $context["hasEmailTakeCharge"] = false;
  1091.             // line 648
  1092.             yield "\t\t\t\t\t\t\t\t";
  1093.             $context["tabOpenValue"] = "closed_on_portal";
  1094.             // line 649
  1095.             yield "\t\t\t\t\t\t\t\t";
  1096.             $context["tab"] = "closedPortal";
  1097.             // line 650
  1098.             yield "\t\t\t\t\t\t\t\t";
  1099.             yield from             $this->unwrap()->yieldBlock("ticketsTabW"$context$blocks);
  1100.             yield "
  1101. \t\t\t\t\t\t\t</div>
  1102. \t\t\t\t\t\t\t";
  1103.             // line 653
  1104.             yield "\t\t\t\t\t\t\t<div class=\"tab-content clearfix\" id=\"canceled\">
  1105. \t\t\t\t\t\t\t\t";
  1106.             // line 654
  1107.             $context["tickets"] = (isset($context["canceledTickets"]) || array_key_exists("canceledTickets"$context) ? $context["canceledTickets"] : (function () { throw new RuntimeError('Variable "canceledTickets" does not exist.'654$this->source); })());
  1108.             // line 655
  1109.             yield "\t\t\t\t\t\t\t\t";
  1110.             $context["number"] = 8;
  1111.             // line 656
  1112.             yield "\t\t\t\t\t\t\t\t";
  1113.             $context["hasEmailTakeCharge"] = false;
  1114.             // line 657
  1115.             yield "\t\t\t\t\t\t\t\t";
  1116.             $context["tabOpenValue"] = "canceled";
  1117.             // line 658
  1118.             yield "\t\t\t\t\t\t\t\t";
  1119.             $context["tab"] = "canceled";
  1120.             // line 659
  1121.             yield "\t\t\t\t\t\t\t\t";
  1122.             yield from             $this->unwrap()->yieldBlock("ticketsTabW"$context$blocks);
  1123.             yield "
  1124. \t\t\t\t\t\t\t</div>
  1125. \t\t\t\t\t\t\t";
  1126.             // line 662
  1127.             yield "\t\t\t\t\t\t\t<div class=\"tab-content clearfix\" id=\"wrong\">
  1128. \t\t\t\t\t\t\t\t";
  1129.             // line 663
  1130.             $context["tickets"] = (isset($context["wrongTickets"]) || array_key_exists("wrongTickets"$context) ? $context["wrongTickets"] : (function () { throw new RuntimeError('Variable "wrongTickets" does not exist.'663$this->source); })());
  1131.             // line 664
  1132.             yield "\t\t\t\t\t\t\t\t";
  1133.             $context["number"] = 9;
  1134.             // line 665
  1135.             yield "\t\t\t\t\t\t\t\t";
  1136.             $context["hasEmailTakeCharge"] = false;
  1137.             // line 666
  1138.             yield "\t\t\t\t\t\t\t\t";
  1139.             $context["tabOpenValue"] = "wrong";
  1140.             // line 667
  1141.             yield "\t\t\t\t\t\t\t\t";
  1142.             $context["tab"] = "wrong";
  1143.             // line 668
  1144.             yield "\t\t\t\t\t\t\t\t";
  1145.             yield from             $this->unwrap()->yieldBlock("ticketsTabW"$context$blocks);
  1146.             yield "
  1147. \t\t\t\t\t\t\t</div>
  1148. \t\t\t\t\t\t</div>
  1149. \t\t\t\t\t</div>
  1150. \t\t\t\t</div>
  1151. \t\t\t";
  1152.         } elseif ((CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source,         // line 673
  1153. (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'673$this->source); })()), "user", [], "any"falsefalsefalse673), "getAccountTypology", [], "any"falsefalsefalse673) == "technician")) {
  1154.             // line 674
  1155.             yield "\t\t\t\t";
  1156.             // line 675
  1157.             yield "\t\t\t\t<div class=\"col-12\">
  1158. \t\t\t\t\t<div class=\"tabs clearfix\">
  1159. \t\t\t\t\t\t<ul class=\"tab-nav clearfix\">
  1160. \t\t\t\t\t\t\t<li>
  1161. \t\t\t\t\t\t\t\t<a id=\"btn_tab_assigned\" href=\"#assigned\" class=\"tab_session\" data-filterTab=\"assigned\">
  1162. \t\t\t\t\t\t\t\t\t<span class=\"d-block d-lg-none\"><i class=\"icon-tag\" data-bs-toggle=\"tooltip\" title=\"Assegnati\"></i><span class=\"font_16\">(";
  1163.             // line 680
  1164.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source, (isset($context["assignedTickets"]) || array_key_exists("assignedTickets"$context) ? $context["assignedTickets"] : (function () { throw new RuntimeError('Variable "assignedTickets" does not exist.'680$this->source); })()), "getTotalItemCount", [], "any"falsefalsefalse680), "html"nulltrue);
  1165.             yield ")</span></span>
  1166. \t\t\t\t\t\t\t\t\t<span class=\"d-none d-lg-block\">Assegnati (";
  1167.             // line 681
  1168.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source, (isset($context["assignedTickets"]) || array_key_exists("assignedTickets"$context) ? $context["assignedTickets"] : (function () { throw new RuntimeError('Variable "assignedTickets" does not exist.'681$this->source); })()), "getTotalItemCount", [], "any"falsefalsefalse681), "html"nulltrue);
  1169.             yield ")</span>
  1170. \t\t\t\t\t\t\t\t</a>
  1171. \t\t\t\t\t\t\t</li>
  1172. \t\t\t\t\t\t\t<li>
  1173. \t\t\t\t\t\t\t\t<a id=\"btn_tab_taken_charge\" href=\"#takenCharge\" class=\"tab_session\" data-filterTab=\"taken_charge\">
  1174. \t\t\t\t\t\t\t\t\t<span class=\"d-block d-lg-none\"><i class=\"icon-cog\" data-bs-toggle=\"tooltip\" title=\"Presi in carico\"></i><span class=\"font_16\">(";
  1175.             // line 686
  1176.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source, (isset($context["takenChargeTickets"]) || array_key_exists("takenChargeTickets"$context) ? $context["takenChargeTickets"] : (function () { throw new RuntimeError('Variable "takenChargeTickets" does not exist.'686$this->source); })()), "getTotalItemCount", [], "any"falsefalsefalse686), "html"nulltrue);
  1177.             yield ")</span></span>
  1178. \t\t\t\t\t\t\t\t\t<span class=\"d-none d-lg-block\">Presi in carico (";
  1179.             // line 687
  1180.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source, (isset($context["takenChargeTickets"]) || array_key_exists("takenChargeTickets"$context) ? $context["takenChargeTickets"] : (function () { throw new RuntimeError('Variable "takenChargeTickets" does not exist.'687$this->source); })()), "getTotalItemCount", [], "any"falsefalsefalse687), "html"nulltrue);
  1181.             yield ")</span>
  1182. \t\t\t\t\t\t\t\t</a>
  1183. \t\t\t\t\t\t\t</li>
  1184. \t\t\t\t\t\t\t<li>
  1185. \t\t\t\t\t\t\t\t<a id=\"btn_tab_suspension_request\" href=\"#suspensionRequest\" class=\"tab_session\" data-filterTab=\"suspension_request\">
  1186. \t\t\t\t\t\t\t\t\t<span class=\"d-block d-lg-none\"><i class=\"icon-clock\" data-bs-toggle=\"tooltip\" title=\"Richiesta sospensione\"></i><span class=\"font_16\">(";
  1187.             // line 692
  1188.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source, (isset($context["suspensionRequestTickets"]) || array_key_exists("suspensionRequestTickets"$context) ? $context["suspensionRequestTickets"] : (function () { throw new RuntimeError('Variable "suspensionRequestTickets" does not exist.'692$this->source); })()), "getTotalItemCount", [], "any"falsefalsefalse692), "html"nulltrue);
  1189.             yield ")</span></span>
  1190. \t\t\t\t\t\t\t\t\t<span class=\"d-none d-lg-block\">Richiesta sospensione (";
  1191.             // line 693
  1192.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source, (isset($context["suspensionRequestTickets"]) || array_key_exists("suspensionRequestTickets"$context) ? $context["suspensionRequestTickets"] : (function () { throw new RuntimeError('Variable "suspensionRequestTickets" does not exist.'693$this->source); })()), "getTotalItemCount", [], "any"falsefalsefalse693), "html"nulltrue);
  1193.             yield ")</span>
  1194. \t\t\t\t\t\t\t\t</a>
  1195. \t\t\t\t\t\t\t</li>
  1196. \t\t\t\t\t\t\t<li>
  1197. \t\t\t\t\t\t\t\t<a id=\"btn_tab_suspended\" href=\"#suspended\" class=\"tab_session\" data-filterTab=\"suspended\">
  1198. \t\t\t\t\t\t\t\t\t<span class=\"d-block d-lg-none\"><i class=\"icon-clock\" data-bs-toggle=\"tooltip\" title=\"Sospesi\"></i><span class=\"font_16\">(";
  1199.             // line 698
  1200.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source, (isset($context["suspendedTickets"]) || array_key_exists("suspendedTickets"$context) ? $context["suspendedTickets"] : (function () { throw new RuntimeError('Variable "suspendedTickets" does not exist.'698$this->source); })()), "getTotalItemCount", [], "any"falsefalsefalse698), "html"nulltrue);
  1201.             yield ")</span></span>
  1202. \t\t\t\t\t\t\t\t\t<span class=\"d-none d-lg-block\">Sospesi (";
  1203.             // line 699
  1204.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source, (isset($context["suspendedTickets"]) || array_key_exists("suspendedTickets"$context) ? $context["suspendedTickets"] : (function () { throw new RuntimeError('Variable "suspendedTickets" does not exist.'699$this->source); })()), "getTotalItemCount", [], "any"falsefalsefalse699), "html"nulltrue);
  1205.             yield ")</span>
  1206. \t\t\t\t\t\t\t\t</a>
  1207. \t\t\t\t\t\t\t</li>
  1208. \t\t\t\t\t\t\t<li>
  1209. \t\t\t\t\t\t\t\t<a id=\"btn_tab_closed\" href=\"#closed\" class=\"tab_session\" data-filterTab=\"closed\">
  1210. \t\t\t\t\t\t\t\t\t<span class=\"d-block d-lg-none\"><i class=\"icon-check\" data-bs-toggle=\"tooltip\" title=\"Chiusi\"></i><span class=\"font_16\">(";
  1211.             // line 704
  1212.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source, (isset($context["closedTickets"]) || array_key_exists("closedTickets"$context) ? $context["closedTickets"] : (function () { throw new RuntimeError('Variable "closedTickets" does not exist.'704$this->source); })()), "getTotalItemCount", [], "any"falsefalsefalse704), "html"nulltrue);
  1213.             yield ")</span></span>
  1214. \t\t\t\t\t\t\t\t\t<span class=\"d-none d-lg-block\">Chiusi (";
  1215.             // line 705
  1216.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source, (isset($context["closedTickets"]) || array_key_exists("closedTickets"$context) ? $context["closedTickets"] : (function () { throw new RuntimeError('Variable "closedTickets" does not exist.'705$this->source); })()), "getTotalItemCount", [], "any"falsefalsefalse705), "html"nulltrue);
  1217.             yield ")</span>
  1218. \t\t\t\t\t\t\t\t</a>
  1219. \t\t\t\t\t\t\t</li>
  1220. \t\t\t\t\t\t\t<li>
  1221. \t\t\t\t\t\t\t\t<a id=\"btn_tab_closed_portal\" href=\"#closedPortal\" class=\"tab_session\" data-filterTab=\"closed_portal\">
  1222. \t\t\t\t\t\t\t\t\t<span class=\"d-block d-lg-none\"><i class=\"icon-checkmark\" data-bs-toggle=\"tooltip\" title=\"Chiusi su fornitore\"></i><span class=\"font_16\">(";
  1223.             // line 710
  1224.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source, (isset($context["closedPortalTickets"]) || array_key_exists("closedPortalTickets"$context) ? $context["closedPortalTickets"] : (function () { throw new RuntimeError('Variable "closedPortalTickets" does not exist.'710$this->source); })()), "getTotalItemCount", [], "any"falsefalsefalse710), "html"nulltrue);
  1225.             yield ")</span></span>
  1226. \t\t\t\t\t\t\t\t\t<span class=\"d-none d-lg-block\">Chiusi su fornitore (";
  1227.             // line 711
  1228.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source, (isset($context["closedPortalTickets"]) || array_key_exists("closedPortalTickets"$context) ? $context["closedPortalTickets"] : (function () { throw new RuntimeError('Variable "closedPortalTickets" does not exist.'711$this->source); })()), "getTotalItemCount", [], "any"falsefalsefalse711), "html"nulltrue);
  1229.             yield ")</span>
  1230. \t\t\t\t\t\t\t\t</a>
  1231. \t\t\t\t\t\t\t</li>
  1232. \t\t\t\t\t\t\t<li>
  1233. \t\t\t\t\t\t\t\t<a id=\"btn_tab_canceled\" href=\"#canceled\" class=\"tab_session\" data-filterTab=\"canceled\">
  1234. \t\t\t\t\t\t\t\t\t<span class=\"d-block d-lg-none\"><i class=\"icon-remove-sign\" data-bs-toggle=\"tooltip\" title=\"Annullati\"></i><span class=\"font_16\">(";
  1235.             // line 716
  1236.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source, (isset($context["canceledTickets"]) || array_key_exists("canceledTickets"$context) ? $context["canceledTickets"] : (function () { throw new RuntimeError('Variable "canceledTickets" does not exist.'716$this->source); })()), "getTotalItemCount", [], "any"falsefalsefalse716), "html"nulltrue);
  1237.             yield ")</span></span>
  1238. \t\t\t\t\t\t\t\t\t<span class=\"d-none d-lg-block\">Annullati (";
  1239.             // line 717
  1240.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source, (isset($context["canceledTickets"]) || array_key_exists("canceledTickets"$context) ? $context["canceledTickets"] : (function () { throw new RuntimeError('Variable "canceledTickets" does not exist.'717$this->source); })()), "getTotalItemCount", [], "any"falsefalsefalse717), "html"nulltrue);
  1241.             yield ")</span>
  1242. \t\t\t\t\t\t\t\t</a>
  1243. \t\t\t\t\t\t\t</li>
  1244. \t\t\t\t\t\t</ul>
  1245. \t\t\t\t\t\t<div class=\"tab-container\">
  1246. \t\t\t\t\t\t\t";
  1247.             // line 723
  1248.             yield "\t\t\t\t\t\t\t<div class=\"tab-content clearfix\" id=\"assigned\">
  1249. \t\t\t\t\t\t\t\t";
  1250.             // line 724
  1251.             $context["tickets"] = (isset($context["assignedTickets"]) || array_key_exists("assignedTickets"$context) ? $context["assignedTickets"] : (function () { throw new RuntimeError('Variable "assignedTickets" does not exist.'724$this->source); })());
  1252.             // line 725
  1253.             yield "\t\t\t\t\t\t\t\t";
  1254.             $context["multipleSelection"] = [true11, ["print"]];
  1255.             // line 726
  1256.             yield "\t\t\t\t\t\t\t\t";
  1257.             $context["hasTakeOnCharge"] = true;
  1258.             // line 727
  1259.             yield "\t\t\t\t\t\t\t\t";
  1260.             $context["tabOpenValue"] = "assigned";
  1261.             // line 728
  1262.             yield "\t\t\t\t\t\t\t\t";
  1263.             yield from $this->unwrap()->yieldBlock('ticketsTab2'$context$blocks);
  1264.             // line 820
  1265.             yield "\t\t\t\t\t\t\t</div>
  1266. \t\t\t\t\t\t\t";
  1267.             // line 822
  1268.             yield "\t\t\t\t\t\t\t<div class=\"tab-content clearfix\" id=\"takenCharge\">
  1269. \t\t\t\t\t\t\t\t";
  1270.             // line 823
  1271.             $context["tickets"] = (isset($context["takenChargeTickets"]) || array_key_exists("takenChargeTickets"$context) ? $context["takenChargeTickets"] : (function () { throw new RuntimeError('Variable "takenChargeTickets" does not exist.'823$this->source); })());
  1272.             // line 824
  1273.             yield "\t\t\t\t\t\t\t\t";
  1274.             $context["multipleSelection"] = [true12, ["print"]];
  1275.             // line 825
  1276.             yield "\t\t\t\t\t\t\t\t";
  1277.             $context["hasTakeOnCharge"] = false;
  1278.             // line 826
  1279.             yield "\t\t\t\t\t\t\t\t";
  1280.             $context["tabOpenValue"] = "taken_charge";
  1281.             // line 827
  1282.             yield "\t\t\t\t\t\t\t\t";
  1283.             yield from             $this->unwrap()->yieldBlock("ticketsTab2"$context$blocks);
  1284.             yield "
  1285. \t\t\t\t\t\t\t</div>
  1286. \t\t\t\t\t\t\t";
  1287.             // line 830
  1288.             yield "\t\t\t\t\t\t\t<div class=\"tab-content clearfix\" id=\"suspensionRequest\">
  1289. \t\t\t\t\t\t\t\t";
  1290.             // line 831
  1291.             $context["tickets"] = (isset($context["suspensionRequestTickets"]) || array_key_exists("suspensionRequestTickets"$context) ? $context["suspensionRequestTickets"] : (function () { throw new RuntimeError('Variable "suspensionRequestTickets" does not exist.'831$this->source); })());
  1292.             // line 832
  1293.             yield "\t\t\t\t\t\t\t\t";
  1294.             $context["multipleSelection"] = [false13null];
  1295.             // line 833
  1296.             yield "\t\t\t\t\t\t\t\t";
  1297.             $context["hasTakeOnCharge"] = false;
  1298.             // line 834
  1299.             yield "\t\t\t\t\t\t\t\t";
  1300.             $context["tabOpenValue"] = "suspension_request";
  1301.             // line 835
  1302.             yield "\t\t\t\t\t\t\t\t";
  1303.             yield from             $this->unwrap()->yieldBlock("ticketsTab2"$context$blocks);
  1304.             yield "
  1305. \t\t\t\t\t\t\t</div>
  1306. \t\t\t\t\t\t\t";
  1307.             // line 838
  1308.             yield "\t\t\t\t\t\t\t<div class=\"tab-content clearfix\" id=\"suspended\">
  1309. \t\t\t\t\t\t\t\t";
  1310.             // line 839
  1311.             $context["tickets"] = (isset($context["suspendedTickets"]) || array_key_exists("suspendedTickets"$context) ? $context["suspendedTickets"] : (function () { throw new RuntimeError('Variable "suspendedTickets" does not exist.'839$this->source); })());
  1312.             // line 840
  1313.             yield "\t\t\t\t\t\t\t\t";
  1314.             $context["multipleSelection"] = [true14, ["print""suspend_end"]];
  1315.             // line 841
  1316.             yield "\t\t\t\t\t\t\t\t";
  1317.             $context["hasTakeOnCharge"] = false;
  1318.             // line 842
  1319.             yield "\t\t\t\t\t\t\t\t";
  1320.             $context["tabOpenValue"] = "suspended";
  1321.             // line 843
  1322.             yield "\t\t\t\t\t\t\t\t";
  1323.             yield from             $this->unwrap()->yieldBlock("ticketsTab2"$context$blocks);
  1324.             yield "
  1325. \t\t\t\t\t\t\t</div>
  1326. \t\t\t\t\t\t\t";
  1327.             // line 846
  1328.             yield "\t\t\t\t\t\t\t<div class=\"tab-content clearfix\" id=\"closed\">
  1329. \t\t\t\t\t\t\t\t";
  1330.             // line 847
  1331.             $context["tickets"] = (isset($context["closedTickets"]) || array_key_exists("closedTickets"$context) ? $context["closedTickets"] : (function () { throw new RuntimeError('Variable "closedTickets" does not exist.'847$this->source); })());
  1332.             // line 848
  1333.             yield "\t\t\t\t\t\t\t\t";
  1334.             $context["multipleSelection"] = [false15null];
  1335.             // line 849
  1336.             yield "\t\t\t\t\t\t\t\t";
  1337.             $context["hasTakeOnCharge"] = false;
  1338.             // line 850
  1339.             yield "\t\t\t\t\t\t\t\t";
  1340.             $context["tabOpenValue"] = "closed";
  1341.             // line 851
  1342.             yield "\t\t\t\t\t\t\t\t";
  1343.             yield from             $this->unwrap()->yieldBlock("ticketsTab2"$context$blocks);
  1344.             yield "
  1345. \t\t\t\t\t\t\t</div>
  1346. \t\t\t\t\t\t\t";
  1347.             // line 854
  1348.             yield "\t\t\t\t\t\t\t<div class=\"tab-content clearfix\" id=\"closedPortal\">
  1349. \t\t\t\t\t\t\t\t";
  1350.             // line 855
  1351.             $context["tickets"] = (isset($context["closedPortalTickets"]) || array_key_exists("closedPortalTickets"$context) ? $context["closedPortalTickets"] : (function () { throw new RuntimeError('Variable "closedPortalTickets" does not exist.'855$this->source); })());
  1352.             // line 856
  1353.             yield "\t\t\t\t\t\t\t\t";
  1354.             $context["multipleSelection"] = [false16null];
  1355.             // line 857
  1356.             yield "\t\t\t\t\t\t\t\t";
  1357.             $context["hasTakeOnCharge"] = false;
  1358.             // line 858
  1359.             yield "\t\t\t\t\t\t\t\t";
  1360.             $context["tabOpenValue"] = "closed_portal";
  1361.             // line 859
  1362.             yield "\t\t\t\t\t\t\t\t";
  1363.             yield from             $this->unwrap()->yieldBlock("ticketsTab2"$context$blocks);
  1364.             yield "
  1365. \t\t\t\t\t\t\t</div>
  1366. \t\t\t\t\t\t\t";
  1367.             // line 862
  1368.             yield "\t\t\t\t\t\t\t<div class=\"tab-content clearfix\" id=\"canceled\">
  1369. \t\t\t\t\t\t\t\t";
  1370.             // line 863
  1371.             $context["tickets"] = (isset($context["canceledTickets"]) || array_key_exists("canceledTickets"$context) ? $context["canceledTickets"] : (function () { throw new RuntimeError('Variable "canceledTickets" does not exist.'863$this->source); })());
  1372.             // line 864
  1373.             yield "\t\t\t\t\t\t\t\t";
  1374.             $context["multipleSelection"] = [false17null];
  1375.             // line 865
  1376.             yield "\t\t\t\t\t\t\t\t";
  1377.             $context["hasTakeOnCharge"] = false;
  1378.             // line 866
  1379.             yield "\t\t\t\t\t\t\t\t";
  1380.             $context["tabOpenValue"] = "canceled";
  1381.             // line 867
  1382.             yield "\t\t\t\t\t\t\t\t";
  1383.             yield from             $this->unwrap()->yieldBlock("ticketsTab2"$context$blocks);
  1384.             yield "
  1385. \t\t\t\t\t\t\t</div>
  1386. \t\t\t\t\t\t</div>
  1387. \t\t\t\t\t</div>
  1388. \t\t\t\t</div>
  1389. \t\t\t";
  1390.         }
  1391.         // line 873
  1392.         yield "\t\t</div>
  1393. \t</section>
  1394. \t<div id=\"multipleModal\" class=\"modal fade\" tabindex=\"-1\" role=\"dialog\">
  1395. \t\t<div class=\"modal-dialog modal-lg\" role=\"document\">
  1396. \t\t\t<div class=\"modal-content\">
  1397. \t\t\t\t<form action=\"";
  1398.         // line 879
  1399.         yield $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("user_ticket_multiple_select_action");
  1400.         yield "\" method=\"post\">
  1401. \t\t\t\t\t<div class=\"modal-header\"><h3 class=\"modal-title\">Ticket - Selezione multipla</h3></div>
  1402. \t\t\t\t\t<div class=\"modal-body\">
  1403. \t\t\t\t\t\t<div class=\"row\">
  1404. \t\t\t\t\t\t\t<div class=\"col-12 txt_a_c\">
  1405. \t\t\t\t\t\t\t\t<label class=\"modal_subtitle\">Attenzione!</label><br>
  1406. \t\t\t\t\t\t\t\t<label class=\"l_s_none m_b_none f_left\">Ticket selezionati:</label>
  1407. \t\t\t\t\t\t\t\t<table class=\"table table-sm font_12 b_none txt_a_l\" id=\"tableTickets\"></table>
  1408. \t\t\t\t\t\t\t\t<div id=\"divSuspendEnd\" class=\"display_n\">
  1409. \t\t\t\t\t\t\t\t\t<label class=\"l_s_none m_b_none f_left\">Motivazione di sblocco:</label>
  1410. \t\t\t\t\t\t\t\t\t<textarea id=\"textareaCausal\" class=\"form-control min_h_150p\" name=\"causal\"></textarea>
  1411. \t\t\t\t\t\t\t\t</div>
  1412. \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> <span id=\"actionLabel\"></span> tutti i ticket sovracitati.</p>
  1413. \t\t\t\t\t\t\t\t<p class=\"modal_paragraph\">Si Ã¨ sicuri di voler proseguire?</p>
  1414. \t\t\t\t\t\t\t</div>
  1415. \t\t\t\t\t\t</div>
  1416. \t\t\t\t\t\t<input type=\"hidden\" id=\"ticketsIds\" name=\"ids\">
  1417. \t\t\t\t\t\t<input type=\"hidden\" id=\"action\" name=\"action\">
  1418. \t\t\t\t\t\t<input type=\"hidden\" id=\"multipleTab\" name=\"tab\">
  1419. \t\t\t\t\t</div>
  1420. \t\t\t\t\t<div class=\"modal-footer\">
  1421. \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>
  1422. \t\t\t\t\t\t<button type=\"submit\" class=\"button button-3d button-mini button-green f_right\" id=\"multipleSubmitBtn\">Conferma</button>
  1423. \t\t\t\t\t</div>
  1424. \t\t\t\t</form>
  1425. \t\t\t</div>
  1426. \t\t</div>
  1427. \t</div>
  1428. \t<div id=\"exportModal\" class=\"modal fade\" tabindex=\"-1\" role=\"dialog\">
  1429. \t\t<div class=\"modal-dialog modal-lg\" role=\"document\">
  1430. \t\t\t<div class=\"modal-content\">
  1431. \t\t\t\t<form action=\"";
  1432.         // line 911
  1433.         yield $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("user_ticket_list_export");
  1434.         yield "\" method=\"post\" id=\"exportForm\">
  1435. \t\t\t\t\t<div class=\"modal-header\"><h3 class=\"modal-title\">Ticket - Selezione multipla</h3></div>
  1436. \t\t\t\t\t<div class=\"modal-body\">
  1437. \t\t\t\t\t\t<div class=\"row\">
  1438. \t\t\t\t\t\t\t<div class=\"col-12 txt_a_c\">
  1439. \t\t\t\t\t\t\t\t<label class=\"modal_subtitle\">Attenzione!</label><br>
  1440. \t\t\t\t\t\t\t\t<label class=\"l_s_none m_b_none f_left\">Ticket selezionati:</label>
  1441. \t\t\t\t\t\t\t\t<table class=\"table table-sm font_12 b_none txt_a_l\" id=\"exportTableTickets\"></table>
  1442. \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> esporterai in CSV tutti i ticket sovracitati.</p>
  1443. \t\t\t\t\t\t\t\t<p class=\"modal_paragraph\">Si Ã¨ sicuri di voler proseguire?</p>
  1444. \t\t\t\t\t\t\t</div>
  1445. \t\t\t\t\t\t</div>
  1446. \t\t\t\t\t\t<input type=\"hidden\" id=\"exportTicketsIds\" name=\"ids\">
  1447. \t\t\t\t\t</div>
  1448. \t\t\t\t\t<div class=\"modal-footer\">
  1449. \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>
  1450. \t\t\t\t\t\t<button type=\"submit\" class=\"button button-3d button-mini button-green f_right\">Conferma</button>
  1451. \t\t\t\t\t</div>
  1452. \t\t\t\t</form>
  1453. \t\t\t</div>
  1454. \t\t</div>
  1455. \t</div>
  1456. \t<div id=\"notesModal\" class=\"modal fade\" tabindex=\"-1\" role=\"dialog\">
  1457. \t\t<div class=\"modal-dialog modal-md\" role=\"document\">
  1458. \t\t\t<div class=\"modal-content\">
  1459. \t\t\t\t<div class=\"modal-header\"><h3 class=\"modal-title\">Note ticket: <span class=\"color_w\" id=\"notes_number\"></span></h3></div>
  1460. \t\t\t\t<div class=\"modal-body\">
  1461. \t\t\t\t\t<div class=\"row\">
  1462. \t\t\t\t\t\t<div class=\"col-12 m_b_20p\">
  1463. \t\t\t\t\t\t\t<label class=\"l_s_none m_b_none\">Anomalia:</label>
  1464. \t\t\t\t\t\t\t<p class=\"font_14 m_b_none\" id=\"notes_anomaly\"></p>
  1465. \t\t\t\t\t\t</div>
  1466. \t\t\t\t\t\t<div class=\"col-12 m_b_20p\">
  1467. \t\t\t\t\t\t\t<label class=\"l_s_none m_b_none\">Orari cliente:</label>
  1468. \t\t\t\t\t\t\t<p class=\"font_14 m_b_none\" id=\"notes_client_time\"></p>
  1469. \t\t\t\t\t\t</div>
  1470. \t\t\t\t\t\t<div class=\"col-12\">
  1471. \t\t\t\t\t\t\t<label class=\"l_s_none m_b_none\">Note cliente:</label>
  1472. \t\t\t\t\t\t\t<p class=\"font_14 m_b_none\" id=\"notes_client\"></p>
  1473. \t\t\t\t\t\t</div>
  1474. \t\t\t\t\t</div>
  1475. \t\t\t\t</div>
  1476. \t\t\t\t<div class=\"modal-footer txt_a_c\">
  1477. \t\t\t\t\t<a href=\"javascript:void(0)\" class=\"button button-3d button-mini button-red\" data-bs-dismiss=\"modal\">Esci</a>
  1478. \t\t\t\t</div>
  1479. \t\t\t</div>
  1480. \t\t</div>
  1481. \t</div>
  1482. \t";
  1483.         // line 961
  1484.         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.'961$this->source); })()), "user", [], "any"falsefalsefalse961), "getAccountTypology", [], "any"falsefalsefalse961) == "agency")) {
  1485.             // line 962
  1486.             yield "\t\t<div id=\"assignTechnicianModal\" class=\"modal fade\" tabindex=\"-1\" role=\"dialog\">
  1487. \t\t\t<div class=\"modal-dialog\" role=\"document\">
  1488. \t\t\t\t<div class=\"modal-content\">
  1489. \t\t\t\t\t";
  1490.             // line 965
  1491.             yield             $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->renderBlock((isset($context["formAssignTechnician"]) || array_key_exists("formAssignTechnician"$context) ? $context["formAssignTechnician"] : (function () { throw new RuntimeError('Variable "formAssignTechnician" does not exist.'965$this->source); })()), 'form_start', ["attr" => ["novalidate" => "novalidate"]]);
  1492.             yield 
  1493. \t\t\t\t\t\t<div class=\"modal-header\"><h3 class=\"modal-title\">Ticket - <span id=\"tech_span\" class=\"color_w\"></span> tecnico</h3></div>
  1494. \t\t\t\t\t\t<div class=\"modal-body\">
  1495. \t\t\t\t\t\t\t<div class=\"row\">
  1496. \t\t\t\t\t\t\t\t<div class=\"col-12 form-group\">
  1497. \t\t\t\t\t\t\t\t\t<label class=\"form_label\">Tecnico (N° ticket: in corso / sospesi)*</label>
  1498. \t\t\t\t\t\t\t\t\t<div ";
  1499.             // line 971
  1500.             yield $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(CoreExtension::getAttribute($this->env$this->source, (isset($context["formAssignTechnician"]) || array_key_exists("formAssignTechnician"$context) ? $context["formAssignTechnician"] : (function () { throw new RuntimeError('Variable "formAssignTechnician" does not exist.'971$this->source); })()), "technician", [], "any"falsefalsefalse971), 'errors');
  1501.             yield ">
  1502. \t\t\t\t\t\t\t\t\t\t";
  1503.             // line 972
  1504.             yield $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(CoreExtension::getAttribute($this->env$this->source, (isset($context["formAssignTechnician"]) || array_key_exists("formAssignTechnician"$context) ? $context["formAssignTechnician"] : (function () { throw new RuntimeError('Variable "formAssignTechnician" does not exist.'972$this->source); })()), "technician", [], "any"falsefalsefalse972), 'widget', ["attr" => ["class" => "form-control form-select"]]);
  1505.             yield "
  1506. \t\t\t\t\t\t\t\t\t</div>
  1507. \t\t\t\t\t\t\t\t</div>
  1508. \t\t\t\t\t\t\t</div>
  1509. \t\t\t\t\t\t\t<input type=\"hidden\" id=\"technicianTicketsIds\" name=\"ids\">
  1510. \t\t\t\t\t\t</div>
  1511. \t\t\t\t\t\t<div class=\"modal-footer\">
  1512. \t\t\t\t\t\t\t<a href=\"javascript:void(0)\" class=\"button button-3d button-mini button-red f_left\" data-bs-dismiss=\"modal\">Annulla</a>
  1513. \t\t\t\t\t\t\t<button type=\"submit\" class=\"button button-3d button-mini button-green f_right\" id=\"tech_btn\"></button>
  1514. \t\t\t\t\t\t</div>
  1515. \t\t\t\t\t";
  1516.             // line 982
  1517.             yield             $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->renderBlock((isset($context["formAssignTechnician"]) || array_key_exists("formAssignTechnician"$context) ? $context["formAssignTechnician"] : (function () { throw new RuntimeError('Variable "formAssignTechnician" does not exist.'982$this->source); })()), 'form_end');
  1518.             yield "
  1519. \t\t\t\t</div>
  1520. \t\t\t</div>
  1521. \t\t</div>
  1522. \t\t
  1523. \t\t<div id=\"emailTakeChargeModal\" class=\"modal fade\" tabindex=\"-1\" role=\"dialog\">
  1524. \t\t\t<div class=\"modal-dialog\" role=\"document\">
  1525. \t\t\t\t<div class=\"modal-content\">
  1526. \t\t\t\t\t<form action=\"";
  1527.             // line 990
  1528.             yield $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("user_ticket_send_email_take_charge");
  1529.             yield "\" method=\"post\">
  1530. \t\t\t\t\t\t<div class=\"modal-header\"><h3 class=\"modal-title\">Ticket - Email di notifica prendi in carico</h3></div>
  1531. \t\t\t\t\t\t<div class=\"modal-body\">
  1532. \t\t\t\t\t\t\t<div class=\"row\">
  1533. \t\t\t\t\t\t\t\t<div class=\"col-12 txt_a_c\">
  1534. \t\t\t\t\t\t\t\t\t<label class=\"modal_subtitle\">Attenzione!</label>
  1535. \t\t\t\t\t\t\t\t\t<p class=\"modal_paragraph\">Cliccando sul bottone <a class='button button-3d button-mini button-green' href='javascript:void(0)'>conferma</a> invierai a tutti i tecnici che hanno dei ticket assegnati ma non presi in carico la notifica.<br>Si Ã¨ sicuri di voler proseguire?</p>
  1536. \t\t\t\t\t\t\t\t</div>
  1537. \t\t\t\t\t\t\t</div>
  1538. \t\t\t\t\t\t</div>
  1539. \t\t\t\t\t\t<div class=\"modal-footer\">
  1540. \t\t\t\t\t\t\t<a href=\"javascript:void(0)\" class=\"button button-3d button-mini button-red f_left\" data-bs-dismiss=\"modal\">Annulla</a>
  1541. \t\t\t\t\t\t\t<button type=\"submit\" class=\"button button-3d button-mini button-green f_right\">Conferma</button>
  1542. \t\t\t\t\t\t</div>
  1543. \t\t\t\t\t</form>
  1544. \t\t\t\t</div>
  1545. \t\t\t</div>
  1546. \t\t</div>
  1547. \t\t
  1548. \t\t<div id=\"suspendTicketsModal\" class=\"modal fade\" tabindex=\"-1\" role=\"dialog\">
  1549. \t\t\t<div class=\"modal-dialog modal-lg\" role=\"document\">
  1550. \t\t\t\t<div class=\"modal-content\">
  1551. \t\t\t\t\t";
  1552.             // line 1012
  1553.             yield             $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->renderBlock((isset($context["formSuspension"]) || array_key_exists("formSuspension"$context) ? $context["formSuspension"] : (function () { throw new RuntimeError('Variable "formSuspension" does not exist.'1012$this->source); })()), 'form_start', ["attr" => ["novalidate" => "novalidate"]]);
  1554.             yield 
  1555. \t\t\t\t\t\t<div class=\"modal-header\"><h3 class=\"modal-title\">Ticket - Sospendi massivo</h3></div>
  1556. \t\t\t\t\t\t<div class=\"modal-body\">
  1557. \t\t\t\t\t\t\t<input type=\"hidden\" id=\"suspendTicketsIds\" name=\"ids\">
  1558. \t\t\t\t\t\t\t";
  1559.             // line 1016
  1560.             yield $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(CoreExtension::getAttribute($this->env$this->source, (isset($context["formSuspension"]) || array_key_exists("formSuspension"$context) ? $context["formSuspension"] : (function () { throw new RuntimeError('Variable "formSuspension" does not exist.'1016$this->source); })()), "date", [], "any"falsefalsefalse1016), 'widget', ["attr" => ["class" => "display_n"]]);
  1561.             yield "
  1562. \t\t\t\t\t\t\t";
  1563.             // line 1017
  1564.             yield $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(CoreExtension::getAttribute($this->env$this->source, (isset($context["formSuspension"]) || array_key_exists("formSuspension"$context) ? $context["formSuspension"] : (function () { throw new RuntimeError('Variable "formSuspension" does not exist.'1017$this->source); })()), "timeHour", [], "any"falsefalsefalse1017), 'widget', ["attr" => ["class" => "display_n"]]);
  1565.             yield "
  1566. \t\t\t\t\t\t\t";
  1567.             // line 1018
  1568.             yield $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(CoreExtension::getAttribute($this->env$this->source, (isset($context["formSuspension"]) || array_key_exists("formSuspension"$context) ? $context["formSuspension"] : (function () { throw new RuntimeError('Variable "formSuspension" does not exist.'1018$this->source); })()), "timeMinute", [], "any"falsefalsefalse1018), 'widget', ["attr" => ["class" => "display_n"]]);
  1569.             yield "
  1570. \t\t\t\t\t\t\t<div class=\"row\">
  1571. \t\t\t\t\t\t\t\t<div class=\"col-12 form-group\">
  1572. \t\t\t\t\t\t\t\t\t<label class=\"form_label\">Esito*</label>
  1573. \t\t\t\t\t\t\t\t\t<div ";
  1574.             // line 1022
  1575.             yield $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(CoreExtension::getAttribute($this->env$this->source, (isset($context["formSuspension"]) || array_key_exists("formSuspension"$context) ? $context["formSuspension"] : (function () { throw new RuntimeError('Variable "formSuspension" does not exist.'1022$this->source); })()), "outcome", [], "any"falsefalsefalse1022), 'errors');
  1576.             yield ">
  1577. \t\t\t\t\t\t\t\t\t\t";
  1578.             // line 1023
  1579.             yield $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(CoreExtension::getAttribute($this->env$this->source, (isset($context["formSuspension"]) || array_key_exists("formSuspension"$context) ? $context["formSuspension"] : (function () { throw new RuntimeError('Variable "formSuspension" does not exist.'1023$this->source); })()), "outcome", [], "any"falsefalsefalse1023), 'widget', ["attr" => ["class" => "form-control form-select""onChange" => "updateReferentAndMotivation()"]]);
  1580.             yield "
  1581. \t\t\t\t\t\t\t\t\t</div>
  1582. \t\t\t\t\t\t\t\t</div>
  1583. \t\t\t\t\t\t\t\t<div class=\"col-12 col-md-6 form-group\" id=\"div_referent\" style=\"display: none\">
  1584. \t\t\t\t\t\t\t\t\t<label class=\"form_label\">Referente*</label>
  1585. \t\t\t\t\t\t\t\t\t<div ";
  1586.             // line 1028
  1587.             yield $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(CoreExtension::getAttribute($this->env$this->source, (isset($context["formSuspension"]) || array_key_exists("formSuspension"$context) ? $context["formSuspension"] : (function () { throw new RuntimeError('Variable "formSuspension" does not exist.'1028$this->source); })()), "referent", [], "any"falsefalsefalse1028), 'errors');
  1588.             yield ">
  1589. \t\t\t\t\t\t\t\t\t\t";
  1590.             // line 1029
  1591.             yield $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(CoreExtension::getAttribute($this->env$this->source, (isset($context["formSuspension"]) || array_key_exists("formSuspension"$context) ? $context["formSuspension"] : (function () { throw new RuntimeError('Variable "formSuspension" does not exist.'1029$this->source); })()), "referent", [], "any"falsefalsefalse1029), 'widget');
  1592.             yield "
  1593. \t\t\t\t\t\t\t\t\t</div>
  1594. \t\t\t\t\t\t\t\t</div>
  1595. \t\t\t\t\t\t\t\t<div class=\"col-12 col-md-6 form-group\" id=\"div_phone\" style=\"display: none\">
  1596. \t\t\t\t\t\t\t\t\t<label class=\"form_label\">Telefono*</label>
  1597. \t\t\t\t\t\t\t\t\t<div ";
  1598.             // line 1034
  1599.             yield $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(CoreExtension::getAttribute($this->env$this->source, (isset($context["formSuspension"]) || array_key_exists("formSuspension"$context) ? $context["formSuspension"] : (function () { throw new RuntimeError('Variable "formSuspension" does not exist.'1034$this->source); })()), "phone", [], "any"falsefalsefalse1034), 'errors');
  1600.             yield ">
  1601. \t\t\t\t\t\t\t\t\t\t";
  1602.             // line 1035
  1603.             yield $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(CoreExtension::getAttribute($this->env$this->source, (isset($context["formSuspension"]) || array_key_exists("formSuspension"$context) ? $context["formSuspension"] : (function () { throw new RuntimeError('Variable "formSuspension" does not exist.'1035$this->source); })()), "phone", [], "any"falsefalsefalse1035), 'widget');
  1604.             yield "
  1605. \t\t\t\t\t\t\t\t\t</div>
  1606. \t\t\t\t\t\t\t\t</div>
  1607. \t\t\t\t\t\t\t\t<div class=\"col-12 form-group\" id=\"div_photo\" style=\"display: none\">
  1608. \t\t\t\t\t\t\t\t\t<label class=\"form_label\">Foto*</label>
  1609. \t\t\t\t\t\t\t\t\t<div ";
  1610.             // line 1040
  1611.             yield $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(CoreExtension::getAttribute($this->env$this->source, (isset($context["formSuspension"]) || array_key_exists("formSuspension"$context) ? $context["formSuspension"] : (function () { throw new RuntimeError('Variable "formSuspension" does not exist.'1040$this->source); })()), "file", [], "any"falsefalsefalse1040), 'errors');
  1612.             yield ">
  1613. \t\t\t\t\t\t\t\t\t\t";
  1614.             // line 1041
  1615.             yield $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(CoreExtension::getAttribute($this->env$this->source, (isset($context["formSuspension"]) || array_key_exists("formSuspension"$context) ? $context["formSuspension"] : (function () { throw new RuntimeError('Variable "formSuspension" does not exist.'1041$this->source); })()), "photoPath", [], "any"falsefalsefalse1041), 'widget', ["attr" => ["class" => "display_n"]]);
  1616.             yield "
  1617. \t\t\t\t\t\t\t\t\t\t";
  1618.             // line 1042
  1619.             yield $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(CoreExtension::getAttribute($this->env$this->source, (isset($context["formSuspension"]) || array_key_exists("formSuspension"$context) ? $context["formSuspension"] : (function () { throw new RuntimeError('Variable "formSuspension" does not exist.'1042$this->source); })()), "file", [], "any"falsefalsefalse1042), 'widget', ["attr" => ["class" => "display_n"]]);
  1620.             yield "
  1621. \t\t\t\t\t\t\t\t\t\t<div class=\"input-group\">
  1622. \t\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>
  1623. \t\t\t\t\t\t\t\t\t\t\t<input id=\"filename1\" type=\"text\" class=\"form-control\" readonly>
  1624. \t\t\t\t\t\t\t\t\t\t</div>
  1625. \t\t\t\t\t\t\t\t\t</div>
  1626. \t\t\t\t\t\t\t\t</div>
  1627. \t\t\t\t\t\t\t\t<div class=\"col-12 form-group\">
  1628. \t\t\t\t\t\t\t\t\t<label class=\"form_label\" id=\"label_motivation\">Motivazione</label>
  1629. \t\t\t\t\t\t\t\t\t<div ";
  1630.             // line 1051
  1631.             yield $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(CoreExtension::getAttribute($this->env$this->source, (isset($context["formSuspension"]) || array_key_exists("formSuspension"$context) ? $context["formSuspension"] : (function () { throw new RuntimeError('Variable "formSuspension" does not exist.'1051$this->source); })()), "motivation", [], "any"falsefalsefalse1051), 'errors');
  1632.             yield ">
  1633. \t\t\t\t\t\t\t\t\t\t";
  1634.             // line 1052
  1635.             yield $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(CoreExtension::getAttribute($this->env$this->source, (isset($context["formSuspension"]) || array_key_exists("formSuspension"$context) ? $context["formSuspension"] : (function () { throw new RuntimeError('Variable "formSuspension" does not exist.'1052$this->source); })()), "motivation", [], "any"falsefalsefalse1052), 'widget');
  1636.             yield "
  1637. \t\t\t\t\t\t\t\t\t</div>
  1638. \t\t\t\t\t\t\t\t</div>
  1639. \t\t\t\t\t\t\t\t<div class=\"col-12 col-md-4 form-group\">
  1640. \t\t\t\t\t\t\t\t\t<label class=\"form_label\">Sospeso da - Data*</label>
  1641. \t\t\t\t\t\t\t\t\t<div ";
  1642.             // line 1057
  1643.             yield $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(CoreExtension::getAttribute($this->env$this->source, (isset($context["formSuspension"]) || array_key_exists("formSuspension"$context) ? $context["formSuspension"] : (function () { throw new RuntimeError('Variable "formSuspension" does not exist.'1057$this->source); })()), "dateFrom", [], "any"falsefalsefalse1057), 'errors');
  1644.             yield ">
  1645. \t\t\t\t\t\t\t\t\t\t";
  1646.             // line 1058
  1647.             yield $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(CoreExtension::getAttribute($this->env$this->source, (isset($context["formSuspension"]) || array_key_exists("formSuspension"$context) ? $context["formSuspension"] : (function () { throw new RuntimeError('Variable "formSuspension" does not exist.'1058$this->source); })()), "dateFrom", [], "any"falsefalsefalse1058), 'widget', ["attr" => ["class" => "form-control"]]);
  1648.             yield "
  1649. \t\t\t\t\t\t\t\t\t</div>
  1650. \t\t\t\t\t\t\t\t</div>
  1651. \t\t\t\t\t\t\t\t<div class=\"col-6 col-md-4 form-group\">
  1652. \t\t\t\t\t\t\t\t\t<label class=\"form_label\">Sospeso da - Ora*</label>
  1653. \t\t\t\t\t\t\t\t\t<div ";
  1654.             // line 1063
  1655.             yield $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(CoreExtension::getAttribute($this->env$this->source, (isset($context["formSuspension"]) || array_key_exists("formSuspension"$context) ? $context["formSuspension"] : (function () { throw new RuntimeError('Variable "formSuspension" does not exist.'1063$this->source); })()), "timeFromHour", [], "any"falsefalsefalse1063), 'errors');
  1656.             yield ">
  1657. \t\t\t\t\t\t\t\t\t\t";
  1658.             // line 1064
  1659.             yield $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(CoreExtension::getAttribute($this->env$this->source, (isset($context["formSuspension"]) || array_key_exists("formSuspension"$context) ? $context["formSuspension"] : (function () { throw new RuntimeError('Variable "formSuspension" does not exist.'1064$this->source); })()), "timeFromHour", [], "any"falsefalsefalse1064), 'widget', ["attr" => ["class" => "form-control form-select"]]);
  1660.             yield "
  1661. \t\t\t\t\t\t\t\t\t</div>
  1662. \t\t\t\t\t\t\t\t</div>
  1663. \t\t\t\t\t\t\t\t<div class=\"col-6 col-md-4 form-group\">
  1664. \t\t\t\t\t\t\t\t\t<label class=\"form_label\">Sospeso da - Minuto*</label>
  1665. \t\t\t\t\t\t\t\t\t<div ";
  1666.             // line 1069
  1667.             yield $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(CoreExtension::getAttribute($this->env$this->source, (isset($context["formSuspension"]) || array_key_exists("formSuspension"$context) ? $context["formSuspension"] : (function () { throw new RuntimeError('Variable "formSuspension" does not exist.'1069$this->source); })()), "timeFromMinute", [], "any"falsefalsefalse1069), 'errors');
  1668.             yield ">
  1669. \t\t\t\t\t\t\t\t\t\t";
  1670.             // line 1070
  1671.             yield $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(CoreExtension::getAttribute($this->env$this->source, (isset($context["formSuspension"]) || array_key_exists("formSuspension"$context) ? $context["formSuspension"] : (function () { throw new RuntimeError('Variable "formSuspension" does not exist.'1070$this->source); })()), "timeFromMinute", [], "any"falsefalsefalse1070), 'widget', ["attr" => ["class" => "form-control form-select"]]);
  1672.             yield "
  1673. \t\t\t\t\t\t\t\t\t</div>
  1674. \t\t\t\t\t\t\t\t</div>
  1675. \t\t\t\t\t\t\t\t<div class=\"col-12 col-md-4 form-group\" >
  1676. \t\t\t\t\t\t\t\t\t<label class=\"form_label\" id=\"label_suspension_to_date\">Sospeso fino a - Data</label>
  1677. \t\t\t\t\t\t\t\t\t<div ";
  1678.             // line 1075
  1679.             yield $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(CoreExtension::getAttribute($this->env$this->source, (isset($context["formSuspension"]) || array_key_exists("formSuspension"$context) ? $context["formSuspension"] : (function () { throw new RuntimeError('Variable "formSuspension" does not exist.'1075$this->source); })()), "dateTo", [], "any"falsefalsefalse1075), 'errors');
  1680.             yield ">
  1681. \t\t\t\t\t\t\t\t\t\t";
  1682.             // line 1076
  1683.             yield $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(CoreExtension::getAttribute($this->env$this->source, (isset($context["formSuspension"]) || array_key_exists("formSuspension"$context) ? $context["formSuspension"] : (function () { throw new RuntimeError('Variable "formSuspension" does not exist.'1076$this->source); })()), "dateTo", [], "any"falsefalsefalse1076), 'widget', ["attr" => ["class" => "form-control"]]);
  1684.             yield "
  1685. \t\t\t\t\t\t\t\t\t</div>
  1686. \t\t\t\t\t\t\t\t</div>
  1687. \t\t\t\t\t\t\t\t<div class=\"col-6 col-md-4 form-group\">
  1688. \t\t\t\t\t\t\t\t\t<label class=\"form_label\" id=\"label_suspension_to_time\">Sospeso fino a - Ora</label>
  1689. \t\t\t\t\t\t\t\t\t<div ";
  1690.             // line 1081
  1691.             yield $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(CoreExtension::getAttribute($this->env$this->source, (isset($context["formSuspension"]) || array_key_exists("formSuspension"$context) ? $context["formSuspension"] : (function () { throw new RuntimeError('Variable "formSuspension" does not exist.'1081$this->source); })()), "timeToHour", [], "any"falsefalsefalse1081), 'errors');
  1692.             yield ">
  1693. \t\t\t\t\t\t\t\t\t\t";
  1694.             // line 1082
  1695.             yield $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(CoreExtension::getAttribute($this->env$this->source, (isset($context["formSuspension"]) || array_key_exists("formSuspension"$context) ? $context["formSuspension"] : (function () { throw new RuntimeError('Variable "formSuspension" does not exist.'1082$this->source); })()), "timeToHour", [], "any"falsefalsefalse1082), 'widget', ["attr" => ["class" => "form-control form-select"]]);
  1696.             yield "
  1697. \t\t\t\t\t\t\t\t\t</div>
  1698. \t\t\t\t\t\t\t\t</div>
  1699. \t\t\t\t\t\t\t\t<div class=\"col-6 col-md-4 form-group\">
  1700. \t\t\t\t\t\t\t\t\t<label class=\"form_label\" id=\"label_suspension_to_minute\">Sospeso fino a - Minuto</label>
  1701. \t\t\t\t\t\t\t\t\t<div ";
  1702.             // line 1087
  1703.             yield $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(CoreExtension::getAttribute($this->env$this->source, (isset($context["formSuspension"]) || array_key_exists("formSuspension"$context) ? $context["formSuspension"] : (function () { throw new RuntimeError('Variable "formSuspension" does not exist.'1087$this->source); })()), "timeToMinute", [], "any"falsefalsefalse1087), 'errors');
  1704.             yield ">
  1705. \t\t\t\t\t\t\t\t\t\t";
  1706.             // line 1088
  1707.             yield $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(CoreExtension::getAttribute($this->env$this->source, (isset($context["formSuspension"]) || array_key_exists("formSuspension"$context) ? $context["formSuspension"] : (function () { throw new RuntimeError('Variable "formSuspension" does not exist.'1088$this->source); })()), "timeToMinute", [], "any"falsefalsefalse1088), 'widget', ["attr" => ["class" => "form-control form-select"]]);
  1708.             yield "
  1709. \t\t\t\t\t\t\t\t\t</div>
  1710. \t\t\t\t\t\t\t\t</div>
  1711. \t\t\t\t\t\t\t</div>
  1712. \t\t\t\t\t\t</div>
  1713. \t\t\t\t\t\t<div class=\"modal-footer\">
  1714. \t\t\t\t\t\t\t<a href=\"javascript:void(0)\" class=\"button button-3d button-mini button-red f_left\" data-bs-dismiss=\"modal\">Annulla</a>
  1715. \t\t\t\t\t\t\t<button type=\"submit\" class=\"button button-3d button-mini button-green f_right\">Conferma</button>
  1716. \t\t\t\t\t\t</div>
  1717. \t\t\t\t\t";
  1718.             // line 1097
  1719.             yield             $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->renderBlock((isset($context["formSuspension"]) || array_key_exists("formSuspension"$context) ? $context["formSuspension"] : (function () { throw new RuntimeError('Variable "formSuspension" does not exist.'1097$this->source); })()), 'form_end');
  1720.             yield "
  1721. \t\t\t\t</div>
  1722. \t\t\t</div>
  1723. \t\t</div>
  1724. \t";
  1725.         } elseif ((CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source,         // line 1101
  1726. (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'1101$this->source); })()), "user", [], "any"falsefalsefalse1101), "getAccountTypology", [], "any"falsefalsefalse1101) == "technician")) {
  1727.             // line 1102
  1728.             yield "\t\t<div id=\"takeChargeModal\" class=\"modal fade\" tabindex=\"-1\" role=\"dialog\">
  1729. \t\t\t<div class=\"modal-dialog\" role=\"document\">
  1730. \t\t\t\t<div class=\"modal-content\">
  1731. \t\t\t\t\t<form action=\"";
  1732.             // line 1105
  1733.             yield $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("user_ticket_take_charge");
  1734.             yield "\" method=\"post\">
  1735. \t\t\t\t\t\t<div class=\"modal-header\"><h3 class=\"modal-title\">Ticket - Prendi in carico</h3></div>
  1736. \t\t\t\t\t\t<div class=\"modal-body\">
  1737. \t\t\t\t\t\t\t<div class=\"row\">
  1738. \t\t\t\t\t\t\t\t<div class=\"col-12 txt_a_c\">
  1739. \t\t\t\t\t\t\t\t\t<label class=\"modal_subtitle\">Attenzione!</label>
  1740. \t\t\t\t\t\t\t\t\t<p class=\"modal_paragraph\">Cliccando sul bottone <a class='button button-3d button-mini button-green' href='javascript:void(0)'>conferma</a> prenderai in carico tutti i ticket che ti sono stati assegnati.<br>Si Ã¨ sicuri di voler proseguire?</p>
  1741. \t\t\t\t\t\t\t\t</div>
  1742. \t\t\t\t\t\t\t</div>
  1743. \t\t\t\t\t\t</div>
  1744. \t\t\t\t\t\t<div class=\"modal-footer\">
  1745. \t\t\t\t\t\t\t<a href=\"javascript:void(0)\" class=\"button button-3d button-mini button-red f_left\" data-bs-dismiss=\"modal\">Annulla</a>
  1746. \t\t\t\t\t\t\t<button type=\"submit\" class=\"button button-3d button-mini button-green f_right\">Conferma</button>
  1747. \t\t\t\t\t\t</div>
  1748. \t\t\t\t\t</form>
  1749. \t\t\t\t</div>
  1750. \t\t\t</div>
  1751. \t\t</div>
  1752. \t";
  1753.         }
  1754.         // line 1124
  1755.         yield "
  1756. \t";
  1757.         // line 1125
  1758.         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.'1125$this->source); })()), "user", [], "any"falsefalsefalse1125), "getAccountTypology", [], "any"falsefalsefalse1125) == "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.'1125$this->source); })()), "user", [], "any"falsefalsefalse1125), "getAccountTypology", [], "any"falsefalsefalse1125) == "warehouse"))) {
  1759.             // line 1126
  1760.             yield "\t\t";
  1761.             if (CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source, (isset($context["global_company"]) || array_key_exists("global_company"$context) ? $context["global_company"] : (function () { throw new RuntimeError('Variable "global_company" does not exist.'1126$this->source); })()), "actualCompany", [], "any"falsefalsefalse1126), "tagTicketActive", [], "any"falsefalsefalse1126)) {
  1762.                 // line 1127
  1763.                 yield "\t\t\t";
  1764.                 yield from                 $this->loadTemplate("components/modals/filter_tag.html.twig""role/user/ticket/list.html.twig"1127)->unwrap()->yield(CoreExtension::merge($context, ["number" => 0"tag" => (isset($context["tags"]) || array_key_exists("tags"$context) ? $context["tags"] : (function () { throw new RuntimeError('Variable "tags" does not exist.'1127$this->source); })())]));
  1765.                 // line 1128
  1766.                 yield "\t\t\t";
  1767.                 yield from                 $this->loadTemplate("components/modals/filter_tag.html.twig""role/user/ticket/list.html.twig"1128)->unwrap()->yield(CoreExtension::merge($context, ["number" => 1"tag" => (isset($context["tags"]) || array_key_exists("tags"$context) ? $context["tags"] : (function () { throw new RuntimeError('Variable "tags" does not exist.'1128$this->source); })())]));
  1768.                 // line 1129
  1769.                 yield "\t\t\t";
  1770.                 yield from                 $this->loadTemplate("components/modals/filter_tag.html.twig""role/user/ticket/list.html.twig"1129)->unwrap()->yield(CoreExtension::merge($context, ["number" => 2"tag" => (isset($context["tags"]) || array_key_exists("tags"$context) ? $context["tags"] : (function () { throw new RuntimeError('Variable "tags" does not exist.'1129$this->source); })())]));
  1771.                 // line 1130
  1772.                 yield "\t\t\t";
  1773.                 yield from                 $this->loadTemplate("components/modals/filter_tag.html.twig""role/user/ticket/list.html.twig"1130)->unwrap()->yield(CoreExtension::merge($context, ["number" => 3"tag" => (isset($context["tags"]) || array_key_exists("tags"$context) ? $context["tags"] : (function () { throw new RuntimeError('Variable "tags" does not exist.'1130$this->source); })())]));
  1774.                 // line 1131
  1775.                 yield "\t\t\t";
  1776.                 yield from                 $this->loadTemplate("components/modals/filter_tag.html.twig""role/user/ticket/list.html.twig"1131)->unwrap()->yield(CoreExtension::merge($context, ["number" => 4"tag" => (isset($context["tags"]) || array_key_exists("tags"$context) ? $context["tags"] : (function () { throw new RuntimeError('Variable "tags" does not exist.'1131$this->source); })())]));
  1777.                 // line 1132
  1778.                 yield "\t\t\t";
  1779.                 yield from                 $this->loadTemplate("components/modals/filter_tag.html.twig""role/user/ticket/list.html.twig"1132)->unwrap()->yield(CoreExtension::merge($context, ["number" => 5"tag" => (isset($context["tags"]) || array_key_exists("tags"$context) ? $context["tags"] : (function () { throw new RuntimeError('Variable "tags" does not exist.'1132$this->source); })())]));
  1780.                 // line 1133
  1781.                 yield "\t\t\t";
  1782.                 yield from                 $this->loadTemplate("components/modals/filter_tag.html.twig""role/user/ticket/list.html.twig"1133)->unwrap()->yield(CoreExtension::merge($context, ["number" => 6"tag" => (isset($context["tags"]) || array_key_exists("tags"$context) ? $context["tags"] : (function () { throw new RuntimeError('Variable "tags" does not exist.'1133$this->source); })())]));
  1783.                 // line 1134
  1784.                 yield "\t\t\t";
  1785.                 yield from                 $this->loadTemplate("components/modals/filter_tag.html.twig""role/user/ticket/list.html.twig"1134)->unwrap()->yield(CoreExtension::merge($context, ["number" => 7"tag" => (isset($context["tags"]) || array_key_exists("tags"$context) ? $context["tags"] : (function () { throw new RuntimeError('Variable "tags" does not exist.'1134$this->source); })())]));
  1786.                 // line 1135
  1787.                 yield "\t\t\t";
  1788.                 yield from                 $this->loadTemplate("components/modals/filter_tag.html.twig""role/user/ticket/list.html.twig"1135)->unwrap()->yield(CoreExtension::merge($context, ["number" => 8"tag" => (isset($context["tags"]) || array_key_exists("tags"$context) ? $context["tags"] : (function () { throw new RuntimeError('Variable "tags" does not exist.'1135$this->source); })())]));
  1789.                 // line 1136
  1790.                 yield "\t\t\t";
  1791.                 yield from                 $this->loadTemplate("components/modals/filter_tag.html.twig""role/user/ticket/list.html.twig"1136)->unwrap()->yield(CoreExtension::merge($context, ["number" => 9"tag" => (isset($context["tags"]) || array_key_exists("tags"$context) ? $context["tags"] : (function () { throw new RuntimeError('Variable "tags" does not exist.'1136$this->source); })())]));
  1792.                 // line 1137
  1793.                 yield "\t\t";
  1794.             }
  1795.             // line 1138
  1796.             yield "\t\t";
  1797.             yield from             $this->loadTemplate("components/modals/filter_supplier.html.twig""role/user/ticket/list.html.twig"1138)->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.'1138$this->source); })())]));
  1798.             // line 1139
  1799.             yield "\t\t";
  1800.             yield from             $this->loadTemplate("components/modals/filter_supplier.html.twig""role/user/ticket/list.html.twig"1139)->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.'1139$this->source); })())]));
  1801.             // line 1140
  1802.             yield "\t\t";
  1803.             yield from             $this->loadTemplate("components/modals/filter_supplier.html.twig""role/user/ticket/list.html.twig"1140)->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.'1140$this->source); })())]));
  1804.             // line 1141
  1805.             yield "\t\t";
  1806.             yield from             $this->loadTemplate("components/modals/filter_supplier.html.twig""role/user/ticket/list.html.twig"1141)->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.'1141$this->source); })())]));
  1807.             // line 1142
  1808.             yield "\t\t";
  1809.             yield from             $this->loadTemplate("components/modals/filter_supplier.html.twig""role/user/ticket/list.html.twig"1142)->unwrap()->yield(CoreExtension::merge($context, ["number" => 4"suppliers" => (isset($context["suppliers"]) || array_key_exists("suppliers"$context) ? $context["suppliers"] : (function () { throw new RuntimeError('Variable "suppliers" does not exist.'1142$this->source); })())]));
  1810.             // line 1143
  1811.             yield "\t\t";
  1812.             yield from             $this->loadTemplate("components/modals/filter_supplier.html.twig""role/user/ticket/list.html.twig"1143)->unwrap()->yield(CoreExtension::merge($context, ["number" => 5"suppliers" => (isset($context["suppliers"]) || array_key_exists("suppliers"$context) ? $context["suppliers"] : (function () { throw new RuntimeError('Variable "suppliers" does not exist.'1143$this->source); })())]));
  1813.             // line 1144
  1814.             yield "\t\t";
  1815.             yield from             $this->loadTemplate("components/modals/filter_supplier.html.twig""role/user/ticket/list.html.twig"1144)->unwrap()->yield(CoreExtension::merge($context, ["number" => 6"suppliers" => (isset($context["suppliers"]) || array_key_exists("suppliers"$context) ? $context["suppliers"] : (function () { throw new RuntimeError('Variable "suppliers" does not exist.'1144$this->source); })())]));
  1816.             // line 1145
  1817.             yield "\t\t";
  1818.             yield from             $this->loadTemplate("components/modals/filter_supplier.html.twig""role/user/ticket/list.html.twig"1145)->unwrap()->yield(CoreExtension::merge($context, ["number" => 7"suppliers" => (isset($context["suppliers"]) || array_key_exists("suppliers"$context) ? $context["suppliers"] : (function () { throw new RuntimeError('Variable "suppliers" does not exist.'1145$this->source); })())]));
  1819.             // line 1146
  1820.             yield "\t\t";
  1821.             yield from             $this->loadTemplate("components/modals/filter_supplier.html.twig""role/user/ticket/list.html.twig"1146)->unwrap()->yield(CoreExtension::merge($context, ["number" => 8"suppliers" => (isset($context["suppliers"]) || array_key_exists("suppliers"$context) ? $context["suppliers"] : (function () { throw new RuntimeError('Variable "suppliers" does not exist.'1146$this->source); })())]));
  1822.             // line 1147
  1823.             yield "\t\t";
  1824.             yield from             $this->loadTemplate("components/modals/filter_supplier.html.twig""role/user/ticket/list.html.twig"1147)->unwrap()->yield(CoreExtension::merge($context, ["number" => 9"suppliers" => (isset($context["suppliers"]) || array_key_exists("suppliers"$context) ? $context["suppliers"] : (function () { throw new RuntimeError('Variable "suppliers" does not exist.'1147$this->source); })())]));
  1825.             // line 1148
  1826.             yield "\t\t";
  1827.             yield from             $this->loadTemplate("components/modals/filter_operation.html.twig""role/user/ticket/list.html.twig"1148)->unwrap()->yield(CoreExtension::merge($context, ["number" => 0"operations" => (isset($context["operations"]) || array_key_exists("operations"$context) ? $context["operations"] : (function () { throw new RuntimeError('Variable "operations" does not exist.'1148$this->source); })())]));
  1828.             // line 1149
  1829.             yield "\t\t";
  1830.             yield from             $this->loadTemplate("components/modals/filter_operation.html.twig""role/user/ticket/list.html.twig"1149)->unwrap()->yield(CoreExtension::merge($context, ["number" => 1"operations" => (isset($context["operations"]) || array_key_exists("operations"$context) ? $context["operations"] : (function () { throw new RuntimeError('Variable "operations" does not exist.'1149$this->source); })())]));
  1831.             // line 1150
  1832.             yield "\t\t";
  1833.             yield from             $this->loadTemplate("components/modals/filter_operation.html.twig""role/user/ticket/list.html.twig"1150)->unwrap()->yield(CoreExtension::merge($context, ["number" => 2"operations" => (isset($context["operations"]) || array_key_exists("operations"$context) ? $context["operations"] : (function () { throw new RuntimeError('Variable "operations" does not exist.'1150$this->source); })())]));
  1834.             // line 1151
  1835.             yield "\t\t";
  1836.             yield from             $this->loadTemplate("components/modals/filter_operation.html.twig""role/user/ticket/list.html.twig"1151)->unwrap()->yield(CoreExtension::merge($context, ["number" => 3"operations" => (isset($context["operations"]) || array_key_exists("operations"$context) ? $context["operations"] : (function () { throw new RuntimeError('Variable "operations" does not exist.'1151$this->source); })())]));
  1837.             // line 1152
  1838.             yield "\t\t";
  1839.             yield from             $this->loadTemplate("components/modals/filter_operation.html.twig""role/user/ticket/list.html.twig"1152)->unwrap()->yield(CoreExtension::merge($context, ["number" => 4"operations" => (isset($context["operations"]) || array_key_exists("operations"$context) ? $context["operations"] : (function () { throw new RuntimeError('Variable "operations" does not exist.'1152$this->source); })())]));
  1840.             // line 1153
  1841.             yield "\t\t";
  1842.             yield from             $this->loadTemplate("components/modals/filter_operation.html.twig""role/user/ticket/list.html.twig"1153)->unwrap()->yield(CoreExtension::merge($context, ["number" => 5"operations" => (isset($context["operations"]) || array_key_exists("operations"$context) ? $context["operations"] : (function () { throw new RuntimeError('Variable "operations" does not exist.'1153$this->source); })())]));
  1843.             // line 1154
  1844.             yield "\t\t";
  1845.             yield from             $this->loadTemplate("components/modals/filter_operation.html.twig""role/user/ticket/list.html.twig"1154)->unwrap()->yield(CoreExtension::merge($context, ["number" => 6"operations" => (isset($context["operations"]) || array_key_exists("operations"$context) ? $context["operations"] : (function () { throw new RuntimeError('Variable "operations" does not exist.'1154$this->source); })())]));
  1846.             // line 1155
  1847.             yield "\t\t";
  1848.             yield from             $this->loadTemplate("components/modals/filter_operation.html.twig""role/user/ticket/list.html.twig"1155)->unwrap()->yield(CoreExtension::merge($context, ["number" => 7"operations" => (isset($context["operations"]) || array_key_exists("operations"$context) ? $context["operations"] : (function () { throw new RuntimeError('Variable "operations" does not exist.'1155$this->source); })())]));
  1849.             // line 1156
  1850.             yield "\t\t";
  1851.             yield from             $this->loadTemplate("components/modals/filter_operation.html.twig""role/user/ticket/list.html.twig"1156)->unwrap()->yield(CoreExtension::merge($context, ["number" => 8"operations" => (isset($context["operations"]) || array_key_exists("operations"$context) ? $context["operations"] : (function () { throw new RuntimeError('Variable "operations" does not exist.'1156$this->source); })())]));
  1852.             // line 1157
  1853.             yield "\t\t";
  1854.             yield from             $this->loadTemplate("components/modals/filter_operation.html.twig""role/user/ticket/list.html.twig"1157)->unwrap()->yield(CoreExtension::merge($context, ["number" => 9"operations" => (isset($context["operations"]) || array_key_exists("operations"$context) ? $context["operations"] : (function () { throw new RuntimeError('Variable "operations" does not exist.'1157$this->source); })())]));
  1855.             // line 1158
  1856.             yield "\t";
  1857.         }
  1858.         
  1859.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  1860.         
  1861.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  1862.         return; yield '';
  1863.     }
  1864.     // line 204
  1865.     public function block_ticketsTab($context, array $blocks = [])
  1866.     {
  1867.         $macros $this->macros;
  1868.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  1869.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""ticketsTab"));
  1870.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  1871.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""ticketsTab"));
  1872.         // line 205
  1873.         yield "\t\t\t\t\t\t\t\t\t<div class=\"row\">
  1874. \t\t\t\t\t\t\t\t\t\t<div class=\"col-12\">
  1875. \t\t\t\t\t\t\t\t\t\t\t";
  1876.         // line 207
  1877.         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.'207$this->source); })()), 0, [], "array"falsefalsefalse207)) {
  1878.             // line 208
  1879.             yield "\t\t\t\t\t\t\t\t\t\t\t\t";
  1880.             if (CoreExtension::inFilter("assign"CoreExtension::getAttribute($this->env$this->source, (isset($context["multipleSelection"]) || array_key_exists("multipleSelection"$context) ? $context["multipleSelection"] : (function () { throw new RuntimeError('Variable "multipleSelection" does not exist.'208$this->source); })()), 2, [], "array"falsefalsefalse208))) {
  1881.                 yield "<a id=\"button_";
  1882.                 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.'208$this->source); })()), 1, [], "array"falsefalsefalse208), "html"nulltrue);
  1883.                 yield "_assign\" href=\"javascript: void()\" class=\"button button-3d button-mini button-grey f_right m_b_10p\">Assegna a tecnico</a>";
  1884.             }
  1885.             // line 209
  1886.             yield "\t\t\t\t\t\t\t\t\t\t\t\t";
  1887.             if (CoreExtension::inFilter("change"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.'209$this->source); })()), 2, [], "array"falsefalsefalse209))) {
  1888.                 yield "<a id=\"button_";
  1889.                 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.'209$this->source); })()), 1, [], "array"falsefalsefalse209), "html"nulltrue);
  1890.                 yield "_change\" href=\"javascript: void()\" class=\"button button-3d button-mini button-grey f_right m_b_10p\">Cambia tecnico</a>";
  1891.             }
  1892.             // line 210
  1893.             yield "\t\t\t\t\t\t\t\t\t\t\t\t";
  1894.             if (CoreExtension::inFilter("print"CoreExtension::getAttribute($this->env$this->source, (isset($context["multipleSelection"]) || array_key_exists("multipleSelection"$context) ? $context["multipleSelection"] : (function () { throw new RuntimeError('Variable "multipleSelection" does not exist.'210$this->source); })()), 2, [], "array"falsefalsefalse210))) {
  1895.                 yield "<a id=\"button_";
  1896.                 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.'210$this->source); })()), 1, [], "array"falsefalsefalse210), "html"nulltrue);
  1897.                 yield "_print\" href=\"javascript: void(0)\" class=\"button button-3d button-mini button-grey f_right m_b_10p\">Stampa</a>";
  1898.             }
  1899.             // line 211
  1900.             yield "\t\t\t\t\t\t\t\t\t\t\t\t";
  1901.             if (CoreExtension::inFilter("suspend"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.'211$this->source); })()), 2, [], "array"falsefalsefalse211))) {
  1902.                 yield "<a id=\"button_";
  1903.                 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.'211$this->source); })()), 1, [], "array"falsefalsefalse211), "html"nulltrue);
  1904.                 yield "_suspend\" href=\"javascript: void(0)\" class=\"button button-3d button-mini button-grey f_right m_b_10p\">Sospendi</a>";
  1905.             }
  1906.             // line 212
  1907.             yield "\t\t\t\t\t\t\t\t\t\t\t\t";
  1908.             if (CoreExtension::inFilter("suspend_end"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.'212$this->source); })()), 2, [], "array"falsefalsefalse212))) {
  1909.                 yield "<a id=\"button_";
  1910.                 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.'212$this->source); })()), 1, [], "array"falsefalsefalse212), "html"nulltrue);
  1911.                 yield "_suspend_end\" href=\"javascript: void(0)\" class=\"button button-3d button-mini button-grey f_right m_b_10p\">Sblocca sospensione</a>";
  1912.             }
  1913.             // line 213
  1914.             yield "\t\t\t\t\t\t\t\t\t\t\t\t";
  1915.             if (CoreExtension::inFilter("approve"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.'213$this->source); })()), 2, [], "array"falsefalsefalse213))) {
  1916.                 yield "<a id=\"button_";
  1917.                 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.'213$this->source); })()), 1, [], "array"falsefalsefalse213), "html"nulltrue);
  1918.                 yield "_approve\" href=\"javascript: void(0)\" class=\"button button-3d button-mini button-grey f_right m_b_10p\">Approva sospensione</a>";
  1919.             }
  1920.             // line 214
  1921.             yield "\t\t\t\t\t\t\t\t\t\t\t\t";
  1922.             if (CoreExtension::inFilter("cancel"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.'214$this->source); })()), 2, [], "array"falsefalsefalse214))) {
  1923.                 yield "<a id=\"button_";
  1924.                 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source, (isset($context["multipleSelection"]) || array_key_exists("multipleSelection"$context) ? $context["multipleSelection"] : (function () { throw new RuntimeError('Variable "multipleSelection" does not exist.'214$this->source); })()), 1, [], "array"falsefalsefalse214), "html"nulltrue);
  1925.                 yield "_cancel\" href=\"javascript: void(0)\" class=\"button button-3d button-mini button-grey f_right m_b_10p\">Annulla</a>";
  1926.             }
  1927.             // line 215
  1928.             yield "\t\t\t\t\t\t\t\t\t\t\t\t";
  1929.             if (CoreExtension::inFilter("closed_portal"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.'215$this->source); })()), 2, [], "array"falsefalsefalse215))) {
  1930.                 yield "<a id=\"button_";
  1931.                 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.'215$this->source); })()), 1, [], "array"falsefalsefalse215), "html"nulltrue);
  1932.                 yield "_closed_portal\" href=\"javascript: void()\" class=\"button button-3d button-mini button-grey f_right m_b_10p\">Chiuso su portale</a>";
  1933.             }
  1934.             // line 216
  1935.             yield "\t\t\t\t\t\t\t\t\t\t\t\t";
  1936.             if (CoreExtension::inFilter("wrong"CoreExtension::getAttribute($this->env$this->source, (isset($context["multipleSelection"]) || array_key_exists("multipleSelection"$context) ? $context["multipleSelection"] : (function () { throw new RuntimeError('Variable "multipleSelection" does not exist.'216$this->source); })()), 2, [], "array"falsefalsefalse216))) {
  1937.                 yield "<a id=\"button_";
  1938.                 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.'216$this->source); })()), 1, [], "array"falsefalsefalse216), "html"nulltrue);
  1939.                 yield "_wrong\" href=\"javascript: void()\" class=\"button button-3d button-mini button-grey f_right m_b_10p\">Errato</a>";
  1940.             }
  1941.             // line 217
  1942.             yield "\t\t\t\t\t\t\t\t\t\t\t\t";
  1943.             if (CoreExtension::inFilter("delete"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.'217$this->source); })()), 2, [], "array"falsefalsefalse217))) {
  1944.                 yield "<a id=\"button_";
  1945.                 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.'217$this->source); })()), 1, [], "array"falsefalsefalse217), "html"nulltrue);
  1946.                 yield "_delete\" href=\"javascript: void(0)\" class=\"button button-3d button-mini button-grey f_right m_b_10p\">Elimina definitivamente</a>";
  1947.             }
  1948.             // line 218
  1949.             yield "\t\t\t\t\t\t\t\t\t\t\t\t";
  1950.             if (CoreExtension::inFilter("urge"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.'218$this->source); })()), 2, [], "array"falsefalsefalse218))) {
  1951.                 yield "<a id=\"button_";
  1952.                 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.'218$this->source); })()), 1, [], "array"falsefalsefalse218), "html"nulltrue);
  1953.                 yield "_urge\" href=\"javascript: void(0)\" class=\"button button-3d button-mini button-grey f_right m_b_10p\">Sollecita</a>";
  1954.             }
  1955.             // line 219
  1956.             yield "\t\t\t\t\t\t\t\t\t\t\t\t";
  1957.             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.'219$this->source); })()), 2, [], "array"falsefalsefalse219))) {
  1958.                 yield "<a id=\"button_";
  1959.                 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.'219$this->source); })()), 1, [], "array"falsefalsefalse219), "html"nulltrue);
  1960.                 yield "_export\" href=\"javascript: void(0)\" class=\"button button-3d button-mini button-grey f_right m_b_10p\">Esporta</a>";
  1961.             }
  1962.             // line 220
  1963.             yield "\t\t\t\t\t\t\t\t\t\t\t";
  1964.         }
  1965.         // line 221
  1966.         yield "\t\t\t\t\t\t\t\t\t\t\t";
  1967.         if ((isset($context["hasEmailTakeCharge"]) || array_key_exists("hasEmailTakeCharge"$context) ? $context["hasEmailTakeCharge"] : (function () { throw new RuntimeError('Variable "hasEmailTakeCharge" does not exist.'221$this->source); })())) {
  1968.             yield "<a href=\"javascript: sendEmailTakeCharge()\" class=\"button button-3d button-mini button-green f_left m_b_10p\">Invia email prendi in carico a tutti</a>";
  1969.         }
  1970.         // line 222
  1971.         yield "\t\t\t\t\t\t\t\t\t\t</div>
  1972. \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<table class=\"table table-bordered table-hover font_12\">
  1974. \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<tr>
  1976. \t\t\t\t\t\t\t\t\t\t\t\t\t\t<form method=\"get\" action=\"";
  1977.         // line 227
  1978.         yield $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("user_ticket_list");
  1979.         yield "\" id=\"formFilter_";
  1980.         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.'227$this->source); })()), 1, [], "array"falsefalsefalse227), "html"nulltrue);
  1981.         yield "\">
  1982. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td class=\"td_action\" ";
  1983.         // line 228
  1984.         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.'228$this->source); })()), 0, [], "array"falsefalsefalse228)) {
  1985.             yield "colspan=\"2\"";
  1986.         }
  1987.         yield "><a href=\"";
  1988.         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.'228$this->source); })()), "request", [], "any"falsefalsefalse228), "attributes", [], "any"falsefalsefalse228), "get", ["_route"], "method"falsefalsefalse228), "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.'228$this->source); })()), "request", [], "any"falsefalsefalse228), "attributes", [], "any"falsefalsefalse228), "get", ["_route_params"], "method"falsefalsefalse228)]), "html"nulltrue);
  1989.         yield "\" class=\"f_right\" data-bs-toggle=\"tooltip\" title=\"Escludi filtro\"><img class=\"icon_red\" src=\"";
  1990.         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.'228$this->source); })())), "html"nulltrue);
  1991.         yield "\"></a></td>
  1992. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td><input type=\"text\" class=\"form-control\" id=\"input_number_";
  1993.         // line 229
  1994.         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);
  1995.         yield "\" inputmode=\"search\" name=\"number\" value=\"";
  1996.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(((CoreExtension::getAttribute($this->env$this->source, ($context["filters"] ?? null), "number", [], "any"truetruefalse229)) ? (Twig\Extension\CoreExtension::default(CoreExtension::getAttribute($this->env$this->source, ($context["filters"] ?? null), "number", [], "any"falsefalsefalse229))) : ("")), "html"nulltrue);
  1997.         yield "\" data-bs-toggle=\"tooltip\" title=\"Puoi effettuare ricerche multiple inserendo valori separati da virgola [Es. 1234,5678,901]\"/></td>
  1998. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td><input type=\"text\" class=\"form-control\" id=\"input_termid_";
  1999.         // line 230
  2000.         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);
  2001.         yield "\" inputmode=\"search\" name=\"termid\" value=\"";
  2002.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(((CoreExtension::getAttribute($this->env$this->source, ($context["filters"] ?? null), "termid", [], "any"truetruefalse230)) ? (Twig\Extension\CoreExtension::default(CoreExtension::getAttribute($this->env$this->source, ($context["filters"] ?? null), "termid", [], "any"falsefalsefalse230))) : ("")), "html"nulltrue);
  2003.         yield "\" data-bs-toggle=\"tooltip\" title=\"Puoi effettuare ricerche multiple inserendo valori separati da virgola [Es. 1234,5678,901]\"/></td>
  2004. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
  2005.         // line 231
  2006.         if (CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source, (isset($context["global_company"]) || array_key_exists("global_company"$context) ? $context["global_company"] : (function () { throw new RuntimeError('Variable "global_company" does not exist.'231$this->source); })()), "actualCompany", [], "any"falsefalsefalse231), "tagTicketActive", [], "any"falsefalsefalse231)) {
  2007.             yield "<td><input type=\"text\" class=\"form-control\" id=\"filter_tag_value_";
  2008.             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.'231$this->source); })()), "html"nulltrue);
  2009.             yield "\" readonly onClick=\"filterTags";
  2010.             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.'231$this->source); })()), "html"nulltrue);
  2011.             yield "()\" data-bs-toggle=\"tooltip\"/><input type=\"hidden\" id=\"filter_tag_id_";
  2012.             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.'231$this->source); })()), "html"nulltrue);
  2013.             yield "\" name=\"tag\" value=\"";
  2014.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(((CoreExtension::getAttribute($this->env$this->source, ($context["filters"] ?? null), "tag", [], "any"truetruefalse231)) ? (Twig\Extension\CoreExtension::default(CoreExtension::getAttribute($this->env$this->source, ($context["filters"] ?? null), "tag", [], "any"falsefalsefalse231))) : ("")), "html"nulltrue);
  2015.             yield "\"/></td>";
  2016.         }
  2017.         // line 232
  2018.         yield "\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=\"client\" value=\"";
  2019.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(((CoreExtension::getAttribute($this->env$this->source, ($context["filters"] ?? null), "client", [], "any"truetruefalse232)) ? (Twig\Extension\CoreExtension::default(CoreExtension::getAttribute($this->env$this->source, ($context["filters"] ?? null), "client", [], "any"falsefalsefalse232))) : ("")), "html"nulltrue);
  2020.         yield "\"/></td>
  2021. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td><input type=\"text\" class=\"form-control\" id=\"filter_operation_value_";
  2022.         // line 233
  2023.         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.'233$this->source); })()), "html"nulltrue);
  2024.         yield "\" readonly onClick=\"filterOperations";
  2025.         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.'233$this->source); })()), "html"nulltrue);
  2026.         yield "()\" data-bs-toggle=\"tooltip\"/><input type=\"hidden\" id=\"filter_operation_id_";
  2027.         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.'233$this->source); })()), "html"nulltrue);
  2028.         yield "\" name=\"operation\" value=\"";
  2029.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(((CoreExtension::getAttribute($this->env$this->source, ($context["filters"] ?? null), "operation", [], "any"truetruefalse233)) ? (Twig\Extension\CoreExtension::default(CoreExtension::getAttribute($this->env$this->source, ($context["filters"] ?? null), "operation", [], "any"falsefalsefalse233))) : ("")), "html"nulltrue);
  2030.         yield "\"/></td>
  2031. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td><input type=\"text\" class=\"form-control\" id=\"filter_supplier_value_";
  2032.         // line 234
  2033.         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.'234$this->source); })()), "html"nulltrue);
  2034.         yield "\" readonly onClick=\"filterSuppliers";
  2035.         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.'234$this->source); })()), "html"nulltrue);
  2036.         yield "()\" data-bs-toggle=\"tooltip\"/><input type=\"hidden\" id=\"filter_supplier_id_";
  2037.         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.'234$this->source); })()), "html"nulltrue);
  2038.         yield "\" name=\"supplier\" value=\"";
  2039.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(((CoreExtension::getAttribute($this->env$this->source, ($context["filters"] ?? null), "supplier", [], "any"truetruefalse234)) ? (Twig\Extension\CoreExtension::default(CoreExtension::getAttribute($this->env$this->source, ($context["filters"] ?? null), "supplier", [], "any"falsefalsefalse234))) : ("")), "html"nulltrue);
  2040.         yield "\"/></td>
  2041. \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=\"tariff\" value=\"";
  2042.         // line 235
  2043.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(((CoreExtension::getAttribute($this->env$this->source, ($context["filters"] ?? null), "tariff", [], "any"truetruefalse235)) ? (Twig\Extension\CoreExtension::default(CoreExtension::getAttribute($this->env$this->source, ($context["filters"] ?? null), "tariff", [], "any"falsefalsefalse235))) : ("")), "html"nulltrue);
  2044.         yield "\"/></td>
  2045. \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=\"city\" value=\"";
  2046.         // line 236
  2047.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(((CoreExtension::getAttribute($this->env$this->source, ($context["filters"] ?? null), "city", [], "any"truetruefalse236)) ? (Twig\Extension\CoreExtension::default(CoreExtension::getAttribute($this->env$this->source, ($context["filters"] ?? null), "city", [], "any"falsefalsefalse236))) : ("")), "html"nulltrue);
  2048.         yield "\"/></td>
  2049. \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=\"province\" value=\"";
  2050.         // line 237
  2051.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(((CoreExtension::getAttribute($this->env$this->source, ($context["filters"] ?? null), "province", [], "any"truetruefalse237)) ? (Twig\Extension\CoreExtension::default(CoreExtension::getAttribute($this->env$this->source, ($context["filters"] ?? null), "province", [], "any"falsefalsefalse237))) : ("")), "html"nulltrue);
  2052.         yield "\"/></td>
  2053. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
  2054.         // line 238
  2055.         if (((isset($context["tab"]) || array_key_exists("tab"$context) ? $context["tab"] : (function () { throw new RuntimeError('Variable "tab" does not exist.'238$this->source); })()) != "toAssign")) {
  2056.             // line 239
  2057.             yield "\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\" value=\"";
  2058.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(((CoreExtension::getAttribute($this->env$this->source, ($context["filters"] ?? null), "technician", [], "any"truetruefalse239)) ? (Twig\Extension\CoreExtension::default(CoreExtension::getAttribute($this->env$this->source, ($context["filters"] ?? null), "technician", [], "any"falsefalsefalse239))) : ("")), "html"nulltrue);
  2059.             yield "\"/></td>
  2060. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
  2061.         }
  2062.         // line 241
  2063.         yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td><input type=\"text\" class=\"form-control daterange daterange1 font_12\" id=\"daterange_";
  2064.         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.'241$this->source); })()), "html"nulltrue);
  2065.         yield "_1\" autocomplete=\"off\" inputmode=\"search\" name=\"datetimeStart\" style=\"height: 38px\" date-filter=\"range\"/></td>
  2066. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
  2067.         // line 242
  2068.         if ((((isset($context["tab"]) || array_key_exists("tab"$context) ? $context["tab"] : (function () { throw new RuntimeError('Variable "tab" does not exist.'242$this->source); })()) != "closed") && ((isset($context["tab"]) || array_key_exists("tab"$context) ? $context["tab"] : (function () { throw new RuntimeError('Variable "tab" does not exist.'242$this->source); })()) != "closedPortal"))) {
  2069.             // line 243
  2070.             yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td><input type=\"text\" class=\"form-control daterange daterange2 font_12\" id=\"daterange_";
  2071.             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.'243$this->source); })()), "html"nulltrue);
  2072.             yield "_2\" autocomplete=\"off\" inputmode=\"search\" name=\"datetimeExpiration\" style=\"height: 38px\" date-filter=\"range\"/></td>
  2073. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
  2074.         } else {
  2075.             // line 245
  2076.             yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td><input type=\"text\" class=\"form-control daterange daterange3 font_12\" id=\"daterange_";
  2077.             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.'245$this->source); })()), "html"nulltrue);
  2078.             yield "_3\" inputmode=\"search\" autocomplete=\"off\" name=\"datetimeEnd\" style=\"height: 38px\" date-filter=\"range\"/></td>
  2079. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
  2080.         }
  2081.         // line 247
  2082.         yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td colspan=\"4\" class=\"td_action\"><button type=\"submit\" class=\"btn bg_w f_left p_0p\" data-bs-toggle=\"tooltip\" title=\"Filtra\"><img class=\"icon_green\" src=\"";
  2083.         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.'247$this->source); })())), "html"nulltrue);
  2084.         yield "\"></button></td>
  2085. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<input type=\"hidden\" name=\"filter_tab\" value=\"";
  2086.         // line 248
  2087.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((isset($context["tabOpenValue"]) || array_key_exists("tabOpenValue"$context) ? $context["tabOpenValue"] : (function () { throw new RuntimeError('Variable "tabOpenValue" does not exist.'248$this->source); })()), "html"nulltrue);
  2088.         yield "\">
  2089. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<input id=\"sort_field_";
  2090.         // line 249
  2091.         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.'249$this->source); })()), 1, [], "array"falsefalsefalse249), "html"nulltrue);
  2092.         yield "\" type=\"hidden\" name=\"sortField\" value=\"";
  2093.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(((CoreExtension::getAttribute($this->env$this->source, ($context["filters"] ?? null), "sortField", [], "any"truetruefalse249)) ? (Twig\Extension\CoreExtension::default(CoreExtension::getAttribute($this->env$this->source, ($context["filters"] ?? null), "sortField", [], "any"falsefalsefalse249))) : ("")), "html"nulltrue);
  2094.         yield "\"/>
  2095. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<input id=\"sort_order_";
  2096.         // line 250
  2097.         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.'250$this->source); })()), 1, [], "array"falsefalsefalse250), "html"nulltrue);
  2098.         yield "\" type=\"hidden\" name=\"sortOrder\" value=\"";
  2099.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(((CoreExtension::getAttribute($this->env$this->source, ($context["filters"] ?? null), "sortOrder", [], "any"truetruefalse250)) ? (Twig\Extension\CoreExtension::default(CoreExtension::getAttribute($this->env$this->source, ($context["filters"] ?? null), "sortOrder", [], "any"falsefalsefalse250))) : ("")), "html"nulltrue);
  2100.         yield "\"/>
  2101. \t\t\t\t\t\t\t\t\t\t\t\t\t\t</form>
  2102. \t\t\t\t\t\t\t\t\t\t\t\t\t</tr>
  2103. \t\t\t\t\t\t\t\t\t\t\t\t\t<tr class=\"bg_pr color_w\">
  2104. \t\t\t\t\t\t\t\t\t\t\t\t\t\t";
  2105.         // line 254
  2106.         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.'254$this->source); })()), 0, [], "array"falsefalsefalse254)) {
  2107.             // line 255
  2108.             yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<th class=\"td_action txt_a_c\">
  2109. \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\">
  2110. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<input id=\"ticket_";
  2111.             // line 257
  2112.             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.'257$this->source); })()), 1, [], "array"falsefalsefalse257), "html"nulltrue);
  2113.             yield "_all_checkboxes\" class=\"switch-toggle switch-flat-mini switch-toggle-flat\" type=\"checkbox\" onChange=\"javascript: selectAll(";
  2114.             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.'257$this->source); })()), 1, [], "array"falsefalsefalse257), "html"nulltrue);
  2115.             yield ")\">
  2116. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<label for=\"ticket_";
  2117.             // line 258
  2118.             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.'258$this->source); })()), 1, [], "array"falsefalsefalse258), "html"nulltrue);
  2119.             yield "_all_checkboxes\" class=\"m_b_none\"></label>
  2120. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</div>
  2121. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</th>
  2122. \t\t\t\t\t\t\t\t\t\t\t\t\t\t";
  2123.         }
  2124.         // line 262
  2125.         yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t<th class=\"td_w_40p txt_a_c\">Stato</th>
  2126. \t\t\t\t\t\t\t\t\t\t\t\t\t\t<th class=\"td_w_120p\">N°<button type=\"button\" onClick=\"setOrderBy";
  2127.         // line 263
  2128.         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.'263$this->source); })()), 1, [], "array"falsefalsefalse263), "html"nulltrue);
  2129.         yield "('t.number')\" data-orderField=\"t.number\" class=\"f_right filter_arrow\"><img width=\"18\" data-bs-toggle=\"tooltip\" title=\"Ordina in ordine alfabetico\"></button></th>
  2130. \t\t\t\t\t\t\t\t\t\t\t\t\t\t<th class=\"td_w_100p\">Termid<button type=\"button\" onClick=\"setOrderBy";
  2131.         // line 264
  2132.         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.'264$this->source); })()), 1, [], "array"falsefalsefalse264), "html"nulltrue);
  2133.         yield "('tt.code')\" data-orderField=\"tt.code\" class=\"f_right filter_arrow\"><img width=\"18\" data-bs-toggle=\"tooltip\" title=\"Ordina in ordine alfabetico\"></button></th>
  2134. \t\t\t\t\t\t\t\t\t\t\t\t\t\t";
  2135.         // line 265
  2136.         if (CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source, (isset($context["global_company"]) || array_key_exists("global_company"$context) ? $context["global_company"] : (function () { throw new RuntimeError('Variable "global_company" does not exist.'265$this->source); })()), "actualCompany", [], "any"falsefalsefalse265), "tagTicketActive", [], "any"falsefalsefalse265)) {
  2137.             yield "<th class=\"td_w_100p\">Tag</th>";
  2138.         }
  2139.         // line 266
  2140.         yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t<th class=\"td_w_150p\">Cliente<button type=\"button\" onClick=\"setOrderBy";
  2141.         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.'266$this->source); })()), 1, [], "array"falsefalsefalse266), "html"nulltrue);
  2142.         yield "('c.nickname')\" data-orderField=\"c.nickname\" class=\"f_right filter_arrow\"><img width=\"18\" data-bs-toggle=\"tooltip\" title=\"Ordina in ordine alfabetico\"></button></th>
  2143. \t\t\t\t\t\t\t\t\t\t\t\t\t\t<th class=\"td_w_150p\">Operazione <i style=\"font-weight:400\">(Dettagli)</i><button type=\"button\" onClick=\"setOrderBy";
  2144.         // line 267
  2145.         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.'267$this->source); })()), 1, [], "array"falsefalsefalse267), "html"nulltrue);
  2146.         yield "('o.value')\" data-orderField=\"o.value\" class=\"f_right filter_arrow\"><img width=\"18\" data-bs-toggle=\"tooltip\" title=\"Ordina in ordine alfabetico\"></button></th>
  2147. \t\t\t\t\t\t\t\t\t\t\t\t\t\t<th class=\"td_w_120p\">Fornitore <i style=\"font-weight:400\">(SLOT)</i><button type=\"button\" onClick=\"setOrderBy";
  2148.         // line 268
  2149.         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.'268$this->source); })()), 1, [], "array"falsefalsefalse268), "html"nulltrue);
  2150.         yield "('s.name')\" data-orderField=\"s.name\" class=\"f_right filter_arrow\"><img width=\"18\" data-bs-toggle=\"tooltip\" title=\"Ordina in ordine alfabetico\"></button></th>
  2151. \t\t\t\t\t\t\t\t\t\t\t\t\t\t<th class=\"td_w_120p\">Tariffa<button type=\"button\" onClick=\"setOrderBy0('ot.value')\" data-orderField=\"ot.value\" class=\"f_right filter_arrow\"><img width=\"18\" data-bs-toggle=\"tooltip\" title=\"Ordina in ordine alfabetico\"></button></th>
  2152. \t\t\t\t\t\t\t\t\t\t\t\t\t\t<th class=\"td_w_180p\">Città <i style=\"font-weight:400\">(Indirizzo)</i><button type=\"button\" onClick=\"setOrderBy1('t.idCity')\" data-orderField=\"t.idCity\" class=\"f_right filter_arrow\"><img width=\"18\" data-bs-toggle=\"tooltip\" title=\"Ordina in ordine alfabetico\"></button></th>
  2153. \t\t\t\t\t\t\t\t\t\t\t\t\t\t<th class=\"td_w_70p txt_a_c\">Prov<button type=\"button\" onClick=\"setOrderBy1('t.idProvince')\" data-orderField=\"t.idProvince\" class=\"f_right filter_arrow\"><img width=\"18\" data-bs-toggle=\"tooltip\" title=\"Ordina in ordine alfabetico\"></button></th>
  2154. \t\t\t\t\t\t\t\t\t\t\t\t\t\t";
  2155.         // line 272
  2156.         if (((isset($context["tab"]) || array_key_exists("tab"$context) ? $context["tab"] : (function () { throw new RuntimeError('Variable "tab" does not exist.'272$this->source); })()) != "toAssign")) {
  2157.             // line 273
  2158.             yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<th class=\"td_w_150p\">Tecnico<button type=\"button\" onClick=\"setOrderBy";
  2159.             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.'273$this->source); })()), 1, [], "array"falsefalsefalse273), "html"nulltrue);
  2160.             yield "('p.surname')\" data-orderField=\"p.surname\" class=\"f_right filter_arrow\"><img width=\"18\" data-bs-toggle=\"tooltip\" title=\"Ordina in ordine alfabetico\"></button></th>
  2161. \t\t\t\t\t\t\t\t\t\t\t\t\t\t";
  2162.         }
  2163.         // line 275
  2164.         yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t<th class=\"td_w_130p txt_a_c\">Data/Ora ricezione<button type=\"button\" onClick=\"setOrderBy";
  2165.         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.'275$this->source); })()), 1, [], "array"falsefalsefalse275), "html"nulltrue);
  2166.         yield "('t.datetimeStart')\" data-orderField=\"t.datetimeStart\" class=\"f_right filter_arrow\"><img width=\"18\" data-bs-toggle=\"tooltip\" title=\"Ordina in ordine alfabetico\"></button></th>
  2167. \t\t\t\t\t\t\t\t\t\t\t\t\t\t";
  2168.         // line 276
  2169.         if ((((isset($context["tab"]) || array_key_exists("tab"$context) ? $context["tab"] : (function () { throw new RuntimeError('Variable "tab" does not exist.'276$this->source); })()) != "closed") && ((isset($context["tab"]) || array_key_exists("tab"$context) ? $context["tab"] : (function () { throw new RuntimeError('Variable "tab" does not exist.'276$this->source); })()) != "closedPortal"))) {
  2170.             // line 277
  2171.             yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<th class=\"td_w_130p txt_a_c\">Data/Ora scadenza<button type=\"button\" onClick=\"setOrderBy";
  2172.             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.'277$this->source); })()), 1, [], "array"falsefalsefalse277), "html"nulltrue);
  2173.             yield "('t.datetimeExpiration')\" data-orderField=\"t.datetimeExpiration\" class=\"f_right filter_arrow\"><img width=\"18\" data-bs-toggle=\"tooltip\" title=\"Ordina in ordine alfabetico\"></button></th>\t\t\t\t\t\t\t\t\t
  2174. \t\t\t\t\t\t\t\t\t\t\t\t\t\t";
  2175.         } else {
  2176.             // line 279
  2177.             yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<th class=\"td_w_130p txt_a_c\">Data/Ora chiusura<button type=\"button\" onClick=\"setOrderBy";
  2178.             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.'279$this->source); })()), 1, [], "array"falsefalsefalse279), "html"nulltrue);
  2179.             yield "('t.datetimeEnd')\" data-orderField=\"t.datetimeEnd\" class=\"f_right filter_arrow\"><img width=\"18\" data-bs-toggle=\"tooltip\" title=\"Ordina in ordine alfabetico\"></button></th>
  2180. \t\t\t\t\t\t\t\t\t\t\t\t\t\t";
  2181.         }
  2182.         // line 281
  2183.         yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t<th class=\"td_w_50p txt_a_c\">Note</th>
  2184. \t\t\t\t\t\t\t\t\t\t\t\t\t\t<th></th>
  2185. \t\t\t\t\t\t\t\t\t\t\t\t\t</tr>
  2186. \t\t\t\t\t\t\t\t\t\t\t\t</thead>
  2187. \t\t\t\t\t\t\t\t\t\t\t\t<tbody>
  2188. \t\t\t\t\t\t\t\t\t\t\t\t\t";
  2189.         // line 286
  2190.         if ((Twig\Extension\CoreExtension::length($this->env->getCharset(), (isset($context["tickets"]) || array_key_exists("tickets"$context) ? $context["tickets"] : (function () { throw new RuntimeError('Variable "tickets" does not exist.'286$this->source); })())) > 0)) {
  2191.             // line 287
  2192.             yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
  2193.             $context['_parent'] = $context;
  2194.             $context['_seq'] = CoreExtension::ensureTraversable((isset($context["tickets"]) || array_key_exists("tickets"$context) ? $context["tickets"] : (function () { throw new RuntimeError('Variable "tickets" does not exist.'287$this->source); })()));
  2195.             foreach ($context['_seq'] as $context["_key"] => $context["ticket"]) {
  2196.                 // line 288
  2197.                 yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<tr>
  2198. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
  2199.                 // line 289
  2200.                 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.'289$this->source); })()), 0, [], "array"falsefalsefalse289)) {
  2201.                     // line 290
  2202.                     yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td class=\"td_w_30p\">
  2203. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"switch\">
  2204. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<input id=\"ticket_checkbox_";
  2205.                     // line 292
  2206.                     yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source$context["ticket"], "id", [], "any"falsefalsefalse292), "html"nulltrue);
  2207.                     yield "\" class=\"switch-toggle switch-flat-mini switch-toggle-flat ticket_";
  2208.                     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.'292$this->source); })()), 1, [], "array"falsefalsefalse292), "html"nulltrue);
  2209.                     yield "_checkbox\" type=\"checkbox\" value=\"";
  2210.                     yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source$context["ticket"], "id", [], "any"falsefalsefalse292), "html"nulltrue);
  2211.                     yield "\" onChange=\"javascript: updateButtons(";
  2212.                     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.'292$this->source); })()), 1, [], "array"falsefalsefalse292), "html"nulltrue);
  2213.                     yield ")\">
  2214. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<label for=\"ticket_checkbox_";
  2215.                     // line 293
  2216.                     yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source$context["ticket"], "id", [], "any"falsefalsefalse293), "html"nulltrue);
  2217.                     yield "\" class=\"m_b_none\"></label>
  2218. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</div>
  2219. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</td>
  2220. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
  2221.                 }
  2222.                 // line 297
  2223.                 yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td class=\"txt_a_c\">";
  2224.                 yield CoreExtension::getAttribute($this->env$this->source$context["ticket"], "displayStatus", ["icon", (isset($context["settingProcessedActive"]) || array_key_exists("settingProcessedActive"$context) ? $context["settingProcessedActive"] : (function () { throw new RuntimeError('Variable "settingProcessedActive" does not exist.'297$this->source); })())], "method"falsefalsefalse297);
  2225.                 yield "</td>
  2226. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td id=\"ticket_number_";
  2227.                 // line 298
  2228.                 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source$context["ticket"], "id", [], "any"falsefalsefalse298), "html"nulltrue);
  2229.                 yield "\">";
  2230.                 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source$context["ticket"], "number", [], "any"falsefalsefalse298), "html"nulltrue);
  2231.                 yield "</td>
  2232. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td id=\"ticket_termid_";
  2233.                 // line 299
  2234.                 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source$context["ticket"], "id", [], "any"falsefalsefalse299), "html"nulltrue);
  2235.                 yield "\">";
  2236.                 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source$context["ticket"], "termid", [], "any"falsefalsefalse299), "html"nulltrue);
  2237.                 yield "</td>
  2238. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
  2239.                 // line 300
  2240.                 if (CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source, (isset($context["global_company"]) || array_key_exists("global_company"$context) ? $context["global_company"] : (function () { throw new RuntimeError('Variable "global_company" does not exist.'300$this->source); })()), "actualCompany", [], "any"falsefalsefalse300), "tagTicketActive", [], "any"falsefalsefalse300)) {
  2241.                     yield "<td id=\"ticket_tags_";
  2242.                     yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source$context["ticket"], "id", [], "any"falsefalsefalse300), "html"nulltrue);
  2243.                     yield "\">";
  2244.                     yield CoreExtension::getAttribute($this->env$this->source$context["ticket"], "displayTags", ["icon"], "method"falsefalsefalse300);
  2245.                     yield "</td>";
  2246.                 }
  2247.                 // line 301
  2248.                 yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td id=\"ticket_client_";
  2249.                 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source$context["ticket"], "id", [], "any"falsefalsefalse301), "html"nulltrue);
  2250.                 yield "\">";
  2251.                 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source$context["ticket"], "client", [], "any"falsefalsefalse301), "html"nulltrue);
  2252.                 yield "</td>
  2253. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td id=\"ticket_operation_";
  2254.                 // line 302
  2255.                 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source$context["ticket"], "id", [], "any"falsefalsefalse302), "html"nulltrue);
  2256.                 yield "\">
  2257. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
  2258.                 // line 303
  2259.                 if ( !(null === CoreExtension::getAttribute($this->env$this->source$context["ticket"], "operation", [], "any"falsefalsefalse303))) {
  2260.                     // line 304
  2261.                     yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
  2262.                     yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source$context["ticket"], "operation", [], "any"falsefalsefalse304), "value", [], "any"falsefalsefalse304), "html"nulltrue);
  2263.                     if ((CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source$context["ticket"], "operation", [], "any"falsefalsefalse304), "getKeyValueByValue", ["Dettagli operazione"], "method"falsefalsefalse304) && (CoreExtension::getAttribute($this->env$this->source$context["ticket"], "displayJsonValueByColumn", [CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source$context["ticket"], "operation", [], "any"falsefalsefalse304), "getKeyValueByValue", ["Dettagli operazione"], "method"falsefalsefalse304)], "method"falsefalsefalse304) != null))) {
  2264.                         yield "<br><i>(";
  2265.                         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source$context["ticket"], "displayJsonValueByColumn", [CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source$context["ticket"], "operation", [], "any"falsefalsefalse304), "getKeyValueByValue", ["Dettagli operazione"], "method"falsefalsefalse304)], "method"falsefalsefalse304), "html"nulltrue);
  2266.                         yield ")</i>";
  2267.                     }
  2268.                     // line 305
  2269.                     yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
  2270.                 } else {
  2271.                     // line 306
  2272.                     yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tOperazione non riconosciuta
  2273. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
  2274.                 }
  2275.                 // line 308
  2276.                 yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</td>
  2277. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td id=\"ticket_supplier_";
  2278.                 // line 309
  2279.                 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source$context["ticket"], "id", [], "any"falsefalsefalse309), "html"nulltrue);
  2280.                 yield "\">
  2281. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
  2282.                 // line 310
  2283.                 if ( !(null === CoreExtension::getAttribute($this->env$this->source$context["ticket"], "supplier", [], "any"falsefalsefalse310))) {
  2284.                     // line 311
  2285.                     yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
  2286.                     yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source$context["ticket"], "supplier", [], "any"falsefalsefalse311), "html"nulltrue);
  2287.                     yield "
  2288. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
  2289.                     // line 312
  2290.                     if ((CoreExtension::getAttribute($this->env$this->source$context["ticket"], "displayJsonValueByColumn", ["SLOT"], "method"falsefalsefalse312) != null)) {
  2291.                         yield "<br><i>(";
  2292.                         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source$context["ticket"], "displayJsonValueByColumn", ["SLOT"], "method"falsefalsefalse312), "html"nulltrue);
  2293.                         yield ")</i>";
  2294.                     }
  2295.                     // line 313
  2296.                     yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
  2297.                 } else {
  2298.                     // line 314
  2299.                     yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tFornitore non riconosciuto
  2300. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
  2301.                 }
  2302.                 // line 316
  2303.                 yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</td>
  2304. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td>";
  2305.                 // line 317
  2306.                 if ((CoreExtension::getAttribute($this->env$this->source$context["ticket"], "operationTariffAmount", [], "any"falsefalsefalse317) != null)) {
  2307.                     yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(((CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source$context["ticket"], "operationTariffAmount", [], "any"falsetruefalse317), "value", [], "any"truetruefalse317)) ? (Twig\Extension\CoreExtension::default(CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source$context["ticket"], "operationTariffAmount", [], "any"falsetruefalse317), "value", [], "any"falsefalsefalse317))) : ("")), "html"nulltrue);
  2308.                 }
  2309.                 yield "</td>
  2310. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td>";
  2311.                 // line 318
  2312.                 if ((CoreExtension::getAttribute($this->env$this->source$context["ticket"], "idCity", [], "any"falsefalsefalse318) != null)) {
  2313.                     yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['App\Twig\Extension\AppExtension']->translateCityOnly(CoreExtension::getAttribute($this->env$this->source$context["ticket"], "idCity", [], "any"falsefalsefalse318)), "html"nulltrue);
  2314.                     yield "<br><i>(";
  2315.                     yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source$context["ticket"], "address", [], "any"falsefalsefalse318), "html"nulltrue);
  2316.                     yield ")</i>";
  2317.                 }
  2318.                 yield "</td>
  2319. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td class=\"txt_a_c\">";
  2320.                 // line 319
  2321.                 if ((CoreExtension::getAttribute($this->env$this->source$context["ticket"], "idProvince", [], "any"falsefalsefalse319) != null)) {
  2322.                     yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['App\Twig\Extension\AppExtension']->translateProvinceSign(CoreExtension::getAttribute($this->env$this->source$context["ticket"], "idProvince", [], "any"falsefalsefalse319)), "html"nulltrue);
  2323.                 }
  2324.                 yield "</td>
  2325. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
  2326.                 // line 320
  2327.                 if (((isset($context["tab"]) || array_key_exists("tab"$context) ? $context["tab"] : (function () { throw new RuntimeError('Variable "tab" does not exist.'320$this->source); })()) != "toAssign")) {
  2328.                     // line 321
  2329.                     yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td>";
  2330.                     yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source$context["ticket"], "technician", [], "any"falsefalsefalse321), "html"nulltrue);
  2331.                     yield "</td>
  2332. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
  2333.                 }
  2334.                 // line 323
  2335.                 yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td class=\"txt_a_c\">";
  2336.                 if ((CoreExtension::getAttribute($this->env$this->source$context["ticket"], "datetimeStart", [], "any"falsefalsefalse323) != null)) {
  2337.                     yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Twig\Extension\CoreExtension']->formatDate(CoreExtension::getAttribute($this->env$this->source$context["ticket"], "datetimeStart", [], "any"falsefalsefalse323), "d-m-Y H:i"), "html"nulltrue);
  2338.                 } else {
  2339.                     yield "---";
  2340.                 }
  2341.                 yield "</td>
  2342. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
  2343.                 // line 324
  2344.                 if ((((isset($context["tab"]) || array_key_exists("tab"$context) ? $context["tab"] : (function () { throw new RuntimeError('Variable "tab" does not exist.'324$this->source); })()) != "closed") && ((isset($context["tab"]) || array_key_exists("tab"$context) ? $context["tab"] : (function () { throw new RuntimeError('Variable "tab" does not exist.'324$this->source); })()) != "closedPortal"))) {
  2345.                     // line 325
  2346.                     yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td class=\"txt_a_c\">";
  2347.                     if ((CoreExtension::getAttribute($this->env$this->source$context["ticket"], "datetimeExpiration", [], "any"falsefalsefalse325) != null)) {
  2348.                         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Twig\Extension\CoreExtension']->formatDate(CoreExtension::getAttribute($this->env$this->source$context["ticket"], "datetimeExpiration", [], "any"falsefalsefalse325), "d-m-Y H:i"), "html"nulltrue);
  2349.                     } else {
  2350.                         yield "---";
  2351.                     }
  2352.                     yield "</td>
  2353. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
  2354.                 } else {
  2355.                     // line 327
  2356.                     yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td class=\"txt_a_c\">";
  2357.                     if ((CoreExtension::getAttribute($this->env$this->source$context["ticket"], "datetimeEnd", [], "any"falsefalsefalse327) != null)) {
  2358.                         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Twig\Extension\CoreExtension']->formatDate(CoreExtension::getAttribute($this->env$this->source$context["ticket"], "datetimeEnd", [], "any"falsefalsefalse327), "d-m-Y H:i"), "html"nulltrue);
  2359.                     } else {
  2360.                         yield "---";
  2361.                     }
  2362.                     yield "</td>
  2363. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
  2364.                 }
  2365.                 // line 329
  2366.                 yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td class=\"td_action\"><a href=\"javascript: showNotes(";
  2367.                 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source$context["ticket"], "id", [], "any"falsefalsefalse329), "html"nulltrue);
  2368.                 yield ")\"><img class=\"icon_pr\" data-bs-toggle=\"tooltip\" title=\"Mostra note\" src=\"";
  2369.                 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl((isset($context["icon_notes"]) || array_key_exists("icon_notes"$context) ? $context["icon_notes"] : (function () { throw new RuntimeError('Variable "icon_notes" does not exist.'329$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<td class=\"td_action\"><a href=\"";
  2372.                 // line 330
  2373.                 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("user_ticket_sheet", ["ticketId" => CoreExtension::getAttribute($this->env$this->source$context["ticket"], "id", [], "any"falsefalsefalse330)]), "html"nulltrue);
  2374.                 yield "\"><img class=\"icon_pr\" data-bs-toggle=\"tooltip\" title=\"Scheda\" src=\"";
  2375.                 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.'330$this->source); })())), "html"nulltrue);
  2376.                 yield "\"></a></td>
  2377. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</tr>
  2378. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<input type=\"hidden\" id=\"ticket_anomaly_";
  2379.                 // line 332
  2380.                 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source$context["ticket"], "id", [], "any"falsefalsefalse332), "html"nulltrue);
  2381.                 yield "\" value=\"";
  2382.                 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source$context["ticket"], "displayJsonReportValueByColumn", ["Anomalia"], "method"falsefalsefalse332), "html"nulltrue);
  2383.                 yield "\">
  2384. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<input type=\"hidden\" id=\"ticket_client_notes_";
  2385.                 // line 333
  2386.                 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source$context["ticket"], "id", [], "any"falsefalsefalse333), "html"nulltrue);
  2387.                 yield "\" value=\"";
  2388.                 if ((CoreExtension::getAttribute($this->env$this->source$context["ticket"], "client", [], "any"falsefalsefalse333) != null)) {
  2389.                     yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source$context["ticket"], "client", [], "any"falsefalsefalse333), "notes", [], "any"falsefalsefalse333), "html"nulltrue);
  2390.                 }
  2391.                 yield "\">
  2392. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<input type=\"hidden\" id=\"ticket_client_time_";
  2393.                 // line 334
  2394.                 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source$context["ticket"], "id", [], "any"falsefalsefalse334), "html"nulltrue);
  2395.                 yield "\" value=\"";
  2396.                 if ((CoreExtension::getAttribute($this->env$this->source$context["ticket"], "client", [], "any"falsefalsefalse334) != null)) {
  2397.                     yield "Orari apertura: ";
  2398.                     yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source$context["ticket"], "client", [], "any"falsefalsefalse334), "openings", [], "any"falsefalsefalse334), "html"nulltrue);
  2399.                     yield " / Chiusure: ";
  2400.                     yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source$context["ticket"], "client", [], "any"falsefalsefalse334), "closures", [], "any"falsefalsefalse334), "html"nulltrue);
  2401.                 }
  2402.                 yield "\">
  2403. \t\t\t\t\t\t\t\t\t\t\t\t\t\t";
  2404.             }
  2405.             $_parent $context['_parent'];
  2406.             unset($context['_seq'], $context['_iterated'], $context['_key'], $context['ticket'], $context['_parent'], $context['loop']);
  2407.             $context array_intersect_key($context$_parent) + $_parent;
  2408.             // line 336
  2409.             yield "\t\t\t\t\t\t\t\t\t\t\t\t\t";
  2410.         } else {
  2411.             // line 337
  2412.             yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
  2413.             yield from             $this->loadTemplate("components/twig/notice_filter_no_match.html.twig""role/user/ticket/list.html.twig"337)->unwrap()->yield($context);
  2414.             // line 338
  2415.             yield "\t\t\t\t\t\t\t\t\t\t\t\t\t";
  2416.         }
  2417.         // line 339
  2418.         yield "\t\t\t\t\t\t\t\t\t\t\t\t</tbody>
  2419. \t\t\t\t\t\t\t\t\t\t\t</table>
  2420. \t\t\t\t\t\t\t\t\t\t</div>
  2421. \t\t\t\t\t\t\t\t\t\t<div class=\"col-12 navigation txt_a_r\">
  2422. \t\t\t\t\t\t\t\t\t\t\t";
  2423.         // line 343
  2424.         yield $this->extensions['Knp\Bundle\PaginatorBundle\Twig\Extension\PaginationExtension']->render($this->env, (isset($context["tickets"]) || array_key_exists("tickets"$context) ? $context["tickets"] : (function () { throw new RuntimeError('Variable "tickets" does not exist.'343$this->source); })()));
  2425.         yield "
  2426. \t\t\t\t\t\t\t\t\t\t</div>
  2427. \t\t\t\t\t\t\t\t\t</div>
  2428. \t\t\t\t\t\t\t\t";
  2429.         
  2430.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  2431.         
  2432.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  2433.         return; yield '';
  2434.     }
  2435.     // line 502
  2436.     public function block_ticketsTabW($context, array $blocks = [])
  2437.     {
  2438.         $macros $this->macros;
  2439.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  2440.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""ticketsTabW"));
  2441.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  2442.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""ticketsTabW"));
  2443.         // line 503
  2444.         yield "\t\t\t\t\t\t\t\t\t<div class=\"row\">
  2445. \t\t\t\t\t\t\t\t\t\t<div class=\"col-12 overflow_a\">
  2446. \t\t\t\t\t\t\t\t\t\t\t<table class=\"table table-bordered table-hover font_12\">
  2447. \t\t\t\t\t\t\t\t\t\t\t\t<thead>
  2448. \t\t\t\t\t\t\t\t\t\t\t\t\t<tr>
  2449. \t\t\t\t\t\t\t\t\t\t\t\t\t\t<form method=\"get\" action=\"";
  2450.         // line 508
  2451.         yield $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("user_ticket_list");
  2452.         yield "\">
  2453. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td class=\"td_action\"><a href=\"";
  2454.         // line 509
  2455.         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.'509$this->source); })()), "request", [], "any"falsefalsefalse509), "attributes", [], "any"falsefalsefalse509), "get", ["_route"], "method"falsefalsefalse509), "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.'509$this->source); })()), "request", [], "any"falsefalsefalse509), "attributes", [], "any"falsefalsefalse509), "get", ["_route_params"], "method"falsefalsefalse509)]), "html"nulltrue);
  2456.         yield "\" class=\"f_right\" data-bs-toggle=\"tooltip\" title=\"Escludi filtro\"><img class=\"icon_red\" src=\"";
  2457.         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.'509$this->source); })())), "html"nulltrue);
  2458.         yield "\"></a></td>
  2459. \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=\"number\" value=\"";
  2460.         // line 510
  2461.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(((CoreExtension::getAttribute($this->env$this->source, ($context["filters"] ?? null), "number", [], "any"truetruefalse510)) ? (Twig\Extension\CoreExtension::default(CoreExtension::getAttribute($this->env$this->source, ($context["filters"] ?? null), "number", [], "any"falsefalsefalse510))) : ("")), "html"nulltrue);
  2462.         yield "\"/></td>
  2463. \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=\"termid\" value=\"";
  2464.         // line 511
  2465.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(((CoreExtension::getAttribute($this->env$this->source, ($context["filters"] ?? null), "termid", [], "any"truetruefalse511)) ? (Twig\Extension\CoreExtension::default(CoreExtension::getAttribute($this->env$this->source, ($context["filters"] ?? null), "termid", [], "any"falsefalsefalse511))) : ("")), "html"nulltrue);
  2466.         yield "\"/></td>
  2467. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
  2468.         // line 512
  2469.         if (CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source, (isset($context["global_company"]) || array_key_exists("global_company"$context) ? $context["global_company"] : (function () { throw new RuntimeError('Variable "global_company" does not exist.'512$this->source); })()), "actualCompany", [], "any"falsefalsefalse512), "tagTicketActive", [], "any"falsefalsefalse512)) {
  2470.             yield "<td><input type=\"text\" class=\"form-control\" id=\"filter_tag_value_";
  2471.             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.'512$this->source); })()), "html"nulltrue);
  2472.             yield "\" readonly onClick=\"filterTags";
  2473.             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.'512$this->source); })()), "html"nulltrue);
  2474.             yield "()\" data-bs-toggle=\"tooltip\"/><input type=\"hidden\" id=\"filter_tag_id_";
  2475.             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.'512$this->source); })()), "html"nulltrue);
  2476.             yield "\" name=\"tag\" value=\"";
  2477.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(((CoreExtension::getAttribute($this->env$this->source, ($context["filters"] ?? null), "tag", [], "any"truetruefalse512)) ? (Twig\Extension\CoreExtension::default(CoreExtension::getAttribute($this->env$this->source, ($context["filters"] ?? null), "tag", [], "any"falsefalsefalse512))) : ("")), "html"nulltrue);
  2478.             yield "\"/></td>";
  2479.         }
  2480.         // line 513
  2481.         yield "\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=\"client\" value=\"";
  2482.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(((CoreExtension::getAttribute($this->env$this->source, ($context["filters"] ?? null), "client", [], "any"truetruefalse513)) ? (Twig\Extension\CoreExtension::default(CoreExtension::getAttribute($this->env$this->source, ($context["filters"] ?? null), "client", [], "any"falsefalsefalse513))) : ("")), "html"nulltrue);
  2483.         yield "\"/></td>
  2484. \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=\"operation\" value=\"";
  2485.         // line 514
  2486.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(((CoreExtension::getAttribute($this->env$this->source, ($context["filters"] ?? null), "operation", [], "any"truetruefalse514)) ? (Twig\Extension\CoreExtension::default(CoreExtension::getAttribute($this->env$this->source, ($context["filters"] ?? null), "operation", [], "any"falsefalsefalse514))) : ("")), "html"nulltrue);
  2487.         yield "\"/></td>
  2488. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td><input type=\"text\" class=\"form-control\" id=\"filter_supplier_value_";
  2489.         // line 515
  2490.         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.'515$this->source); })()), "html"nulltrue);
  2491.         yield "\" readonly onClick=\"filterSuppliers";
  2492.         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.'515$this->source); })()), "html"nulltrue);
  2493.         yield "()\" data-bs-toggle=\"tooltip\"/><input type=\"hidden\" id=\"filter_supplier_id_";
  2494.         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.'515$this->source); })()), "html"nulltrue);
  2495.         yield "\" name=\"supplier\" value=\"";
  2496.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(((CoreExtension::getAttribute($this->env$this->source, ($context["filters"] ?? null), "supplier", [], "any"truetruefalse515)) ? (Twig\Extension\CoreExtension::default(CoreExtension::getAttribute($this->env$this->source, ($context["filters"] ?? null), "supplier", [], "any"falsefalsefalse515))) : ("")), "html"nulltrue);
  2497.         yield "\"/></td>
  2498. \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=\"tariff\" value=\"";
  2499.         // line 516
  2500.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(((CoreExtension::getAttribute($this->env$this->source, ($context["filters"] ?? null), "tariff", [], "any"truetruefalse516)) ? (Twig\Extension\CoreExtension::default(CoreExtension::getAttribute($this->env$this->source, ($context["filters"] ?? null), "tariff", [], "any"falsefalsefalse516))) : ("")), "html"nulltrue);
  2501.         yield "\"/></td>
  2502. \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=\"city\" value=\"";
  2503.         // line 517
  2504.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(((CoreExtension::getAttribute($this->env$this->source, ($context["filters"] ?? null), "city", [], "any"truetruefalse517)) ? (Twig\Extension\CoreExtension::default(CoreExtension::getAttribute($this->env$this->source, ($context["filters"] ?? null), "city", [], "any"falsefalsefalse517))) : ("")), "html"nulltrue);
  2505.         yield "\"/></td>
  2506. \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=\"province\" value=\"";
  2507.         // line 518
  2508.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(((CoreExtension::getAttribute($this->env$this->source, ($context["filters"] ?? null), "province", [], "any"truetruefalse518)) ? (Twig\Extension\CoreExtension::default(CoreExtension::getAttribute($this->env$this->source, ($context["filters"] ?? null), "province", [], "any"falsefalsefalse518))) : ("")), "html"nulltrue);
  2509.         yield "\"/></td>
  2510. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
  2511.         // line 519
  2512.         if (((isset($context["tab"]) || array_key_exists("tab"$context) ? $context["tab"] : (function () { throw new RuntimeError('Variable "tab" does not exist.'519$this->source); })()) != "toAssign")) {
  2513.             // line 520
  2514.             yield "\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\" value=\"";
  2515.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(((CoreExtension::getAttribute($this->env$this->source, ($context["filters"] ?? null), "technician", [], "any"truetruefalse520)) ? (Twig\Extension\CoreExtension::default(CoreExtension::getAttribute($this->env$this->source, ($context["filters"] ?? null), "technician", [], "any"falsefalsefalse520))) : ("")), "html"nulltrue);
  2516.             yield "\"/></td>
  2517. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
  2518.         }
  2519.         // line 522
  2520.         yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td><input type=\"text\" class=\"form-control daterange daterange1 font_12\" inputmode=\"search\" autocomplete=\"off\" name=\"datetimeStart\" style=\"height: 38px\" date-filter=\"range\"/></td>
  2521. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
  2522.         // line 523
  2523.         if ((((isset($context["tab"]) || array_key_exists("tab"$context) ? $context["tab"] : (function () { throw new RuntimeError('Variable "tab" does not exist.'523$this->source); })()) != "closed") && ((isset($context["tab"]) || array_key_exists("tab"$context) ? $context["tab"] : (function () { throw new RuntimeError('Variable "tab" does not exist.'523$this->source); })()) != "closedPortal"))) {
  2524.             // line 524
  2525.             yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td><input type=\"text\" class=\"form-control daterange daterange2 font_12\" inputmode=\"search\" autocomplete=\"off\" name=\"datetimeExpiration\" style=\"height: 38px\" date-filter=\"range\"/></td>
  2526. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
  2527.         } else {
  2528.             // line 526
  2529.             yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td><input type=\"text\" class=\"form-control daterange daterange3 font_12\" inputmode=\"search\" autocomplete=\"off\" name=\"datetimeEnd\" style=\"height: 38px\" date-filter=\"range\"/></td>
  2530. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
  2531.         }
  2532.         // line 528
  2533.         yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td 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=\"";
  2534.         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.'528$this->source); })())), "html"nulltrue);
  2535.         yield "\"></button></td>
  2536. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<input type=\"hidden\" name=\"filter_tab\" value=\"";
  2537.         // line 529
  2538.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((isset($context["tabOpenValue"]) || array_key_exists("tabOpenValue"$context) ? $context["tabOpenValue"] : (function () { throw new RuntimeError('Variable "tabOpenValue" does not exist.'529$this->source); })()), "html"nulltrue);
  2539.         yield "\">
  2540. \t\t\t\t\t\t\t\t\t\t\t\t\t\t</form>
  2541. \t\t\t\t\t\t\t\t\t\t\t\t\t</tr>
  2542. \t\t\t\t\t\t\t\t\t\t\t\t\t<tr class=\"bg_pr color_w\">
  2543. \t\t\t\t\t\t\t\t\t\t\t\t\t\t<th class=\"td_w_40p txt_a_c\">Stato</th>
  2544. \t\t\t\t\t\t\t\t\t\t\t\t\t\t<th class=\"td_w_120p\">N°</th>
  2545. \t\t\t\t\t\t\t\t\t\t\t\t\t\t<th class=\"td_w_120p\">Termid</th>
  2546. \t\t\t\t\t\t\t\t\t\t\t\t\t\t";
  2547.         // line 536
  2548.         if (CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source, (isset($context["global_company"]) || array_key_exists("global_company"$context) ? $context["global_company"] : (function () { throw new RuntimeError('Variable "global_company" does not exist.'536$this->source); })()), "actualCompany", [], "any"falsefalsefalse536), "tagTicketActive", [], "any"falsefalsefalse536)) {
  2549.             yield "<th class=\"td_w_100p\">Tag</th>";
  2550.         }
  2551.         // line 537
  2552.         yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t<th class=\"td_w_150p\">Cliente</th>
  2553. \t\t\t\t\t\t\t\t\t\t\t\t\t\t<th class=\"td_w_150p\">Operazione</th>
  2554. \t\t\t\t\t\t\t\t\t\t\t\t\t\t<th class=\"td_w_150p\">Fornitore</th>
  2555. \t\t\t\t\t\t\t\t\t\t\t\t\t\t<th class=\"td_w_130p\">Tariffa</th>
  2556. \t\t\t\t\t\t\t\t\t\t\t\t\t\t<th class=\"td_w_130p\">Città</th>
  2557. \t\t\t\t\t\t\t\t\t\t\t\t\t\t<th class=\"td_w_70p txt_a_c\">Prov</th>
  2558. \t\t\t\t\t\t\t\t\t\t\t\t\t\t";
  2559.         // line 543
  2560.         if (((isset($context["tab"]) || array_key_exists("tab"$context) ? $context["tab"] : (function () { throw new RuntimeError('Variable "tab" does not exist.'543$this->source); })()) != "toAssign")) {
  2561.             // line 544
  2562.             yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<th class=\"td_w_150p\">Tecnico</th>
  2563. \t\t\t\t\t\t\t\t\t\t\t\t\t\t";
  2564.         }
  2565.         // line 546
  2566.         yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t<th class=\"td_w_130p txt_a_c\">Data/Ora ricezione</th>
  2567. \t\t\t\t\t\t\t\t\t\t\t\t\t\t";
  2568.         // line 547
  2569.         if ((((isset($context["tab"]) || array_key_exists("tab"$context) ? $context["tab"] : (function () { throw new RuntimeError('Variable "tab" does not exist.'547$this->source); })()) != "closed") && ((isset($context["tab"]) || array_key_exists("tab"$context) ? $context["tab"] : (function () { throw new RuntimeError('Variable "tab" does not exist.'547$this->source); })()) != "closedPortal"))) {
  2570.             // line 548
  2571.             yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<th class=\"td_w_130p txt_a_c\">Data/Ora scadenza</th>
  2572. \t\t\t\t\t\t\t\t\t\t\t\t\t\t";
  2573.         } else {
  2574.             // line 550
  2575.             yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<th class=\"td_w_130p txt_a_c\">Data/Ora chiusura</th>
  2576. \t\t\t\t\t\t\t\t\t\t\t\t\t\t";
  2577.         }
  2578.         // line 552
  2579.         yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t<th class=\"td_w_50p txt_a_c\">Note</th>
  2580. \t\t\t\t\t\t\t\t\t\t\t\t\t\t<th></th>
  2581. \t\t\t\t\t\t\t\t\t\t\t\t\t</tr>
  2582. \t\t\t\t\t\t\t\t\t\t\t\t</thead>
  2583. \t\t\t\t\t\t\t\t\t\t\t\t<tbody>
  2584. \t\t\t\t\t\t\t\t\t\t\t\t\t";
  2585.         // line 557
  2586.         if ((Twig\Extension\CoreExtension::length($this->env->getCharset(), (isset($context["tickets"]) || array_key_exists("tickets"$context) ? $context["tickets"] : (function () { throw new RuntimeError('Variable "tickets" does not exist.'557$this->source); })())) > 0)) {
  2587.             // line 558
  2588.             yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
  2589.             $context['_parent'] = $context;
  2590.             $context['_seq'] = CoreExtension::ensureTraversable((isset($context["tickets"]) || array_key_exists("tickets"$context) ? $context["tickets"] : (function () { throw new RuntimeError('Variable "tickets" does not exist.'558$this->source); })()));
  2591.             foreach ($context['_seq'] as $context["_key"] => $context["ticket"]) {
  2592.                 // line 559
  2593.                 yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<tr>
  2594. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td class=\"txt_a_c\">";
  2595.                 // line 560
  2596.                 yield CoreExtension::getAttribute($this->env$this->source$context["ticket"], "displayStatus", ["icon", (isset($context["settingProcessedActive"]) || array_key_exists("settingProcessedActive"$context) ? $context["settingProcessedActive"] : (function () { throw new RuntimeError('Variable "settingProcessedActive" does not exist.'560$this->source); })())], "method"falsefalsefalse560);
  2597.                 yield "</td>
  2598. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td id=\"ticket_number_";
  2599.                 // line 561
  2600.                 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source$context["ticket"], "id", [], "any"falsefalsefalse561), "html"nulltrue);
  2601.                 yield "\">";
  2602.                 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source$context["ticket"], "number", [], "any"falsefalsefalse561), "html"nulltrue);
  2603.                 yield "</td>
  2604. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td id=\"ticket_termid_";
  2605.                 // line 562
  2606.                 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source$context["ticket"], "id", [], "any"falsefalsefalse562), "html"nulltrue);
  2607.                 yield "\">";
  2608.                 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source$context["ticket"], "termid", [], "any"falsefalsefalse562), "html"nulltrue);
  2609.                 yield "</td>
  2610. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
  2611.                 // line 563
  2612.                 if (CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source, (isset($context["global_company"]) || array_key_exists("global_company"$context) ? $context["global_company"] : (function () { throw new RuntimeError('Variable "global_company" does not exist.'563$this->source); })()), "actualCompany", [], "any"falsefalsefalse563), "tagTicketActive", [], "any"falsefalsefalse563)) {
  2613.                     yield "<td id=\"ticket_tags_";
  2614.                     yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source$context["ticket"], "id", [], "any"falsefalsefalse563), "html"nulltrue);
  2615.                     yield "\">";
  2616.                     yield CoreExtension::getAttribute($this->env$this->source$context["ticket"], "displayTags", ["icon"], "method"falsefalsefalse563);
  2617.                     yield "</td>";
  2618.                 }
  2619.                 // line 564
  2620.                 yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td id=\"ticket_client_";
  2621.                 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source$context["ticket"], "id", [], "any"falsefalsefalse564), "html"nulltrue);
  2622.                 yield "\">";
  2623.                 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source$context["ticket"], "client", [], "any"falsefalsefalse564), "html"nulltrue);
  2624.                 yield "</td>
  2625. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td id=\"ticket_operation_";
  2626.                 // line 565
  2627.                 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source$context["ticket"], "id", [], "any"falsefalsefalse565), "html"nulltrue);
  2628.                 yield "\">";
  2629.                 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source$context["ticket"], "operation", [], "any"falsefalsefalse565), "value", [], "any"falsefalsefalse565), "html"nulltrue);
  2630.                 yield "</td>
  2631. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td id=\"ticket_supplier_";
  2632.                 // line 566
  2633.                 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source$context["ticket"], "id", [], "any"falsefalsefalse566), "html"nulltrue);
  2634.                 yield "\">";
  2635.                 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source$context["ticket"], "supplier", [], "any"falsefalsefalse566), "html"nulltrue);
  2636.                 yield "</td>
  2637. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td id=\"ticket_tariff_";
  2638.                 // line 567
  2639.                 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source$context["ticket"], "id", [], "any"falsefalsefalse567), "html"nulltrue);
  2640.                 yield "\">";
  2641.                 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(((CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source$context["ticket"], "operationTariffAmount", [], "any"falsetruefalse567), "value", [], "any"truetruefalse567)) ? (Twig\Extension\CoreExtension::default(CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source$context["ticket"], "operationTariffAmount", [], "any"falsetruefalse567), "value", [], "any"falsefalsefalse567))) : ("")), "html"nulltrue);
  2642.                 yield "</td>
  2643. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td>";
  2644.                 // line 568
  2645.                 if ((CoreExtension::getAttribute($this->env$this->source$context["ticket"], "idCity", [], "any"falsefalsefalse568) != null)) {
  2646.                     yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['App\Twig\Extension\AppExtension']->translateCityOnly(CoreExtension::getAttribute($this->env$this->source$context["ticket"], "idCity", [], "any"falsefalsefalse568)), "html"nulltrue);
  2647.                 }
  2648.                 yield "</td>
  2649. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td class=\"txt_a_c\">";
  2650.                 // line 569
  2651.                 if ((CoreExtension::getAttribute($this->env$this->source$context["ticket"], "idProvince", [], "any"falsefalsefalse569) != null)) {
  2652.                     yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['App\Twig\Extension\AppExtension']->translateProvinceSign(CoreExtension::getAttribute($this->env$this->source$context["ticket"], "idProvince", [], "any"falsefalsefalse569)), "html"nulltrue);
  2653.                 }
  2654.                 yield "</td>
  2655. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
  2656.                 // line 570
  2657.                 if (((isset($context["tab"]) || array_key_exists("tab"$context) ? $context["tab"] : (function () { throw new RuntimeError('Variable "tab" does not exist.'570$this->source); })()) != "toAssign")) {
  2658.                     // line 571
  2659.                     yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td>";
  2660.                     yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source$context["ticket"], "technician", [], "any"falsefalsefalse571), "html"nulltrue);
  2661.                     yield "</td>
  2662. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
  2663.                 }
  2664.                 // line 573
  2665.                 yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td class=\"txt_a_c\">";
  2666.                 if ((CoreExtension::getAttribute($this->env$this->source$context["ticket"], "datetimeStart", [], "any"falsefalsefalse573) != null)) {
  2667.                     yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Twig\Extension\CoreExtension']->formatDate(CoreExtension::getAttribute($this->env$this->source$context["ticket"], "datetimeStart", [], "any"falsefalsefalse573), "d-m-Y H:i"), "html"nulltrue);
  2668.                 } else {
  2669.                     yield "---";
  2670.                 }
  2671.                 yield "</td>
  2672. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
  2673.                 // line 574
  2674.                 if ((((isset($context["tab"]) || array_key_exists("tab"$context) ? $context["tab"] : (function () { throw new RuntimeError('Variable "tab" does not exist.'574$this->source); })()) != "closed") && ((isset($context["tab"]) || array_key_exists("tab"$context) ? $context["tab"] : (function () { throw new RuntimeError('Variable "tab" does not exist.'574$this->source); })()) != "closedPortal"))) {
  2675.                     // line 575
  2676.                     yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td class=\"txt_a_c\">";
  2677.                     if ((CoreExtension::getAttribute($this->env$this->source$context["ticket"], "datetimeExpiration", [], "any"falsefalsefalse575) != null)) {
  2678.                         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Twig\Extension\CoreExtension']->formatDate(CoreExtension::getAttribute($this->env$this->source$context["ticket"], "datetimeExpiration", [], "any"falsefalsefalse575), "d-m-Y H:i"), "html"nulltrue);
  2679.                     } else {
  2680.                         yield "---";
  2681.                     }
  2682.                     yield "</td>
  2683. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
  2684.                 } else {
  2685.                     // line 577
  2686.                     yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td class=\"txt_a_c\">";
  2687.                     if ((CoreExtension::getAttribute($this->env$this->source$context["ticket"], "datetimeEnd", [], "any"falsefalsefalse577) != null)) {
  2688.                         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Twig\Extension\CoreExtension']->formatDate(CoreExtension::getAttribute($this->env$this->source$context["ticket"], "datetimeEnd", [], "any"falsefalsefalse577), "d-m-Y H:i"), "html"nulltrue);
  2689.                     } else {
  2690.                         yield "---";
  2691.                     }
  2692.                     yield "</td>
  2693. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
  2694.                 }
  2695.                 // line 579
  2696.                 yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td class=\"td_action\"><a href=\"javascript: showNotes(";
  2697.                 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source$context["ticket"], "id", [], "any"falsefalsefalse579), "html"nulltrue);
  2698.                 yield ")\"><img class=\"icon_pr\" data-bs-toggle=\"tooltip\" title=\"Mostra note\" src=\"";
  2699.                 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl((isset($context["icon_notes"]) || array_key_exists("icon_notes"$context) ? $context["icon_notes"] : (function () { throw new RuntimeError('Variable "icon_notes" does not exist.'579$this->source); })())), "html"nulltrue);
  2700.                 yield "\"></a></td>
  2701. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td class=\"td_action\"><a href=\"";
  2702.                 // line 580
  2703.                 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("user_ticket_sheet", ["ticketId" => CoreExtension::getAttribute($this->env$this->source$context["ticket"], "id", [], "any"falsefalsefalse580)]), "html"nulltrue);
  2704.                 yield "\"><img class=\"icon_pr\" data-bs-toggle=\"tooltip\" title=\"Scheda\" src=\"";
  2705.                 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.'580$this->source); })())), "html"nulltrue);
  2706.                 yield "\"></a></td>
  2707. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</tr>
  2708. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<input type=\"hidden\" id=\"ticket_anomaly_";
  2709.                 // line 582
  2710.                 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source$context["ticket"], "id", [], "any"falsefalsefalse582), "html"nulltrue);
  2711.                 yield "\" value=\"";
  2712.                 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source$context["ticket"], "displayJsonReportValueByColumn", ["Anomalia"], "method"falsefalsefalse582), "html"nulltrue);
  2713.                 yield "\">
  2714. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<input type=\"hidden\" id=\"ticket_client_notes_";
  2715.                 // line 583
  2716.                 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source$context["ticket"], "id", [], "any"falsefalsefalse583), "html"nulltrue);
  2717.                 yield "\" value=\"";
  2718.                 if ((CoreExtension::getAttribute($this->env$this->source$context["ticket"], "client", [], "any"falsefalsefalse583) != null)) {
  2719.                     yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source$context["ticket"], "client", [], "any"falsefalsefalse583), "notes", [], "any"falsefalsefalse583), "html"nulltrue);
  2720.                 }
  2721.                 yield "\">
  2722. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<input type=\"hidden\" id=\"ticket_client_time_";
  2723.                 // line 584
  2724.                 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source$context["ticket"], "id", [], "any"falsefalsefalse584), "html"nulltrue);
  2725.                 yield "\" value=\"";
  2726.                 if ((CoreExtension::getAttribute($this->env$this->source$context["ticket"], "client", [], "any"falsefalsefalse584) != null)) {
  2727.                     yield "Orari apertura: ";
  2728.                     yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source$context["ticket"], "client", [], "any"falsefalsefalse584), "openings", [], "any"falsefalsefalse584), "html"nulltrue);
  2729.                     yield " / Chiusure: ";
  2730.                     yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source$context["ticket"], "client", [], "any"falsefalsefalse584), "closures", [], "any"falsefalsefalse584), "html"nulltrue);
  2731.                 }
  2732.                 yield "\">
  2733. \t\t\t\t\t\t\t\t\t\t\t\t\t\t";
  2734.             }
  2735.             $_parent $context['_parent'];
  2736.             unset($context['_seq'], $context['_iterated'], $context['_key'], $context['ticket'], $context['_parent'], $context['loop']);
  2737.             $context array_intersect_key($context$_parent) + $_parent;
  2738.             // line 586
  2739.             yield "\t\t\t\t\t\t\t\t\t\t\t\t\t";
  2740.         } else {
  2741.             // line 587
  2742.             yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
  2743.             yield from             $this->loadTemplate("components/twig/notice_filter_no_match.html.twig""role/user/ticket/list.html.twig"587)->unwrap()->yield(CoreExtension::merge($context, ["colspan" => "100%"]));
  2744.             // line 588
  2745.             yield "\t\t\t\t\t\t\t\t\t\t\t\t\t";
  2746.         }
  2747.         // line 589
  2748.         yield "\t\t\t\t\t\t\t\t\t\t\t\t</tbody>
  2749. \t\t\t\t\t\t\t\t\t\t\t</table>
  2750. \t\t\t\t\t\t\t\t\t\t</div>
  2751. \t\t\t\t\t\t\t\t\t\t<div class=\"col-12 navigation txt_a_r\">
  2752. \t\t\t\t\t\t\t\t\t\t\t";
  2753.         // line 593
  2754.         yield $this->extensions['Knp\Bundle\PaginatorBundle\Twig\Extension\PaginationExtension']->render($this->env, (isset($context["tickets"]) || array_key_exists("tickets"$context) ? $context["tickets"] : (function () { throw new RuntimeError('Variable "tickets" does not exist.'593$this->source); })()));
  2755.         yield "
  2756. \t\t\t\t\t\t\t\t\t\t</div>
  2757. \t\t\t\t\t\t\t\t\t</div>
  2758. \t\t\t\t\t\t\t\t";
  2759.         
  2760.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  2761.         
  2762.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  2763.         return; yield '';
  2764.     }
  2765.     // line 728
  2766.     public function block_ticketsTab2($context, array $blocks = [])
  2767.     {
  2768.         $macros $this->macros;
  2769.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  2770.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""ticketsTab2"));
  2771.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  2772.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""ticketsTab2"));
  2773.         // line 729
  2774.         yield "\t\t\t\t\t\t\t\t\t<div class=\"row\">
  2775. \t\t\t\t\t\t\t\t\t\t<div class=\"col-12\">
  2776. \t\t\t\t\t\t\t\t\t\t\t";
  2777.         // line 731
  2778.         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.'731$this->source); })()), 0, [], "array"falsefalsefalse731)) {
  2779.             // line 732
  2780.             yield "\t\t\t\t\t\t\t\t\t\t\t\t";
  2781.             if (CoreExtension::inFilter("print"CoreExtension::getAttribute($this->env$this->source, (isset($context["multipleSelection"]) || array_key_exists("multipleSelection"$context) ? $context["multipleSelection"] : (function () { throw new RuntimeError('Variable "multipleSelection" does not exist.'732$this->source); })()), 2, [], "array"falsefalsefalse732))) {
  2782.                 yield "<a id=\"button_";
  2783.                 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.'732$this->source); })()), 1, [], "array"falsefalsefalse732), "html"nulltrue);
  2784.                 yield "_print\" href=\"javascript: void(0)\" class=\"button button-3d button-mini button-grey f_right m_b_10p\">Stampa</a>";
  2785.             }
  2786.             // line 733
  2787.             yield "\t\t\t\t\t\t\t\t\t\t\t\t";
  2788.             if ((CoreExtension::inFilter("suspend_end"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.'733$this->source); })()), 2, [], "array"falsefalsefalse733)) && CoreExtension::getAttribute($this->env$this->source, (isset($context["settingTechUnlockSuspension"]) || array_key_exists("settingTechUnlockSuspension"$context) ? $context["settingTechUnlockSuspension"] : (function () { throw new RuntimeError('Variable "settingTechUnlockSuspension" does not exist.'733$this->source); })()), "value", [], "any"falsefalsefalse733))) {
  2789.                 yield "<a id=\"button_";
  2790.                 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.'733$this->source); })()), 1, [], "array"falsefalsefalse733), "html"nulltrue);
  2791.                 yield "_suspend_end\" href=\"javascript: void(0)\" class=\"button button-3d button-mini button-grey f_right m_b_10p\">Sblocca sospensione</a>";
  2792.             }
  2793.             // line 734
  2794.             yield "\t\t\t\t\t\t\t\t\t\t\t";
  2795.         }
  2796.         // line 735
  2797.         yield "\t\t\t\t\t\t\t\t\t\t\t";
  2798.         if ((isset($context["hasTakeOnCharge"]) || array_key_exists("hasTakeOnCharge"$context) ? $context["hasTakeOnCharge"] : (function () { throw new RuntimeError('Variable "hasTakeOnCharge" does not exist.'735$this->source); })())) {
  2799.             yield "<a href=\"javascript: ticketsTakeCharge()\" class=\"button button-3d button-mini button-green f_right m_b_10p\">Prendi in carico</a>";
  2800.         }
  2801.         // line 736
  2802.         yield "\t\t\t\t\t\t\t\t\t\t</div>
  2803. \t\t\t\t\t\t\t\t\t\t<div class=\"col-12 overflow_a\">
  2804. \t\t\t\t\t\t\t\t\t\t\t<table class=\"table table-bordered table-hover\">
  2805. \t\t\t\t\t\t\t\t\t\t\t\t<thead>
  2806. \t\t\t\t\t\t\t\t\t\t\t\t\t<tr>
  2807. \t\t\t\t\t\t\t\t\t\t\t\t\t\t<form method=\"get\" action=\"";
  2808.         // line 741
  2809.         yield $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("user_ticket_list");
  2810.         yield "\">
  2811. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td class=\"td_action\"><a href=\"";
  2812.         // line 742
  2813.         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.'742$this->source); })()), "request", [], "any"falsefalsefalse742), "attributes", [], "any"falsefalsefalse742), "get", ["_route"], "method"falsefalsefalse742), "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.'742$this->source); })()), "request", [], "any"falsefalsefalse742), "attributes", [], "any"falsefalsefalse742), "get", ["_route_params"], "method"falsefalsefalse742)]), "html"nulltrue);
  2814.         yield "\" class=\"f_right\" data-bs-toggle=\"tooltip\" title=\"Escludi filtro\"><img class=\"icon_red\" src=\"";
  2815.         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.'742$this->source); })())), "html"nulltrue);
  2816.         yield "\"></a></td>
  2817. \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=\"all\" value=\"";
  2818.         // line 743
  2819.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(((CoreExtension::getAttribute($this->env$this->source, ($context["filters"] ?? null), "all", [], "any"truetruefalse743)) ? (Twig\Extension\CoreExtension::default(CoreExtension::getAttribute($this->env$this->source, ($context["filters"] ?? null), "all", [], "any"falsefalsefalse743))) : ("")), "html"nulltrue);
  2820.         yield "\"/></td>
  2821. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td 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=\"";
  2822.         // line 744
  2823.         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.'744$this->source); })())), "html"nulltrue);
  2824.         yield "\"></button></td>
  2825. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<input type=\"hidden\" name=\"filter_tab\" value=\"";
  2826.         // line 745
  2827.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((isset($context["tabOpenValue"]) || array_key_exists("tabOpenValue"$context) ? $context["tabOpenValue"] : (function () { throw new RuntimeError('Variable "tabOpenValue" does not exist.'745$this->source); })()), "html"nulltrue);
  2828.         yield "\">
  2829. \t\t\t\t\t\t\t\t\t\t\t\t\t\t</form>
  2830. \t\t\t\t\t\t\t\t\t\t\t\t\t</tr>
  2831. \t\t\t\t\t\t\t\t\t\t\t\t\t<tr class=\"bg_pr color_w\">
  2832. \t\t\t\t\t\t\t\t\t\t\t\t\t\t";
  2833.         // line 749
  2834.         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.'749$this->source); })()), 0, [], "array"falsefalsefalse749)) {
  2835.             // line 750
  2836.             yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<th>
  2837. \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\">
  2838. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<input id=\"ticket_";
  2839.             // line 752
  2840.             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.'752$this->source); })()), 1, [], "array"falsefalsefalse752), "html"nulltrue);
  2841.             yield "_all_checkboxes\" class=\"switch-toggle switch-flat-mini switch-toggle-flat\" type=\"checkbox\" onChange=\"javascript: selectAll(";
  2842.             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.'752$this->source); })()), 1, [], "array"falsefalsefalse752), "html"nulltrue);
  2843.             yield ")\">
  2844. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<label for=\"ticket_";
  2845.             // line 753
  2846.             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.'753$this->source); })()), 1, [], "array"falsefalsefalse753), "html"nulltrue);
  2847.             yield "_all_checkboxes\" class=\"m_b_none\"></label>
  2848. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</div>
  2849. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</th>
  2850. \t\t\t\t\t\t\t\t\t\t\t\t\t\t";
  2851.         }
  2852.         // line 757
  2853.         yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t<th colspan=\"3\"></th>
  2854. \t\t\t\t\t\t\t\t\t\t\t\t\t</tr>
  2855. \t\t\t\t\t\t\t\t\t\t\t\t</thead>
  2856. \t\t\t\t\t\t\t\t\t\t\t\t<tbody>
  2857. \t\t\t\t\t\t\t\t\t\t\t\t\t";
  2858.         // line 761
  2859.         if ((Twig\Extension\CoreExtension::length($this->env->getCharset(), (isset($context["tickets"]) || array_key_exists("tickets"$context) ? $context["tickets"] : (function () { throw new RuntimeError('Variable "tickets" does not exist.'761$this->source); })())) > 0)) {
  2860.             // line 762
  2861.             yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
  2862.             $context['_parent'] = $context;
  2863.             $context['_seq'] = CoreExtension::ensureTraversable((isset($context["tickets"]) || array_key_exists("tickets"$context) ? $context["tickets"] : (function () { throw new RuntimeError('Variable "tickets" does not exist.'762$this->source); })()));
  2864.             $context['loop'] = [
  2865.               'parent' => $context['_parent'],
  2866.               'index0' => 0,
  2867.               'index'  => 1,
  2868.               'first'  => true,
  2869.             ];
  2870.             if (is_array($context['_seq']) || (is_object($context['_seq']) && $context['_seq'] instanceof \Countable)) {
  2871.                 $length count($context['_seq']);
  2872.                 $context['loop']['revindex0'] = $length 1;
  2873.                 $context['loop']['revindex'] = $length;
  2874.                 $context['loop']['length'] = $length;
  2875.                 $context['loop']['last'] = === $length;
  2876.             }
  2877.             foreach ($context['_seq'] as $context["_key"] => $context["ticket"]) {
  2878.                 // line 763
  2879.                 yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
  2880.                 $context["ticketBg"] = "";
  2881.                 // line 764
  2882.                 yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
  2883.                 $context["ticketTitle"] = "";
  2884.                 // line 765
  2885.                 yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
  2886.                 if ((((isset($context["tabOpenValue"]) || array_key_exists("tabOpenValue"$context) ? $context["tabOpenValue"] : (function () { throw new RuntimeError('Variable "tabOpenValue" does not exist.'765$this->source); })()) != "closed") && ((isset($context["tabOpenValue"]) || array_key_exists("tabOpenValue"$context) ? $context["tabOpenValue"] : (function () { throw new RuntimeError('Variable "tabOpenValue" does not exist.'765$this->source); })()) != "canceled"))) {
  2887.                     // line 766
  2888.                     yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
  2889.                     if ((CoreExtension::getAttribute($this->env$this->source$context["ticket"], "datetimeExpiration", [], "any"falsefalsefalse766) != null)) {
  2890.                         // line 767
  2891.                         yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
  2892.                         if (($this->extensions['Twig\Extension\CoreExtension']->formatDate("now""YmdHi") > $this->extensions['Twig\Extension\CoreExtension']->formatDate(CoreExtension::getAttribute($this->env$this->source$context["ticket"], "datetimeExpiration", [], "any"falsefalsefalse767), "YmdHi"))) {
  2893.                             // line 768
  2894.                             yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
  2895.                             $context["ticketBg"] = "bg_r_m_h";
  2896.                             // line 769
  2897.                             yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
  2898.                             $context["ticketTitle"] = "Scaduto";
  2899.                             // line 770
  2900.                             yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
  2901.                         } elseif (($this->extensions['Twig\Extension\CoreExtension']->formatDate("now""YmdHi") > $this->extensions['Twig\Extension\CoreExtension']->formatDate($this->extensions['Twig\Extension\CoreExtension']->modifyDate(CoreExtension::getAttribute($this->env$this->source$context["ticket"], "datetimeExpiration", [], "any"falsefalsefalse770), "-1 day"), "YmdHi"))) {
  2902.                             // line 771
  2903.                             yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
  2904.                             $context["ticketBg"] = "bg_r_m";
  2905.                             // line 772
  2906.                             yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
  2907.                             $context["ticketTitle"] = "Scade in un giorno";
  2908.                             // line 773
  2909.                             yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
  2910.                         } elseif (($this->extensions['Twig\Extension\CoreExtension']->formatDate("now""YmdHi") > $this->extensions['Twig\Extension\CoreExtension']->formatDate($this->extensions['Twig\Extension\CoreExtension']->modifyDate(CoreExtension::getAttribute($this->env$this->source$context["ticket"], "datetimeExpiration", [], "any"falsefalsefalse773), "-2 day"), "YmdHi"))) {
  2911.                             // line 774
  2912.                             yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
  2913.                             $context["ticketBg"] = "bg_r_l_m";
  2914.                             // line 775
  2915.                             yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
  2916.                             $context["ticketTitle"] = "Scade in due giorni";
  2917.                             // line 776
  2918.                             yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
  2919.                         }
  2920.                         // line 777
  2921.                         yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
  2922.                     }
  2923.                     // line 778
  2924.                     yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
  2925.                 }
  2926.                 // line 779
  2927.                 yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<tr class=\"";
  2928.                 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((isset($context["ticketBg"]) || array_key_exists("ticketBg"$context) ? $context["ticketBg"] : (function () { throw new RuntimeError('Variable "ticketBg" does not exist.'779$this->source); })()), "html"nulltrue);
  2929.                 yield "\" data-bs-toggle=\"tooltip\" title=\"";
  2930.                 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((isset($context["ticketTitle"]) || array_key_exists("ticketTitle"$context) ? $context["ticketTitle"] : (function () { throw new RuntimeError('Variable "ticketTitle" does not exist.'779$this->source); })()), "html"nulltrue);
  2931.                 yield "\">
  2932. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
  2933.                 // line 780
  2934.                 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.'780$this->source); })()), 0, [], "array"falsefalsefalse780)) {
  2935.                     // line 781
  2936.                     yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td class=\"td_action\">
  2937. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"switch\">
  2938. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<input id=\"ticket_checkbox_";
  2939.                     // line 783
  2940.                     yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source$context["ticket"], "id", [], "any"falsefalsefalse783), "html"nulltrue);
  2941.                     yield "\" class=\"switch-toggle switch-flat-mini switch-toggle-flat ticket_";
  2942.                     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.'783$this->source); })()), 1, [], "array"falsefalsefalse783), "html"nulltrue);
  2943.                     yield "_checkbox\" type=\"checkbox\" value=\"";
  2944.                     yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source$context["ticket"], "id", [], "any"falsefalsefalse783), "html"nulltrue);
  2945.                     yield "\" onChange=\"javascript: updateButtons(";
  2946.                     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.'783$this->source); })()), 1, [], "array"falsefalsefalse783), "html"nulltrue);
  2947.                     yield ")\">
  2948. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<label for=\"ticket_checkbox_";
  2949.                     // line 784
  2950.                     yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source$context["ticket"], "id", [], "any"falsefalsefalse784), "html"nulltrue);
  2951.                     yield "\" class=\"m_b_none\"></label>
  2952. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</div>
  2953. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</td>
  2954. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
  2955.                 }
  2956.                 // line 788
  2957.                 yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td colspan=\"2\">
  2958. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<a href=\"";
  2959.                 // line 789
  2960.                 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("user_ticket_sheet", ["ticketId" => CoreExtension::getAttribute($this->env$this->source$context["ticket"], "id", [], "any"falsefalsefalse789)]), "html"nulltrue);
  2961.                 yield "\">
  2962. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<table class=\"table table_no_padding m_b_none b_none font_12\">
  2963. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<tr><td><b>Stato</b>: ";
  2964.                 // line 791
  2965.                 yield CoreExtension::getAttribute($this->env$this->source$context["ticket"], "displayStatus", ["string", (isset($context["settingProcessedActive"]) || array_key_exists("settingProcessedActive"$context) ? $context["settingProcessedActive"] : (function () { throw new RuntimeError('Variable "settingProcessedActive" does not exist.'791$this->source); })())], "method"falsefalsefalse791);
  2966.                 yield "</td></tr>
  2967. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<tr><td><b>N°</b>: <span id=\"ticket_number_";
  2968.                 // line 792
  2969.                 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source$context["ticket"], "id", [], "any"falsefalsefalse792), "html"nulltrue);
  2970.                 yield "\">";
  2971.                 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source$context["ticket"], "number", [], "any"falsefalsefalse792), "html"nulltrue);
  2972.                 yield "</span></td></tr>
  2973. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<tr><td><b>Termid</b>: <span id=\"ticket_termid_";
  2974.                 // line 793
  2975.                 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source$context["ticket"], "id", [], "any"falsefalsefalse793), "html"nulltrue);
  2976.                 yield "\">";
  2977.                 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source$context["ticket"], "termid", [], "any"falsefalsefalse793), "html"nulltrue);
  2978.                 yield "</span></td></tr>
  2979. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
  2980.                 // line 794
  2981.                 if (CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source, (isset($context["global_company"]) || array_key_exists("global_company"$context) ? $context["global_company"] : (function () { throw new RuntimeError('Variable "global_company" does not exist.'794$this->source); })()), "actualCompany", [], "any"falsefalsefalse794), "tagTicketActive", [], "any"falsefalsefalse794)) {
  2982.                     yield "<tr><td><b>Tag</b>: <span id=\"ticket_tags_";
  2983.                     yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source$context["ticket"], "id", [], "any"falsefalsefalse794), "html"nulltrue);
  2984.                     yield "\">";
  2985.                     yield CoreExtension::getAttribute($this->env$this->source$context["ticket"], "displayTags", ["icon"], "method"falsefalsefalse794);
  2986.                     yield "</span></td></tr>";
  2987.                 }
  2988.                 // line 795
  2989.                 yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<tr><td><b>Indirizzo</b>: ";
  2990.                 yield from                 $this->loadTemplate("components/twig/display_address.html.twig""role/user/ticket/list.html.twig"795)->unwrap()->yield(CoreExtension::merge($context, ["type" => "ticket""obj" => $context["ticket"]]));
  2991.                 yield "</td></tr>
  2992. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<tr><td><b>Cliente</b>: <span id=\"ticket_client_";
  2993.                 // line 796
  2994.                 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source$context["ticket"], "id", [], "any"falsefalsefalse796), "html"nulltrue);
  2995.                 yield "\">";
  2996.                 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source$context["ticket"], "client", [], "any"falsefalsefalse796), "html"nulltrue);
  2997.                 yield "</span></td></tr>
  2998. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<tr><td><b>Cliente - Indirizzo</b>: ";
  2999.                 // line 797
  3000.                 if ((CoreExtension::getAttribute($this->env$this->source$context["ticket"], "client", [], "any"falsefalsefalse797) != null)) {
  3001.                     yield from                     $this->loadTemplate("components/twig/display_address.html.twig""role/user/ticket/list.html.twig"797)->unwrap()->yield(CoreExtension::merge($context, ["type" => "client""obj" => CoreExtension::getAttribute($this->env$this->source$context["ticket"], "client", [], "any"falsefalsefalse797)]));
  3002.                 } else {
  3003.                     yield "---";
  3004.                 }
  3005.                 yield "</td></tr>
  3006. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<tr><td><b>Operazione</b>: <span id=\"ticket_operation_";
  3007.                 // line 798
  3008.                 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source$context["ticket"], "id", [], "any"falsefalsefalse798), "html"nulltrue);
  3009.                 yield "\">";
  3010.                 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source$context["ticket"], "operation", [], "any"falsefalsefalse798), "html"nulltrue);
  3011.                 yield " ";
  3012.                 if ((CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source$context["ticket"], "operation", [], "any"falsefalsefalse798), "getKeyValueByValue", ["Dettagli operazione"], "method"falsefalsefalse798) && (CoreExtension::getAttribute($this->env$this->source$context["ticket"], "displayJsonValueByColumn", [CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source$context["ticket"], "operation", [], "any"falsefalsefalse798), "getKeyValueByValue", ["Dettagli operazione"], "method"falsefalsefalse798)], "method"falsefalsefalse798) != null))) {
  3013.                     yield "<i>(";
  3014.                     yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source$context["ticket"], "displayJsonValueByColumn", [CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source$context["ticket"], "operation", [], "any"falsefalsefalse798), "getKeyValueByValue", ["Dettagli operazione"], "method"falsefalsefalse798)], "method"falsefalsefalse798), "html"nulltrue);
  3015.                     yield ")</i>";
  3016.                 }
  3017.                 yield "</span></td></tr>
  3018. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<tr><td><b>Fornitore</b>: <span id=\"ticket_supplier_";
  3019.                 // line 799
  3020.                 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source$context["ticket"], "id", [], "any"falsefalsefalse799), "html"nulltrue);
  3021.                 yield "\">";
  3022.                 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source$context["ticket"], "supplier", [], "any"falsefalsefalse799), "html"nulltrue);
  3023.                 yield " ";
  3024.                 if ((CoreExtension::getAttribute($this->env$this->source$context["ticket"], "displayJsonValueByColumn", ["SLOT"], "method"falsefalsefalse799) != null)) {
  3025.                     yield "<i>(";
  3026.                     yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source$context["ticket"], "displayJsonValueByColumn", ["SLOT"], "method"falsefalsefalse799), "html"nulltrue);
  3027.                     yield ")</i>";
  3028.                 }
  3029.                 yield "</span></td></tr>
  3030. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<tr><td><b>Scadenza</b>: ";
  3031.                 // line 800
  3032.                 if ((CoreExtension::getAttribute($this->env$this->source$context["ticket"], "datetimeExpiration", [], "any"falsefalsefalse800) != null)) {
  3033.                     yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Twig\Extension\CoreExtension']->formatDate(CoreExtension::getAttribute($this->env$this->source$context["ticket"], "datetimeExpiration", [], "any"falsefalsefalse800), "d-m-Y H:i"), "html"nulltrue);
  3034.                 } else {
  3035.                     yield "---";
  3036.                 }
  3037.                 yield "</td></tr>
  3038. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<tr><td><b>ABI</b>: ";
  3039.                 // line 801
  3040.                 if (CoreExtension::getAttribute($this->env$this->source$context["ticket"], "displayJsonValueByColumn", [CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source$context["ticket"], "operation", [], "any"falsefalsefalse801), "getKeyValueByValue", ["ABI"], "method"falsefalsefalse801)], "method"falsefalsefalse801)) {
  3041.                     yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source$context["ticket"], "displayJsonValueByColumn", [CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source$context["ticket"], "operation", [], "any"falsefalsefalse801), "getKeyValueByValue", ["ABI"], "method"falsefalsefalse801)], "method"falsefalsefalse801), "html"nulltrue);
  3042.                 } else {
  3043.                     yield "---";
  3044.                 }
  3045.                 yield "</td></tr>
  3046. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<tr><td><b>Risorsa</b>: ";
  3047.                 // line 802
  3048.                 if (CoreExtension::getAttribute($this->env$this->source$context["ticket"], "displayJsonValueByColumn", [CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source$context["ticket"], "operation", [], "any"falsefalsefalse802), "getKeyValueByValue", ["Risorsa"], "method"falsefalsefalse802)], "method"falsefalsefalse802)) {
  3049.                     yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source$context["ticket"], "displayJsonValueByColumn", [CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source$context["ticket"], "operation", [], "any"falsefalsefalse802), "getKeyValueByValue", ["Risorsa"], "method"falsefalsefalse802)], "method"falsefalsefalse802), "html"nulltrue);
  3050.                 } else {
  3051.                     yield "---";
  3052.                 }
  3053.                 yield "</td></tr>
  3054. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<tr><td><b>Risorsa upgrade</b>: ";
  3055.                 // line 803
  3056.                 if (CoreExtension::getAttribute($this->env$this->source$context["ticket"], "displayJsonValueByColumn", [CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source$context["ticket"], "operation", [], "any"falsefalsefalse803), "getKeyValueByValue", ["Risorsa upgrade"], "method"falsefalsefalse803)], "method"falsefalsefalse803)) {
  3057.                     yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source$context["ticket"], "displayJsonValueByColumn", [CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source$context["ticket"], "operation", [], "any"falsefalsefalse803), "getKeyValueByValue", ["Risorsa upgrade"], "method"falsefalsefalse803)], "method"falsefalsefalse803), "html"nulltrue);
  3058.                 } else {
  3059.                     yield "---";
  3060.                 }
  3061.                 yield "</td></tr>
  3062. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</table>
  3063. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</a>
  3064. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</td>
  3065. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</tr>
  3066. \t\t\t\t\t\t\t\t\t\t\t\t\t\t";
  3067.                 ++$context['loop']['index0'];
  3068.                 ++$context['loop']['index'];
  3069.                 $context['loop']['first'] = false;
  3070.                 if (isset($context['loop']['length'])) {
  3071.                     --$context['loop']['revindex0'];
  3072.                     --$context['loop']['revindex'];
  3073.                     $context['loop']['last'] = === $context['loop']['revindex0'];
  3074.                 }
  3075.             }
  3076.             $_parent $context['_parent'];
  3077.             unset($context['_seq'], $context['_iterated'], $context['_key'], $context['ticket'], $context['_parent'], $context['loop']);
  3078.             $context array_intersect_key($context$_parent) + $_parent;
  3079.             // line 809
  3080.             yield "\t\t\t\t\t\t\t\t\t\t\t\t\t";
  3081.         } else {
  3082.             // line 810
  3083.             yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
  3084.             yield from             $this->loadTemplate("components/twig/notice_filter_no_match.html.twig""role/user/ticket/list.html.twig"810)->unwrap()->yield($context);
  3085.             // line 811
  3086.             yield "\t\t\t\t\t\t\t\t\t\t\t\t\t";
  3087.         }
  3088.         // line 812
  3089.         yield "\t\t\t\t\t\t\t\t\t\t\t\t</tbody>
  3090. \t\t\t\t\t\t\t\t\t\t\t</table>
  3091. \t\t\t\t\t\t\t\t\t\t</div>
  3092. \t\t\t\t\t\t\t\t\t\t<div class=\"col-12 navigation txt_a_r\">
  3093. \t\t\t\t\t\t\t\t\t\t\t";
  3094.         // line 816
  3095.         yield $this->extensions['Knp\Bundle\PaginatorBundle\Twig\Extension\PaginationExtension']->render($this->env, (isset($context["tickets"]) || array_key_exists("tickets"$context) ? $context["tickets"] : (function () { throw new RuntimeError('Variable "tickets" does not exist.'816$this->source); })()));
  3096.         yield "
  3097. \t\t\t\t\t\t\t\t\t\t</div>
  3098. \t\t\t\t\t\t\t\t\t</div>
  3099. \t\t\t\t\t\t\t\t";
  3100.         
  3101.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  3102.         
  3103.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  3104.         return; yield '';
  3105.     }
  3106.     // line 1161
  3107.     public function block_javascripts($context, array $blocks = [])
  3108.     {
  3109.         $macros $this->macros;
  3110.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  3111.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""javascripts"));
  3112.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  3113.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""javascripts"));
  3114.         // line 1162
  3115.         yield from $this->yieldParentBlock("javascripts"$context$blocks);
  3116.         yield "
  3117. ";
  3118.         // line 1163
  3119.         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.'1163$this->source); })()), "user", [], "any"falsefalsefalse1163), "getAccountTypology", [], "any"falsefalsefalse1163) == "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.'1163$this->source); })()), "user", [], "any"falsefalsefalse1163), "getAccountTypology", [], "any"falsefalsefalse1163) == "warehouse"))) {
  3120.             // line 1164
  3121.             yield "\t";
  3122.             yield from             $this->loadTemplate("components/js/sort_js.html.twig""role/user/ticket/list.html.twig"1164)->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.'1164$this->source); })()), "sortField", [], "any"falsefalsefalse1164), "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.'1164$this->source); })()), "sortOrder", [], "any"falsefalsefalse1164), "sort_field" => "sort_field_0""sort_order" => "sort_order_0""formName" => "formFilter_0""arrowClass" => "filter_arrow"]));
  3123.             // line 1165
  3124.             yield "\t";
  3125.             yield from             $this->loadTemplate("components/js/sort_js.html.twig""role/user/ticket/list.html.twig"1165)->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.'1165$this->source); })()), "sortField", [], "any"falsefalsefalse1165), "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.'1165$this->source); })()), "sortOrder", [], "any"falsefalsefalse1165), "sort_field" => "sort_field_1""sort_order" => "sort_order_1""formName" => "formFilter_1""arrowClass" => "filter_arrow"]));
  3126.             // line 1166
  3127.             yield "\t";
  3128.             yield from             $this->loadTemplate("components/js/sort_js.html.twig""role/user/ticket/list.html.twig"1166)->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.'1166$this->source); })()), "sortField", [], "any"falsefalsefalse1166), "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.'1166$this->source); })()), "sortOrder", [], "any"falsefalsefalse1166), "sort_field" => "sort_field_2""sort_order" => "sort_order_2""formName" => "formFilter_2""arrowClass" => "filter_arrow"]));
  3129.             // line 1167
  3130.             yield "\t";
  3131.             yield from             $this->loadTemplate("components/js/sort_js.html.twig""role/user/ticket/list.html.twig"1167)->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.'1167$this->source); })()), "sortField", [], "any"falsefalsefalse1167), "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.'1167$this->source); })()), "sortOrder", [], "any"falsefalsefalse1167), "sort_field" => "sort_field_3""sort_order" => "sort_order_3""formName" => "formFilter_3""arrowClass" => "filter_arrow"]));
  3132.             // line 1168
  3133.             yield "\t";
  3134.             yield from             $this->loadTemplate("components/js/sort_js.html.twig""role/user/ticket/list.html.twig"1168)->unwrap()->yield(CoreExtension::merge($context, ["number" => 4"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.'1168$this->source); })()), "sortField", [], "any"falsefalsefalse1168), "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.'1168$this->source); })()), "sortOrder", [], "any"falsefalsefalse1168), "sort_field" => "sort_field_4""sort_order" => "sort_order_4""formName" => "formFilter_4""arrowClass" => "filter_arrow"]));
  3135.             // line 1169
  3136.             yield "\t";
  3137.             yield from             $this->loadTemplate("components/js/sort_js.html.twig""role/user/ticket/list.html.twig"1169)->unwrap()->yield(CoreExtension::merge($context, ["number" => 5"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.'1169$this->source); })()), "sortField", [], "any"falsefalsefalse1169), "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.'1169$this->source); })()), "sortOrder", [], "any"falsefalsefalse1169), "sort_field" => "sort_field_5""sort_order" => "sort_order_5""formName" => "formFilter_5""arrowClass" => "filter_arrow"]));
  3138.             // line 1170
  3139.             yield "\t";
  3140.             yield from             $this->loadTemplate("components/js/sort_js.html.twig""role/user/ticket/list.html.twig"1170)->unwrap()->yield(CoreExtension::merge($context, ["number" => 6"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.'1170$this->source); })()), "sortField", [], "any"falsefalsefalse1170), "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.'1170$this->source); })()), "sortOrder", [], "any"falsefalsefalse1170), "sort_field" => "sort_field_6""sort_order" => "sort_order_6""formName" => "formFilter_6""arrowClass" => "filter_arrow"]));
  3141.             // line 1171
  3142.             yield "\t";
  3143.             yield from             $this->loadTemplate("components/js/sort_js.html.twig""role/user/ticket/list.html.twig"1171)->unwrap()->yield(CoreExtension::merge($context, ["number" => 7"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.'1171$this->source); })()), "sortField", [], "any"falsefalsefalse1171), "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.'1171$this->source); })()), "sortOrder", [], "any"falsefalsefalse1171), "sort_field" => "sort_field_7""sort_order" => "sort_order_7""formName" => "formFilter_7""arrowClass" => "filter_arrow"]));
  3144.             // line 1172
  3145.             yield "\t";
  3146.             yield from             $this->loadTemplate("components/js/sort_js.html.twig""role/user/ticket/list.html.twig"1172)->unwrap()->yield(CoreExtension::merge($context, ["number" => 8"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.'1172$this->source); })()), "sortField", [], "any"falsefalsefalse1172), "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.'1172$this->source); })()), "sortOrder", [], "any"falsefalsefalse1172), "sort_field" => "sort_field_8""sort_order" => "sort_order_8""formName" => "formFilter_8""arrowClass" => "filter_arrow"]));
  3147.             // line 1173
  3148.             yield "\t";
  3149.             yield from             $this->loadTemplate("components/js/sort_js.html.twig""role/user/ticket/list.html.twig"1173)->unwrap()->yield(CoreExtension::merge($context, ["number" => 9"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.'1173$this->source); })()), "sortField", [], "any"falsefalsefalse1173), "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.'1173$this->source); })()), "sortOrder", [], "any"falsefalsefalse1173), "sort_field" => "sort_field_9""sort_order" => "sort_order_9""formName" => "formFilter_9""arrowClass" => "filter_arrow"]));
  3150.             // line 1174
  3151.             yield "\t";
  3152.             if (CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source, (isset($context["global_company"]) || array_key_exists("global_company"$context) ? $context["global_company"] : (function () { throw new RuntimeError('Variable "global_company" does not exist.'1174$this->source); })()), "actualCompany", [], "any"falsefalsefalse1174), "tagTicketActive", [], "any"falsefalsefalse1174)) {
  3153.                 // line 1175
  3154.                 yield "\t\t";
  3155.                 yield from                 $this->loadTemplate("components/js/filter_tag_js.html.twig""role/user/ticket/list.html.twig"1175)->unwrap()->yield(CoreExtension::merge($context, ["number" => 0"tags" => (isset($context["tags"]) || array_key_exists("tags"$context) ? $context["tags"] : (function () { throw new RuntimeError('Variable "tags" does not exist.'1175$this->source); })()), "filterTag" => 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.'1175$this->source); })()), "tag", [], "any"falsefalsefalse1175)]));
  3156.                 // line 1176
  3157.                 yield "\t\t";
  3158.                 yield from                 $this->loadTemplate("components/js/filter_tag_js.html.twig""role/user/ticket/list.html.twig"1176)->unwrap()->yield(CoreExtension::merge($context, ["number" => 1"tags" => (isset($context["tags"]) || array_key_exists("tags"$context) ? $context["tags"] : (function () { throw new RuntimeError('Variable "tags" does not exist.'1176$this->source); })()), "filterTag" => 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); })()), "tag", [], "any"falsefalsefalse1176)]));
  3159.                 // line 1177
  3160.                 yield "\t\t";
  3161.                 yield from                 $this->loadTemplate("components/js/filter_tag_js.html.twig""role/user/ticket/list.html.twig"1177)->unwrap()->yield(CoreExtension::merge($context, ["number" => 2"tags" => (isset($context["tags"]) || array_key_exists("tags"$context) ? $context["tags"] : (function () { throw new RuntimeError('Variable "tags" does not exist.'1177$this->source); })()), "filterTag" => 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.'1177$this->source); })()), "tag", [], "any"falsefalsefalse1177)]));
  3162.                 // line 1178
  3163.                 yield "\t\t";
  3164.                 yield from                 $this->loadTemplate("components/js/filter_tag_js.html.twig""role/user/ticket/list.html.twig"1178)->unwrap()->yield(CoreExtension::merge($context, ["number" => 3"tags" => (isset($context["tags"]) || array_key_exists("tags"$context) ? $context["tags"] : (function () { throw new RuntimeError('Variable "tags" does not exist.'1178$this->source); })()), "filterTag" => 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.'1178$this->source); })()), "tag", [], "any"falsefalsefalse1178)]));
  3165.                 // line 1179
  3166.                 yield "\t\t";
  3167.                 yield from                 $this->loadTemplate("components/js/filter_tag_js.html.twig""role/user/ticket/list.html.twig"1179)->unwrap()->yield(CoreExtension::merge($context, ["number" => 4"tags" => (isset($context["tags"]) || array_key_exists("tags"$context) ? $context["tags"] : (function () { throw new RuntimeError('Variable "tags" does not exist.'1179$this->source); })()), "filterTag" => 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.'1179$this->source); })()), "tag", [], "any"falsefalsefalse1179)]));
  3168.                 // line 1180
  3169.                 yield "\t\t";
  3170.                 yield from                 $this->loadTemplate("components/js/filter_tag_js.html.twig""role/user/ticket/list.html.twig"1180)->unwrap()->yield(CoreExtension::merge($context, ["number" => 5"tags" => (isset($context["tags"]) || array_key_exists("tags"$context) ? $context["tags"] : (function () { throw new RuntimeError('Variable "tags" does not exist.'1180$this->source); })()), "filterTag" => 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.'1180$this->source); })()), "tag", [], "any"falsefalsefalse1180)]));
  3171.                 // line 1181
  3172.                 yield "\t\t";
  3173.                 yield from                 $this->loadTemplate("components/js/filter_tag_js.html.twig""role/user/ticket/list.html.twig"1181)->unwrap()->yield(CoreExtension::merge($context, ["number" => 6"tags" => (isset($context["tags"]) || array_key_exists("tags"$context) ? $context["tags"] : (function () { throw new RuntimeError('Variable "tags" does not exist.'1181$this->source); })()), "filterTag" => 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.'1181$this->source); })()), "tag", [], "any"falsefalsefalse1181)]));
  3174.                 // line 1182
  3175.                 yield "\t\t";
  3176.                 yield from                 $this->loadTemplate("components/js/filter_tag_js.html.twig""role/user/ticket/list.html.twig"1182)->unwrap()->yield(CoreExtension::merge($context, ["number" => 7"tags" => (isset($context["tags"]) || array_key_exists("tags"$context) ? $context["tags"] : (function () { throw new RuntimeError('Variable "tags" does not exist.'1182$this->source); })()), "filterTag" => 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.'1182$this->source); })()), "tag", [], "any"falsefalsefalse1182)]));
  3177.                 // line 1183
  3178.                 yield "\t\t";
  3179.                 yield from                 $this->loadTemplate("components/js/filter_tag_js.html.twig""role/user/ticket/list.html.twig"1183)->unwrap()->yield(CoreExtension::merge($context, ["number" => 8"tags" => (isset($context["tags"]) || array_key_exists("tags"$context) ? $context["tags"] : (function () { throw new RuntimeError('Variable "tags" does not exist.'1183$this->source); })()), "filterTag" => 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.'1183$this->source); })()), "tag", [], "any"falsefalsefalse1183)]));
  3180.                 // line 1184
  3181.                 yield "\t\t";
  3182.                 yield from                 $this->loadTemplate("components/js/filter_tag_js.html.twig""role/user/ticket/list.html.twig"1184)->unwrap()->yield(CoreExtension::merge($context, ["number" => 9"tags" => (isset($context["tags"]) || array_key_exists("tags"$context) ? $context["tags"] : (function () { throw new RuntimeError('Variable "tags" does not exist.'1184$this->source); })()), "filterTag" => 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.'1184$this->source); })()), "tag", [], "any"falsefalsefalse1184)]));
  3183.                 // line 1185
  3184.                 yield "\t";
  3185.             }
  3186.             // line 1186
  3187.             yield "\t";
  3188.             yield from             $this->loadTemplate("components/js/filter_supplier_js.html.twig""role/user/ticket/list.html.twig"1186)->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.'1186$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.'1186$this->source); })()), "supplier", [], "any"falsefalsefalse1186)]));
  3189.             // line 1187
  3190.             yield "\t";
  3191.             yield from             $this->loadTemplate("components/js/filter_supplier_js.html.twig""role/user/ticket/list.html.twig"1187)->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.'1187$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.'1187$this->source); })()), "supplier", [], "any"falsefalsefalse1187)]));
  3192.             // line 1188
  3193.             yield "\t";
  3194.             yield from             $this->loadTemplate("components/js/filter_supplier_js.html.twig""role/user/ticket/list.html.twig"1188)->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.'1188$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.'1188$this->source); })()), "supplier", [], "any"falsefalsefalse1188)]));
  3195.             // line 1189
  3196.             yield "\t";
  3197.             yield from             $this->loadTemplate("components/js/filter_supplier_js.html.twig""role/user/ticket/list.html.twig"1189)->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.'1189$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.'1189$this->source); })()), "supplier", [], "any"falsefalsefalse1189)]));
  3198.             // line 1190
  3199.             yield "\t";
  3200.             yield from             $this->loadTemplate("components/js/filter_supplier_js.html.twig""role/user/ticket/list.html.twig"1190)->unwrap()->yield(CoreExtension::merge($context, ["number" => 4"suppliers" => (isset($context["suppliers"]) || array_key_exists("suppliers"$context) ? $context["suppliers"] : (function () { throw new RuntimeError('Variable "suppliers" does not exist.'1190$this->source); })()), "filterSupplier" => CoreExtension::getAttribute($this->env$this->source, (isset($context["filters"]) || array_key_exists("filters"$context) ? $context["filters"] : (function () { throw new RuntimeError('Variable "filters" does not exist.'1190$this->source); })()), "supplier", [], "any"falsefalsefalse1190)]));
  3201.             // line 1191
  3202.             yield "\t";
  3203.             yield from             $this->loadTemplate("components/js/filter_supplier_js.html.twig""role/user/ticket/list.html.twig"1191)->unwrap()->yield(CoreExtension::merge($context, ["number" => 5"suppliers" => (isset($context["suppliers"]) || array_key_exists("suppliers"$context) ? $context["suppliers"] : (function () { throw new RuntimeError('Variable "suppliers" does not exist.'1191$this->source); })()), "filterSupplier" => CoreExtension::getAttribute($this->env$this->source, (isset($context["filters"]) || array_key_exists("filters"$context) ? $context["filters"] : (function () { throw new RuntimeError('Variable "filters" does not exist.'1191$this->source); })()), "supplier", [], "any"falsefalsefalse1191)]));
  3204.             // line 1192
  3205.             yield "\t";
  3206.             yield from             $this->loadTemplate("components/js/filter_supplier_js.html.twig""role/user/ticket/list.html.twig"1192)->unwrap()->yield(CoreExtension::merge($context, ["number" => 6"suppliers" => (isset($context["suppliers"]) || array_key_exists("suppliers"$context) ? $context["suppliers"] : (function () { throw new RuntimeError('Variable "suppliers" does not exist.'1192$this->source); })()), "filterSupplier" => CoreExtension::getAttribute($this->env$this->source, (isset($context["filters"]) || array_key_exists("filters"$context) ? $context["filters"] : (function () { throw new RuntimeError('Variable "filters" does not exist.'1192$this->source); })()), "supplier", [], "any"falsefalsefalse1192)]));
  3207.             // line 1193
  3208.             yield "\t";
  3209.             yield from             $this->loadTemplate("components/js/filter_supplier_js.html.twig""role/user/ticket/list.html.twig"1193)->unwrap()->yield(CoreExtension::merge($context, ["number" => 7"suppliers" => (isset($context["suppliers"]) || array_key_exists("suppliers"$context) ? $context["suppliers"] : (function () { throw new RuntimeError('Variable "suppliers" does not exist.'1193$this->source); })()), "filterSupplier" => CoreExtension::getAttribute($this->env$this->source, (isset($context["filters"]) || array_key_exists("filters"$context) ? $context["filters"] : (function () { throw new RuntimeError('Variable "filters" does not exist.'1193$this->source); })()), "supplier", [], "any"falsefalsefalse1193)]));
  3210.             // line 1194
  3211.             yield "\t";
  3212.             yield from             $this->loadTemplate("components/js/filter_supplier_js.html.twig""role/user/ticket/list.html.twig"1194)->unwrap()->yield(CoreExtension::merge($context, ["number" => 8"suppliers" => (isset($context["suppliers"]) || array_key_exists("suppliers"$context) ? $context["suppliers"] : (function () { throw new RuntimeError('Variable "suppliers" does not exist.'1194$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.'1194$this->source); })()), "supplier", [], "any"falsefalsefalse1194)]));
  3213.             // line 1195
  3214.             yield "\t";
  3215.             yield from             $this->loadTemplate("components/js/filter_supplier_js.html.twig""role/user/ticket/list.html.twig"1195)->unwrap()->yield(CoreExtension::merge($context, ["number" => 9"suppliers" => (isset($context["suppliers"]) || array_key_exists("suppliers"$context) ? $context["suppliers"] : (function () { throw new RuntimeError('Variable "suppliers" does not exist.'1195$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.'1195$this->source); })()), "supplier", [], "any"falsefalsefalse1195)]));
  3216.             // line 1196
  3217.             yield "\t";
  3218.             yield from             $this->loadTemplate("components/js/filter_operation_group_js.html.twig""role/user/ticket/list.html.twig"1196)->unwrap()->yield(CoreExtension::merge($context, ["number" => 0"operations" => (isset($context["operations"]) || array_key_exists("operations"$context) ? $context["operations"] : (function () { throw new RuntimeError('Variable "operations" does not exist.'1196$this->source); })()), "filterOperation" => 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.'1196$this->source); })()), "operation", [], "any"falsefalsefalse1196)]));
  3219.             // line 1197
  3220.             yield "\t";
  3221.             yield from             $this->loadTemplate("components/js/filter_operation_group_js.html.twig""role/user/ticket/list.html.twig"1197)->unwrap()->yield(CoreExtension::merge($context, ["number" => 1"operations" => (isset($context["operations"]) || array_key_exists("operations"$context) ? $context["operations"] : (function () { throw new RuntimeError('Variable "operations" does not exist.'1197$this->source); })()), "filterOperation" => 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.'1197$this->source); })()), "operation", [], "any"falsefalsefalse1197)]));
  3222.             // line 1198
  3223.             yield "\t";
  3224.             yield from             $this->loadTemplate("components/js/filter_operation_group_js.html.twig""role/user/ticket/list.html.twig"1198)->unwrap()->yield(CoreExtension::merge($context, ["number" => 2"operations" => (isset($context["operations"]) || array_key_exists("operations"$context) ? $context["operations"] : (function () { throw new RuntimeError('Variable "operations" does not exist.'1198$this->source); })()), "filterOperation" => 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.'1198$this->source); })()), "operation", [], "any"falsefalsefalse1198)]));
  3225.             // line 1199
  3226.             yield "\t";
  3227.             yield from             $this->loadTemplate("components/js/filter_operation_group_js.html.twig""role/user/ticket/list.html.twig"1199)->unwrap()->yield(CoreExtension::merge($context, ["number" => 3"operations" => (isset($context["operations"]) || array_key_exists("operations"$context) ? $context["operations"] : (function () { throw new RuntimeError('Variable "operations" does not exist.'1199$this->source); })()), "filterOperation" => 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.'1199$this->source); })()), "operation", [], "any"falsefalsefalse1199)]));
  3228.             // line 1200
  3229.             yield "\t";
  3230.             yield from             $this->loadTemplate("components/js/filter_operation_group_js.html.twig""role/user/ticket/list.html.twig"1200)->unwrap()->yield(CoreExtension::merge($context, ["number" => 4"operations" => (isset($context["operations"]) || array_key_exists("operations"$context) ? $context["operations"] : (function () { throw new RuntimeError('Variable "operations" does not exist.'1200$this->source); })()), "filterOperation" => 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.'1200$this->source); })()), "operation", [], "any"falsefalsefalse1200)]));
  3231.             // line 1201
  3232.             yield "\t";
  3233.             yield from             $this->loadTemplate("components/js/filter_operation_group_js.html.twig""role/user/ticket/list.html.twig"1201)->unwrap()->yield(CoreExtension::merge($context, ["number" => 5"operations" => (isset($context["operations"]) || array_key_exists("operations"$context) ? $context["operations"] : (function () { throw new RuntimeError('Variable "operations" does not exist.'1201$this->source); })()), "filterOperation" => 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.'1201$this->source); })()), "operation", [], "any"falsefalsefalse1201)]));
  3234.             // line 1202
  3235.             yield "\t";
  3236.             yield from             $this->loadTemplate("components/js/filter_operation_group_js.html.twig""role/user/ticket/list.html.twig"1202)->unwrap()->yield(CoreExtension::merge($context, ["number" => 6"operations" => (isset($context["operations"]) || array_key_exists("operations"$context) ? $context["operations"] : (function () { throw new RuntimeError('Variable "operations" does not exist.'1202$this->source); })()), "filterOperation" => 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.'1202$this->source); })()), "operation", [], "any"falsefalsefalse1202)]));
  3237.             // line 1203
  3238.             yield "\t";
  3239.             yield from             $this->loadTemplate("components/js/filter_operation_group_js.html.twig""role/user/ticket/list.html.twig"1203)->unwrap()->yield(CoreExtension::merge($context, ["number" => 7"operations" => (isset($context["operations"]) || array_key_exists("operations"$context) ? $context["operations"] : (function () { throw new RuntimeError('Variable "operations" does not exist.'1203$this->source); })()), "filterOperation" => 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.'1203$this->source); })()), "operation", [], "any"falsefalsefalse1203)]));
  3240.             // line 1204
  3241.             yield "\t";
  3242.             yield from             $this->loadTemplate("components/js/filter_operation_group_js.html.twig""role/user/ticket/list.html.twig"1204)->unwrap()->yield(CoreExtension::merge($context, ["number" => 8"operations" => (isset($context["operations"]) || array_key_exists("operations"$context) ? $context["operations"] : (function () { throw new RuntimeError('Variable "operations" does not exist.'1204$this->source); })()), "filterOperation" => 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.'1204$this->source); })()), "operation", [], "any"falsefalsefalse1204)]));
  3243.             // line 1205
  3244.             yield "\t";
  3245.             yield from             $this->loadTemplate("components/js/filter_operation_group_js.html.twig""role/user/ticket/list.html.twig"1205)->unwrap()->yield(CoreExtension::merge($context, ["number" => 9"operations" => (isset($context["operations"]) || array_key_exists("operations"$context) ? $context["operations"] : (function () { throw new RuntimeError('Variable "operations" does not exist.'1205$this->source); })()), "filterOperation" => 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.'1205$this->source); })()), "operation", [], "any"falsefalsefalse1205)]));
  3246.             // line 1206
  3247.             yield "\t";
  3248.             yield from             $this->loadTemplate("components/js/daterangepicker_js.html.twig""role/user/ticket/list.html.twig"1206)->unwrap()->yield(CoreExtension::merge($context, ["id" => "daterange_0""format" => "DD-MM-YYYY HH:mm"]));
  3249.             // line 1207
  3250.             yield "\t";
  3251.             yield from             $this->loadTemplate("components/js/daterangepicker_js.html.twig""role/user/ticket/list.html.twig"1207)->unwrap()->yield(CoreExtension::merge($context, ["id" => "daterange_1_1""format" => "DD-MM-YYYY HH:mm"]));
  3252.             // line 1208
  3253.             yield "\t";
  3254.             yield from             $this->loadTemplate("components/js/daterangepicker_js.html.twig""role/user/ticket/list.html.twig"1208)->unwrap()->yield(CoreExtension::merge($context, ["id" => "daterange_2_1""format" => "DD-MM-YYYY HH:mm"]));
  3255.             // line 1209
  3256.             yield "\t";
  3257.             yield from             $this->loadTemplate("components/js/daterangepicker_js.html.twig""role/user/ticket/list.html.twig"1209)->unwrap()->yield(CoreExtension::merge($context, ["id" => "daterange_3_1""format" => "DD-MM-YYYY HH:mm"]));
  3258.             // line 1210
  3259.             yield "\t";
  3260.             yield from             $this->loadTemplate("components/js/daterangepicker_js.html.twig""role/user/ticket/list.html.twig"1210)->unwrap()->yield(CoreExtension::merge($context, ["id" => "daterange_4_1""format" => "DD-MM-YYYY HH:mm"]));
  3261.             // line 1211
  3262.             yield "\t";
  3263.             yield from             $this->loadTemplate("components/js/daterangepicker_js.html.twig""role/user/ticket/list.html.twig"1211)->unwrap()->yield(CoreExtension::merge($context, ["id" => "daterange_5_1""format" => "DD-MM-YYYY HH:mm"]));
  3264.             // line 1212
  3265.             yield "\t";
  3266.             yield from             $this->loadTemplate("components/js/daterangepicker_js.html.twig""role/user/ticket/list.html.twig"1212)->unwrap()->yield(CoreExtension::merge($context, ["id" => "daterange_6_1""format" => "DD-MM-YYYY HH:mm"]));
  3267.             // line 1213
  3268.             yield "\t";
  3269.             yield from             $this->loadTemplate("components/js/daterangepicker_js.html.twig""role/user/ticket/list.html.twig"1213)->unwrap()->yield(CoreExtension::merge($context, ["id" => "daterange_7_1""format" => "DD-MM-YYYY HH:mm"]));
  3270.             // line 1214
  3271.             yield "\t";
  3272.             yield from             $this->loadTemplate("components/js/daterangepicker_js.html.twig""role/user/ticket/list.html.twig"1214)->unwrap()->yield(CoreExtension::merge($context, ["id" => "daterange_8_1""format" => "DD-MM-YYYY HH:mm"]));
  3273.             // line 1215
  3274.             yield "\t";
  3275.             yield from             $this->loadTemplate("components/js/daterangepicker_js.html.twig""role/user/ticket/list.html.twig"1215)->unwrap()->yield(CoreExtension::merge($context, ["id" => "daterange_9_1""format" => "DD-MM-YYYY HH:mm"]));
  3276.             // line 1216
  3277.             yield "\t";
  3278.             yield from             $this->loadTemplate("components/js/daterangepicker_js.html.twig""role/user/ticket/list.html.twig"1216)->unwrap()->yield(CoreExtension::merge($context, ["id" => "daterange_1_2""format" => "DD-MM-YYYY HH:mm"]));
  3279.             // line 1217
  3280.             yield "\t";
  3281.             yield from             $this->loadTemplate("components/js/daterangepicker_js.html.twig""role/user/ticket/list.html.twig"1217)->unwrap()->yield(CoreExtension::merge($context, ["id" => "daterange_2_2""format" => "DD-MM-YYYY HH:mm"]));
  3282.             // line 1218
  3283.             yield "\t";
  3284.             yield from             $this->loadTemplate("components/js/daterangepicker_js.html.twig""role/user/ticket/list.html.twig"1218)->unwrap()->yield(CoreExtension::merge($context, ["id" => "daterange_3_2""format" => "DD-MM-YYYY HH:mm"]));
  3285.             // line 1219
  3286.             yield "\t";
  3287.             yield from             $this->loadTemplate("components/js/daterangepicker_js.html.twig""role/user/ticket/list.html.twig"1219)->unwrap()->yield(CoreExtension::merge($context, ["id" => "daterange_4_2""format" => "DD-MM-YYYY HH:mm"]));
  3288.             // line 1220
  3289.             yield "\t";
  3290.             yield from             $this->loadTemplate("components/js/daterangepicker_js.html.twig""role/user/ticket/list.html.twig"1220)->unwrap()->yield(CoreExtension::merge($context, ["id" => "daterange_5_2""format" => "DD-MM-YYYY HH:mm"]));
  3291.             // line 1221
  3292.             yield "\t";
  3293.             yield from             $this->loadTemplate("components/js/daterangepicker_js.html.twig""role/user/ticket/list.html.twig"1221)->unwrap()->yield(CoreExtension::merge($context, ["id" => "daterange_6_2""format" => "DD-MM-YYYY HH:mm"]));
  3294.             // line 1222
  3295.             yield "\t";
  3296.             yield from             $this->loadTemplate("components/js/daterangepicker_js.html.twig""role/user/ticket/list.html.twig"1222)->unwrap()->yield(CoreExtension::merge($context, ["id" => "daterange_7_2""format" => "DD-MM-YYYY HH:mm"]));
  3297.             // line 1223
  3298.             yield "\t";
  3299.             yield from             $this->loadTemplate("components/js/daterangepicker_js.html.twig""role/user/ticket/list.html.twig"1223)->unwrap()->yield(CoreExtension::merge($context, ["id" => "daterange_8_2""format" => "DD-MM-YYYY HH:mm"]));
  3300.             // line 1224
  3301.             yield "\t";
  3302.             yield from             $this->loadTemplate("components/js/daterangepicker_js.html.twig""role/user/ticket/list.html.twig"1224)->unwrap()->yield(CoreExtension::merge($context, ["id" => "daterange_9_2""format" => "DD-MM-YYYY HH:mm"]));
  3303.             // line 1225
  3304.             yield "\t";
  3305.             yield from             $this->loadTemplate("components/js/daterangepicker_js.html.twig""role/user/ticket/list.html.twig"1225)->unwrap()->yield(CoreExtension::merge($context, ["id" => "daterange_1_3""format" => "DD-MM-YYYY HH:mm"]));
  3306.             // line 1226
  3307.             yield "\t";
  3308.             yield from             $this->loadTemplate("components/js/daterangepicker_js.html.twig""role/user/ticket/list.html.twig"1226)->unwrap()->yield(CoreExtension::merge($context, ["id" => "daterange_2_3""format" => "DD-MM-YYYY HH:mm"]));
  3309.             // line 1227
  3310.             yield "\t";
  3311.             yield from             $this->loadTemplate("components/js/daterangepicker_js.html.twig""role/user/ticket/list.html.twig"1227)->unwrap()->yield(CoreExtension::merge($context, ["id" => "daterange_3_3""format" => "DD-MM-YYYY HH:mm"]));
  3312.             // line 1228
  3313.             yield "\t";
  3314.             yield from             $this->loadTemplate("components/js/daterangepicker_js.html.twig""role/user/ticket/list.html.twig"1228)->unwrap()->yield(CoreExtension::merge($context, ["id" => "daterange_4_3""format" => "DD-MM-YYYY HH:mm"]));
  3315.             // line 1229
  3316.             yield "\t";
  3317.             yield from             $this->loadTemplate("components/js/daterangepicker_js.html.twig""role/user/ticket/list.html.twig"1229)->unwrap()->yield(CoreExtension::merge($context, ["id" => "daterange_5_3""format" => "DD-MM-YYYY HH:mm"]));
  3318.             // line 1230
  3319.             yield "\t";
  3320.             yield from             $this->loadTemplate("components/js/daterangepicker_js.html.twig""role/user/ticket/list.html.twig"1230)->unwrap()->yield(CoreExtension::merge($context, ["id" => "daterange_6_3""format" => "DD-MM-YYYY HH:mm"]));
  3321.             // line 1231
  3322.             yield "\t";
  3323.             yield from             $this->loadTemplate("components/js/daterangepicker_js.html.twig""role/user/ticket/list.html.twig"1231)->unwrap()->yield(CoreExtension::merge($context, ["id" => "daterange_7_3""format" => "DD-MM-YYYY HH:mm"]));
  3324.             // line 1232
  3325.             yield "\t";
  3326.             yield from             $this->loadTemplate("components/js/daterangepicker_js.html.twig""role/user/ticket/list.html.twig"1232)->unwrap()->yield(CoreExtension::merge($context, ["id" => "daterange_8_3""format" => "DD-MM-YYYY HH:mm"]));
  3327.             // line 1233
  3328.             yield "\t";
  3329.             yield from             $this->loadTemplate("components/js/daterangepicker_js.html.twig""role/user/ticket/list.html.twig"1233)->unwrap()->yield(CoreExtension::merge($context, ["id" => "daterange_9_3""format" => "DD-MM-YYYY HH:mm"]));
  3330.             // line 1234
  3331.             yield "\t";
  3332.             yield from             $this->loadTemplate("components/js/upload_file_js.html.twig""role/user/ticket/list.html.twig"1234)->unwrap()->yield(CoreExtension::merge($context, ["number" => "1""file" => "form_suspension_file""path" => "form_suspension_photoPath"]));
  3333.             // line 1235
  3334.             yield "\t";
  3335.             yield from             $this->loadTemplate("components/js/paste_multi_value_js.html.twig""role/user/ticket/list.html.twig"1235)->unwrap()->yield(CoreExtension::merge($context, ["id" => "input_number_0"]));
  3336.             // line 1236
  3337.             yield "\t";
  3338.             yield from             $this->loadTemplate("components/js/paste_multi_value_js.html.twig""role/user/ticket/list.html.twig"1236)->unwrap()->yield(CoreExtension::merge($context, ["id" => "input_termid_0"]));
  3339.             // line 1237
  3340.             yield "\t";
  3341.             yield from             $this->loadTemplate("components/js/paste_multi_value_js.html.twig""role/user/ticket/list.html.twig"1237)->unwrap()->yield(CoreExtension::merge($context, ["id" => "input_number_1"]));
  3342.             // line 1238
  3343.             yield "\t";
  3344.             yield from             $this->loadTemplate("components/js/paste_multi_value_js.html.twig""role/user/ticket/list.html.twig"1238)->unwrap()->yield(CoreExtension::merge($context, ["id" => "input_termid_1"]));
  3345.             // line 1239
  3346.             yield "\t";
  3347.             yield from             $this->loadTemplate("components/js/paste_multi_value_js.html.twig""role/user/ticket/list.html.twig"1239)->unwrap()->yield(CoreExtension::merge($context, ["id" => "input_number_2"]));
  3348.             // line 1240
  3349.             yield "\t";
  3350.             yield from             $this->loadTemplate("components/js/paste_multi_value_js.html.twig""role/user/ticket/list.html.twig"1240)->unwrap()->yield(CoreExtension::merge($context, ["id" => "input_termid_2"]));
  3351.             // line 1241
  3352.             yield "\t";
  3353.             yield from             $this->loadTemplate("components/js/paste_multi_value_js.html.twig""role/user/ticket/list.html.twig"1241)->unwrap()->yield(CoreExtension::merge($context, ["id" => "input_number_3"]));
  3354.             // line 1242
  3355.             yield "\t";
  3356.             yield from             $this->loadTemplate("components/js/paste_multi_value_js.html.twig""role/user/ticket/list.html.twig"1242)->unwrap()->yield(CoreExtension::merge($context, ["id" => "input_termid_3"]));
  3357.             // line 1243
  3358.             yield "\t";
  3359.             yield from             $this->loadTemplate("components/js/paste_multi_value_js.html.twig""role/user/ticket/list.html.twig"1243)->unwrap()->yield(CoreExtension::merge($context, ["id" => "input_number_4"]));
  3360.             // line 1244
  3361.             yield "\t";
  3362.             yield from             $this->loadTemplate("components/js/paste_multi_value_js.html.twig""role/user/ticket/list.html.twig"1244)->unwrap()->yield(CoreExtension::merge($context, ["id" => "input_termid_4"]));
  3363.             // line 1245
  3364.             yield "\t";
  3365.             yield from             $this->loadTemplate("components/js/paste_multi_value_js.html.twig""role/user/ticket/list.html.twig"1245)->unwrap()->yield(CoreExtension::merge($context, ["id" => "input_number_5"]));
  3366.             // line 1246
  3367.             yield "\t";
  3368.             yield from             $this->loadTemplate("components/js/paste_multi_value_js.html.twig""role/user/ticket/list.html.twig"1246)->unwrap()->yield(CoreExtension::merge($context, ["id" => "input_termid_5"]));
  3369.             // line 1247
  3370.             yield "\t";
  3371.             yield from             $this->loadTemplate("components/js/paste_multi_value_js.html.twig""role/user/ticket/list.html.twig"1247)->unwrap()->yield(CoreExtension::merge($context, ["id" => "input_number_6"]));
  3372.             // line 1248
  3373.             yield "\t";
  3374.             yield from             $this->loadTemplate("components/js/paste_multi_value_js.html.twig""role/user/ticket/list.html.twig"1248)->unwrap()->yield(CoreExtension::merge($context, ["id" => "input_termid_6"]));
  3375.             // line 1249
  3376.             yield "\t";
  3377.             yield from             $this->loadTemplate("components/js/paste_multi_value_js.html.twig""role/user/ticket/list.html.twig"1249)->unwrap()->yield(CoreExtension::merge($context, ["id" => "input_number_7"]));
  3378.             // line 1250
  3379.             yield "\t";
  3380.             yield from             $this->loadTemplate("components/js/paste_multi_value_js.html.twig""role/user/ticket/list.html.twig"1250)->unwrap()->yield(CoreExtension::merge($context, ["id" => "input_termid_7"]));
  3381.             // line 1251
  3382.             yield "\t";
  3383.             yield from             $this->loadTemplate("components/js/paste_multi_value_js.html.twig""role/user/ticket/list.html.twig"1251)->unwrap()->yield(CoreExtension::merge($context, ["id" => "input_number_8"]));
  3384.             // line 1252
  3385.             yield "\t";
  3386.             yield from             $this->loadTemplate("components/js/paste_multi_value_js.html.twig""role/user/ticket/list.html.twig"1252)->unwrap()->yield(CoreExtension::merge($context, ["id" => "input_termid_8"]));
  3387.             // line 1253
  3388.             yield "\t";
  3389.             yield from             $this->loadTemplate("components/js/paste_multi_value_js.html.twig""role/user/ticket/list.html.twig"1253)->unwrap()->yield(CoreExtension::merge($context, ["id" => "input_number_9"]));
  3390.             // line 1254
  3391.             yield "\t";
  3392.             yield from             $this->loadTemplate("components/js/paste_multi_value_js.html.twig""role/user/ticket/list.html.twig"1254)->unwrap()->yield(CoreExtension::merge($context, ["id" => "input_termid_9"]));
  3393.         }
  3394.         // line 1256
  3395.         yield "<script>
  3396. \t\$(document).ready(function(){
  3397. \t\t";
  3398.         // line 1258
  3399.         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.'1258$this->source); })()), "session", [], "any"falsefalsefalse1258), "get", ["tab_operation_group"], "method"falsefalsefalse1258) != null)) {
  3400.             // line 1259
  3401.             yield "\t\t\tvar operationGroupInputs = document.getElementsByClassName('operation_group_input');
  3402. \t\t\tfor(i=0; i<operationGroupInputs.length; i++){
  3403. \t\t\t\toperationGroupInputs.value = \"";
  3404.             // line 1261
  3405.             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.'1261$this->source); })()), "session", [], "any"falsefalsefalse1261), "get", ["tab_operation_group"], "method"falsefalsefalse1261), "html"nulltrue);
  3406.             yield "\";
  3407. \t\t\t}
  3408. \t\t\t";
  3409.             // line 1264
  3410.             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.'1264$this->source); })()), "session", [], "any"falsefalsefalse1264), "remove", ["tab_operation_group"], "method"falsefalsefalse1264);
  3411.             // line 1265
  3412.             yield "\t\t\t";
  3413.             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.'1265$this->source); })()), "session", [], "any"falsefalsefalse1265), "remove", ["tab_technician"], "method"falsefalsefalse1265);
  3414.             // line 1266
  3415.             yield "\t\t";
  3416.         }
  3417.         // line 1267
  3418.         yield "
  3419. \t\t";
  3420.         // line 1268
  3421.         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.'1268$this->source); })()), "session", [], "any"falsefalsefalse1268), "get", ["ticketsError"], "method"falsefalsefalse1268) != null)) {
  3422.             // line 1269
  3423.             yield "\t\t\tdocument.getElementById('ticketsIds').value = \"";
  3424.             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.'1269$this->source); })()), "session", [], "any"falsefalsefalse1269), "get", ["ticketsIds"], "method"falsefalsefalse1269), "html"nulltrue);
  3425.             yield "\";
  3426. \t\t\tdocument.getElementById('action').value = \"";
  3427.             // line 1270
  3428.             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.'1270$this->source); })()), "session", [], "any"falsefalsefalse1270), "get", ["ticketsAction"], "method"falsefalsefalse1270), "html"nulltrue);
  3429.             yield "\";
  3430. \t\t\tvar ticketsIds = \"";
  3431.             // line 1271
  3432.             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.'1271$this->source); })()), "session", [], "any"falsefalsefalse1271), "get", ["ticketsIds"], "method"falsefalsefalse1271), "html"nulltrue);
  3433.             yield "\";
  3434. \t\t\tvar table = document.getElementById('tableTickets');
  3435. \t\t\ttable.innerHTML = '<tr><th>Numero</th><th>Cliente</th><th>Operazione</th><th>Fornitore</th></tr>';
  3436. \t\t\tfor(i=0; i<ticketsIds.length; i++){
  3437. \t\t\t\tvar tr = document.createElement('tr');
  3438. \t\t\t\tvar td1 = document.createElement('td');
  3439. \t\t\t\tvar td2 = document.createElement('td');
  3440. \t\t\t\tvar td3 = document.createElement('td');
  3441. \t\t\t\tvar td4 = document.createElement('td');
  3442. \t\t\t\ttd1.innerHTML = document.getElementById('ticket_number_' + ticketsIds[i]).innerHTML;
  3443. \t\t\t\ttd2.innerHTML = document.getElementById('ticket_client_' + ticketsIds[i]).innerHTML;
  3444. \t\t\t\ttd3.innerHTML = document.getElementById('ticket_operation_' + ticketsIds[i]).innerHTML;
  3445. \t\t\t\ttd4.innerHTML = document.getElementById('ticket_supplier_' + ticketsIds[i]).innerHTML;
  3446. \t\t\t\ttr.appendChild(td1);
  3447. \t\t\t\ttr.appendChild(td2);
  3448. \t\t\t\ttr.appendChild(td3);
  3449. \t\t\t\ttr.appendChild(td4);
  3450. \t\t\t\ttable.appendChild(tr);
  3451. \t\t\t}
  3452. \t\t\tswitch(\"";
  3453.             // line 1290
  3454.             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.'1290$this->source); })()), "session", [], "any"falsefalsefalse1290), "get", ["ticketsAction"], "method"falsefalsefalse1290), "html"nulltrue);
  3455.             yield "\"){
  3456. \t\t\t\tcase 'suspend_end':
  3457. \t\t\t\t\tdocument.getElementById('actionLabel').innerHTML = 'sbloccherai la sospensione per';
  3458. \t\t\t\t\tdocument.getElementById('divSuspendEnd').style.display = 'block';
  3459. \t\t\t\t\tdocument.getElementById('textareaCausal').style = 'border-color: #CB0C0F';
  3460. \t\t\t\t\tdocument.getElementById('textareaCausal').setAttribute('data-bs-toggle', 'tooltip');
  3461. \t\t\t\t\tdocument.getElementById('textareaCausal').setAttribute('data-bs-original-title', 'Inserisci la motivazione per sbloccare la sospensione');
  3462. \t\t\t\t\tbreak;
  3463. \t\t\t\tdefault: break;
  3464. \t\t\t}
  3465. \t\t\t\$('#multipleModal').modal({backdrop: 'static', keyboard: false}).modal(\"show\");
  3466. \t\t\t";
  3467.             // line 1301
  3468.             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.'1301$this->source); })()), "session", [], "any"falsefalsefalse1301), "remove", ["ticketsError"], "method"falsefalsefalse1301);
  3469.             // line 1302
  3470.             yield "\t\t";
  3471.         }
  3472.         // line 1303
  3473.         yield "\t\t
  3474. \t\t";
  3475.         // line 1304
  3476.         if (((CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source, (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'1304$this->source); })()), "user", [], "any"falsefalsefalse1304), "getAccountTypology", [], "any"falsefalsefalse1304) == "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.'1304$this->source); })()), "user", [], "any"falsefalsefalse1304), "getAccountTypology", [], "any"falsefalsefalse1304) == "warehouse"))) {
  3477.             // line 1305
  3478.             yield "\t\t\tvar dateRanges = document.getElementsByClassName('daterange1');
  3479. \t\t\tfor(i=0; i<dateRanges.length; i++){
  3480. \t\t\t\t";
  3481.             // line 1307
  3482.             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.'1307$this->source); })()), "datetimeStart", [], "any"falsefalsefalse1307) != null)) {
  3483.                 // line 1308
  3484.                 yield "\t\t\t\t\tdateRanges[i].value = \"";
  3485.                 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.'1308$this->source); })()), "datetimeStart", [], "any"falsefalsefalse1308), "html"nulltrue);
  3486.                 yield "\";
  3487. \t\t\t\t";
  3488.             } else {
  3489.                 // line 1310
  3490.                 yield "\t\t\t\t\tdateRanges[i].value = null;
  3491. \t\t\t\t";
  3492.             }
  3493.             // line 1312
  3494.             yield "\t\t\t}
  3495. \t\t\t
  3496. \t\t\tvar dateRanges2 = document.getElementsByClassName('daterange2');
  3497. \t\t\tfor(i=0; i<dateRanges2.length; i++){
  3498. \t\t\t\t";
  3499.             // line 1316
  3500.             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.'1316$this->source); })()), "datetimeExpiration", [], "any"falsefalsefalse1316) != null)) {
  3501.                 // line 1317
  3502.                 yield "\t\t\t\t\tdateRanges2[i].value = \"";
  3503.                 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.'1317$this->source); })()), "datetimeExpiration", [], "any"falsefalsefalse1317), "html"nulltrue);
  3504.                 yield "\";
  3505. \t\t\t\t";
  3506.             } else {
  3507.                 // line 1319
  3508.                 yield "\t\t\t\t\tdateRanges2[i].value = null;
  3509. \t\t\t\t";
  3510.             }
  3511.             // line 1321
  3512.             yield "\t\t\t}
  3513. \t\t\t
  3514. \t\t\tvar dateRanges3 = document.getElementsByClassName('daterange3');
  3515. \t\t\tfor(i=0; i<dateRanges3.length; i++){
  3516. \t\t\t\t";
  3517.             // line 1325
  3518.             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.'1325$this->source); })()), "datetimeEnd", [], "any"falsefalsefalse1325) != null)) {
  3519.                 // line 1326
  3520.                 yield "\t\t\t\t\tdateRanges3[i].value = \"";
  3521.                 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.'1326$this->source); })()), "datetimeEnd", [], "any"falsefalsefalse1326), "html"nulltrue);
  3522.                 yield "\";
  3523. \t\t\t\t";
  3524.             } else {
  3525.                 // line 1328
  3526.                 yield "\t\t\t\t\tdateRanges3[i].value = null;
  3527. \t\t\t\t";
  3528.             }
  3529.             // line 1330
  3530.             yield "\t\t\t}
  3531. \t\t";
  3532.         }
  3533.         // line 1332
  3534.         yield "\t});
  3535. \t";
  3536.         // line 1334
  3537.         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.'1334$this->source); })()), "user", [], "any"falsefalsefalse1334), "getAccountTypology", [], "any"falsefalsefalse1334) == "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.'1334$this->source); })()), "user", [], "any"falsefalsefalse1334), "getAccountTypology", [], "any"falsefalsefalse1334) == "warehouse"))) {
  3538.             // line 1335
  3539.             yield "
  3540. \t\tfunction assignTechnician(type, index){
  3541. \t\t\tvar checkboxes = document.getElementsByClassName('ticket_' + index + '_checkbox');
  3542. \t\t\tconst array = [];
  3543. \t\t\tfor(i=0; i<checkboxes.length; i++){
  3544. \t\t\t\tif(checkboxes[i].checked)
  3545. \t\t\t\t\tarray.push(checkboxes[i].value);
  3546. \t\t\t}
  3547. \t\t\t
  3548. \t\t\tdocument.getElementById('technicianTicketsIds').value = array;
  3549. \t\t\tswitch(type){
  3550. \t\t\t\tcase 'assign': document.getElementById('tech_span').innerHTML = 'Assegna'; document.getElementById('tech_btn').innerHTML = 'Assegna'; break;
  3551. \t\t\t\tcase 'change': document.getElementById('tech_span').innerHTML = 'Cambia'; document.getElementById('tech_btn').innerHTML = 'Cambia'; break;
  3552. \t\t\t\tdefault: break;
  3553. \t\t\t}
  3554. \t\t\t\$('#assignTechnicianModal').modal({backdrop: 'static', keyboard: false}).modal(\"show\");
  3555. \t\t}
  3556. \t\tfunction sendEmailTakeCharge(){
  3557. \t\t\t\$('#emailTakeChargeModal').modal({backdrop: 'static', keyboard: false}).modal(\"show\");
  3558. \t\t}
  3559. \t\t
  3560. \t\tfunction suspendTickets(index){
  3561. \t\t\tvar checkboxes = document.getElementsByClassName('ticket_' + index + '_checkbox');
  3562. \t\t\tconst array = [];
  3563. \t\t\tfor(i=0; i<checkboxes.length; i++){
  3564. \t\t\t\tif(checkboxes[i].checked)
  3565. \t\t\t\t\tarray.push(checkboxes[i].value);
  3566. \t\t\t}
  3567. \t\t\tdocument.getElementById('suspendTicketsIds').value = array;
  3568. \t\t\t\$('#suspendTicketsModal').modal({backdrop: 'static', keyboard: false}).modal(\"show\");
  3569. \t\t}
  3570. \t\t\$('#form_suspension_dateFrom').datepicker({ autoclose: true, todayHighlight: true, format: \"dd-mm-yyyy\", endDate: \"today\" });
  3571. \t\t\$('#form_suspension_dateTo').datepicker({ autoclose: true, todayHighlight: true, format: \"dd-mm-yyyy\" });
  3572. \t\t\$(document).ready(function(){
  3573. \t\t\tupdateReferentAndMotivation();
  3574. \t\t\t";
  3575.             // line 1373
  3576.             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.'1373$this->source); })()), "session", [], "any"falsefalsefalse1373), "get", ["openSuspensionModal"], "method"falsefalsefalse1373)) {
  3577.                 // line 1374
  3578.                 yield "\t\t\t\tdocument.getElementById('suspendTicketsIds').value = \"";
  3579.                 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.'1374$this->source); })()), "session", [], "any"falsefalsefalse1374), "get", ["openSuspensionModalIds"], "method"falsefalsefalse1374), "html"nulltrue);
  3580.                 yield "\";
  3581. \t\t\t\t\$('#suspendTicketsModal').modal({backdrop: 'static', keyboard: false}).modal(\"show\");
  3582. \t\t\t\tvar ids = \"";
  3583.                 // line 1376
  3584.                 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.'1376$this->source); })()), "session", [], "any"falsefalsefalse1376), "get", ["openSuspensionModalIds"], "method"falsefalsefalse1376), "html"nulltrue);
  3585.                 yield "\".split(',');
  3586. \t\t\t\tfor(i=0; i<ids.length; i++) document.getElementById('ticket_checkbox_' + ids[i]).checked = true;
  3587. \t\t\t\t";
  3588.                 // line 1378
  3589.                 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.'1378$this->source); })()), "session", [], "any"falsefalsefalse1378), "remove", ["openSuspensionModal"], "method"falsefalsefalse1378);
  3590.                 // line 1379
  3591.                 yield "\t\t\t\t";
  3592.                 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.'1379$this->source); })()), "session", [], "any"falsefalsefalse1379), "remove", ["openSuspensionModalIds"], "method"falsefalsefalse1379);
  3593.                 // line 1380
  3594.                 yield "\t\t\t";
  3595.             }
  3596.             // line 1381
  3597.             yield "\t\t});
  3598. \t\tfunction updateReferentAndMotivation(){
  3599. \t\t\tvar outcomeId = document.getElementById('form_suspension_outcome').value;
  3600. \t\t\tdocument.getElementById('label_suspension_to_date').innerHTML = 'Sospeso fino a - Data';
  3601. \t\t\tdocument.getElementById('label_suspension_to_time').innerHTML = 'Sospeso fino a - Ora';
  3602. \t\t\tdocument.getElementById('div_referent').style.display = 'none';
  3603. \t\t\tdocument.getElementById('label_motivation').innerHTML = 'Motivazione';
  3604. \t\t\tdocument.getElementById('div_phone').style.display = 'none';
  3605. \t\t\tdocument.getElementById('div_photo').style.display = 'none';
  3606. \t\t\tif(outcomeId != \"\"){
  3607. \t\t\t\t\$.post('";
  3608.             // line 1392
  3609.             yield $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("user_ticket_intervention_outcome_update");
  3610.             yield "', {outcomeId: outcomeId}, function(response){ 
  3611. \t\t\t\t\tif(response.code == 200 && response.success){
  3612. \t\t\t\t\t\tif(response.suspensionTo) document.getElementById('label_suspension_to_date').innerHTML = 'Sospeso fino a - Data*';
  3613. \t\t\t\t\t\tif(response.suspensionTo) document.getElementById('label_suspension_to_time').innerHTML = 'Sospeso fino a - Ora*';
  3614. \t\t\t\t\t\tif(response.referent) document.getElementById('div_referent').style.display = 'block';
  3615. \t\t\t\t\t\tif(response.motivation) document.getElementById('label_motivation').innerHTML = 'Motivazione*';
  3616. \t\t\t\t\t\tif(response.phone) document.getElementById('div_phone').style.display = 'block';
  3617. \t\t\t\t\t\tif(response.photo) document.getElementById('div_photo').style.display = 'block';
  3618. \t\t\t\t\t}
  3619. \t\t\t\t}, \"json\");
  3620. \t\t\t}
  3621. \t\t}
  3622. \t";
  3623.         } elseif ((CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source,         // line 1405
  3624. (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'1405$this->source); })()), "user", [], "any"falsefalsefalse1405), "getAccountTypology", [], "any"falsefalsefalse1405) == "technician")) {
  3625.             // line 1406
  3626.             yield "\t\tfunction ticketsTakeCharge(){
  3627. \t\t\t\$('#takeChargeModal').modal({backdrop: 'static', keyboard: false}).modal(\"show\");
  3628. \t\t}
  3629. \t";
  3630.         }
  3631.         // line 1410
  3632.         yield "
  3633. \tfunction selectAll(index){
  3634. \t\tvar checkboxes = document.getElementsByClassName('ticket_' + index + '_checkbox');
  3635. \t\tvar isSelect = document.getElementById(\"ticket_\" + index + \"_all_checkboxes\").checked;
  3636. \t\tfor(i=0; i<checkboxes.length; i++)
  3637. \t\t\tcheckboxes[i].checked = isSelect;
  3638. \t\tupdateButtons(index);
  3639. \t}
  3640. \tfunction updateButtons(index) {
  3641. \t\tconst inputSelectAll = document.getElementById(`ticket_\${index}_all_checkboxes`);
  3642. \t\tconst checkboxes = document.getElementsByClassName(`ticket_\${index}_checkbox`);
  3643. \t\tconst GREEN = \"button button-3d button-mini button-green f_right m_b_10p\";
  3644. \t\tconst GREY  = \"button button-3d button-mini button-grey f_right m_b_10p\";
  3645. \t\tconst getBtn = (suffix) => document.getElementById(`button_\${index}_\${suffix}`);
  3646. \t\t// Mappa pulsanti principali
  3647. \t\tconst buttons = {
  3648. \t\t\taction: {
  3649. \t\t\t\t0: { btn: getBtn('wrong'),          href: () => `javascript: sendAction('wrong', \${index})` },
  3650. \t\t\t\t1: { btn: getBtn('assign'),         href: () => `javascript: assignTechnician('assign', \${index})` },
  3651. \t\t\t\t4: { btn: getBtn('cancel'),         href: () => `javascript: sendAction('cancel', \${index})` },
  3652. \t\t\t\t6: { btn: getBtn('closed_portal'),  href: () => `javascript: sendAction('closed_portal', \${index})` },
  3653. \t\t\t\t8: { btn: getBtn('wrong'),          href: () => `javascript: sendAction('wrong', \${index})` },
  3654. \t\t\t\t9: { btn: getBtn('delete'),         href: () => `javascript: sendAction('delete', \${index})` },
  3655. \t\t\t\t2: { btn: getBtn('print'),          href: () => `javascript: sendAction('print', \${index})` },
  3656. \t\t\t\t3: { btn: getBtn('print'),          href: () => `javascript: sendAction('print', \${index})` },
  3657. \t\t\t\t5: { btn: getBtn('print'),          href: () => `javascript: sendAction('print', \${index})` },
  3658. \t\t\t\t11:{ btn: getBtn('print'),          href: () => `javascript: sendAction('print', \${index})` },
  3659. \t\t\t\t12:{ btn: getBtn('print'),          href: () => `javascript: sendAction('print', \${index})` },
  3660. \t\t\t\t14:{ btn: getBtn('print'),          href: () => `javascript: sendAction('print', \${index})` }
  3661. \t\t\t},
  3662. \t\t\tsecondary: {
  3663. \t\t\t\t1: { btn: getBtn('cancel'),        href: () => `javascript: sendAction('cancel', \${index})` },
  3664. \t\t\t\t2: { btn: getBtn('cancel'),        href: () => `javascript: sendAction('cancel', \${index})` },
  3665. \t\t\t\t3: { btn: getBtn('suspend'),       href: () => `javascript: suspendTickets(\${index})` },
  3666. \t\t\t\t4: { btn: getBtn('approve'),       href: () => `javascript: sendAction('approve', \${index})` },
  3667. \t\t\t\t5: { btn: getBtn('suspend_end'),   href: () => `javascript: sendAction('suspend_end', \${index})` },
  3668. \t\t\t\t14:{ btn: getBtn('suspend_end'),   href: () => `javascript: sendAction('suspend_end', \${index})` }
  3669. \t\t\t},
  3670. \t\t\tthird: {
  3671. \t\t\t\t1: { btn: getBtn('suspend'),       href: () => `javascript: suspendTickets(\${index})` },
  3672. \t\t\t\t2: { btn: getBtn('suspend'),       href: () => `javascript: suspendTickets(\${index})` },
  3673. \t\t\t\t3: { btn: getBtn('cancel'),        href: () => `javascript: sendAction('cancel', \${index})` },
  3674. \t\t\t\t5: { btn: getBtn('cancel'),        href: () => `javascript: sendAction('cancel', \${index})` }
  3675. \t\t\t},
  3676. \t\t\textra: {
  3677. \t\t\t\t1: [
  3678. \t\t\t\t\t{ btn: getBtn('print'),  href: () => `javascript: sendAction('print', \${index})` },
  3679. \t\t\t\t\t{ btn: getBtn('export'), href: () => `javascript: sendAction('export', \${index})` }
  3680. \t\t\t\t],
  3681. \t\t\t\t2: [
  3682. \t\t\t\t\t{ btn: getBtn('change'), href: () => `javascript: assignTechnician('change', \${index})` },
  3683. \t\t\t\t\t{ btn: getBtn('urge'),   href: () => `javascript: sendAction('urge', \${index})` },
  3684. \t\t\t\t\t{ btn: getBtn('export'), href: () => `javascript: sendAction('export', \${index})` }
  3685. \t\t\t\t],
  3686. \t\t\t\t3: [
  3687. \t\t\t\t\t{ btn: getBtn('change'), href: () => `javascript: assignTechnician('change', \${index})` },
  3688. \t\t\t\t\t{ btn: getBtn('urge'),   href: () => `javascript: sendAction('urge', \${index})` },
  3689. \t\t\t\t\t{ btn: getBtn('export'), href: () => `javascript: sendAction('export', \${index})` }
  3690. \t\t\t\t],
  3691. \t\t\t\t4: [{ btn: getBtn('export'), href: () => `javascript: sendAction('export', \${index})` }],
  3692. \t\t\t\t5: [{ btn: getBtn('export'), href: () => `javascript: sendAction('export', \${index})` }],
  3693. \t\t\t\t6: [{ btn: getBtn('export'), href: () => `javascript: sendAction('export', \${index})` }],
  3694. \t\t\t\t7: [{ btn: getBtn('export'), href: () => `javascript: sendAction('export', \${index})` }],
  3695. \t\t\t\t8: [{ btn: getBtn('export'), href: () => `javascript: sendAction('export', \${index})` }],
  3696. \t\t\t\t9: [{ btn: getBtn('export'), href: () => `javascript: sendAction('export', \${index})` }]
  3697. \t\t\t}
  3698. \t\t};
  3699. \t\t// Checkbox logic
  3700. \t\tlet selected = [];
  3701. \t\tlet allSelected = true;
  3702. \t\tfor (let i = 0; i < checkboxes.length; i++) {
  3703. \t\t\tif (checkboxes[i].checked) {
  3704. \t\t\t\tselected.push(checkboxes[i].value);
  3705. \t\t\t} else {
  3706. \t\t\t\tallSelected = false;
  3707. \t\t\t}
  3708. \t\t}
  3709. \t\tif (!allSelected) {
  3710. \t\t\tinputSelectAll.checked = false;
  3711. \t\t}
  3712. \t\tconst enable = selected.length > 0;
  3713. \t\t// Utility per attivare/disattivare pulsanti
  3714. \t\tconst toggleButton = (btnObj) => {
  3715. \t\t\tif (!btnObj || !btnObj.btn) return;
  3716. \t\t\tbtnObj.btn.className = enable ? GREEN : GREY;
  3717. \t\t\tbtnObj.btn.href = enable ? btnObj.href() : 'javascript: void(0)';
  3718. \t\t};
  3719. \t\t// Applica stato pulsanti
  3720. \t\ttoggleButton(buttons.action[index]);
  3721. \t\ttoggleButton(buttons.secondary[index]);
  3722. \t\ttoggleButton(buttons.third[index]);
  3723. \t\tif (buttons.extra[index]) {
  3724. \t\t\tbuttons.extra[index].forEach(toggleButton);
  3725. \t\t}
  3726. \t}
  3727. \tfunction sendAction(action, index){
  3728. \t\tvar checkboxes = document.getElementsByClassName('ticket_' + index + '_checkbox');
  3729. \t\tconst array = [];
  3730. \t\tfor(i=0; i<checkboxes.length; i++){
  3731. \t\t\tif(checkboxes[i].checked)
  3732. \t\t\t\tarray.push(checkboxes[i].value);
  3733. \t\t}
  3734. \t\t";
  3735.         // line 1526
  3736.         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.'1526$this->source); })()), "session", [], "any"falsefalsefalse1526), "set", ["printIndex"0], "method"falsefalsefalse1526);
  3737.         // line 1527
  3738.         yield "\t\tdocument.getElementById('ticketsIds').value = array;
  3739. \t\tdocument.getElementById('action').value = action;
  3740. \t\tdocument.getElementById('divSuspendEnd').style.display = 'none';
  3741. \t\tvar table = document.getElementById('tableTickets');
  3742. \t\tswitch(action){
  3743. \t\t\tcase 'wrong': var label = 'renderai errati'; break;
  3744. \t\t\tcase 'print': var label = 'stamperai'; break;
  3745. \t\t\tcase 'take_charge': var label = 'prenderai in carico'; break;
  3746. \t\t\tcase 'suspend_end': var label = 'sbloccherai la sospensione per'; document.getElementById('divSuspendEnd').style.display = 'block'; break;
  3747. \t\t\tcase 'cancel': var label = 'annullerai'; break;
  3748. \t\t\tcase 'approve': var label = 'approverai le sospensioni di'; break;
  3749. \t\t\tcase 'delete': var label = 'eliminerai definitivamente'; break;
  3750. \t\t\tcase 'urge': var label = 'solleciterai il tecnico a completare'; break;
  3751. \t\t\tcase 'export':
  3752. \t\t\t\tvar table = document.getElementById('exportTableTickets');
  3753. \t\t\t\tdocument.getElementById('exportTicketsIds').value = array;
  3754. \t\t\t\tbreak;
  3755. \t\t}
  3756. \t\tdocument.getElementById('actionLabel').innerHTML = label;
  3757. \t\ttable.innerHTML = '<tr><th>Numero</th><th>Cliente</th><th>Operazione</th><th>Fornitore</th></tr>';
  3758. \t\tfor(i=0; i<array.length; i++){
  3759. \t\t\tvar tr = document.createElement('tr');
  3760. \t\t\tvar td1 = document.createElement('td');
  3761. \t\t\tvar td2 = document.createElement('td');
  3762. \t\t\tvar td3 = document.createElement('td');
  3763. \t\t\tvar td4 = document.createElement('td');
  3764. \t\t\ttd1.innerHTML = document.getElementById('ticket_number_' + array[i]).innerHTML;
  3765. \t\t\ttd2.innerHTML = document.getElementById('ticket_client_' + array[i]).innerHTML;
  3766. \t\t\ttd3.innerHTML = document.getElementById('ticket_operation_' + array[i]).innerHTML;
  3767. \t\t\ttd4.innerHTML = document.getElementById('ticket_supplier_' + array[i]).innerHTML;
  3768. \t\t\ttr.appendChild(td1);
  3769. \t\t\ttr.appendChild(td2);
  3770. \t\t\ttr.appendChild(td3);
  3771. \t\t\ttr.appendChild(td4);
  3772. \t\t\ttable.appendChild(tr);
  3773. \t\t}
  3774. \t\tswitch(index){\t\t\t
  3775. \t\t\tcase 0: document.getElementById('multipleTab').value = 'error'; break;
  3776. \t\t\tcase 1: document.getElementById('multipleTab').value = 'to_assign'; break;
  3777. \t\t\tcase 2: document.getElementById('multipleTab').value = 'assigned'; break;
  3778. \t\t\tcase 3: document.getElementById('multipleTab').value = 'taken_charge'; break;
  3779. \t\t\tcase 4: document.getElementById('multipleTab').value = 'suspension_request'; break;
  3780. \t\t\tcase 5: document.getElementById('multipleTab').value = 'suspended'; break;
  3781. \t\t\tcase 6: document.getElementById('multipleTab').value = 'closed'; break;
  3782. \t\t\tcase 8: document.getElementById('multipleTab').value = 'canceled'; break;
  3783. \t\t\tcase 9: document.getElementById('multipleTab').value = 'wrong'; break;
  3784. \t\t\tcase 11: document.getElementById('multipleTab').value = 'assigned'; break;
  3785. \t\t\tcase 12: document.getElementById('multipleTab').value = 'taken_charge'; break;
  3786. \t\t\tcase 14: document.getElementById('multipleTab').value = 'suspended'; break;
  3787. \t\t\tdefault: break;
  3788. \t\t}
  3789. \t\tswitch(action){
  3790. \t\t\tcase 'export': \$('#exportModal').modal({backdrop: 'static', keyboard: false}).modal(\"show\"); break;
  3791. \t\t\tdefault: \$('#multipleModal').modal({backdrop: 'static', keyboard: false}).modal(\"show\"); break;
  3792. \t\t}
  3793. \t}
  3794. \tfunction showNotes(id){
  3795. \t\tdocument.getElementById('notes_number').innerHTML = document.getElementById('ticket_number_' + id).innerHTML;
  3796. \t\tdocument.getElementById('notes_anomaly').innerHTML = document.getElementById('ticket_anomaly_' + id).value;
  3797. \t\tdocument.getElementById('notes_client_time').innerHTML = document.getElementById('ticket_client_notes_' + id).value;
  3798. \t\tdocument.getElementById('notes_client').innerHTML = document.getElementById('ticket_client_time_' + id).value;
  3799. \t\t\$('#notesModal').modal({backdrop: 'static', keyboard: false}).modal(\"show\");
  3800. \t}
  3801. \tdocument.querySelector('#exportForm').addEventListener('submit', function (e) {
  3802. \t\te.preventDefault();
  3803. \t\tconst form = e.target;
  3804. \t\tconst formData = new FormData(form);
  3805. \t\tfetch(form.action, { method: 'POST', body: formData})
  3806. \t\t.then(response => {if (!response.ok) throw new Error('Errore export'); return response.blob(); })
  3807. \t\t.then(blob => {
  3808. \t\t\tconst url = window.URL.createObjectURL(blob);
  3809. \t\t\tconst a = document.createElement('a');
  3810. \t\t\ta.href = url;
  3811. \t\t\ta.download = 'Ticket selezionati.csv';
  3812. \t\t\tdocument.body.appendChild(a);
  3813. \t\t\ta.click();
  3814. \t\t\ta.remove();
  3815. \t\t\twindow.URL.revokeObjectURL(url);
  3816. \t\t\t\$('#exportModal').modal('hide');
  3817. \t\t\ttriggerPage();
  3818. \t\t})
  3819. \t\t.catch(err => {
  3820. \t\t\talert('Errore durante l\\'esportazione');
  3821. \t\t\tconsole.error(err);
  3822. \t\t});
  3823. \t});
  3824. </script>
  3825. ";
  3826.         
  3827.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  3828.         
  3829.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  3830.         return; yield '';
  3831.     }
  3832.     /**
  3833.      * @codeCoverageIgnore
  3834.      */
  3835.     public function getTemplateName()
  3836.     {
  3837.         return "role/user/ticket/list.html.twig";
  3838.     }
  3839.     /**
  3840.      * @codeCoverageIgnore
  3841.      */
  3842.     public function isTraitable()
  3843.     {
  3844.         return false;
  3845.     }
  3846.     /**
  3847.      * @codeCoverageIgnore
  3848.      */
  3849.     public function getDebugInfo()
  3850.     {
  3851.         return array (  3822 => 1527,  3820 => 1526,  3702 => 1410,  3696 => 1406,  3694 => 1405,  3678 => 1392,  3665 => 1381,  3662 => 1380,  3659 => 1379,  3657 => 1378,  3652 => 1376,  3646 => 1374,  3644 => 1373,  3604 => 1335,  3602 => 1334,  3598 => 1332,  3594 => 1330,  3590 => 1328,  3584 => 1326,  3582 => 1325,  3576 => 1321,  3572 => 1319,  3566 => 1317,  3564 => 1316,  3558 => 1312,  3554 => 1310,  3548 => 1308,  3546 => 1307,  3542 => 1305,  3540 => 1304,  3537 => 1303,  3534 => 1302,  3532 => 1301,  3518 => 1290,  3496 => 1271,  3492 => 1270,  3487 => 1269,  3485 => 1268,  3482 => 1267,  3479 => 1266,  3476 => 1265,  3474 => 1264,  3468 => 1261,  3464 => 1259,  3462 => 1258,  3458 => 1256,  3454 => 1254,  3451 => 1253,  3448 => 1252,  3445 => 1251,  3442 => 1250,  3439 => 1249,  3436 => 1248,  3433 => 1247,  3430 => 1246,  3427 => 1245,  3424 => 1244,  3421 => 1243,  3418 => 1242,  3415 => 1241,  3412 => 1240,  3409 => 1239,  3406 => 1238,  3403 => 1237,  3400 => 1236,  3397 => 1235,  3394 => 1234,  3391 => 1233,  3388 => 1232,  3385 => 1231,  3382 => 1230,  3379 => 1229,  3376 => 1228,  3373 => 1227,  3370 => 1226,  3367 => 1225,  3364 => 1224,  3361 => 1223,  3358 => 1222,  3355 => 1221,  3352 => 1220,  3349 => 1219,  3346 => 1218,  3343 => 1217,  3340 => 1216,  3337 => 1215,  3334 => 1214,  3331 => 1213,  3328 => 1212,  3325 => 1211,  3322 => 1210,  3319 => 1209,  3316 => 1208,  3313 => 1207,  3310 => 1206,  3307 => 1205,  3304 => 1204,  3301 => 1203,  3298 => 1202,  3295 => 1201,  3292 => 1200,  3289 => 1199,  3286 => 1198,  3283 => 1197,  3280 => 1196,  3277 => 1195,  3274 => 1194,  3271 => 1193,  3268 => 1192,  3265 => 1191,  3262 => 1190,  3259 => 1189,  3256 => 1188,  3253 => 1187,  3250 => 1186,  3247 => 1185,  3244 => 1184,  3241 => 1183,  3238 => 1182,  3235 => 1181,  3232 => 1180,  3229 => 1179,  3226 => 1178,  3223 => 1177,  3220 => 1176,  3217 => 1175,  3214 => 1174,  3211 => 1173,  3208 => 1172,  3205 => 1171,  3202 => 1170,  3199 => 1169,  3196 => 1168,  3193 => 1167,  3190 => 1166,  3187 => 1165,  3184 => 1164,  3182 => 1163,  3178 => 1162,  3168 => 1161,  3153 => 816,  3147 => 812,  3144 => 811,  3141 => 810,  3138 => 809,  3114 => 803,  3106 => 802,  3098 => 801,  3090 => 800,  3078 => 799,  3066 => 798,  3058 => 797,  3052 => 796,  3047 => 795,  3039 => 794,  3033 => 793,  3027 => 792,  3023 => 791,  3018 => 789,  3015 => 788,  3008 => 784,  2998 => 783,  2994 => 781,  2992 => 780,  2985 => 779,  2982 => 778,  2979 => 777,  2976 => 776,  2973 => 775,  2970 => 774,  2967 => 773,  2964 => 772,  2961 => 771,  2958 => 770,  2955 => 769,  2952 => 768,  2949 => 767,  2946 => 766,  2943 => 765,  2940 => 764,  2937 => 763,  2919 => 762,  2917 => 761,  2911 => 757,  2904 => 753,  2898 => 752,  2894 => 750,  2892 => 749,  2885 => 745,  2881 => 744,  2877 => 743,  2871 => 742,  2867 => 741,  2860 => 736,  2855 => 735,  2852 => 734,  2845 => 733,  2838 => 732,  2836 => 731,  2832 => 729,  2822 => 728,  2807 => 593,  2801 => 589,  2798 => 588,  2795 => 587,  2792 => 586,  2777 => 584,  2769 => 583,  2763 => 582,  2756 => 580,  2749 => 579,  2739 => 577,  2729 => 575,  2727 => 574,  2718 => 573,  2712 => 571,  2710 => 570,  2704 => 569,  2698 => 568,  2692 => 567,  2686 => 566,  2680 => 565,  2673 => 564,  2665 => 563,  2659 => 562,  2653 => 561,  2649 => 560,  2646 => 559,  2641 => 558,  2639 => 557,  2632 => 552,  2628 => 550,  2624 => 548,  2622 => 547,  2619 => 546,  2615 => 544,  2613 => 543,  2605 => 537,  2601 => 536,  2591 => 529,  2586 => 528,  2582 => 526,  2578 => 524,  2576 => 523,  2573 => 522,  2567 => 520,  2565 => 519,  2561 => 518,  2557 => 517,  2553 => 516,  2543 => 515,  2539 => 514,  2534 => 513,  2522 => 512,  2518 => 511,  2514 => 510,  2508 => 509,  2504 => 508,  2497 => 503,  2487 => 502,  2472 => 343,  2466 => 339,  2463 => 338,  2460 => 337,  2457 => 336,  2442 => 334,  2434 => 333,  2428 => 332,  2421 => 330,  2414 => 329,  2404 => 327,  2394 => 325,  2392 => 324,  2383 => 323,  2377 => 321,  2375 => 320,  2369 => 319,  2360 => 318,  2354 => 317,  2351 => 316,  2347 => 314,  2344 => 313,  2338 => 312,  2333 => 311,  2331 => 310,  2327 => 309,  2324 => 308,  2320 => 306,  2317 => 305,  2309 => 304,  2307 => 303,  2303 => 302,  2296 => 301,  2288 => 300,  2282 => 299,  2276 => 298,  2271 => 297,  2264 => 293,  2254 => 292,  2250 => 290,  2248 => 289,  2245 => 288,  2240 => 287,  2238 => 286,  2231 => 281,  2225 => 279,  2219 => 277,  2217 => 276,  2212 => 275,  2206 => 273,  2204 => 272,  2197 => 268,  2193 => 267,  2188 => 266,  2184 => 265,  2180 => 264,  2176 => 263,  2173 => 262,  2166 => 258,  2160 => 257,  2156 => 255,  2154 => 254,  2145 => 250,  2139 => 249,  2135 => 248,  2130 => 247,  2124 => 245,  2118 => 243,  2116 => 242,  2111 => 241,  2105 => 239,  2103 => 238,  2099 => 237,  2095 => 236,  2091 => 235,  2081 => 234,  2071 => 233,  2066 => 232,  2054 => 231,  2048 => 230,  2042 => 229,  2032 => 228,  2026 => 227,  2019 => 222,  2014 => 221,  2011 => 220,  2004 => 219,  1997 => 218,  1990 => 217,  1983 => 216,  1976 => 215,  1969 => 214,  1962 => 213,  1955 => 212,  1948 => 211,  1941 => 210,  1934 => 209,  1927 => 208,  1925 => 207,  1921 => 205,  1911 => 204,  1899 => 1158,  1896 => 1157,  1893 => 1156,  1890 => 1155,  1887 => 1154,  1884 => 1153,  1881 => 1152,  1878 => 1151,  1875 => 1150,  1872 => 1149,  1869 => 1148,  1866 => 1147,  1863 => 1146,  1860 => 1145,  1857 => 1144,  1854 => 1143,  1851 => 1142,  1848 => 1141,  1845 => 1140,  1842 => 1139,  1839 => 1138,  1836 => 1137,  1833 => 1136,  1830 => 1135,  1827 => 1134,  1824 => 1133,  1821 => 1132,  1818 => 1131,  1815 => 1130,  1812 => 1129,  1809 => 1128,  1806 => 1127,  1803 => 1126,  1801 => 1125,  1798 => 1124,  1776 => 1105,  1771 => 1102,  1769 => 1101,  1762 => 1097,  1750 => 1088,  1746 => 1087,  1738 => 1082,  1734 => 1081,  1726 => 1076,  1722 => 1075,  1714 => 1070,  1710 => 1069,  1702 => 1064,  1698 => 1063,  1690 => 1058,  1686 => 1057,  1678 => 1052,  1674 => 1051,  1662 => 1042,  1658 => 1041,  1654 => 1040,  1646 => 1035,  1642 => 1034,  1634 => 1029,  1630 => 1028,  1622 => 1023,  1618 => 1022,  1611 => 1018,  1607 => 1017,  1603 => 1016,  1596 => 1012,  1571 => 990,  1560 => 982,  1547 => 972,  1543 => 971,  1534 => 965,  1529 => 962,  1527 => 961,  1474 => 911,  1439 => 879,  1431 => 873,  1421 => 867,  1418 => 866,  1415 => 865,  1412 => 864,  1410 => 863,  1407 => 862,  1401 => 859,  1398 => 858,  1395 => 857,  1392 => 856,  1390 => 855,  1387 => 854,  1381 => 851,  1378 => 850,  1375 => 849,  1372 => 848,  1370 => 847,  1367 => 846,  1361 => 843,  1358 => 842,  1355 => 841,  1352 => 840,  1350 => 839,  1347 => 838,  1341 => 835,  1338 => 834,  1335 => 833,  1332 => 832,  1330 => 831,  1327 => 830,  1321 => 827,  1318 => 826,  1315 => 825,  1312 => 824,  1310 => 823,  1307 => 822,  1304 => 820,  1301 => 728,  1298 => 727,  1295 => 726,  1292 => 725,  1290 => 724,  1287 => 723,  1279 => 717,  1275 => 716,  1267 => 711,  1263 => 710,  1255 => 705,  1251 => 704,  1243 => 699,  1239 => 698,  1231 => 693,  1227 => 692,  1219 => 687,  1215 => 686,  1207 => 681,  1203 => 680,  1196 => 675,  1194 => 674,  1192 => 673,  1183 => 668,  1180 => 667,  1177 => 666,  1174 => 665,  1171 => 664,  1169 => 663,  1166 => 662,  1160 => 659,  1157 => 658,  1154 => 657,  1151 => 656,  1148 => 655,  1146 => 654,  1143 => 653,  1137 => 650,  1134 => 649,  1131 => 648,  1128 => 647,  1125 => 646,  1123 => 645,  1120 => 644,  1114 => 641,  1111 => 640,  1108 => 639,  1105 => 638,  1102 => 637,  1100 => 636,  1097 => 635,  1091 => 632,  1088 => 631,  1085 => 630,  1082 => 629,  1079 => 628,  1077 => 627,  1074 => 626,  1068 => 623,  1065 => 622,  1062 => 621,  1059 => 620,  1056 => 619,  1054 => 618,  1051 => 617,  1045 => 614,  1042 => 613,  1039 => 612,  1036 => 611,  1033 => 610,  1031 => 609,  1028 => 608,  1022 => 605,  1019 => 604,  1016 => 603,  1013 => 602,  1010 => 601,  1008 => 600,  1005 => 599,  1002 => 597,  999 => 502,  996 => 501,  993 => 500,  990 => 499,  988 => 498,  985 => 497,  977 => 491,  973 => 490,  965 => 485,  961 => 484,  953 => 479,  949 => 478,  941 => 473,  937 => 472,  929 => 467,  925 => 466,  917 => 461,  913 => 460,  905 => 455,  901 => 454,  893 => 449,  889 => 448,  881 => 443,  877 => 442,  870 => 437,  868 => 436,  866 => 435,  857 => 430,  854 => 429,  851 => 428,  848 => 427,  845 => 426,  842 => 425,  840 => 424,  837 => 423,  831 => 420,  828 => 419,  825 => 418,  822 => 417,  819 => 416,  816 => 415,  814 => 414,  811 => 413,  805 => 410,  802 => 409,  799 => 408,  796 => 407,  793 => 406,  790 => 405,  788 => 404,  785 => 403,  779 => 400,  776 => 399,  773 => 398,  770 => 397,  767 => 396,  764 => 395,  762 => 394,  759 => 393,  753 => 390,  750 => 389,  747 => 388,  744 => 387,  741 => 386,  738 => 385,  736 => 384,  733 => 383,  727 => 380,  724 => 379,  721 => 378,  718 => 377,  715 => 376,  712 => 375,  710 => 374,  707 => 373,  701 => 370,  698 => 369,  695 => 368,  692 => 367,  689 => 366,  686 => 365,  683 => 364,  680 => 363,  676 => 362,  673 => 361,  671 => 360,  668 => 359,  662 => 356,  659 => 355,  656 => 354,  653 => 353,  650 => 352,  647 => 351,  645 => 350,  642 => 349,  639 => 347,  636 => 204,  633 => 203,  630 => 202,  627 => 201,  624 => 200,  621 => 199,  619 => 198,  616 => 197,  609 => 191,  606 => 190,  603 => 189,  600 => 188,  589 => 185,  585 => 184,  577 => 183,  571 => 182,  565 => 181,  559 => 180,  556 => 179,  552 => 177,  549 => 176,  541 => 175,  539 => 174,  535 => 173,  532 => 172,  528 => 170,  525 => 169,  521 => 167,  515 => 165,  513 => 164,  508 => 163,  506 => 162,  501 => 161,  499 => 160,  495 => 159,  488 => 158,  480 => 157,  474 => 156,  468 => 155,  462 => 152,  456 => 151,  451 => 148,  446 => 147,  444 => 146,  430 => 134,  426 => 133,  411 => 121,  407 => 120,  403 => 119,  398 => 117,  394 => 116,  390 => 115,  386 => 114,  382 => 113,  377 => 112,  371 => 111,  367 => 110,  363 => 109,  357 => 108,  353 => 107,  342 => 98,  334 => 92,  330 => 91,  322 => 86,  318 => 85,  310 => 80,  306 => 79,  298 => 74,  294 => 73,  286 => 68,  282 => 67,  274 => 62,  270 => 61,  262 => 56,  258 => 55,  250 => 50,  246 => 49,  238 => 44,  234 => 43,  226 => 38,  222 => 37,  215 => 32,  213 => 31,  211 => 30,  203 => 24,  193 => 23,  181 => 20,  175 => 19,  170 => 18,  167 => 17,  157 => 16,  143 => 13,  133 => 12,  118 => 8,  108 => 7,  88 => 5,  68 => 3,  45 => 1,);
  3852.     }
  3853.     public function getSourceContext()
  3854.     {
  3855.         return new Source("{% extends 'role/user/ticket/index.html.twig' %}
  3856. {% block title %}Ticket - Lista{% endblock %}
  3857. {% block pageTitleH1 %}Ticket - Lista{% endblock %}
  3858. {% block pageTitleBreadcrumb %}
  3859. \t<li class=\"breadcrumb-item\"><a href=\"{{ path ('user_tickets') }}\">Ticket</a></li>
  3860. \t<li class=\"breadcrumb-item\"><a href=\"javascript:void(0)\">Lista</a></li>
  3861. {% endblock %}
  3862. {% block subMenuLeft %}
  3863. \t<li class=\"nav-item\"><a class=\"nav-link\" href=\"{{ path ('user_index') }}\">Scrivania</a></li>
  3864. {% endblock %}
  3865. {% block subMenuRight %}
  3866. \t{% if app.user.getAccountTypology == 'agency' %}
  3867. \t\t<li class=\"nav-item\"><a class=\"nav-link\" href=\"{{ path('user_ticket_download_email') }}\">Scarica da email</a></li>
  3868. \t\t{% if TICKET_DOWNLOAD_FROM_OTHER %}<li class=\"nav-item\"><a class=\"nav-link\" href=\"{{ path('user_ticket_download_email_other') }}\">Scarica da email \"Altro\"</a></li>{% endif %}
  3869. \t{% endif %}
  3870. {% endblock %}
  3871. {% block content %}
  3872. \t<section class=\"m_tb_50p p_lr_30p\">
  3873. \t\t<div class=\"row\">
  3874. \t\t\t<div class=\"col-12\">
  3875. \t\t\t\t<h3 class=\"form_title\">Ticket</h3>
  3876. \t\t\t\t<hr class=\"m_t_none\">
  3877. \t\t\t</div>
  3878. \t\t\t{% if app.user.getAccountTypology == 'agency' %}
  3879. \t\t\t\t{# Agenzia #}
  3880. \t\t\t\t<div class=\"col-12\">
  3881. \t\t\t\t\t<div class=\"tabs clearfix\">
  3882. \t\t\t\t\t\t<ul class=\"tab-nav clearfix\">
  3883. \t\t\t\t\t\t\t<li>
  3884. \t\t\t\t\t\t\t\t<a id=\"btn_tab_error\" href=\"#error\" class=\"tab_session\" data-filterTab=\"error\">
  3885. \t\t\t\t\t\t\t\t\t<span class=\"font_16 d-block d-lg-none\" data-bs-toggle=\"tooltip\" title=\"Con errori\"><i class=\"icon-warning-sign font_20\"></i>{{ errorTickets.getTotalItemCount }}</span>
  3886. \t\t\t\t\t\t\t\t\t<span class=\"d-none d-lg-block\">Con errori ({{ errorTickets.getTotalItemCount }})</span>
  3887. \t\t\t\t\t\t\t\t</a>
  3888. \t\t\t\t\t\t\t</li>
  3889. \t\t\t\t\t\t\t<li>
  3890. \t\t\t\t\t\t\t\t<a id=\"btn_tab_to_assign\" href=\"#toAssign\" class=\"tab_session\" data-filterTab=\"to_assign\">
  3891. \t\t\t\t\t\t\t\t\t<span class=\"font_16 d-block d-lg-none\" data-bs-toggle=\"tooltip\" title=\"Da assegnare\"><i class=\"icon-pencil-alt font_20\"></i>{{ toAssignTickets.getTotalItemCount }}</span>
  3892. \t\t\t\t\t\t\t\t\t<span class=\"d-none d-lg-block\">Da assegnare ({{ toAssignTickets.getTotalItemCount }})</span>
  3893. \t\t\t\t\t\t\t\t</a>
  3894. \t\t\t\t\t\t\t</li>
  3895. \t\t\t\t\t\t\t<li>
  3896. \t\t\t\t\t\t\t\t<a id=\"btn_tab_assigned\" href=\"#assigned\" class=\"tab_session\" data-filterTab=\"assigned\">
  3897. \t\t\t\t\t\t\t\t\t<span class=\"font_16 d-block d-lg-none\" data-bs-toggle=\"tooltip\" title=\"Assegnati\"><i class=\"icon-tag font_20\"></i>{{ assignedTickets.getTotalItemCount }}</span>
  3898. \t\t\t\t\t\t\t\t\t<span class=\"d-none d-lg-block\">Assegnati ({{ assignedTickets.getTotalItemCount }})</span>
  3899. \t\t\t\t\t\t\t\t</a>
  3900. \t\t\t\t\t\t\t</li>
  3901. \t\t\t\t\t\t\t<li>
  3902. \t\t\t\t\t\t\t\t<a id=\"btn_tab_taken_charge\" href=\"#takenCharge\" class=\"tab_session\" data-filterTab=\"taken_charge\">
  3903. \t\t\t\t\t\t\t\t\t<span class=\"font_16 d-block d-lg-none\" data-bs-toggle=\"tooltip\" title=\"Presi in carico\"><i class=\"icon-cog font_20\"></i>{{ takenChargeTickets.getTotalItemCount }}</span>
  3904. \t\t\t\t\t\t\t\t\t<span class=\"d-none d-lg-block\">Presi in carico ({{ takenChargeTickets.getTotalItemCount }})</span>
  3905. \t\t\t\t\t\t\t\t</a>
  3906. \t\t\t\t\t\t\t</li>
  3907. \t\t\t\t\t\t\t<li>
  3908. \t\t\t\t\t\t\t\t<a id=\"btn_tab_suspension_request\" href=\"#suspensionRequest\" class=\"tab_session\" data-filterTab=\"suspension_request\">
  3909. \t\t\t\t\t\t\t\t\t<span class=\"font_16 d-block d-lg-none\" data-bs-toggle=\"tooltip\" title=\"Richiesta sospensione\"><i class=\"icon-clock font_20\"></i>{{ suspensionRequestTickets.getTotalItemCount }}</span>
  3910. \t\t\t\t\t\t\t\t\t<span class=\"d-none d-lg-block\">Richiesta sospensione ({{ suspensionRequestTickets.getTotalItemCount }})</span>
  3911. \t\t\t\t\t\t\t\t</a>
  3912. \t\t\t\t\t\t\t</li>
  3913. \t\t\t\t\t\t\t<li>
  3914. \t\t\t\t\t\t\t\t<a id=\"btn_tab_suspended\" href=\"#suspended\" class=\"tab_session\" data-filterTab=\"suspended\">
  3915. \t\t\t\t\t\t\t\t\t<span class=\"font_16 d-block d-lg-none\" data-bs-toggle=\"tooltip\" title=\"Sospesi\"><i class=\"icon-clock font_20\"></i>{{ suspendedTickets.getTotalItemCount }}</span>
  3916. \t\t\t\t\t\t\t\t\t<span class=\"d-none d-lg-block\">Sospesi ({{ suspendedTickets.getTotalItemCount }})</span>
  3917. \t\t\t\t\t\t\t\t</a>
  3918. \t\t\t\t\t\t\t</li>
  3919. \t\t\t\t\t\t\t<li>
  3920. \t\t\t\t\t\t\t\t<a id=\"btn_tab_closed\" href=\"#closed\" class=\"tab_session\" data-filterTab=\"closed\">
  3921. \t\t\t\t\t\t\t\t\t<span class=\"font_16 d-block d-lg-none\" data-bs-toggle=\"tooltip\" title=\"Chiusi\"><i class=\"icon-check font_20\"></i>{{ closedTickets.getTotalItemCount }}</span>
  3922. \t\t\t\t\t\t\t\t\t<span class=\"d-none d-lg-block\">Chiusi ({{ closedTickets.getTotalItemCount }})</span>
  3923. \t\t\t\t\t\t\t\t</a>
  3924. \t\t\t\t\t\t\t</li>
  3925. \t\t\t\t\t\t\t<li>
  3926. \t\t\t\t\t\t\t\t<a id=\"btn_tab_closed_on_portal\" href=\"#closedPortal\" class=\"tab_session\" data-filterTab=\"closed_on_portal\">
  3927. \t\t\t\t\t\t\t\t\t<span class=\"font_16 d-block d-lg-none\" data-bs-toggle=\"tooltip\" title=\"Chiusi su fornitore\"><i class=\"icon-checkmark font_20\"></i>{{ closedPortalTickets.getTotalItemCount }}</span>
  3928. \t\t\t\t\t\t\t\t\t<span class=\"d-none d-lg-block\">Chiusi su fornitore ({{ closedPortalTickets.getTotalItemCount }})</span>
  3929. \t\t\t\t\t\t\t\t</a>
  3930. \t\t\t\t\t\t\t</li>
  3931. \t\t\t\t\t\t\t<li>
  3932. \t\t\t\t\t\t\t\t<a id=\"btn_tab_canceled\" href=\"#canceled\" class=\"tab_session\" data-filterTab=\"canceled\">
  3933. \t\t\t\t\t\t\t\t\t<span class=\"font_16 d-block d-lg-none\" data-bs-toggle=\"tooltip\" title=\"Annullati\"><i class=\"icon-minus-sign font_20\"></i>{{ canceledTickets.getTotalItemCount }}</span>
  3934. \t\t\t\t\t\t\t\t\t<span class=\"d-none d-lg-block\">Annullati ({{ canceledTickets.getTotalItemCount }})</span>
  3935. \t\t\t\t\t\t\t\t</a>
  3936. \t\t\t\t\t\t\t</li>
  3937. \t\t\t\t\t\t\t<li>
  3938. \t\t\t\t\t\t\t\t<a id=\"btn_tab_wrong\" href=\"#wrong\" class=\"tab_session\" data-filterTab=\"wrong\">
  3939. \t\t\t\t\t\t\t\t\t<span class=\"font_16 d-block d-lg-none\" data-bs-toggle=\"tooltip\" title=\"Errati\"><i class=\"icon-remove-sign font_20\"></i>{{ wrongTickets.getTotalItemCount }}</span>
  3940. \t\t\t\t\t\t\t\t\t<span class=\"d-none d-lg-block\">Errati ({{ wrongTickets.getTotalItemCount }})</span>
  3941. \t\t\t\t\t\t\t\t</a>
  3942. \t\t\t\t\t\t\t</li>
  3943. \t\t\t\t\t\t</ul>
  3944. \t\t\t\t\t\t<div class=\"tab-container\">
  3945. \t\t\t\t\t\t\t{# Con errori #}
  3946. \t\t\t\t\t\t\t<div class=\"tab-content clearfix\" id=\"error\">
  3947. \t\t\t\t\t\t\t\t<div class=\"row\">
  3948. \t\t\t\t\t\t\t\t\t<div class=\"col-12\">
  3949. \t\t\t\t\t\t\t\t\t\t<a id=\"button_0_wrong\" href=\"javascript: void()\" class=\"button button-3d button-mini button-grey f_right m_b_10p\">Errato</a>
  3950. \t\t\t\t\t\t\t\t\t</div>
  3951. \t\t\t\t\t\t\t\t\t<div class=\"col-12 overflow_a\">
  3952. \t\t\t\t\t\t\t\t\t\t<table class=\"table table-bordered table-hover font_12\">
  3953. \t\t\t\t\t\t\t\t\t\t\t<thead>
  3954. \t\t\t\t\t\t\t\t\t\t\t\t<tr>
  3955. \t\t\t\t\t\t\t\t\t\t\t\t\t<form method=\"get\" action=\"{{ path ('user_ticket_list') }}\" id=\"formFilter_0\">
  3956. \t\t\t\t\t\t\t\t\t\t\t\t\t\t<td class=\"td_action\"><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_red\" src=\"{{ asset (icon_delete) }}\"></a></td>
  3957. \t\t\t\t\t\t\t\t\t\t\t\t\t\t<td><input type=\"text\" class=\"form-control\" inputmode=\"search\" name=\"number\" value=\"{{ filters.number|default() }}\" id=\"input_number_0\" data-bs-toggle=\"tooltip\" title=\"Puoi effettuare ricerche multiple inserendo valori separati da virgola [Es. 1234,5678,901]\"/></td>
  3958. \t\t\t\t\t\t\t\t\t\t\t\t\t\t<td><input type=\"text\" class=\"form-control\" inputmode=\"search\" name=\"termid\" value=\"{{ filters.termid|default() }}\" id=\"input_termid_0\" data-bs-toggle=\"tooltip\" title=\"Puoi effettuare ricerche multiple inserendo valori separati da virgola [Es. 1234,5678,901]\"/></td>
  3959. \t\t\t\t\t\t\t\t\t\t\t\t\t\t{% if global_company.actualCompany.tagTicketActive %}<td><input type=\"text\" class=\"form-control\" id=\"filter_tag_value_0\" readonly onClick=\"filterTags0()\" data-bs-toggle=\"tooltip\"/><input type=\"hidden\" id=\"filter_tag_id_0\" name=\"tag\" value=\"{{ filters.tag|default() }}\"/></td>{% endif %}
  3960. \t\t\t\t\t\t\t\t\t\t\t\t\t\t<td><input type=\"text\" class=\"form-control\" inputmode=\"search\" name=\"client\" value=\"{{ filters.client|default() }}\"/></td>
  3961. \t\t\t\t\t\t\t\t\t\t\t\t\t\t<td><input type=\"text\" class=\"form-control\" id=\"filter_operation_value_0\" readonly onClick=\"filterOperations0()\" data-bs-toggle=\"tooltip\"/><input type=\"hidden\" id=\"filter_operation_id_0\" name=\"operation\" value=\"{{ filters.operation|default() }}\"/></td>
  3962. \t\t\t\t\t\t\t\t\t\t\t\t\t\t<td><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\" value=\"{{ filters.supplier|default() }}\"/></td>
  3963. \t\t\t\t\t\t\t\t\t\t\t\t\t\t<td><input type=\"text\" class=\"form-control\" inputmode=\"search\" name=\"tariff\" value=\"{{ filters.tariff|default() }}\"/></td>
  3964. \t\t\t\t\t\t\t\t\t\t\t\t\t\t<td><input type=\"text\" class=\"form-control\" inputmode=\"search\" name=\"city\" value=\"{{ filters.city|default() }}\"/></td>
  3965. \t\t\t\t\t\t\t\t\t\t\t\t\t\t<td><input type=\"text\" class=\"form-control\" inputmode=\"search\" name=\"province\" value=\"{{ filters.province|default() }}\"/></td>
  3966. \t\t\t\t\t\t\t\t\t\t\t\t\t\t<td><input type=\"text\" class=\"form-control daterange font_12\" id=\"daterange_0\" inputmode=\"search\" autocomplete=\"off\" name=\"datetimeStart\" style=\"height: 38px\" date-filter=\"range\"/></td>
  3967. \t\t\t\t\t\t\t\t\t\t\t\t\t\t<td colspan=\"2\"><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>
  3968. \t\t\t\t\t\t\t\t\t\t\t\t\t\t<input id=\"sort_field_0\" type=\"hidden\" name=\"sortField\" value=\"{{ filters.sortField|default() }}\"/>
  3969. \t\t\t\t\t\t\t\t\t\t\t\t\t\t<input id=\"sort_order_0\" type=\"hidden\" name=\"sortOrder\" value=\"{{ filters.sortOrder|default() }}\"/>
  3970. \t\t\t\t\t\t\t\t\t\t\t\t\t</form>
  3971. \t\t\t\t\t\t\t\t\t\t\t\t</tr>
  3972. \t\t\t\t\t\t\t\t\t\t\t\t<tr class=\"bg_pr color_w\">
  3973. \t\t\t\t\t\t\t\t\t\t\t\t\t<th class=\"td_action txt_a_c\">
  3974. \t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"switch\" data-bs-toggle=\"tooltip\" title=\"Seleziona tutti\">
  3975. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<input id=\"ticket_0_all_checkboxes\" class=\"switch-toggle switch-flat-mini switch-toggle-flat\" type=\"checkbox\" onChange=\"javascript: selectAll(0)\">
  3976. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<label for=\"ticket_0_all_checkboxes\" class=\"m_b_none\"></label>
  3977. \t\t\t\t\t\t\t\t\t\t\t\t\t\t</div>
  3978. \t\t\t\t\t\t\t\t\t\t\t\t\t</th>
  3979. \t\t\t\t\t\t\t\t\t\t\t\t\t<th class=\"td_w_120p\">N°<button type=\"button\" onClick=\"setOrderBy0('t.number')\" data-orderField=\"t.number\" class=\"f_right filter_arrow\"><img width=\"18\" data-bs-toggle=\"tooltip\" title=\"Ordina in ordine alfabetico\"></button></th>
  3980. \t\t\t\t\t\t\t\t\t\t\t\t\t<th class=\"td_w_120p\">Termid<button type=\"button\" onClick=\"setOrderBy0('tt.code')\" data-orderField=\"tt.code\" class=\"f_right filter_arrow\"><img width=\"18\" data-bs-toggle=\"tooltip\" title=\"Ordina in ordine alfabetico\"></button></th>
  3981. \t\t\t\t\t\t\t\t\t\t\t\t\t{% if global_company.actualCompany.tagTicketActive %}<th class=\"td_w_100p\">Tag</th>{% endif %}
  3982. \t\t\t\t\t\t\t\t\t\t\t\t\t<th class=\"td_w_200p\">Cliente<button type=\"button\" onClick=\"setOrderBy0('c.nickname')\" data-orderField=\"c.nickname\" class=\"f_right filter_arrow\"><img width=\"18\" data-bs-toggle=\"tooltip\" title=\"Ordina in ordine alfabetico\"></button></th>
  3983. \t\t\t\t\t\t\t\t\t\t\t\t\t<th class=\"td_w_150p\">Operazione <i style=\"font-weight:400\">(Dettagli)</i><button type=\"button\" onClick=\"setOrderBy0('o.value')\" data-orderField=\"o.value\" class=\"f_right filter_arrow\"><img width=\"18\" data-bs-toggle=\"tooltip\" title=\"Ordina in ordine alfabetico\"></button></th>
  3984. \t\t\t\t\t\t\t\t\t\t\t\t\t<th class=\"td_w_130p\">Fornitore <i style=\"font-weight:400\">(SLOT)</i><button type=\"button\" onClick=\"setOrderBy0('s.name')\" data-orderField=\"s.name\" class=\"f_right filter_arrow\"><img width=\"18\" data-bs-toggle=\"tooltip\" title=\"Ordina in ordine alfabetico\"></button></th>
  3985. \t\t\t\t\t\t\t\t\t\t\t\t\t<th class=\"td_w_130p\">Tariffa<button type=\"button\" onClick=\"setOrderBy0('ot.value')\" data-orderField=\"ot.value\" class=\"f_right filter_arrow\"><img width=\"18\" data-bs-toggle=\"tooltip\" title=\"Ordina in ordine alfabetico\"></button></th>
  3986. \t\t\t\t\t\t\t\t\t\t\t\t\t<th class=\"td_w_130p\">Città<button type=\"button\" onClick=\"setOrderBy1('t.idCity')\" data-orderField=\"t.idCity\" class=\"f_right filter_arrow\"><img width=\"18\" data-bs-toggle=\"tooltip\" title=\"Ordina in ordine alfabetico\"></button></th>
  3987. \t\t\t\t\t\t\t\t\t\t\t\t\t<th class=\"td_w_70p txt_a_c\">Prov<button type=\"button\" onClick=\"setOrderBy1('t.idProvince')\" data-orderField=\"t.idProvince\" class=\"f_right filter_arrow\"><img width=\"18\" data-bs-toggle=\"tooltip\" title=\"Ordina in ordine alfabetico\"></button></th>
  3988. \t\t\t\t\t\t\t\t\t\t\t\t\t<th class=\"td_w_140p\">Data/Ora ricezione<button type=\"button\" onClick=\"setOrderBy0('t.datetimeStart')\" data-orderField=\"t.datetimeStart\" class=\"f_right filter_arrow\"><img width=\"18\" data-bs-toggle=\"tooltip\" title=\"Ordina in ordine alfabetico\"></button></th>
  3989. \t\t\t\t\t\t\t\t\t\t\t\t\t<th>Descrizione errore</th>
  3990. \t\t\t\t\t\t\t\t\t\t\t\t\t<th></th>
  3991. \t\t\t\t\t\t\t\t\t\t\t\t</tr>
  3992. \t\t\t\t\t\t\t\t\t\t\t</thead>
  3993. \t\t\t\t\t\t\t\t\t\t\t<tbody>
  3994. \t\t\t\t\t\t\t\t\t\t\t\t{% if errorTickets|length > 0 %}
  3995. \t\t\t\t\t\t\t\t\t\t\t\t\t{% for ticket in errorTickets %}
  3996. \t\t\t\t\t\t\t\t\t\t\t\t\t\t<tr>
  3997. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td class=\"td_w_30p\">
  3998. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"switch\">
  3999. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<input id=\"ticket_checkbox_{{ ticket.id }}\" class=\"switch-toggle switch-flat-mini switch-toggle-flat ticket_0_checkbox\" type=\"checkbox\" value=\"{{ ticket.id }}\" onChange=\"javascript: updateButtons(0)\">
  4000. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<label for=\"ticket_checkbox_{{ ticket.id }}\" class=\"m_b_none\"></label>
  4001. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</div>
  4002. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</td>
  4003. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td id=\"ticket_number_{{ ticket.id }}\">{{ ticket.number }}</td>
  4004. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td id=\"ticket_termid_{{ ticket.id }}\">{{ ticket.termid }}</td>
  4005. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% if global_company.actualCompany.tagTicketActive %}<td id=\"ticket_tags_{{ ticket.id }}\">{{ ticket.displayTags('icon')|raw }}</td>{% endif %}
  4006. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td id=\"ticket_client_{{ ticket.id }}\">{{ ticket.client }}</td>
  4007. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td id=\"ticket_operation_{{ ticket.id }}\">
  4008. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% if ticket.operation is not null %}
  4009. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{{ ticket.operation.value }}
  4010. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% if ticket.operation.getKeyValueByValue('Dettagli operazione') and ticket.displayJsonValueByColumn(ticket.operation.getKeyValueByValue('Dettagli operazione')) != null %}
  4011. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<br><i>({{ ticket.displayJsonValueByColumn(ticket.operation.getKeyValueByValue('Dettagli operazione')) }} 
  4012. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% if ticket.operation.getKeyValueByValue('Cluster') and ticket.displayJsonValueByColumn(ticket.operation.getKeyValueByValue('Cluster')) != null %}
  4013. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tCluster {{ ticket.displayJsonValueByColumn(ticket.operation.getKeyValueByValue('Cluster'))}}
  4014. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% endif %}
  4015. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t)</i>
  4016. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% endif %}
  4017. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% else %}
  4018. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tOperazione non riconosciuta
  4019. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% endif %}
  4020. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</td>
  4021. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td id=\"ticket_supplier_{{ ticket.id }}\">
  4022. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% if ticket.operation is not null %}
  4023. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{{ ticket.operation.supplier }}{% if ticket.displayJsonValueByColumn('SLOT') != null %}<br><i>({{ ticket.displayJsonValueByColumn('SLOT') }})</i>{% endif %}
  4024. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% else %}
  4025. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tFornitore non riconosciuto
  4026. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% endif %}
  4027. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</td>
  4028. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td>{% if ticket.operationTariffAmount != null %}{{ ticket.operationTariffAmount.value|default() }}{% endif %}</td>
  4029. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td>{% if ticket.idCity != null %}{{ ticket.idCity|translate_city_only }}{% endif %}</td>
  4030. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td class=\"txt_a_c\">{% if ticket.idProvince != null %}{{ ticket.idProvince|translate_province_sign }}{% endif %}</td>
  4031. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td>{% if ticket.datetimeStart != null %}{{ ticket.datetimeStart|date('d-m-Y H:i') }}{% else %}---{% endif %}</td>
  4032. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td>{{ ticket.systemErrorDetails|raw }}</td>
  4033. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td class=\"td_action\"><a href=\"{{ path ('user_ticket_sheet', {'ticketId':ticket.id}) }}\"><img class=\"icon_pr\" data-bs-toggle=\"tooltip\" title=\"Scheda\" src=\"{{ asset(icon_sheet) }}\"></a></td>
  4034. \t\t\t\t\t\t\t\t\t\t\t\t\t\t</tr>
  4035. \t\t\t\t\t\t\t\t\t\t\t\t\t{% endfor %}
  4036. \t\t\t\t\t\t\t\t\t\t\t\t{% else %}
  4037. \t\t\t\t\t\t\t\t\t\t\t\t\t{% include 'components/twig/notice_filter_no_match.html.twig' %}
  4038. \t\t\t\t\t\t\t\t\t\t\t\t{% endif %}
  4039. \t\t\t\t\t\t\t\t\t\t\t</tbody>
  4040. \t\t\t\t\t\t\t\t\t\t</table>
  4041. \t\t\t\t\t\t\t\t\t</div>
  4042. \t\t\t\t\t\t\t\t</div>
  4043. \t\t\t\t\t\t\t</div>
  4044. \t\t\t\t\t\t\t{# To assign #}
  4045. \t\t\t\t\t\t\t<div class=\"tab-content clearfix\" id=\"toAssign\">
  4046. \t\t\t\t\t\t\t\t{% set tickets = toAssignTickets %}
  4047. \t\t\t\t\t\t\t\t{% set number = 1 %}
  4048. \t\t\t\t\t\t\t\t{% set multipleSelection = [true, 1, ['print', 'assign', 'suspend', 'cancel', 'export']] %}
  4049. \t\t\t\t\t\t\t\t{% set hasEmailTakeCharge = false %}
  4050. \t\t\t\t\t\t\t\t{% set tabOpenValue = 'to_assign' %}
  4051. \t\t\t\t\t\t\t\t{% set tab = 'toAssign' %}
  4052. \t\t\t\t\t\t\t\t{% block ticketsTab %}
  4053. \t\t\t\t\t\t\t\t\t<div class=\"row\">
  4054. \t\t\t\t\t\t\t\t\t\t<div class=\"col-12\">
  4055. \t\t\t\t\t\t\t\t\t\t\t{% if multipleSelection[0] %}
  4056. \t\t\t\t\t\t\t\t\t\t\t\t{% if 'assign' in multipleSelection[2] %}<a id=\"button_{{ multipleSelection[1] }}_assign\" href=\"javascript: void()\" class=\"button button-3d button-mini button-grey f_right m_b_10p\">Assegna a tecnico</a>{% endif %}
  4057. \t\t\t\t\t\t\t\t\t\t\t\t{% if 'change' in multipleSelection[2] %}<a id=\"button_{{ multipleSelection[1] }}_change\" href=\"javascript: void()\" class=\"button button-3d button-mini button-grey f_right m_b_10p\">Cambia tecnico</a>{% endif %}
  4058. \t\t\t\t\t\t\t\t\t\t\t\t{% if 'print' in multipleSelection[2] %}<a id=\"button_{{ multipleSelection[1] }}_print\" href=\"javascript: void(0)\" class=\"button button-3d button-mini button-grey f_right m_b_10p\">Stampa</a>{% endif %}
  4059. \t\t\t\t\t\t\t\t\t\t\t\t{% if 'suspend' in multipleSelection[2] %}<a id=\"button_{{ multipleSelection[1] }}_suspend\" href=\"javascript: void(0)\" class=\"button button-3d button-mini button-grey f_right m_b_10p\">Sospendi</a>{% endif %}
  4060. \t\t\t\t\t\t\t\t\t\t\t\t{% if 'suspend_end' in multipleSelection[2] %}<a id=\"button_{{ multipleSelection[1] }}_suspend_end\" href=\"javascript: void(0)\" class=\"button button-3d button-mini button-grey f_right m_b_10p\">Sblocca sospensione</a>{% endif %}
  4061. \t\t\t\t\t\t\t\t\t\t\t\t{% if 'approve' in multipleSelection[2] %}<a id=\"button_{{ multipleSelection[1] }}_approve\" href=\"javascript: void(0)\" class=\"button button-3d button-mini button-grey f_right m_b_10p\">Approva sospensione</a>{% endif %}
  4062. \t\t\t\t\t\t\t\t\t\t\t\t{% if 'cancel' in multipleSelection[2] %}<a id=\"button_{{ multipleSelection[1] }}_cancel\" href=\"javascript: void(0)\" class=\"button button-3d button-mini button-grey f_right m_b_10p\">Annulla</a>{% endif %}
  4063. \t\t\t\t\t\t\t\t\t\t\t\t{% if 'closed_portal' in multipleSelection[2] %}<a id=\"button_{{ multipleSelection[1] }}_closed_portal\" href=\"javascript: void()\" class=\"button button-3d button-mini button-grey f_right m_b_10p\">Chiuso su portale</a>{% endif %}
  4064. \t\t\t\t\t\t\t\t\t\t\t\t{% if 'wrong' in multipleSelection[2] %}<a id=\"button_{{ multipleSelection[1] }}_wrong\" href=\"javascript: void()\" class=\"button button-3d button-mini button-grey f_right m_b_10p\">Errato</a>{% endif %}
  4065. \t\t\t\t\t\t\t\t\t\t\t\t{% if 'delete' in multipleSelection[2] %}<a id=\"button_{{ multipleSelection[1] }}_delete\" href=\"javascript: void(0)\" class=\"button button-3d button-mini button-grey f_right m_b_10p\">Elimina definitivamente</a>{% endif %}
  4066. \t\t\t\t\t\t\t\t\t\t\t\t{% if 'urge' in multipleSelection[2] %}<a id=\"button_{{ multipleSelection[1] }}_urge\" href=\"javascript: void(0)\" class=\"button button-3d button-mini button-grey f_right m_b_10p\">Sollecita</a>{% endif %}
  4067. \t\t\t\t\t\t\t\t\t\t\t\t{% if 'export' in multipleSelection[2] %}<a id=\"button_{{ multipleSelection[1] }}_export\" href=\"javascript: void(0)\" class=\"button button-3d button-mini button-grey f_right m_b_10p\">Esporta</a>{% endif %}
  4068. \t\t\t\t\t\t\t\t\t\t\t{% endif %}
  4069. \t\t\t\t\t\t\t\t\t\t\t{% if hasEmailTakeCharge %}<a href=\"javascript: sendEmailTakeCharge()\" class=\"button button-3d button-mini button-green f_left m_b_10p\">Invia email prendi in carico a tutti</a>{% endif %}
  4070. \t\t\t\t\t\t\t\t\t\t</div>
  4071. \t\t\t\t\t\t\t\t\t\t<div class=\"col-12 overflow_a\">
  4072. \t\t\t\t\t\t\t\t\t\t\t<table class=\"table table-bordered table-hover font_12\">
  4073. \t\t\t\t\t\t\t\t\t\t\t\t<thead>
  4074. \t\t\t\t\t\t\t\t\t\t\t\t\t<tr>
  4075. \t\t\t\t\t\t\t\t\t\t\t\t\t\t<form method=\"get\" action=\"{{ path ('user_ticket_list') }}\" id=\"formFilter_{{ multipleSelection[1] }}\">
  4076. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td class=\"td_action\" {% 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_red\" src=\"{{ asset (icon_delete) }}\"></a></td>
  4077. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td><input type=\"text\" class=\"form-control\" id=\"input_number_{{ multipleSelection[1] }}\" inputmode=\"search\" name=\"number\" value=\"{{ filters.number|default() }}\" data-bs-toggle=\"tooltip\" title=\"Puoi effettuare ricerche multiple inserendo valori separati da virgola [Es. 1234,5678,901]\"/></td>
  4078. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td><input type=\"text\" class=\"form-control\" id=\"input_termid_{{ multipleSelection[1] }}\" inputmode=\"search\" name=\"termid\" value=\"{{ filters.termid|default() }}\" data-bs-toggle=\"tooltip\" title=\"Puoi effettuare ricerche multiple inserendo valori separati da virgola [Es. 1234,5678,901]\"/></td>
  4079. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% if global_company.actualCompany.tagTicketActive %}<td><input type=\"text\" class=\"form-control\" id=\"filter_tag_value_{{ number }}\" readonly onClick=\"filterTags{{ number }}()\" data-bs-toggle=\"tooltip\"/><input type=\"hidden\" id=\"filter_tag_id_{{ number }}\" name=\"tag\" value=\"{{ filters.tag|default() }}\"/></td>{% endif %}
  4080. \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=\"client\" value=\"{{ filters.client|default() }}\"/></td>
  4081. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td><input type=\"text\" class=\"form-control\" id=\"filter_operation_value_{{ number }}\" readonly onClick=\"filterOperations{{ number }}()\" data-bs-toggle=\"tooltip\"/><input type=\"hidden\" id=\"filter_operation_id_{{ number }}\" name=\"operation\" value=\"{{ filters.operation|default() }}\"/></td>
  4082. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td><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\" value=\"{{ filters.supplier|default() }}\"/></td>
  4083. \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=\"tariff\" value=\"{{ filters.tariff|default() }}\"/></td>
  4084. \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=\"city\" value=\"{{ filters.city|default() }}\"/></td>
  4085. \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=\"province\" value=\"{{ filters.province|default() }}\"/></td>
  4086. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% if tab != 'toAssign' %}
  4087. \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\" value=\"{{ filters.technician|default() }}\"/></td>
  4088. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% endif %}
  4089. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td><input type=\"text\" class=\"form-control daterange daterange1 font_12\" id=\"daterange_{{ number }}_1\" autocomplete=\"off\" inputmode=\"search\" name=\"datetimeStart\" style=\"height: 38px\" date-filter=\"range\"/></td>
  4090. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% if tab != 'closed' and tab != 'closedPortal' %}
  4091. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td><input type=\"text\" class=\"form-control daterange daterange2 font_12\" id=\"daterange_{{ number }}_2\" autocomplete=\"off\" inputmode=\"search\" name=\"datetimeExpiration\" style=\"height: 38px\" date-filter=\"range\"/></td>
  4092. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% else %}
  4093. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td><input type=\"text\" class=\"form-control daterange daterange3 font_12\" id=\"daterange_{{ number }}_3\" inputmode=\"search\" autocomplete=\"off\" name=\"datetimeEnd\" style=\"height: 38px\" date-filter=\"range\"/></td>
  4094. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% endif %}
  4095. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td colspan=\"4\" class=\"td_action\"><button type=\"submit\" class=\"btn bg_w f_left p_0p\" data-bs-toggle=\"tooltip\" title=\"Filtra\"><img class=\"icon_green\" src=\"{{ asset (icon_search) }}\"></button></td>
  4096. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<input type=\"hidden\" name=\"filter_tab\" value=\"{{ tabOpenValue }}\">
  4097. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<input id=\"sort_field_{{ multipleSelection[1] }}\" type=\"hidden\" name=\"sortField\" value=\"{{ filters.sortField|default() }}\"/>
  4098. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<input id=\"sort_order_{{ multipleSelection[1] }}\" type=\"hidden\" name=\"sortOrder\" value=\"{{ filters.sortOrder|default() }}\"/>
  4099. \t\t\t\t\t\t\t\t\t\t\t\t\t\t</form>
  4100. \t\t\t\t\t\t\t\t\t\t\t\t\t</tr>
  4101. \t\t\t\t\t\t\t\t\t\t\t\t\t<tr class=\"bg_pr color_w\">
  4102. \t\t\t\t\t\t\t\t\t\t\t\t\t\t{% if multipleSelection[0] %}
  4103. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<th class=\"td_action txt_a_c\">
  4104. \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\">
  4105. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<input id=\"ticket_{{ multipleSelection[1] }}_all_checkboxes\" class=\"switch-toggle switch-flat-mini switch-toggle-flat\" type=\"checkbox\" onChange=\"javascript: selectAll({{ multipleSelection[1] }})\">
  4106. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<label for=\"ticket_{{ multipleSelection[1] }}_all_checkboxes\" class=\"m_b_none\"></label>
  4107. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</div>
  4108. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</th>
  4109. \t\t\t\t\t\t\t\t\t\t\t\t\t\t{% endif %}
  4110. \t\t\t\t\t\t\t\t\t\t\t\t\t\t<th class=\"td_w_40p txt_a_c\">Stato</th>
  4111. \t\t\t\t\t\t\t\t\t\t\t\t\t\t<th class=\"td_w_120p\">N°<button type=\"button\" onClick=\"setOrderBy{{ multipleSelection[1] }}('t.number')\" data-orderField=\"t.number\" class=\"f_right filter_arrow\"><img width=\"18\" data-bs-toggle=\"tooltip\" title=\"Ordina in ordine alfabetico\"></button></th>
  4112. \t\t\t\t\t\t\t\t\t\t\t\t\t\t<th class=\"td_w_100p\">Termid<button type=\"button\" onClick=\"setOrderBy{{ multipleSelection[1] }}('tt.code')\" data-orderField=\"tt.code\" class=\"f_right filter_arrow\"><img width=\"18\" data-bs-toggle=\"tooltip\" title=\"Ordina in ordine alfabetico\"></button></th>
  4113. \t\t\t\t\t\t\t\t\t\t\t\t\t\t{% if global_company.actualCompany.tagTicketActive %}<th class=\"td_w_100p\">Tag</th>{% endif %}
  4114. \t\t\t\t\t\t\t\t\t\t\t\t\t\t<th class=\"td_w_150p\">Cliente<button type=\"button\" onClick=\"setOrderBy{{ multipleSelection[1] }}('c.nickname')\" data-orderField=\"c.nickname\" class=\"f_right filter_arrow\"><img width=\"18\" data-bs-toggle=\"tooltip\" title=\"Ordina in ordine alfabetico\"></button></th>
  4115. \t\t\t\t\t\t\t\t\t\t\t\t\t\t<th class=\"td_w_150p\">Operazione <i style=\"font-weight:400\">(Dettagli)</i><button type=\"button\" onClick=\"setOrderBy{{ multipleSelection[1] }}('o.value')\" data-orderField=\"o.value\" class=\"f_right filter_arrow\"><img width=\"18\" data-bs-toggle=\"tooltip\" title=\"Ordina in ordine alfabetico\"></button></th>
  4116. \t\t\t\t\t\t\t\t\t\t\t\t\t\t<th class=\"td_w_120p\">Fornitore <i style=\"font-weight:400\">(SLOT)</i><button type=\"button\" onClick=\"setOrderBy{{ multipleSelection[1] }}('s.name')\" data-orderField=\"s.name\" class=\"f_right filter_arrow\"><img width=\"18\" data-bs-toggle=\"tooltip\" title=\"Ordina in ordine alfabetico\"></button></th>
  4117. \t\t\t\t\t\t\t\t\t\t\t\t\t\t<th class=\"td_w_120p\">Tariffa<button type=\"button\" onClick=\"setOrderBy0('ot.value')\" data-orderField=\"ot.value\" class=\"f_right filter_arrow\"><img width=\"18\" data-bs-toggle=\"tooltip\" title=\"Ordina in ordine alfabetico\"></button></th>
  4118. \t\t\t\t\t\t\t\t\t\t\t\t\t\t<th class=\"td_w_180p\">Città <i style=\"font-weight:400\">(Indirizzo)</i><button type=\"button\" onClick=\"setOrderBy1('t.idCity')\" data-orderField=\"t.idCity\" class=\"f_right filter_arrow\"><img width=\"18\" data-bs-toggle=\"tooltip\" title=\"Ordina in ordine alfabetico\"></button></th>
  4119. \t\t\t\t\t\t\t\t\t\t\t\t\t\t<th class=\"td_w_70p txt_a_c\">Prov<button type=\"button\" onClick=\"setOrderBy1('t.idProvince')\" data-orderField=\"t.idProvince\" class=\"f_right filter_arrow\"><img width=\"18\" data-bs-toggle=\"tooltip\" title=\"Ordina in ordine alfabetico\"></button></th>
  4120. \t\t\t\t\t\t\t\t\t\t\t\t\t\t{% if tab != 'toAssign' %}
  4121. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<th class=\"td_w_150p\">Tecnico<button type=\"button\" onClick=\"setOrderBy{{ multipleSelection[1] }}('p.surname')\" data-orderField=\"p.surname\" class=\"f_right filter_arrow\"><img width=\"18\" data-bs-toggle=\"tooltip\" title=\"Ordina in ordine alfabetico\"></button></th>
  4122. \t\t\t\t\t\t\t\t\t\t\t\t\t\t{% endif %}
  4123. \t\t\t\t\t\t\t\t\t\t\t\t\t\t<th class=\"td_w_130p txt_a_c\">Data/Ora ricezione<button type=\"button\" onClick=\"setOrderBy{{ multipleSelection[1] }}('t.datetimeStart')\" data-orderField=\"t.datetimeStart\" class=\"f_right filter_arrow\"><img width=\"18\" data-bs-toggle=\"tooltip\" title=\"Ordina in ordine alfabetico\"></button></th>
  4124. \t\t\t\t\t\t\t\t\t\t\t\t\t\t{% if tab != 'closed' and tab != 'closedPortal' %}
  4125. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<th class=\"td_w_130p txt_a_c\">Data/Ora scadenza<button type=\"button\" onClick=\"setOrderBy{{ multipleSelection[1] }}('t.datetimeExpiration')\" data-orderField=\"t.datetimeExpiration\" class=\"f_right filter_arrow\"><img width=\"18\" data-bs-toggle=\"tooltip\" title=\"Ordina in ordine alfabetico\"></button></th>\t\t\t\t\t\t\t\t\t
  4126. \t\t\t\t\t\t\t\t\t\t\t\t\t\t{% else %}
  4127. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<th class=\"td_w_130p txt_a_c\">Data/Ora chiusura<button type=\"button\" onClick=\"setOrderBy{{ multipleSelection[1] }}('t.datetimeEnd')\" data-orderField=\"t.datetimeEnd\" class=\"f_right filter_arrow\"><img width=\"18\" data-bs-toggle=\"tooltip\" title=\"Ordina in ordine alfabetico\"></button></th>
  4128. \t\t\t\t\t\t\t\t\t\t\t\t\t\t{% endif %}
  4129. \t\t\t\t\t\t\t\t\t\t\t\t\t\t<th class=\"td_w_50p txt_a_c\">Note</th>
  4130. \t\t\t\t\t\t\t\t\t\t\t\t\t\t<th></th>
  4131. \t\t\t\t\t\t\t\t\t\t\t\t\t</tr>
  4132. \t\t\t\t\t\t\t\t\t\t\t\t</thead>
  4133. \t\t\t\t\t\t\t\t\t\t\t\t<tbody>
  4134. \t\t\t\t\t\t\t\t\t\t\t\t\t{% if tickets|length > 0 %}
  4135. \t\t\t\t\t\t\t\t\t\t\t\t\t\t{% for ticket in tickets %}
  4136. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<tr>
  4137. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% if multipleSelection[0] %}
  4138. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td class=\"td_w_30p\">
  4139. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"switch\">
  4140. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<input id=\"ticket_checkbox_{{ ticket.id }}\" class=\"switch-toggle switch-flat-mini switch-toggle-flat ticket_{{ multipleSelection[1] }}_checkbox\" type=\"checkbox\" value=\"{{ ticket.id }}\" onChange=\"javascript: updateButtons({{ multipleSelection[1] }})\">
  4141. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<label for=\"ticket_checkbox_{{ ticket.id }}\" class=\"m_b_none\"></label>
  4142. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</div>
  4143. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</td>
  4144. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% endif %}
  4145. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td class=\"txt_a_c\">{{ ticket.displayStatus('icon', settingProcessedActive)|raw }}</td>
  4146. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td id=\"ticket_number_{{ ticket.id }}\">{{ ticket.number }}</td>
  4147. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td id=\"ticket_termid_{{ ticket.id }}\">{{ ticket.termid }}</td>
  4148. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% if global_company.actualCompany.tagTicketActive %}<td id=\"ticket_tags_{{ ticket.id }}\">{{ ticket.displayTags('icon')|raw }}</td>{% endif %}
  4149. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td id=\"ticket_client_{{ ticket.id }}\">{{ ticket.client }}</td>
  4150. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td id=\"ticket_operation_{{ ticket.id }}\">
  4151. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% if ticket.operation is not null %}
  4152. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{{ ticket.operation.value }}{% if ticket.operation.getKeyValueByValue('Dettagli operazione') and ticket.displayJsonValueByColumn(ticket.operation.getKeyValueByValue('Dettagli operazione')) != null %}<br><i>({{ ticket.displayJsonValueByColumn(ticket.operation.getKeyValueByValue('Dettagli operazione')) }})</i>{% endif %}
  4153. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% else %}
  4154. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tOperazione non riconosciuta
  4155. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% endif %}
  4156. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</td>
  4157. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td id=\"ticket_supplier_{{ ticket.id }}\">
  4158. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% if ticket.supplier is not null %}
  4159. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{{ ticket.supplier }}
  4160. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% if ticket.displayJsonValueByColumn('SLOT') != null %}<br><i>({{ ticket.displayJsonValueByColumn('SLOT') }})</i>{% endif %}
  4161. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% else %}
  4162. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tFornitore non riconosciuto
  4163. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% endif %}
  4164. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</td>
  4165. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td>{% if ticket.operationTariffAmount != null %}{{ ticket.operationTariffAmount.value|default() }}{% endif %}</td>
  4166. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td>{% if ticket.idCity != null %}{{ ticket.idCity|translate_city_only }}<br><i>({{ ticket.address }})</i>{% endif %}</td>
  4167. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td class=\"txt_a_c\">{% if ticket.idProvince != null %}{{ ticket.idProvince|translate_province_sign }}{% endif %}</td>
  4168. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% if tab != 'toAssign' %}
  4169. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td>{{ ticket.technician }}</td>
  4170. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% endif %}
  4171. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td class=\"txt_a_c\">{% if ticket.datetimeStart != null %}{{ ticket.datetimeStart|date('d-m-Y H:i') }}{% else %}---{% endif %}</td>
  4172. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% if tab != 'closed' and tab != 'closedPortal' %}
  4173. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td class=\"txt_a_c\">{% if ticket.datetimeExpiration != null %}{{ ticket.datetimeExpiration|date('d-m-Y H:i') }}{% else %}---{% endif %}</td>
  4174. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% else %}
  4175. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td class=\"txt_a_c\">{% if ticket.datetimeEnd != null %}{{ ticket.datetimeEnd|date('d-m-Y H:i') }}{% else %}---{% endif %}</td>
  4176. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% endif %}
  4177. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td class=\"td_action\"><a href=\"javascript: showNotes({{ ticket.id }})\"><img class=\"icon_pr\" data-bs-toggle=\"tooltip\" title=\"Mostra note\" src=\"{{ asset(icon_notes) }}\"></a></td>
  4178. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td class=\"td_action\"><a href=\"{{ path ('user_ticket_sheet', {'ticketId':ticket.id}) }}\"><img class=\"icon_pr\" data-bs-toggle=\"tooltip\" title=\"Scheda\" src=\"{{ asset(icon_sheet) }}\"></a></td>
  4179. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</tr>
  4180. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<input type=\"hidden\" id=\"ticket_anomaly_{{ ticket.id }}\" value=\"{{ ticket.displayJsonReportValueByColumn('Anomalia') }}\">
  4181. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<input type=\"hidden\" id=\"ticket_client_notes_{{ ticket.id }}\" value=\"{% if ticket.client != null %}{{ ticket.client.notes }}{% endif %}\">
  4182. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<input type=\"hidden\" id=\"ticket_client_time_{{ ticket.id }}\" value=\"{% if ticket.client != null %}Orari apertura: {{ ticket.client.openings }} / Chiusure: {{ ticket.client.closures }}{% endif %}\">
  4183. \t\t\t\t\t\t\t\t\t\t\t\t\t\t{% endfor %}
  4184. \t\t\t\t\t\t\t\t\t\t\t\t\t{% else %}
  4185. \t\t\t\t\t\t\t\t\t\t\t\t\t\t{% include 'components/twig/notice_filter_no_match.html.twig' %}
  4186. \t\t\t\t\t\t\t\t\t\t\t\t\t{% endif %}
  4187. \t\t\t\t\t\t\t\t\t\t\t\t</tbody>
  4188. \t\t\t\t\t\t\t\t\t\t\t</table>
  4189. \t\t\t\t\t\t\t\t\t\t</div>
  4190. \t\t\t\t\t\t\t\t\t\t<div class=\"col-12 navigation txt_a_r\">
  4191. \t\t\t\t\t\t\t\t\t\t\t{{ knp_pagination_render(tickets) }}
  4192. \t\t\t\t\t\t\t\t\t\t</div>
  4193. \t\t\t\t\t\t\t\t\t</div>
  4194. \t\t\t\t\t\t\t\t{% endblock %}
  4195. \t\t\t\t\t\t\t</div>
  4196. \t\t\t\t\t\t\t{# Assigned #}
  4197. \t\t\t\t\t\t\t<div class=\"tab-content clearfix\" id=\"assigned\">
  4198. \t\t\t\t\t\t\t\t{% set tickets = assignedTickets %}
  4199. \t\t\t\t\t\t\t\t{% set number = 2 %}
  4200. \t\t\t\t\t\t\t\t{% set multipleSelection = [true, 2, ['print', 'suspend', 'cancel', 'change', 'urge', 'export']] %}
  4201. \t\t\t\t\t\t\t\t{% set hasEmailTakeCharge = true %}
  4202. \t\t\t\t\t\t\t\t{% set tabOpenValue = 'assigned' %}
  4203. \t\t\t\t\t\t\t\t{% set tab = 'assigned' %}
  4204. \t\t\t\t\t\t\t\t{{ block('ticketsTab') }}
  4205. \t\t\t\t\t\t\t</div>
  4206. \t\t\t\t\t\t\t{# Taken charge #}
  4207. \t\t\t\t\t\t\t<div class=\"tab-content clearfix\" id=\"takenCharge\">
  4208. \t\t\t\t\t\t\t\t{% set tickets = takenChargeTickets %}
  4209. \t\t\t\t\t\t\t\t{% set number = 3 %}
  4210. \t\t\t\t\t\t\t\t{% if settingBackOffice %} {# SE ACCOUNT AGENZIA E BACKOFFICE GESTISCE TICKET #}
  4211. \t\t\t\t\t\t\t\t\t{% set multipleSelection = [true, 3, ['print', 'suspend', 'cancel', 'change', 'urge', 'export']] %}
  4212. \t\t\t\t\t\t\t\t{% else %}
  4213. \t\t\t\t\t\t\t\t\t{% set multipleSelection = [true, 3, ['suspend', 'cancel', 'change', 'urge', 'export']] %}
  4214. \t\t\t\t\t\t\t\t{% endif %}
  4215. \t\t\t\t\t\t\t\t{% set hasEmailTakeCharge = false %}
  4216. \t\t\t\t\t\t\t\t{% set tabOpenValue = 'taken_charge' %}
  4217. \t\t\t\t\t\t\t\t{% set tab = 'takenCharge' %}
  4218. \t\t\t\t\t\t\t\t{{ block('ticketsTab') }}
  4219. \t\t\t\t\t\t\t</div>
  4220. \t\t\t\t\t\t\t{# Suspension request #}
  4221. \t\t\t\t\t\t\t<div class=\"tab-content clearfix\" id=\"suspensionRequest\">
  4222. \t\t\t\t\t\t\t\t{% set tickets = suspensionRequestTickets %}
  4223. \t\t\t\t\t\t\t\t{% set number = 4 %}
  4224. \t\t\t\t\t\t\t\t{% set multipleSelection = [true, 4, ['cancel', 'approve', 'export']] %}
  4225. \t\t\t\t\t\t\t\t{% set hasEmailTakeCharge = false %}
  4226. \t\t\t\t\t\t\t\t{% set tabOpenValue = 'suspension_request' %}
  4227. \t\t\t\t\t\t\t\t{% set tab = 'suspensionRequest' %}
  4228. \t\t\t\t\t\t\t\t{{ block('ticketsTab') }}
  4229. \t\t\t\t\t\t\t</div>
  4230. \t\t\t\t\t\t\t{# Suspended #}
  4231. \t\t\t\t\t\t\t<div class=\"tab-content clearfix\" id=\"suspended\">
  4232. \t\t\t\t\t\t\t\t{% set tickets = suspendedTickets %}
  4233. \t\t\t\t\t\t\t\t{% set number = 5 %}
  4234. \t\t\t\t\t\t\t\t{% set multipleSelection = [true, 5, ['print', 'suspend_end', 'cancel', 'export']] %}
  4235. \t\t\t\t\t\t\t\t{% set hasEmailTakeCharge = false %}
  4236. \t\t\t\t\t\t\t\t{% set tabOpenValue = 'suspended' %}
  4237. \t\t\t\t\t\t\t\t{% set tab = 'suspended' %}
  4238. \t\t\t\t\t\t\t\t{{ block('ticketsTab') }}
  4239. \t\t\t\t\t\t\t</div>
  4240. \t\t\t\t\t\t\t{# Closed #}
  4241. \t\t\t\t\t\t\t<div class=\"tab-content clearfix\" id=\"closed\">
  4242. \t\t\t\t\t\t\t\t{% set tickets = closedTickets %}
  4243. \t\t\t\t\t\t\t\t{% set number = 6 %}
  4244. \t\t\t\t\t\t\t\t{% set multipleSelection = [true, 6, ['closed_portal', 'export']] %}
  4245. \t\t\t\t\t\t\t\t{% set hasEmailTakeCharge = false %}
  4246. \t\t\t\t\t\t\t\t{% set tabOpenValue = 'closed' %}
  4247. \t\t\t\t\t\t\t\t{% set tab = 'closed' %}
  4248. \t\t\t\t\t\t\t\t{{ block('ticketsTab') }}
  4249. \t\t\t\t\t\t\t</div>
  4250. \t\t\t\t\t\t\t{# Closed on portal #}
  4251. \t\t\t\t\t\t\t<div class=\"tab-content clearfix\" id=\"closedPortal\">
  4252. \t\t\t\t\t\t\t\t{% set tickets = closedPortalTickets %}
  4253. \t\t\t\t\t\t\t\t{% set number = 7 %}
  4254. \t\t\t\t\t\t\t\t{% set multipleSelection = [false, 7, ['export']] %}
  4255. \t\t\t\t\t\t\t\t{% set hasEmailTakeCharge = false %}
  4256. \t\t\t\t\t\t\t\t{% set tabOpenValue = 'closed_on_portal' %}
  4257. \t\t\t\t\t\t\t\t{% set tab = 'closedPortal' %}
  4258. \t\t\t\t\t\t\t\t{{ block('ticketsTab') }}
  4259. \t\t\t\t\t\t\t</div>
  4260. \t\t\t\t\t\t\t{# Canceled #}
  4261. \t\t\t\t\t\t\t<div class=\"tab-content clearfix\" id=\"canceled\">
  4262. \t\t\t\t\t\t\t\t{% set tickets = canceledTickets %}
  4263. \t\t\t\t\t\t\t\t{% set number = 8 %}
  4264. \t\t\t\t\t\t\t\t{% set multipleSelection = [true, 8, ['wrong', 'export']] %}
  4265. \t\t\t\t\t\t\t\t{% set hasEmailTakeCharge = false %}
  4266. \t\t\t\t\t\t\t\t{% set tabOpenValue = 'canceled' %}
  4267. \t\t\t\t\t\t\t\t{% set tab = 'canceled' %}
  4268. \t\t\t\t\t\t\t\t{{ block('ticketsTab') }}
  4269. \t\t\t\t\t\t\t</div>
  4270. \t\t\t\t\t\t\t{# Wrong #}
  4271. \t\t\t\t\t\t\t<div class=\"tab-content clearfix\" id=\"wrong\">
  4272. \t\t\t\t\t\t\t\t{% set tickets = wrongTickets %}
  4273. \t\t\t\t\t\t\t\t{% set number = 9 %}
  4274. \t\t\t\t\t\t\t\t{% set multipleSelection = [true, 9, ['delete', 'export']] %}
  4275. \t\t\t\t\t\t\t\t{% set hasEmailTakeCharge = false %}
  4276. \t\t\t\t\t\t\t\t{% set tabOpenValue = 'wrong' %}
  4277. \t\t\t\t\t\t\t\t{% set tab = 'wrong' %}
  4278. \t\t\t\t\t\t\t\t{{ block('ticketsTab') }}
  4279. \t\t\t\t\t\t\t</div>
  4280. \t\t\t\t\t\t</div>
  4281. \t\t\t\t\t</div>
  4282. \t\t\t\t</div>
  4283. \t\t\t{% elseif app.user.getAccountTypology == 'warehouse' %}
  4284. \t\t\t\t{# Magazzino #}
  4285. \t\t\t\t<div class=\"col-12\">
  4286. \t\t\t\t\t<div class=\"tabs clearfix\">
  4287. \t\t\t\t\t\t<ul class=\"tab-nav clearfix\">
  4288. \t\t\t\t\t\t\t<li>
  4289. \t\t\t\t\t\t\t\t<a id=\"btn_tab_to_assign\" href=\"#toAssign\" class=\"tab_session\" data-filterTab=\"to_assign\">
  4290. \t\t\t\t\t\t\t\t\t<span class=\"font_16 d-block d-lg-none\" data-bs-toggle=\"tooltip\" title=\"Da assegnare\"><i class=\"icon-pencil-alt font_20\"></i>{{ toAssignTickets.getTotalItemCount }}</span>
  4291. \t\t\t\t\t\t\t\t\t<span class=\"d-none d-lg-block\">Da assegnare ({{ toAssignTickets.getTotalItemCount }})</span>
  4292. \t\t\t\t\t\t\t\t</a>
  4293. \t\t\t\t\t\t\t</li>
  4294. \t\t\t\t\t\t\t<li>
  4295. \t\t\t\t\t\t\t\t<a id=\"btn_tab_assigned\" href=\"#assigned\" class=\"tab_session\" data-filterTab=\"assigned\">
  4296. \t\t\t\t\t\t\t\t\t<span class=\"font_16 d-block d-lg-none\" data-bs-toggle=\"tooltip\" title=\"Assegnati\"><i class=\"icon-tag font_20\"></i>{{ assignedTickets.getTotalItemCount }}</span>
  4297. \t\t\t\t\t\t\t\t\t<span class=\"d-none d-lg-block\">Assegnati ({{ assignedTickets.getTotalItemCount }})</span>
  4298. \t\t\t\t\t\t\t\t</a>
  4299. \t\t\t\t\t\t\t</li>
  4300. \t\t\t\t\t\t\t<li>
  4301. \t\t\t\t\t\t\t\t<a id=\"btn_tab_taken_charge\" href=\"#takenCharge\" class=\"tab_session\" data-filterTab=\"taken_charge\">
  4302. \t\t\t\t\t\t\t\t\t<span class=\"font_16 d-block d-lg-none\" data-bs-toggle=\"tooltip\" title=\"Presi in carico\"><i class=\"icon-cog font_20\"></i>{{ takenChargeTickets.getTotalItemCount }}</span>
  4303. \t\t\t\t\t\t\t\t\t<span class=\"d-none d-lg-block\">Presi in carico ({{ takenChargeTickets.getTotalItemCount }})</span>
  4304. \t\t\t\t\t\t\t\t</a>
  4305. \t\t\t\t\t\t\t</li>
  4306. \t\t\t\t\t\t\t<li>
  4307. \t\t\t\t\t\t\t\t<a id=\"btn_tab_suspension_request\" href=\"#suspensionRequest\" class=\"tab_session\" data-filterTab=\"suspension_request\">
  4308. \t\t\t\t\t\t\t\t\t<span class=\"font_16 d-block d-lg-none\" data-bs-toggle=\"tooltip\" title=\"Richiesta sospensione\"><i class=\"icon-clock font_20\"></i>{{ suspensionRequestTickets.getTotalItemCount }}</span>
  4309. \t\t\t\t\t\t\t\t\t<span class=\"d-none d-lg-block\">Richiesta sospensione ({{ suspensionRequestTickets.getTotalItemCount }})</span>
  4310. \t\t\t\t\t\t\t\t</a>
  4311. \t\t\t\t\t\t\t</li>
  4312. \t\t\t\t\t\t\t<li>
  4313. \t\t\t\t\t\t\t\t<a id=\"btn_tab_suspended\" href=\"#suspended\" class=\"tab_session\" data-filterTab=\"suspended\">
  4314. \t\t\t\t\t\t\t\t\t<span class=\"font_16 d-block d-lg-none\" data-bs-toggle=\"tooltip\" title=\"Sospesi\"><i class=\"icon-clock font_20\"></i>{{ suspendedTickets.getTotalItemCount }}</span>
  4315. \t\t\t\t\t\t\t\t\t<span class=\"d-none d-lg-block\">Sospesi ({{ suspendedTickets.getTotalItemCount }})</span>
  4316. \t\t\t\t\t\t\t\t</a>
  4317. \t\t\t\t\t\t\t</li>
  4318. \t\t\t\t\t\t\t<li>
  4319. \t\t\t\t\t\t\t\t<a id=\"btn_tab_closed\" href=\"#closed\" class=\"tab_session\" data-filterTab=\"closed\">
  4320. \t\t\t\t\t\t\t\t\t<span class=\"font_16 d-block d-lg-none\" data-bs-toggle=\"tooltip\" title=\"Chiusi\"><i class=\"icon-check font_20\"></i>{{ closedTickets.getTotalItemCount }}</span>
  4321. \t\t\t\t\t\t\t\t\t<span class=\"d-none d-lg-block\">Chiusi ({{ closedTickets.getTotalItemCount }})</span>
  4322. \t\t\t\t\t\t\t\t</a>
  4323. \t\t\t\t\t\t\t</li>
  4324. \t\t\t\t\t\t\t<li>
  4325. \t\t\t\t\t\t\t\t<a id=\"btn_tab_closed_on_portal\" href=\"#closedPortal\" class=\"tab_session\" data-filterTab=\"closed_on_portal\">
  4326. \t\t\t\t\t\t\t\t\t<span class=\"font_16 d-block d-lg-none\" data-bs-toggle=\"tooltip\" title=\"Chiusi su fornitore\"><i class=\"icon-checkmark font_20\"></i>{{ closedPortalTickets.getTotalItemCount }}</span>
  4327. \t\t\t\t\t\t\t\t\t<span class=\"d-none d-lg-block\">Chiusi su fornitore ({{ closedPortalTickets.getTotalItemCount }})</span>
  4328. \t\t\t\t\t\t\t\t</a>
  4329. \t\t\t\t\t\t\t</li>
  4330. \t\t\t\t\t\t\t<li>
  4331. \t\t\t\t\t\t\t\t<a id=\"btn_tab_canceled\" href=\"#canceled\" class=\"tab_session\" data-filterTab=\"canceled\">
  4332. \t\t\t\t\t\t\t\t\t<span class=\"font_16 d-block d-lg-none\" data-bs-toggle=\"tooltip\" title=\"Annullati\"><i class=\"icon-minus-sign font_20\"></i>{{ canceledTickets.getTotalItemCount }}</span>
  4333. \t\t\t\t\t\t\t\t\t<span class=\"d-none d-lg-block\">Annullati ({{ canceledTickets.getTotalItemCount }})</span>
  4334. \t\t\t\t\t\t\t\t</a>
  4335. \t\t\t\t\t\t\t</li>
  4336. \t\t\t\t\t\t\t<li>
  4337. \t\t\t\t\t\t\t\t<a id=\"btn_tab_wrong\" href=\"#wrong\" class=\"tab_session\" data-filterTab=\"wrong\">
  4338. \t\t\t\t\t\t\t\t\t<span class=\"font_16 d-block d-lg-none\"data-bs-toggle=\"tooltip\" title=\"Errati\"><i class=\"icon-remove-sign font_20\" ></i>{{ wrongTickets.getTotalItemCount }}</span>
  4339. \t\t\t\t\t\t\t\t\t<span class=\"d-none d-lg-block\">Errati ({{ wrongTickets.getTotalItemCount }})</span>
  4340. \t\t\t\t\t\t\t\t</a>
  4341. \t\t\t\t\t\t\t</li>
  4342. \t\t\t\t\t\t</ul>
  4343. \t\t\t\t\t\t<div class=\"tab-container\">
  4344. \t\t\t\t\t\t\t{# To assign #}
  4345. \t\t\t\t\t\t\t<div class=\"tab-content clearfix\" id=\"toAssign\">
  4346. \t\t\t\t\t\t\t\t{% set tickets = toAssignTickets %}
  4347. \t\t\t\t\t\t\t\t{% set number = 1 %}
  4348. \t\t\t\t\t\t\t\t{% set tabOpenValue = 'to_assign' %}
  4349. \t\t\t\t\t\t\t\t{% set tab = 'toAssign' %}
  4350. \t\t\t\t\t\t\t\t{% block ticketsTabW %}
  4351. \t\t\t\t\t\t\t\t\t<div class=\"row\">
  4352. \t\t\t\t\t\t\t\t\t\t<div class=\"col-12 overflow_a\">
  4353. \t\t\t\t\t\t\t\t\t\t\t<table class=\"table table-bordered table-hover font_12\">
  4354. \t\t\t\t\t\t\t\t\t\t\t\t<thead>
  4355. \t\t\t\t\t\t\t\t\t\t\t\t\t<tr>
  4356. \t\t\t\t\t\t\t\t\t\t\t\t\t\t<form method=\"get\" action=\"{{ path ('user_ticket_list') }}\">
  4357. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td class=\"td_action\"><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_red\" src=\"{{ asset (icon_delete) }}\"></a></td>
  4358. \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=\"number\" value=\"{{ filters.number|default() }}\"/></td>
  4359. \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=\"termid\" value=\"{{ filters.termid|default() }}\"/></td>
  4360. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% if global_company.actualCompany.tagTicketActive %}<td><input type=\"text\" class=\"form-control\" id=\"filter_tag_value_{{ number }}\" readonly onClick=\"filterTags{{ number }}()\" data-bs-toggle=\"tooltip\"/><input type=\"hidden\" id=\"filter_tag_id_{{ number }}\" name=\"tag\" value=\"{{ filters.tag|default() }}\"/></td>{% endif %}
  4361. \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=\"client\" value=\"{{ filters.client|default() }}\"/></td>
  4362. \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=\"operation\" value=\"{{ filters.operation|default() }}\"/></td>
  4363. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td><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\" value=\"{{ filters.supplier|default() }}\"/></td>
  4364. \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=\"tariff\" value=\"{{ filters.tariff|default() }}\"/></td>
  4365. \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=\"city\" value=\"{{ filters.city|default() }}\"/></td>
  4366. \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=\"province\" value=\"{{ filters.province|default() }}\"/></td>
  4367. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% if tab != 'toAssign' %}
  4368. \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\" value=\"{{ filters.technician|default() }}\"/></td>
  4369. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% endif %}
  4370. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td><input type=\"text\" class=\"form-control daterange daterange1 font_12\" inputmode=\"search\" autocomplete=\"off\" name=\"datetimeStart\" style=\"height: 38px\" date-filter=\"range\"/></td>
  4371. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% if tab != 'closed' and tab != 'closedPortal' %}
  4372. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td><input type=\"text\" class=\"form-control daterange daterange2 font_12\" inputmode=\"search\" autocomplete=\"off\" name=\"datetimeExpiration\" style=\"height: 38px\" date-filter=\"range\"/></td>
  4373. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% else %}
  4374. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td><input type=\"text\" class=\"form-control daterange daterange3 font_12\" inputmode=\"search\" autocomplete=\"off\" name=\"datetimeEnd\" style=\"height: 38px\" date-filter=\"range\"/></td>
  4375. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% endif %}
  4376. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td 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>
  4377. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<input type=\"hidden\" name=\"filter_tab\" value=\"{{ tabOpenValue }}\">
  4378. \t\t\t\t\t\t\t\t\t\t\t\t\t\t</form>
  4379. \t\t\t\t\t\t\t\t\t\t\t\t\t</tr>
  4380. \t\t\t\t\t\t\t\t\t\t\t\t\t<tr class=\"bg_pr color_w\">
  4381. \t\t\t\t\t\t\t\t\t\t\t\t\t\t<th class=\"td_w_40p txt_a_c\">Stato</th>
  4382. \t\t\t\t\t\t\t\t\t\t\t\t\t\t<th class=\"td_w_120p\">N°</th>
  4383. \t\t\t\t\t\t\t\t\t\t\t\t\t\t<th class=\"td_w_120p\">Termid</th>
  4384. \t\t\t\t\t\t\t\t\t\t\t\t\t\t{% if global_company.actualCompany.tagTicketActive %}<th class=\"td_w_100p\">Tag</th>{% endif %}
  4385. \t\t\t\t\t\t\t\t\t\t\t\t\t\t<th class=\"td_w_150p\">Cliente</th>
  4386. \t\t\t\t\t\t\t\t\t\t\t\t\t\t<th class=\"td_w_150p\">Operazione</th>
  4387. \t\t\t\t\t\t\t\t\t\t\t\t\t\t<th class=\"td_w_150p\">Fornitore</th>
  4388. \t\t\t\t\t\t\t\t\t\t\t\t\t\t<th class=\"td_w_130p\">Tariffa</th>
  4389. \t\t\t\t\t\t\t\t\t\t\t\t\t\t<th class=\"td_w_130p\">Città</th>
  4390. \t\t\t\t\t\t\t\t\t\t\t\t\t\t<th class=\"td_w_70p txt_a_c\">Prov</th>
  4391. \t\t\t\t\t\t\t\t\t\t\t\t\t\t{% if tab != 'toAssign' %}
  4392. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<th class=\"td_w_150p\">Tecnico</th>
  4393. \t\t\t\t\t\t\t\t\t\t\t\t\t\t{% endif %}
  4394. \t\t\t\t\t\t\t\t\t\t\t\t\t\t<th class=\"td_w_130p txt_a_c\">Data/Ora ricezione</th>
  4395. \t\t\t\t\t\t\t\t\t\t\t\t\t\t{% if tab != 'closed' and tab != 'closedPortal' %}
  4396. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<th class=\"td_w_130p txt_a_c\">Data/Ora scadenza</th>
  4397. \t\t\t\t\t\t\t\t\t\t\t\t\t\t{% else %}
  4398. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<th class=\"td_w_130p txt_a_c\">Data/Ora chiusura</th>
  4399. \t\t\t\t\t\t\t\t\t\t\t\t\t\t{% endif %}
  4400. \t\t\t\t\t\t\t\t\t\t\t\t\t\t<th class=\"td_w_50p txt_a_c\">Note</th>
  4401. \t\t\t\t\t\t\t\t\t\t\t\t\t\t<th></th>
  4402. \t\t\t\t\t\t\t\t\t\t\t\t\t</tr>
  4403. \t\t\t\t\t\t\t\t\t\t\t\t</thead>
  4404. \t\t\t\t\t\t\t\t\t\t\t\t<tbody>
  4405. \t\t\t\t\t\t\t\t\t\t\t\t\t{% if tickets|length > 0 %}
  4406. \t\t\t\t\t\t\t\t\t\t\t\t\t\t{% for ticket in tickets %}
  4407. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<tr>
  4408. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td class=\"txt_a_c\">{{ ticket.displayStatus('icon', settingProcessedActive)|raw }}</td>
  4409. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td id=\"ticket_number_{{ ticket.id }}\">{{ ticket.number }}</td>
  4410. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td id=\"ticket_termid_{{ ticket.id }}\">{{ ticket.termid }}</td>
  4411. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% if global_company.actualCompany.tagTicketActive %}<td id=\"ticket_tags_{{ ticket.id }}\">{{ ticket.displayTags('icon')|raw }}</td>{% endif %}
  4412. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td id=\"ticket_client_{{ ticket.id }}\">{{ ticket.client }}</td>
  4413. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td id=\"ticket_operation_{{ ticket.id }}\">{{ ticket.operation.value }}</td>
  4414. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td id=\"ticket_supplier_{{ ticket.id }}\">{{ ticket.supplier }}</td>
  4415. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td id=\"ticket_tariff_{{ ticket.id }}\">{{ ticket.operationTariffAmount.value|default() }}</td>
  4416. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td>{% if ticket.idCity != null %}{{ ticket.idCity|translate_city_only }}{% endif %}</td>
  4417. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td class=\"txt_a_c\">{% if ticket.idProvince != null %}{{ ticket.idProvince|translate_province_sign }}{% endif %}</td>
  4418. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% if tab != 'toAssign' %}
  4419. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td>{{ ticket.technician }}</td>
  4420. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% endif %}
  4421. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td class=\"txt_a_c\">{% if ticket.datetimeStart != null %}{{ ticket.datetimeStart|date('d-m-Y H:i') }}{% else %}---{% endif %}</td>
  4422. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% if tab != 'closed' and tab != 'closedPortal' %}
  4423. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td class=\"txt_a_c\">{% if ticket.datetimeExpiration != null %}{{ ticket.datetimeExpiration|date('d-m-Y H:i') }}{% else %}---{% endif %}</td>
  4424. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% else %}
  4425. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td class=\"txt_a_c\">{% if ticket.datetimeEnd != null %}{{ ticket.datetimeEnd|date('d-m-Y H:i') }}{% else %}---{% endif %}</td>
  4426. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% endif %}
  4427. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td class=\"td_action\"><a href=\"javascript: showNotes({{ ticket.id }})\"><img class=\"icon_pr\" data-bs-toggle=\"tooltip\" title=\"Mostra note\" src=\"{{ asset(icon_notes) }}\"></a></td>
  4428. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td class=\"td_action\"><a href=\"{{ path ('user_ticket_sheet', {'ticketId':ticket.id}) }}\"><img class=\"icon_pr\" data-bs-toggle=\"tooltip\" title=\"Scheda\" src=\"{{ asset(icon_sheet) }}\"></a></td>
  4429. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</tr>
  4430. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<input type=\"hidden\" id=\"ticket_anomaly_{{ ticket.id }}\" value=\"{{ ticket.displayJsonReportValueByColumn('Anomalia') }}\">
  4431. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<input type=\"hidden\" id=\"ticket_client_notes_{{ ticket.id }}\" value=\"{% if ticket.client != null %}{{ ticket.client.notes }}{% endif %}\">
  4432. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<input type=\"hidden\" id=\"ticket_client_time_{{ ticket.id }}\" value=\"{% if ticket.client != null %}Orari apertura: {{ ticket.client.openings }} / Chiusure: {{ ticket.client.closures }}{% endif %}\">
  4433. \t\t\t\t\t\t\t\t\t\t\t\t\t\t{% endfor %}
  4434. \t\t\t\t\t\t\t\t\t\t\t\t\t{% else %}
  4435. \t\t\t\t\t\t\t\t\t\t\t\t\t\t{% include 'components/twig/notice_filter_no_match.html.twig' with {'colspan':'100%'} %}
  4436. \t\t\t\t\t\t\t\t\t\t\t\t\t{% endif %}
  4437. \t\t\t\t\t\t\t\t\t\t\t\t</tbody>
  4438. \t\t\t\t\t\t\t\t\t\t\t</table>
  4439. \t\t\t\t\t\t\t\t\t\t</div>
  4440. \t\t\t\t\t\t\t\t\t\t<div class=\"col-12 navigation txt_a_r\">
  4441. \t\t\t\t\t\t\t\t\t\t\t{{ knp_pagination_render(tickets) }}
  4442. \t\t\t\t\t\t\t\t\t\t</div>
  4443. \t\t\t\t\t\t\t\t\t</div>
  4444. \t\t\t\t\t\t\t\t{% endblock %}
  4445. \t\t\t\t\t\t\t</div>
  4446. \t\t\t\t\t\t\t{# Assigned #}
  4447. \t\t\t\t\t\t\t<div class=\"tab-content clearfix\" id=\"assigned\">
  4448. \t\t\t\t\t\t\t\t{% set tickets = assignedTickets %}
  4449. \t\t\t\t\t\t\t\t{% set number = 2 %}
  4450. \t\t\t\t\t\t\t\t{% set hasEmailTakeCharge = true %}
  4451. \t\t\t\t\t\t\t\t{% set tabOpenValue = 'assigned' %}
  4452. \t\t\t\t\t\t\t\t{% set tab = 'assigned' %}
  4453. \t\t\t\t\t\t\t\t{{ block('ticketsTabW') }}
  4454. \t\t\t\t\t\t\t</div>
  4455. \t\t\t\t\t\t\t{# Taken charge #}
  4456. \t\t\t\t\t\t\t<div class=\"tab-content clearfix\" id=\"takenCharge\">
  4457. \t\t\t\t\t\t\t\t{% set tickets = takenChargeTickets %}
  4458. \t\t\t\t\t\t\t\t{% set number = 3 %}
  4459. \t\t\t\t\t\t\t\t{% set hasEmailTakeCharge = false %}
  4460. \t\t\t\t\t\t\t\t{% set tabOpenValue = 'taken_charge' %}
  4461. \t\t\t\t\t\t\t\t{% set tab = 'takenCharge' %}
  4462. \t\t\t\t\t\t\t\t{{ block('ticketsTabW') }}
  4463. \t\t\t\t\t\t\t</div>
  4464. \t\t\t\t\t\t\t{# Suspension request #}
  4465. \t\t\t\t\t\t\t<div class=\"tab-content clearfix\" id=\"suspensionRequest\">
  4466. \t\t\t\t\t\t\t\t{% set tickets = suspensionRequestTickets %}
  4467. \t\t\t\t\t\t\t\t{% set number = 4 %}
  4468. \t\t\t\t\t\t\t\t{% set hasEmailTakeCharge = false %}
  4469. \t\t\t\t\t\t\t\t{% set tabOpenValue = 'suspension_request' %}
  4470. \t\t\t\t\t\t\t\t{% set tab = 'suspensionRequest' %}
  4471. \t\t\t\t\t\t\t\t{{ block('ticketsTabW') }}
  4472. \t\t\t\t\t\t\t</div>
  4473. \t\t\t\t\t\t\t{# Suspended #}
  4474. \t\t\t\t\t\t\t<div class=\"tab-content clearfix\" id=\"suspended\">
  4475. \t\t\t\t\t\t\t\t{% set tickets = suspendedTickets %}
  4476. \t\t\t\t\t\t\t\t{% set number = 5 %}
  4477. \t\t\t\t\t\t\t\t{% set hasEmailTakeCharge = false %}
  4478. \t\t\t\t\t\t\t\t{% set tabOpenValue = 'suspended' %}
  4479. \t\t\t\t\t\t\t\t{% set tab = 'suspended' %}
  4480. \t\t\t\t\t\t\t\t{{ block('ticketsTabW') }}
  4481. \t\t\t\t\t\t\t</div>
  4482. \t\t\t\t\t\t\t{# Closed #}
  4483. \t\t\t\t\t\t\t<div class=\"tab-content clearfix\" id=\"closed\">
  4484. \t\t\t\t\t\t\t\t{% set tickets = closedTickets %}
  4485. \t\t\t\t\t\t\t\t{% set number = 6 %}
  4486. \t\t\t\t\t\t\t\t{% set hasEmailTakeCharge = false %}
  4487. \t\t\t\t\t\t\t\t{% set tabOpenValue = 'closed' %}
  4488. \t\t\t\t\t\t\t\t{% set tab = 'closed' %}
  4489. \t\t\t\t\t\t\t\t{{ block('ticketsTabW') }}
  4490. \t\t\t\t\t\t\t</div>
  4491. \t\t\t\t\t\t\t{# Closed on portal #}
  4492. \t\t\t\t\t\t\t<div class=\"tab-content clearfix\" id=\"closedPortal\">
  4493. \t\t\t\t\t\t\t\t{% set tickets = closedPortalTickets %}
  4494. \t\t\t\t\t\t\t\t{% set number = 7 %}
  4495. \t\t\t\t\t\t\t\t{% set hasEmailTakeCharge = false %}
  4496. \t\t\t\t\t\t\t\t{% set tabOpenValue = 'closed_on_portal' %}
  4497. \t\t\t\t\t\t\t\t{% set tab = 'closedPortal' %}
  4498. \t\t\t\t\t\t\t\t{{ block('ticketsTabW') }}
  4499. \t\t\t\t\t\t\t</div>
  4500. \t\t\t\t\t\t\t{# Canceled #}
  4501. \t\t\t\t\t\t\t<div class=\"tab-content clearfix\" id=\"canceled\">
  4502. \t\t\t\t\t\t\t\t{% set tickets = canceledTickets %}
  4503. \t\t\t\t\t\t\t\t{% set number = 8 %}
  4504. \t\t\t\t\t\t\t\t{% set hasEmailTakeCharge = false %}
  4505. \t\t\t\t\t\t\t\t{% set tabOpenValue = 'canceled' %}
  4506. \t\t\t\t\t\t\t\t{% set tab = 'canceled' %}
  4507. \t\t\t\t\t\t\t\t{{ block('ticketsTabW') }}
  4508. \t\t\t\t\t\t\t</div>
  4509. \t\t\t\t\t\t\t{# Wrong #}
  4510. \t\t\t\t\t\t\t<div class=\"tab-content clearfix\" id=\"wrong\">
  4511. \t\t\t\t\t\t\t\t{% set tickets = wrongTickets %}
  4512. \t\t\t\t\t\t\t\t{% set number = 9 %}
  4513. \t\t\t\t\t\t\t\t{% set hasEmailTakeCharge = false %}
  4514. \t\t\t\t\t\t\t\t{% set tabOpenValue = 'wrong' %}
  4515. \t\t\t\t\t\t\t\t{% set tab = 'wrong' %}
  4516. \t\t\t\t\t\t\t\t{{ block('ticketsTabW') }}
  4517. \t\t\t\t\t\t\t</div>
  4518. \t\t\t\t\t\t</div>
  4519. \t\t\t\t\t</div>
  4520. \t\t\t\t</div>
  4521. \t\t\t{% elseif app.user.getAccountTypology == 'technician' %}
  4522. \t\t\t\t{# Tecnici #}
  4523. \t\t\t\t<div class=\"col-12\">
  4524. \t\t\t\t\t<div class=\"tabs clearfix\">
  4525. \t\t\t\t\t\t<ul class=\"tab-nav clearfix\">
  4526. \t\t\t\t\t\t\t<li>
  4527. \t\t\t\t\t\t\t\t<a id=\"btn_tab_assigned\" href=\"#assigned\" class=\"tab_session\" data-filterTab=\"assigned\">
  4528. \t\t\t\t\t\t\t\t\t<span class=\"d-block d-lg-none\"><i class=\"icon-tag\" data-bs-toggle=\"tooltip\" title=\"Assegnati\"></i><span class=\"font_16\">({{ assignedTickets.getTotalItemCount }})</span></span>
  4529. \t\t\t\t\t\t\t\t\t<span class=\"d-none d-lg-block\">Assegnati ({{ assignedTickets.getTotalItemCount }})</span>
  4530. \t\t\t\t\t\t\t\t</a>
  4531. \t\t\t\t\t\t\t</li>
  4532. \t\t\t\t\t\t\t<li>
  4533. \t\t\t\t\t\t\t\t<a id=\"btn_tab_taken_charge\" href=\"#takenCharge\" class=\"tab_session\" data-filterTab=\"taken_charge\">
  4534. \t\t\t\t\t\t\t\t\t<span class=\"d-block d-lg-none\"><i class=\"icon-cog\" data-bs-toggle=\"tooltip\" title=\"Presi in carico\"></i><span class=\"font_16\">({{ takenChargeTickets.getTotalItemCount }})</span></span>
  4535. \t\t\t\t\t\t\t\t\t<span class=\"d-none d-lg-block\">Presi in carico ({{ takenChargeTickets.getTotalItemCount }})</span>
  4536. \t\t\t\t\t\t\t\t</a>
  4537. \t\t\t\t\t\t\t</li>
  4538. \t\t\t\t\t\t\t<li>
  4539. \t\t\t\t\t\t\t\t<a id=\"btn_tab_suspension_request\" href=\"#suspensionRequest\" class=\"tab_session\" data-filterTab=\"suspension_request\">
  4540. \t\t\t\t\t\t\t\t\t<span class=\"d-block d-lg-none\"><i class=\"icon-clock\" data-bs-toggle=\"tooltip\" title=\"Richiesta sospensione\"></i><span class=\"font_16\">({{ suspensionRequestTickets.getTotalItemCount }})</span></span>
  4541. \t\t\t\t\t\t\t\t\t<span class=\"d-none d-lg-block\">Richiesta sospensione ({{ suspensionRequestTickets.getTotalItemCount }})</span>
  4542. \t\t\t\t\t\t\t\t</a>
  4543. \t\t\t\t\t\t\t</li>
  4544. \t\t\t\t\t\t\t<li>
  4545. \t\t\t\t\t\t\t\t<a id=\"btn_tab_suspended\" href=\"#suspended\" class=\"tab_session\" data-filterTab=\"suspended\">
  4546. \t\t\t\t\t\t\t\t\t<span class=\"d-block d-lg-none\"><i class=\"icon-clock\" data-bs-toggle=\"tooltip\" title=\"Sospesi\"></i><span class=\"font_16\">({{ suspendedTickets.getTotalItemCount }})</span></span>
  4547. \t\t\t\t\t\t\t\t\t<span class=\"d-none d-lg-block\">Sospesi ({{ suspendedTickets.getTotalItemCount }})</span>
  4548. \t\t\t\t\t\t\t\t</a>
  4549. \t\t\t\t\t\t\t</li>
  4550. \t\t\t\t\t\t\t<li>
  4551. \t\t\t\t\t\t\t\t<a id=\"btn_tab_closed\" href=\"#closed\" class=\"tab_session\" data-filterTab=\"closed\">
  4552. \t\t\t\t\t\t\t\t\t<span class=\"d-block d-lg-none\"><i class=\"icon-check\" data-bs-toggle=\"tooltip\" title=\"Chiusi\"></i><span class=\"font_16\">({{ closedTickets.getTotalItemCount }})</span></span>
  4553. \t\t\t\t\t\t\t\t\t<span class=\"d-none d-lg-block\">Chiusi ({{ closedTickets.getTotalItemCount }})</span>
  4554. \t\t\t\t\t\t\t\t</a>
  4555. \t\t\t\t\t\t\t</li>
  4556. \t\t\t\t\t\t\t<li>
  4557. \t\t\t\t\t\t\t\t<a id=\"btn_tab_closed_portal\" href=\"#closedPortal\" class=\"tab_session\" data-filterTab=\"closed_portal\">
  4558. \t\t\t\t\t\t\t\t\t<span class=\"d-block d-lg-none\"><i class=\"icon-checkmark\" data-bs-toggle=\"tooltip\" title=\"Chiusi su fornitore\"></i><span class=\"font_16\">({{ closedPortalTickets.getTotalItemCount }})</span></span>
  4559. \t\t\t\t\t\t\t\t\t<span class=\"d-none d-lg-block\">Chiusi su fornitore ({{ closedPortalTickets.getTotalItemCount }})</span>
  4560. \t\t\t\t\t\t\t\t</a>
  4561. \t\t\t\t\t\t\t</li>
  4562. \t\t\t\t\t\t\t<li>
  4563. \t\t\t\t\t\t\t\t<a id=\"btn_tab_canceled\" href=\"#canceled\" class=\"tab_session\" data-filterTab=\"canceled\">
  4564. \t\t\t\t\t\t\t\t\t<span class=\"d-block d-lg-none\"><i class=\"icon-remove-sign\" data-bs-toggle=\"tooltip\" title=\"Annullati\"></i><span class=\"font_16\">({{ canceledTickets.getTotalItemCount }})</span></span>
  4565. \t\t\t\t\t\t\t\t\t<span class=\"d-none d-lg-block\">Annullati ({{ canceledTickets.getTotalItemCount }})</span>
  4566. \t\t\t\t\t\t\t\t</a>
  4567. \t\t\t\t\t\t\t</li>
  4568. \t\t\t\t\t\t</ul>
  4569. \t\t\t\t\t\t<div class=\"tab-container\">
  4570. \t\t\t\t\t\t\t{# Assigned #}
  4571. \t\t\t\t\t\t\t<div class=\"tab-content clearfix\" id=\"assigned\">
  4572. \t\t\t\t\t\t\t\t{% set tickets = assignedTickets %}
  4573. \t\t\t\t\t\t\t\t{% set multipleSelection = [true, 11, ['print']] %}
  4574. \t\t\t\t\t\t\t\t{% set hasTakeOnCharge = true %}
  4575. \t\t\t\t\t\t\t\t{% set tabOpenValue = 'assigned' %}
  4576. \t\t\t\t\t\t\t\t{% block ticketsTab2 %}
  4577. \t\t\t\t\t\t\t\t\t<div class=\"row\">
  4578. \t\t\t\t\t\t\t\t\t\t<div class=\"col-12\">
  4579. \t\t\t\t\t\t\t\t\t\t\t{% if multipleSelection[0] %}
  4580. \t\t\t\t\t\t\t\t\t\t\t\t{% if 'print' in multipleSelection[2] %}<a id=\"button_{{ multipleSelection[1] }}_print\" href=\"javascript: void(0)\" class=\"button button-3d button-mini button-grey f_right m_b_10p\">Stampa</a>{% endif %}
  4581. \t\t\t\t\t\t\t\t\t\t\t\t{% if 'suspend_end' in multipleSelection[2] and settingTechUnlockSuspension.value %}<a id=\"button_{{ multipleSelection[1] }}_suspend_end\" href=\"javascript: void(0)\" class=\"button button-3d button-mini button-grey f_right m_b_10p\">Sblocca sospensione</a>{% endif %}
  4582. \t\t\t\t\t\t\t\t\t\t\t{% endif %}
  4583. \t\t\t\t\t\t\t\t\t\t\t{% if hasTakeOnCharge %}<a href=\"javascript: ticketsTakeCharge()\" class=\"button button-3d button-mini button-green f_right m_b_10p\">Prendi in carico</a>{% endif %}
  4584. \t\t\t\t\t\t\t\t\t\t</div>
  4585. \t\t\t\t\t\t\t\t\t\t<div class=\"col-12 overflow_a\">
  4586. \t\t\t\t\t\t\t\t\t\t\t<table class=\"table table-bordered table-hover\">
  4587. \t\t\t\t\t\t\t\t\t\t\t\t<thead>
  4588. \t\t\t\t\t\t\t\t\t\t\t\t\t<tr>
  4589. \t\t\t\t\t\t\t\t\t\t\t\t\t\t<form method=\"get\" action=\"{{ path ('user_ticket_list') }}\">
  4590. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td class=\"td_action\"><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_red\" src=\"{{ asset (icon_delete) }}\"></a></td>
  4591. \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=\"all\" value=\"{{ filters.all|default() }}\"/></td>
  4592. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td 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>
  4593. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<input type=\"hidden\" name=\"filter_tab\" value=\"{{ tabOpenValue }}\">
  4594. \t\t\t\t\t\t\t\t\t\t\t\t\t\t</form>
  4595. \t\t\t\t\t\t\t\t\t\t\t\t\t</tr>
  4596. \t\t\t\t\t\t\t\t\t\t\t\t\t<tr class=\"bg_pr color_w\">
  4597. \t\t\t\t\t\t\t\t\t\t\t\t\t\t{% if multipleSelection[0] %}
  4598. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<th>
  4599. \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\">
  4600. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<input id=\"ticket_{{ multipleSelection[1] }}_all_checkboxes\" class=\"switch-toggle switch-flat-mini switch-toggle-flat\" type=\"checkbox\" onChange=\"javascript: selectAll({{ multipleSelection[1] }})\">
  4601. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<label for=\"ticket_{{ multipleSelection[1] }}_all_checkboxes\" class=\"m_b_none\"></label>
  4602. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</div>
  4603. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</th>
  4604. \t\t\t\t\t\t\t\t\t\t\t\t\t\t{% endif %}
  4605. \t\t\t\t\t\t\t\t\t\t\t\t\t\t<th colspan=\"3\"></th>
  4606. \t\t\t\t\t\t\t\t\t\t\t\t\t</tr>
  4607. \t\t\t\t\t\t\t\t\t\t\t\t</thead>
  4608. \t\t\t\t\t\t\t\t\t\t\t\t<tbody>
  4609. \t\t\t\t\t\t\t\t\t\t\t\t\t{% if tickets|length > 0 %}
  4610. \t\t\t\t\t\t\t\t\t\t\t\t\t\t{% for ticket in tickets %}
  4611. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% set ticketBg = \"\" %}
  4612. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% set ticketTitle = \"\" %}
  4613. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% if tabOpenValue != 'closed' and tabOpenValue != 'canceled' %}
  4614. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% if ticket.datetimeExpiration != null %}
  4615. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% if \"now\"|date('YmdHi') > ticket.datetimeExpiration|date('YmdHi') %}
  4616. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% set ticketBg = \"bg_r_m_h\" %}
  4617. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% set ticketTitle = \"Scaduto\" %}
  4618. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% elseif \"now\"|date('YmdHi') > ticket.datetimeExpiration|date_modify(\"-1 day\")|date('YmdHi') %}
  4619. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% set ticketBg = \"bg_r_m\" %}
  4620. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% set ticketTitle = \"Scade in un giorno\" %}
  4621. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% elseif \"now\"|date('YmdHi') > ticket.datetimeExpiration|date_modify(\"-2 day\")|date('YmdHi') %}
  4622. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% set ticketBg = \"bg_r_l_m\" %}
  4623. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% set ticketTitle = \"Scade in due giorni\" %}
  4624. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% endif %}
  4625. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% endif %}
  4626. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% endif %}
  4627. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<tr class=\"{{ ticketBg }}\" data-bs-toggle=\"tooltip\" title=\"{{ ticketTitle }}\">
  4628. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% if multipleSelection[0] %}
  4629. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td class=\"td_action\">
  4630. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"switch\">
  4631. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<input id=\"ticket_checkbox_{{ ticket.id }}\" class=\"switch-toggle switch-flat-mini switch-toggle-flat ticket_{{ multipleSelection[1] }}_checkbox\" type=\"checkbox\" value=\"{{ ticket.id }}\" onChange=\"javascript: updateButtons({{ multipleSelection[1] }})\">
  4632. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<label for=\"ticket_checkbox_{{ ticket.id }}\" class=\"m_b_none\"></label>
  4633. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</div>
  4634. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</td>
  4635. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% endif %}
  4636. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td colspan=\"2\">
  4637. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<a href=\"{{ path ('user_ticket_sheet', {'ticketId':ticket.id}) }}\">
  4638. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<table class=\"table table_no_padding m_b_none b_none font_12\">
  4639. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<tr><td><b>Stato</b>: {{ ticket.displayStatus('string', settingProcessedActive)|raw }}</td></tr>
  4640. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<tr><td><b>N°</b>: <span id=\"ticket_number_{{ ticket.id }}\">{{ ticket.number }}</span></td></tr>
  4641. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<tr><td><b>Termid</b>: <span id=\"ticket_termid_{{ ticket.id }}\">{{ ticket.termid }}</span></td></tr>
  4642. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% if global_company.actualCompany.tagTicketActive %}<tr><td><b>Tag</b>: <span id=\"ticket_tags_{{ ticket.id }}\">{{ ticket.displayTags('icon')|raw }}</span></td></tr>{% endif %}
  4643. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<tr><td><b>Indirizzo</b>: {% include 'components/twig/display_address.html.twig' with {'type':'ticket', 'obj':ticket} %}</td></tr>
  4644. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<tr><td><b>Cliente</b>: <span id=\"ticket_client_{{ ticket.id }}\">{{ ticket.client }}</span></td></tr>
  4645. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<tr><td><b>Cliente - Indirizzo</b>: {% if ticket.client != null %}{% include 'components/twig/display_address.html.twig' with {'type':'client', 'obj':ticket.client} %}{% else %}---{% endif %}</td></tr>
  4646. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<tr><td><b>Operazione</b>: <span id=\"ticket_operation_{{ ticket.id }}\">{{ ticket.operation }} {% if ticket.operation.getKeyValueByValue('Dettagli operazione') and ticket.displayJsonValueByColumn(ticket.operation.getKeyValueByValue('Dettagli operazione')) != null %}<i>({{ ticket.displayJsonValueByColumn(ticket.operation.getKeyValueByValue('Dettagli operazione')) }})</i>{% endif %}</span></td></tr>
  4647. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<tr><td><b>Fornitore</b>: <span id=\"ticket_supplier_{{ ticket.id }}\">{{ ticket.supplier }} {% if ticket.displayJsonValueByColumn('SLOT') != null %}<i>({{ ticket.displayJsonValueByColumn('SLOT') }})</i>{% endif %}</span></td></tr>
  4648. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<tr><td><b>Scadenza</b>: {% if ticket.datetimeExpiration != null %}{{ ticket.datetimeExpiration|date('d-m-Y H:i') }}{% else %}---{% endif %}</td></tr>
  4649. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<tr><td><b>ABI</b>: {% if ticket.displayJsonValueByColumn(ticket.operation.getKeyValueByValue('ABI')) %}{{ ticket.displayJsonValueByColumn(ticket.operation.getKeyValueByValue('ABI')) }}{% else %}---{% endif %}</td></tr>
  4650. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<tr><td><b>Risorsa</b>: {% if ticket.displayJsonValueByColumn(ticket.operation.getKeyValueByValue('Risorsa')) %}{{ ticket.displayJsonValueByColumn(ticket.operation.getKeyValueByValue('Risorsa')) }}{% else %}---{% endif %}</td></tr>
  4651. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<tr><td><b>Risorsa upgrade</b>: {% if ticket.displayJsonValueByColumn(ticket.operation.getKeyValueByValue('Risorsa upgrade')) %}{{ ticket.displayJsonValueByColumn(ticket.operation.getKeyValueByValue('Risorsa upgrade')) }}{% else %}---{% endif %}</td></tr>
  4652. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</table>
  4653. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</a>
  4654. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</td>
  4655. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</tr>
  4656. \t\t\t\t\t\t\t\t\t\t\t\t\t\t{% endfor %}
  4657. \t\t\t\t\t\t\t\t\t\t\t\t\t{% else %}
  4658. \t\t\t\t\t\t\t\t\t\t\t\t\t\t{% include 'components/twig/notice_filter_no_match.html.twig' %}
  4659. \t\t\t\t\t\t\t\t\t\t\t\t\t{% endif %}
  4660. \t\t\t\t\t\t\t\t\t\t\t\t</tbody>
  4661. \t\t\t\t\t\t\t\t\t\t\t</table>
  4662. \t\t\t\t\t\t\t\t\t\t</div>
  4663. \t\t\t\t\t\t\t\t\t\t<div class=\"col-12 navigation txt_a_r\">
  4664. \t\t\t\t\t\t\t\t\t\t\t{{ knp_pagination_render(tickets) }}
  4665. \t\t\t\t\t\t\t\t\t\t</div>
  4666. \t\t\t\t\t\t\t\t\t</div>
  4667. \t\t\t\t\t\t\t\t{% endblock %}
  4668. \t\t\t\t\t\t\t</div>
  4669. \t\t\t\t\t\t\t{# Taken charge #}
  4670. \t\t\t\t\t\t\t<div class=\"tab-content clearfix\" id=\"takenCharge\">
  4671. \t\t\t\t\t\t\t\t{% set tickets = takenChargeTickets %}
  4672. \t\t\t\t\t\t\t\t{% set multipleSelection = [true, 12, ['print']] %}
  4673. \t\t\t\t\t\t\t\t{% set hasTakeOnCharge = false %}
  4674. \t\t\t\t\t\t\t\t{% set tabOpenValue = 'taken_charge' %}
  4675. \t\t\t\t\t\t\t\t{{ block('ticketsTab2') }}
  4676. \t\t\t\t\t\t\t</div>
  4677. \t\t\t\t\t\t\t{# Suspension request #}
  4678. \t\t\t\t\t\t\t<div class=\"tab-content clearfix\" id=\"suspensionRequest\">
  4679. \t\t\t\t\t\t\t\t{% set tickets = suspensionRequestTickets %}
  4680. \t\t\t\t\t\t\t\t{% set multipleSelection = [false, 13, null] %}
  4681. \t\t\t\t\t\t\t\t{% set hasTakeOnCharge = false %}
  4682. \t\t\t\t\t\t\t\t{% set tabOpenValue = 'suspension_request' %}
  4683. \t\t\t\t\t\t\t\t{{ block('ticketsTab2') }}
  4684. \t\t\t\t\t\t\t</div>
  4685. \t\t\t\t\t\t\t{# Suspended #}
  4686. \t\t\t\t\t\t\t<div class=\"tab-content clearfix\" id=\"suspended\">
  4687. \t\t\t\t\t\t\t\t{% set tickets = suspendedTickets %}
  4688. \t\t\t\t\t\t\t\t{% set multipleSelection = [true, 14, ['print', 'suspend_end']] %}
  4689. \t\t\t\t\t\t\t\t{% set hasTakeOnCharge = false %}
  4690. \t\t\t\t\t\t\t\t{% set tabOpenValue = 'suspended' %}
  4691. \t\t\t\t\t\t\t\t{{ block('ticketsTab2') }}
  4692. \t\t\t\t\t\t\t</div>
  4693. \t\t\t\t\t\t\t{# Closed #}
  4694. \t\t\t\t\t\t\t<div class=\"tab-content clearfix\" id=\"closed\">
  4695. \t\t\t\t\t\t\t\t{% set tickets = closedTickets %}
  4696. \t\t\t\t\t\t\t\t{% set multipleSelection = [false, 15, null] %}
  4697. \t\t\t\t\t\t\t\t{% set hasTakeOnCharge = false %}
  4698. \t\t\t\t\t\t\t\t{% set tabOpenValue = 'closed' %}
  4699. \t\t\t\t\t\t\t\t{{ block('ticketsTab2') }}
  4700. \t\t\t\t\t\t\t</div>
  4701. \t\t\t\t\t\t\t{# Closed portal #}
  4702. \t\t\t\t\t\t\t<div class=\"tab-content clearfix\" id=\"closedPortal\">
  4703. \t\t\t\t\t\t\t\t{% set tickets = closedPortalTickets %}
  4704. \t\t\t\t\t\t\t\t{% set multipleSelection = [false, 16, null] %}
  4705. \t\t\t\t\t\t\t\t{% set hasTakeOnCharge = false %}
  4706. \t\t\t\t\t\t\t\t{% set tabOpenValue = 'closed_portal' %}
  4707. \t\t\t\t\t\t\t\t{{ block('ticketsTab2') }}
  4708. \t\t\t\t\t\t\t</div>
  4709. \t\t\t\t\t\t\t{# Canceled #}
  4710. \t\t\t\t\t\t\t<div class=\"tab-content clearfix\" id=\"canceled\">
  4711. \t\t\t\t\t\t\t\t{% set tickets = canceledTickets %}
  4712. \t\t\t\t\t\t\t\t{% set multipleSelection = [false, 17, null] %}
  4713. \t\t\t\t\t\t\t\t{% set hasTakeOnCharge = false %}
  4714. \t\t\t\t\t\t\t\t{% set tabOpenValue = 'canceled' %}
  4715. \t\t\t\t\t\t\t\t{{ block('ticketsTab2') }}
  4716. \t\t\t\t\t\t\t</div>
  4717. \t\t\t\t\t\t</div>
  4718. \t\t\t\t\t</div>
  4719. \t\t\t\t</div>
  4720. \t\t\t{% endif %}
  4721. \t\t</div>
  4722. \t</section>
  4723. \t<div id=\"multipleModal\" class=\"modal fade\" tabindex=\"-1\" role=\"dialog\">
  4724. \t\t<div class=\"modal-dialog modal-lg\" role=\"document\">
  4725. \t\t\t<div class=\"modal-content\">
  4726. \t\t\t\t<form action=\"{{ path ('user_ticket_multiple_select_action') }}\" method=\"post\">
  4727. \t\t\t\t\t<div class=\"modal-header\"><h3 class=\"modal-title\">Ticket - Selezione multipla</h3></div>
  4728. \t\t\t\t\t<div class=\"modal-body\">
  4729. \t\t\t\t\t\t<div class=\"row\">
  4730. \t\t\t\t\t\t\t<div class=\"col-12 txt_a_c\">
  4731. \t\t\t\t\t\t\t\t<label class=\"modal_subtitle\">Attenzione!</label><br>
  4732. \t\t\t\t\t\t\t\t<label class=\"l_s_none m_b_none f_left\">Ticket selezionati:</label>
  4733. \t\t\t\t\t\t\t\t<table class=\"table table-sm font_12 b_none txt_a_l\" id=\"tableTickets\"></table>
  4734. \t\t\t\t\t\t\t\t<div id=\"divSuspendEnd\" class=\"display_n\">
  4735. \t\t\t\t\t\t\t\t\t<label class=\"l_s_none m_b_none f_left\">Motivazione di sblocco:</label>
  4736. \t\t\t\t\t\t\t\t\t<textarea id=\"textareaCausal\" class=\"form-control min_h_150p\" name=\"causal\"></textarea>
  4737. \t\t\t\t\t\t\t\t</div>
  4738. \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> <span id=\"actionLabel\"></span> tutti i ticket sovracitati.</p>
  4739. \t\t\t\t\t\t\t\t<p class=\"modal_paragraph\">Si Ã¨ sicuri di voler proseguire?</p>
  4740. \t\t\t\t\t\t\t</div>
  4741. \t\t\t\t\t\t</div>
  4742. \t\t\t\t\t\t<input type=\"hidden\" id=\"ticketsIds\" name=\"ids\">
  4743. \t\t\t\t\t\t<input type=\"hidden\" id=\"action\" name=\"action\">
  4744. \t\t\t\t\t\t<input type=\"hidden\" id=\"multipleTab\" name=\"tab\">
  4745. \t\t\t\t\t</div>
  4746. \t\t\t\t\t<div class=\"modal-footer\">
  4747. \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>
  4748. \t\t\t\t\t\t<button type=\"submit\" class=\"button button-3d button-mini button-green f_right\" id=\"multipleSubmitBtn\">Conferma</button>
  4749. \t\t\t\t\t</div>
  4750. \t\t\t\t</form>
  4751. \t\t\t</div>
  4752. \t\t</div>
  4753. \t</div>
  4754. \t<div id=\"exportModal\" class=\"modal fade\" tabindex=\"-1\" role=\"dialog\">
  4755. \t\t<div class=\"modal-dialog modal-lg\" role=\"document\">
  4756. \t\t\t<div class=\"modal-content\">
  4757. \t\t\t\t<form action=\"{{ path ('user_ticket_list_export') }}\" method=\"post\" id=\"exportForm\">
  4758. \t\t\t\t\t<div class=\"modal-header\"><h3 class=\"modal-title\">Ticket - Selezione multipla</h3></div>
  4759. \t\t\t\t\t<div class=\"modal-body\">
  4760. \t\t\t\t\t\t<div class=\"row\">
  4761. \t\t\t\t\t\t\t<div class=\"col-12 txt_a_c\">
  4762. \t\t\t\t\t\t\t\t<label class=\"modal_subtitle\">Attenzione!</label><br>
  4763. \t\t\t\t\t\t\t\t<label class=\"l_s_none m_b_none f_left\">Ticket selezionati:</label>
  4764. \t\t\t\t\t\t\t\t<table class=\"table table-sm font_12 b_none txt_a_l\" id=\"exportTableTickets\"></table>
  4765. \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> esporterai in CSV tutti i ticket sovracitati.</p>
  4766. \t\t\t\t\t\t\t\t<p class=\"modal_paragraph\">Si Ã¨ sicuri di voler proseguire?</p>
  4767. \t\t\t\t\t\t\t</div>
  4768. \t\t\t\t\t\t</div>
  4769. \t\t\t\t\t\t<input type=\"hidden\" id=\"exportTicketsIds\" name=\"ids\">
  4770. \t\t\t\t\t</div>
  4771. \t\t\t\t\t<div class=\"modal-footer\">
  4772. \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>
  4773. \t\t\t\t\t\t<button type=\"submit\" class=\"button button-3d button-mini button-green f_right\">Conferma</button>
  4774. \t\t\t\t\t</div>
  4775. \t\t\t\t</form>
  4776. \t\t\t</div>
  4777. \t\t</div>
  4778. \t</div>
  4779. \t<div id=\"notesModal\" class=\"modal fade\" tabindex=\"-1\" role=\"dialog\">
  4780. \t\t<div class=\"modal-dialog modal-md\" role=\"document\">
  4781. \t\t\t<div class=\"modal-content\">
  4782. \t\t\t\t<div class=\"modal-header\"><h3 class=\"modal-title\">Note ticket: <span class=\"color_w\" id=\"notes_number\"></span></h3></div>
  4783. \t\t\t\t<div class=\"modal-body\">
  4784. \t\t\t\t\t<div class=\"row\">
  4785. \t\t\t\t\t\t<div class=\"col-12 m_b_20p\">
  4786. \t\t\t\t\t\t\t<label class=\"l_s_none m_b_none\">Anomalia:</label>
  4787. \t\t\t\t\t\t\t<p class=\"font_14 m_b_none\" id=\"notes_anomaly\"></p>
  4788. \t\t\t\t\t\t</div>
  4789. \t\t\t\t\t\t<div class=\"col-12 m_b_20p\">
  4790. \t\t\t\t\t\t\t<label class=\"l_s_none m_b_none\">Orari cliente:</label>
  4791. \t\t\t\t\t\t\t<p class=\"font_14 m_b_none\" id=\"notes_client_time\"></p>
  4792. \t\t\t\t\t\t</div>
  4793. \t\t\t\t\t\t<div class=\"col-12\">
  4794. \t\t\t\t\t\t\t<label class=\"l_s_none m_b_none\">Note cliente:</label>
  4795. \t\t\t\t\t\t\t<p class=\"font_14 m_b_none\" id=\"notes_client\"></p>
  4796. \t\t\t\t\t\t</div>
  4797. \t\t\t\t\t</div>
  4798. \t\t\t\t</div>
  4799. \t\t\t\t<div class=\"modal-footer txt_a_c\">
  4800. \t\t\t\t\t<a href=\"javascript:void(0)\" class=\"button button-3d button-mini button-red\" data-bs-dismiss=\"modal\">Esci</a>
  4801. \t\t\t\t</div>
  4802. \t\t\t</div>
  4803. \t\t</div>
  4804. \t</div>
  4805. \t{% if app.user.getAccountTypology == 'agency' %}
  4806. \t\t<div id=\"assignTechnicianModal\" class=\"modal fade\" tabindex=\"-1\" role=\"dialog\">
  4807. \t\t\t<div class=\"modal-dialog\" role=\"document\">
  4808. \t\t\t\t<div class=\"modal-content\">
  4809. \t\t\t\t\t{{ form_start(formAssignTechnician, {'attr': {'novalidate': 'novalidate'}}) }} 
  4810. \t\t\t\t\t\t<div class=\"modal-header\"><h3 class=\"modal-title\">Ticket - <span id=\"tech_span\" class=\"color_w\"></span> tecnico</h3></div>
  4811. \t\t\t\t\t\t<div class=\"modal-body\">
  4812. \t\t\t\t\t\t\t<div class=\"row\">
  4813. \t\t\t\t\t\t\t\t<div class=\"col-12 form-group\">
  4814. \t\t\t\t\t\t\t\t\t<label class=\"form_label\">Tecnico (N° ticket: in corso / sospesi)*</label>
  4815. \t\t\t\t\t\t\t\t\t<div {{ form_errors(formAssignTechnician.technician) }}>
  4816. \t\t\t\t\t\t\t\t\t\t{{ form_widget(formAssignTechnician.technician, {'attr':{'class':'form-control form-select'}}) }}
  4817. \t\t\t\t\t\t\t\t\t</div>
  4818. \t\t\t\t\t\t\t\t</div>
  4819. \t\t\t\t\t\t\t</div>
  4820. \t\t\t\t\t\t\t<input type=\"hidden\" id=\"technicianTicketsIds\" name=\"ids\">
  4821. \t\t\t\t\t\t</div>
  4822. \t\t\t\t\t\t<div class=\"modal-footer\">
  4823. \t\t\t\t\t\t\t<a href=\"javascript:void(0)\" class=\"button button-3d button-mini button-red f_left\" data-bs-dismiss=\"modal\">Annulla</a>
  4824. \t\t\t\t\t\t\t<button type=\"submit\" class=\"button button-3d button-mini button-green f_right\" id=\"tech_btn\"></button>
  4825. \t\t\t\t\t\t</div>
  4826. \t\t\t\t\t{{ form_end(formAssignTechnician) }}
  4827. \t\t\t\t</div>
  4828. \t\t\t</div>
  4829. \t\t</div>
  4830. \t\t
  4831. \t\t<div id=\"emailTakeChargeModal\" class=\"modal fade\" tabindex=\"-1\" role=\"dialog\">
  4832. \t\t\t<div class=\"modal-dialog\" role=\"document\">
  4833. \t\t\t\t<div class=\"modal-content\">
  4834. \t\t\t\t\t<form action=\"{{ path ('user_ticket_send_email_take_charge') }}\" method=\"post\">
  4835. \t\t\t\t\t\t<div class=\"modal-header\"><h3 class=\"modal-title\">Ticket - Email di notifica prendi in carico</h3></div>
  4836. \t\t\t\t\t\t<div class=\"modal-body\">
  4837. \t\t\t\t\t\t\t<div class=\"row\">
  4838. \t\t\t\t\t\t\t\t<div class=\"col-12 txt_a_c\">
  4839. \t\t\t\t\t\t\t\t\t<label class=\"modal_subtitle\">Attenzione!</label>
  4840. \t\t\t\t\t\t\t\t\t<p class=\"modal_paragraph\">Cliccando sul bottone <a class='button button-3d button-mini button-green' href='javascript:void(0)'>conferma</a> invierai a tutti i tecnici che hanno dei ticket assegnati ma non presi in carico la notifica.<br>Si Ã¨ sicuri di voler proseguire?</p>
  4841. \t\t\t\t\t\t\t\t</div>
  4842. \t\t\t\t\t\t\t</div>
  4843. \t\t\t\t\t\t</div>
  4844. \t\t\t\t\t\t<div class=\"modal-footer\">
  4845. \t\t\t\t\t\t\t<a href=\"javascript:void(0)\" class=\"button button-3d button-mini button-red f_left\" data-bs-dismiss=\"modal\">Annulla</a>
  4846. \t\t\t\t\t\t\t<button type=\"submit\" class=\"button button-3d button-mini button-green f_right\">Conferma</button>
  4847. \t\t\t\t\t\t</div>
  4848. \t\t\t\t\t</form>
  4849. \t\t\t\t</div>
  4850. \t\t\t</div>
  4851. \t\t</div>
  4852. \t\t
  4853. \t\t<div id=\"suspendTicketsModal\" class=\"modal fade\" tabindex=\"-1\" role=\"dialog\">
  4854. \t\t\t<div class=\"modal-dialog modal-lg\" role=\"document\">
  4855. \t\t\t\t<div class=\"modal-content\">
  4856. \t\t\t\t\t{{ form_start(formSuspension, {'attr': {'novalidate': 'novalidate'}}) }} 
  4857. \t\t\t\t\t\t<div class=\"modal-header\"><h3 class=\"modal-title\">Ticket - Sospendi massivo</h3></div>
  4858. \t\t\t\t\t\t<div class=\"modal-body\">
  4859. \t\t\t\t\t\t\t<input type=\"hidden\" id=\"suspendTicketsIds\" name=\"ids\">
  4860. \t\t\t\t\t\t\t{{ form_widget(formSuspension.date, {'attr':{'class':'display_n'}}) }}
  4861. \t\t\t\t\t\t\t{{ form_widget(formSuspension.timeHour, {'attr':{'class':'display_n'}}) }}
  4862. \t\t\t\t\t\t\t{{ form_widget(formSuspension.timeMinute, {'attr':{'class':'display_n'}}) }}
  4863. \t\t\t\t\t\t\t<div class=\"row\">
  4864. \t\t\t\t\t\t\t\t<div class=\"col-12 form-group\">
  4865. \t\t\t\t\t\t\t\t\t<label class=\"form_label\">Esito*</label>
  4866. \t\t\t\t\t\t\t\t\t<div {{ form_errors(formSuspension.outcome) }}>
  4867. \t\t\t\t\t\t\t\t\t\t{{ form_widget(formSuspension.outcome, {'attr':{'class':'form-control form-select', 'onChange':'updateReferentAndMotivation()'}}) }}
  4868. \t\t\t\t\t\t\t\t\t</div>
  4869. \t\t\t\t\t\t\t\t</div>
  4870. \t\t\t\t\t\t\t\t<div class=\"col-12 col-md-6 form-group\" id=\"div_referent\" style=\"display: none\">
  4871. \t\t\t\t\t\t\t\t\t<label class=\"form_label\">Referente*</label>
  4872. \t\t\t\t\t\t\t\t\t<div {{ form_errors(formSuspension.referent) }}>
  4873. \t\t\t\t\t\t\t\t\t\t{{ form_widget(formSuspension.referent) }}
  4874. \t\t\t\t\t\t\t\t\t</div>
  4875. \t\t\t\t\t\t\t\t</div>
  4876. \t\t\t\t\t\t\t\t<div class=\"col-12 col-md-6 form-group\" id=\"div_phone\" style=\"display: none\">
  4877. \t\t\t\t\t\t\t\t\t<label class=\"form_label\">Telefono*</label>
  4878. \t\t\t\t\t\t\t\t\t<div {{ form_errors(formSuspension.phone) }}>
  4879. \t\t\t\t\t\t\t\t\t\t{{ form_widget(formSuspension.phone) }}
  4880. \t\t\t\t\t\t\t\t\t</div>
  4881. \t\t\t\t\t\t\t\t</div>
  4882. \t\t\t\t\t\t\t\t<div class=\"col-12 form-group\" id=\"div_photo\" style=\"display: none\">
  4883. \t\t\t\t\t\t\t\t\t<label class=\"form_label\">Foto*</label>
  4884. \t\t\t\t\t\t\t\t\t<div {{ form_errors(formSuspension.file) }}>
  4885. \t\t\t\t\t\t\t\t\t\t{{ form_widget(formSuspension.photoPath, {'attr': {'class':'display_n'}}) }}
  4886. \t\t\t\t\t\t\t\t\t\t{{ form_widget(formSuspension.file, {'attr': {'class':'display_n'}}) }}
  4887. \t\t\t\t\t\t\t\t\t\t<div class=\"input-group\">
  4888. \t\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>
  4889. \t\t\t\t\t\t\t\t\t\t\t<input id=\"filename1\" type=\"text\" class=\"form-control\" readonly>
  4890. \t\t\t\t\t\t\t\t\t\t</div>
  4891. \t\t\t\t\t\t\t\t\t</div>
  4892. \t\t\t\t\t\t\t\t</div>
  4893. \t\t\t\t\t\t\t\t<div class=\"col-12 form-group\">
  4894. \t\t\t\t\t\t\t\t\t<label class=\"form_label\" id=\"label_motivation\">Motivazione</label>
  4895. \t\t\t\t\t\t\t\t\t<div {{ form_errors(formSuspension.motivation) }}>
  4896. \t\t\t\t\t\t\t\t\t\t{{ form_widget(formSuspension.motivation) }}
  4897. \t\t\t\t\t\t\t\t\t</div>
  4898. \t\t\t\t\t\t\t\t</div>
  4899. \t\t\t\t\t\t\t\t<div class=\"col-12 col-md-4 form-group\">
  4900. \t\t\t\t\t\t\t\t\t<label class=\"form_label\">Sospeso da - Data*</label>
  4901. \t\t\t\t\t\t\t\t\t<div {{ form_errors(formSuspension.dateFrom) }}>
  4902. \t\t\t\t\t\t\t\t\t\t{{ form_widget(formSuspension.dateFrom, {'attr':{'class':'form-control'}}) }}
  4903. \t\t\t\t\t\t\t\t\t</div>
  4904. \t\t\t\t\t\t\t\t</div>
  4905. \t\t\t\t\t\t\t\t<div class=\"col-6 col-md-4 form-group\">
  4906. \t\t\t\t\t\t\t\t\t<label class=\"form_label\">Sospeso da - Ora*</label>
  4907. \t\t\t\t\t\t\t\t\t<div {{ form_errors(formSuspension.timeFromHour) }}>
  4908. \t\t\t\t\t\t\t\t\t\t{{ form_widget(formSuspension.timeFromHour, {'attr':{'class':'form-control form-select'}}) }}
  4909. \t\t\t\t\t\t\t\t\t</div>
  4910. \t\t\t\t\t\t\t\t</div>
  4911. \t\t\t\t\t\t\t\t<div class=\"col-6 col-md-4 form-group\">
  4912. \t\t\t\t\t\t\t\t\t<label class=\"form_label\">Sospeso da - Minuto*</label>
  4913. \t\t\t\t\t\t\t\t\t<div {{ form_errors(formSuspension.timeFromMinute) }}>
  4914. \t\t\t\t\t\t\t\t\t\t{{ form_widget(formSuspension.timeFromMinute, {'attr':{'class':'form-control form-select'}}) }}
  4915. \t\t\t\t\t\t\t\t\t</div>
  4916. \t\t\t\t\t\t\t\t</div>
  4917. \t\t\t\t\t\t\t\t<div class=\"col-12 col-md-4 form-group\" >
  4918. \t\t\t\t\t\t\t\t\t<label class=\"form_label\" id=\"label_suspension_to_date\">Sospeso fino a - Data</label>
  4919. \t\t\t\t\t\t\t\t\t<div {{ form_errors(formSuspension.dateTo) }}>
  4920. \t\t\t\t\t\t\t\t\t\t{{ form_widget(formSuspension.dateTo, {'attr':{'class':'form-control'}}) }}
  4921. \t\t\t\t\t\t\t\t\t</div>
  4922. \t\t\t\t\t\t\t\t</div>
  4923. \t\t\t\t\t\t\t\t<div class=\"col-6 col-md-4 form-group\">
  4924. \t\t\t\t\t\t\t\t\t<label class=\"form_label\" id=\"label_suspension_to_time\">Sospeso fino a - Ora</label>
  4925. \t\t\t\t\t\t\t\t\t<div {{ form_errors(formSuspension.timeToHour) }}>
  4926. \t\t\t\t\t\t\t\t\t\t{{ form_widget(formSuspension.timeToHour, {'attr':{'class':'form-control form-select'}}) }}
  4927. \t\t\t\t\t\t\t\t\t</div>
  4928. \t\t\t\t\t\t\t\t</div>
  4929. \t\t\t\t\t\t\t\t<div class=\"col-6 col-md-4 form-group\">
  4930. \t\t\t\t\t\t\t\t\t<label class=\"form_label\" id=\"label_suspension_to_minute\">Sospeso fino a - Minuto</label>
  4931. \t\t\t\t\t\t\t\t\t<div {{ form_errors(formSuspension.timeToMinute) }}>
  4932. \t\t\t\t\t\t\t\t\t\t{{ form_widget(formSuspension.timeToMinute, {'attr':{'class':'form-control form-select'}}) }}
  4933. \t\t\t\t\t\t\t\t\t</div>
  4934. \t\t\t\t\t\t\t\t</div>
  4935. \t\t\t\t\t\t\t</div>
  4936. \t\t\t\t\t\t</div>
  4937. \t\t\t\t\t\t<div class=\"modal-footer\">
  4938. \t\t\t\t\t\t\t<a href=\"javascript:void(0)\" class=\"button button-3d button-mini button-red f_left\" data-bs-dismiss=\"modal\">Annulla</a>
  4939. \t\t\t\t\t\t\t<button type=\"submit\" class=\"button button-3d button-mini button-green f_right\">Conferma</button>
  4940. \t\t\t\t\t\t</div>
  4941. \t\t\t\t\t{{ form_end(formSuspension) }}
  4942. \t\t\t\t</div>
  4943. \t\t\t</div>
  4944. \t\t</div>
  4945. \t{% elseif app.user.getAccountTypology == 'technician' %}
  4946. \t\t<div id=\"takeChargeModal\" class=\"modal fade\" tabindex=\"-1\" role=\"dialog\">
  4947. \t\t\t<div class=\"modal-dialog\" role=\"document\">
  4948. \t\t\t\t<div class=\"modal-content\">
  4949. \t\t\t\t\t<form action=\"{{ path ('user_ticket_take_charge') }}\" method=\"post\">
  4950. \t\t\t\t\t\t<div class=\"modal-header\"><h3 class=\"modal-title\">Ticket - Prendi in carico</h3></div>
  4951. \t\t\t\t\t\t<div class=\"modal-body\">
  4952. \t\t\t\t\t\t\t<div class=\"row\">
  4953. \t\t\t\t\t\t\t\t<div class=\"col-12 txt_a_c\">
  4954. \t\t\t\t\t\t\t\t\t<label class=\"modal_subtitle\">Attenzione!</label>
  4955. \t\t\t\t\t\t\t\t\t<p class=\"modal_paragraph\">Cliccando sul bottone <a class='button button-3d button-mini button-green' href='javascript:void(0)'>conferma</a> prenderai in carico tutti i ticket che ti sono stati assegnati.<br>Si Ã¨ sicuri di voler proseguire?</p>
  4956. \t\t\t\t\t\t\t\t</div>
  4957. \t\t\t\t\t\t\t</div>
  4958. \t\t\t\t\t\t</div>
  4959. \t\t\t\t\t\t<div class=\"modal-footer\">
  4960. \t\t\t\t\t\t\t<a href=\"javascript:void(0)\" class=\"button button-3d button-mini button-red f_left\" data-bs-dismiss=\"modal\">Annulla</a>
  4961. \t\t\t\t\t\t\t<button type=\"submit\" class=\"button button-3d button-mini button-green f_right\">Conferma</button>
  4962. \t\t\t\t\t\t</div>
  4963. \t\t\t\t\t</form>
  4964. \t\t\t\t</div>
  4965. \t\t\t</div>
  4966. \t\t</div>
  4967. \t{% endif %}
  4968. \t{% if app.user.getAccountTypology == 'agency' or app.user.getAccountTypology == 'warehouse' %}
  4969. \t\t{% if global_company.actualCompany.tagTicketActive %}
  4970. \t\t\t{% include 'components/modals/filter_tag.html.twig' with {'number':0, 'tag':tags} %}
  4971. \t\t\t{% include 'components/modals/filter_tag.html.twig' with {'number':1, 'tag':tags} %}
  4972. \t\t\t{% include 'components/modals/filter_tag.html.twig' with {'number':2, 'tag':tags} %}
  4973. \t\t\t{% include 'components/modals/filter_tag.html.twig' with {'number':3, 'tag':tags} %}
  4974. \t\t\t{% include 'components/modals/filter_tag.html.twig' with {'number':4, 'tag':tags} %}
  4975. \t\t\t{% include 'components/modals/filter_tag.html.twig' with {'number':5, 'tag':tags} %}
  4976. \t\t\t{% include 'components/modals/filter_tag.html.twig' with {'number':6, 'tag':tags} %}
  4977. \t\t\t{% include 'components/modals/filter_tag.html.twig' with {'number':7, 'tag':tags} %}
  4978. \t\t\t{% include 'components/modals/filter_tag.html.twig' with {'number':8, 'tag':tags} %}
  4979. \t\t\t{% include 'components/modals/filter_tag.html.twig' with {'number':9, 'tag':tags} %}
  4980. \t\t{% endif %}
  4981. \t\t{% include 'components/modals/filter_supplier.html.twig' with {'number':0, 'suppliers':suppliers} %}
  4982. \t\t{% include 'components/modals/filter_supplier.html.twig' with {'number':1, 'suppliers':suppliers} %}
  4983. \t\t{% include 'components/modals/filter_supplier.html.twig' with {'number':2, 'suppliers':suppliers} %}
  4984. \t\t{% include 'components/modals/filter_supplier.html.twig' with {'number':3, 'suppliers':suppliers} %}
  4985. \t\t{% include 'components/modals/filter_supplier.html.twig' with {'number':4, 'suppliers':suppliers} %}
  4986. \t\t{% include 'components/modals/filter_supplier.html.twig' with {'number':5, 'suppliers':suppliers} %}
  4987. \t\t{% include 'components/modals/filter_supplier.html.twig' with {'number':6, 'suppliers':suppliers} %}
  4988. \t\t{% include 'components/modals/filter_supplier.html.twig' with {'number':7, 'suppliers':suppliers} %}
  4989. \t\t{% include 'components/modals/filter_supplier.html.twig' with {'number':8, 'suppliers':suppliers} %}
  4990. \t\t{% include 'components/modals/filter_supplier.html.twig' with {'number':9, 'suppliers':suppliers} %}
  4991. \t\t{% include 'components/modals/filter_operation.html.twig' with {'number':0, 'operations':operations} %}
  4992. \t\t{% include 'components/modals/filter_operation.html.twig' with {'number':1, 'operations':operations} %}
  4993. \t\t{% include 'components/modals/filter_operation.html.twig' with {'number':2, 'operations':operations} %}
  4994. \t\t{% include 'components/modals/filter_operation.html.twig' with {'number':3, 'operations':operations} %}
  4995. \t\t{% include 'components/modals/filter_operation.html.twig' with {'number':4, 'operations':operations} %}
  4996. \t\t{% include 'components/modals/filter_operation.html.twig' with {'number':5, 'operations':operations} %}
  4997. \t\t{% include 'components/modals/filter_operation.html.twig' with {'number':6, 'operations':operations} %}
  4998. \t\t{% include 'components/modals/filter_operation.html.twig' with {'number':7, 'operations':operations} %}
  4999. \t\t{% include 'components/modals/filter_operation.html.twig' with {'number':8, 'operations':operations} %}
  5000. \t\t{% include 'components/modals/filter_operation.html.twig' with {'number':9, 'operations':operations} %}
  5001. \t{% endif %}
  5002. {% endblock %}
  5003. {% block javascripts %}
  5004. {{ parent() }}
  5005. {% if app.user.getAccountTypology == 'agency' or app.user.getAccountTypology == 'warehouse' %}
  5006. \t{% include 'components/js/sort_js.html.twig' with {'number':0, 'actualSortField':filters.sortField, 'actualSortOrder':filters.sortOrder, 'sort_field':'sort_field_0', 'sort_order':'sort_order_0', 'formName':'formFilter_0', 'arrowClass':'filter_arrow'} %}
  5007. \t{% include 'components/js/sort_js.html.twig' with {'number':1, 'actualSortField':filters.sortField, 'actualSortOrder':filters.sortOrder, 'sort_field':'sort_field_1', 'sort_order':'sort_order_1', 'formName':'formFilter_1', 'arrowClass':'filter_arrow'} %}
  5008. \t{% include 'components/js/sort_js.html.twig' with {'number':2, 'actualSortField':filters.sortField, 'actualSortOrder':filters.sortOrder, 'sort_field':'sort_field_2', 'sort_order':'sort_order_2', 'formName':'formFilter_2', 'arrowClass':'filter_arrow'} %}
  5009. \t{% include 'components/js/sort_js.html.twig' with {'number':3, 'actualSortField':filters.sortField, 'actualSortOrder':filters.sortOrder, 'sort_field':'sort_field_3', 'sort_order':'sort_order_3', 'formName':'formFilter_3', 'arrowClass':'filter_arrow'} %}
  5010. \t{% include 'components/js/sort_js.html.twig' with {'number':4, 'actualSortField':filters.sortField, 'actualSortOrder':filters.sortOrder, 'sort_field':'sort_field_4', 'sort_order':'sort_order_4', 'formName':'formFilter_4', 'arrowClass':'filter_arrow'} %}
  5011. \t{% include 'components/js/sort_js.html.twig' with {'number':5, 'actualSortField':filters.sortField, 'actualSortOrder':filters.sortOrder, 'sort_field':'sort_field_5', 'sort_order':'sort_order_5', 'formName':'formFilter_5', 'arrowClass':'filter_arrow'} %}
  5012. \t{% include 'components/js/sort_js.html.twig' with {'number':6, 'actualSortField':filters.sortField, 'actualSortOrder':filters.sortOrder, 'sort_field':'sort_field_6', 'sort_order':'sort_order_6', 'formName':'formFilter_6', 'arrowClass':'filter_arrow'} %}
  5013. \t{% include 'components/js/sort_js.html.twig' with {'number':7, 'actualSortField':filters.sortField, 'actualSortOrder':filters.sortOrder, 'sort_field':'sort_field_7', 'sort_order':'sort_order_7', 'formName':'formFilter_7', 'arrowClass':'filter_arrow'} %}
  5014. \t{% include 'components/js/sort_js.html.twig' with {'number':8, 'actualSortField':filters.sortField, 'actualSortOrder':filters.sortOrder, 'sort_field':'sort_field_8', 'sort_order':'sort_order_8', 'formName':'formFilter_8', 'arrowClass':'filter_arrow'} %}
  5015. \t{% include 'components/js/sort_js.html.twig' with {'number':9, 'actualSortField':filters.sortField, 'actualSortOrder':filters.sortOrder, 'sort_field':'sort_field_9', 'sort_order':'sort_order_9', 'formName':'formFilter_9', 'arrowClass':'filter_arrow'} %}
  5016. \t{% if global_company.actualCompany.tagTicketActive %}
  5017. \t\t{% include 'components/js/filter_tag_js.html.twig' with {'number':0, 'tags':tags, 'filterTag':filters.tag} %}
  5018. \t\t{% include 'components/js/filter_tag_js.html.twig' with {'number':1, 'tags':tags, 'filterTag':filters.tag} %}
  5019. \t\t{% include 'components/js/filter_tag_js.html.twig' with {'number':2, 'tags':tags, 'filterTag':filters.tag} %}
  5020. \t\t{% include 'components/js/filter_tag_js.html.twig' with {'number':3, 'tags':tags, 'filterTag':filters.tag} %}
  5021. \t\t{% include 'components/js/filter_tag_js.html.twig' with {'number':4, 'tags':tags, 'filterTag':filters.tag} %}
  5022. \t\t{% include 'components/js/filter_tag_js.html.twig' with {'number':5, 'tags':tags, 'filterTag':filters.tag} %}
  5023. \t\t{% include 'components/js/filter_tag_js.html.twig' with {'number':6, 'tags':tags, 'filterTag':filters.tag} %}
  5024. \t\t{% include 'components/js/filter_tag_js.html.twig' with {'number':7, 'tags':tags, 'filterTag':filters.tag} %}
  5025. \t\t{% include 'components/js/filter_tag_js.html.twig' with {'number':8, 'tags':tags, 'filterTag':filters.tag} %}
  5026. \t\t{% include 'components/js/filter_tag_js.html.twig' with {'number':9, 'tags':tags, 'filterTag':filters.tag} %}
  5027. \t{% endif %}
  5028. \t{% include 'components/js/filter_supplier_js.html.twig' with {'number':0, 'suppliers':suppliers, 'filterSupplier':filters.supplier} %}
  5029. \t{% include 'components/js/filter_supplier_js.html.twig' with {'number':1, 'suppliers':suppliers, 'filterSupplier':filters.supplier} %}
  5030. \t{% include 'components/js/filter_supplier_js.html.twig' with {'number':2, 'suppliers':suppliers, 'filterSupplier':filters.supplier} %}
  5031. \t{% include 'components/js/filter_supplier_js.html.twig' with {'number':3, 'suppliers':suppliers, 'filterSupplier':filters.supplier} %}
  5032. \t{% include 'components/js/filter_supplier_js.html.twig' with {'number':4, 'suppliers':suppliers, 'filterSupplier':filters.supplier} %}
  5033. \t{% include 'components/js/filter_supplier_js.html.twig' with {'number':5, 'suppliers':suppliers, 'filterSupplier':filters.supplier} %}
  5034. \t{% include 'components/js/filter_supplier_js.html.twig' with {'number':6, 'suppliers':suppliers, 'filterSupplier':filters.supplier} %}
  5035. \t{% include 'components/js/filter_supplier_js.html.twig' with {'number':7, 'suppliers':suppliers, 'filterSupplier':filters.supplier} %}
  5036. \t{% include 'components/js/filter_supplier_js.html.twig' with {'number':8, 'suppliers':suppliers, 'filterSupplier':filters.supplier} %}
  5037. \t{% include 'components/js/filter_supplier_js.html.twig' with {'number':9, 'suppliers':suppliers, 'filterSupplier':filters.supplier} %}
  5038. \t{% include 'components/js/filter_operation_group_js.html.twig' with {'number':0, 'operations':operations, 'filterOperation':filters.operation} %}
  5039. \t{% include 'components/js/filter_operation_group_js.html.twig' with {'number':1, 'operations':operations, 'filterOperation':filters.operation} %}
  5040. \t{% include 'components/js/filter_operation_group_js.html.twig' with {'number':2, 'operations':operations, 'filterOperation':filters.operation} %}
  5041. \t{% include 'components/js/filter_operation_group_js.html.twig' with {'number':3, 'operations':operations, 'filterOperation':filters.operation} %}
  5042. \t{% include 'components/js/filter_operation_group_js.html.twig' with {'number':4, 'operations':operations, 'filterOperation':filters.operation} %}
  5043. \t{% include 'components/js/filter_operation_group_js.html.twig' with {'number':5, 'operations':operations, 'filterOperation':filters.operation} %}
  5044. \t{% include 'components/js/filter_operation_group_js.html.twig' with {'number':6, 'operations':operations, 'filterOperation':filters.operation} %}
  5045. \t{% include 'components/js/filter_operation_group_js.html.twig' with {'number':7, 'operations':operations, 'filterOperation':filters.operation} %}
  5046. \t{% include 'components/js/filter_operation_group_js.html.twig' with {'number':8, 'operations':operations, 'filterOperation':filters.operation} %}
  5047. \t{% include 'components/js/filter_operation_group_js.html.twig' with {'number':9, 'operations':operations, 'filterOperation':filters.operation} %}
  5048. \t{% include 'components/js/daterangepicker_js.html.twig' with {'id':'daterange_0', 'format':'DD-MM-YYYY HH:mm'} %}
  5049. \t{% include 'components/js/daterangepicker_js.html.twig' with {'id':'daterange_1_1', 'format':'DD-MM-YYYY HH:mm'} %}
  5050. \t{% include 'components/js/daterangepicker_js.html.twig' with {'id':'daterange_2_1', 'format':'DD-MM-YYYY HH:mm'} %}
  5051. \t{% include 'components/js/daterangepicker_js.html.twig' with {'id':'daterange_3_1', 'format':'DD-MM-YYYY HH:mm'} %}
  5052. \t{% include 'components/js/daterangepicker_js.html.twig' with {'id':'daterange_4_1', 'format':'DD-MM-YYYY HH:mm'} %}
  5053. \t{% include 'components/js/daterangepicker_js.html.twig' with {'id':'daterange_5_1', 'format':'DD-MM-YYYY HH:mm'} %}
  5054. \t{% include 'components/js/daterangepicker_js.html.twig' with {'id':'daterange_6_1', 'format':'DD-MM-YYYY HH:mm'} %}
  5055. \t{% include 'components/js/daterangepicker_js.html.twig' with {'id':'daterange_7_1', 'format':'DD-MM-YYYY HH:mm'} %}
  5056. \t{% include 'components/js/daterangepicker_js.html.twig' with {'id':'daterange_8_1', 'format':'DD-MM-YYYY HH:mm'} %}
  5057. \t{% include 'components/js/daterangepicker_js.html.twig' with {'id':'daterange_9_1', 'format':'DD-MM-YYYY HH:mm'} %}
  5058. \t{% include 'components/js/daterangepicker_js.html.twig' with {'id':'daterange_1_2', 'format':'DD-MM-YYYY HH:mm'} %}
  5059. \t{% include 'components/js/daterangepicker_js.html.twig' with {'id':'daterange_2_2', 'format':'DD-MM-YYYY HH:mm'} %}
  5060. \t{% include 'components/js/daterangepicker_js.html.twig' with {'id':'daterange_3_2', 'format':'DD-MM-YYYY HH:mm'} %}
  5061. \t{% include 'components/js/daterangepicker_js.html.twig' with {'id':'daterange_4_2', 'format':'DD-MM-YYYY HH:mm'} %}
  5062. \t{% include 'components/js/daterangepicker_js.html.twig' with {'id':'daterange_5_2', 'format':'DD-MM-YYYY HH:mm'} %}
  5063. \t{% include 'components/js/daterangepicker_js.html.twig' with {'id':'daterange_6_2', 'format':'DD-MM-YYYY HH:mm'} %}
  5064. \t{% include 'components/js/daterangepicker_js.html.twig' with {'id':'daterange_7_2', 'format':'DD-MM-YYYY HH:mm'} %}
  5065. \t{% include 'components/js/daterangepicker_js.html.twig' with {'id':'daterange_8_2', 'format':'DD-MM-YYYY HH:mm'} %}
  5066. \t{% include 'components/js/daterangepicker_js.html.twig' with {'id':'daterange_9_2', 'format':'DD-MM-YYYY HH:mm'} %}
  5067. \t{% include 'components/js/daterangepicker_js.html.twig' with {'id':'daterange_1_3', 'format':'DD-MM-YYYY HH:mm'} %}
  5068. \t{% include 'components/js/daterangepicker_js.html.twig' with {'id':'daterange_2_3', 'format':'DD-MM-YYYY HH:mm'} %}
  5069. \t{% include 'components/js/daterangepicker_js.html.twig' with {'id':'daterange_3_3', 'format':'DD-MM-YYYY HH:mm'} %}
  5070. \t{% include 'components/js/daterangepicker_js.html.twig' with {'id':'daterange_4_3', 'format':'DD-MM-YYYY HH:mm'} %}
  5071. \t{% include 'components/js/daterangepicker_js.html.twig' with {'id':'daterange_5_3', 'format':'DD-MM-YYYY HH:mm'} %}
  5072. \t{% include 'components/js/daterangepicker_js.html.twig' with {'id':'daterange_6_3', 'format':'DD-MM-YYYY HH:mm'} %}
  5073. \t{% include 'components/js/daterangepicker_js.html.twig' with {'id':'daterange_7_3', 'format':'DD-MM-YYYY HH:mm'} %}
  5074. \t{% include 'components/js/daterangepicker_js.html.twig' with {'id':'daterange_8_3', 'format':'DD-MM-YYYY HH:mm'} %}
  5075. \t{% include 'components/js/daterangepicker_js.html.twig' with {'id':'daterange_9_3', 'format':'DD-MM-YYYY HH:mm'} %}
  5076. \t{% include 'components/js/upload_file_js.html.twig' with {'number':'1', 'file':'form_suspension_file', 'path':'form_suspension_photoPath'} %}
  5077. \t{% include 'components/js/paste_multi_value_js.html.twig' with {'id':'input_number_0'} %}
  5078. \t{% include 'components/js/paste_multi_value_js.html.twig' with {'id':'input_termid_0'} %}
  5079. \t{% include 'components/js/paste_multi_value_js.html.twig' with {'id':'input_number_1'} %}
  5080. \t{% include 'components/js/paste_multi_value_js.html.twig' with {'id':'input_termid_1'} %}
  5081. \t{% include 'components/js/paste_multi_value_js.html.twig' with {'id':'input_number_2'} %}
  5082. \t{% include 'components/js/paste_multi_value_js.html.twig' with {'id':'input_termid_2'} %}
  5083. \t{% include 'components/js/paste_multi_value_js.html.twig' with {'id':'input_number_3'} %}
  5084. \t{% include 'components/js/paste_multi_value_js.html.twig' with {'id':'input_termid_3'} %}
  5085. \t{% include 'components/js/paste_multi_value_js.html.twig' with {'id':'input_number_4'} %}
  5086. \t{% include 'components/js/paste_multi_value_js.html.twig' with {'id':'input_termid_4'} %}
  5087. \t{% include 'components/js/paste_multi_value_js.html.twig' with {'id':'input_number_5'} %}
  5088. \t{% include 'components/js/paste_multi_value_js.html.twig' with {'id':'input_termid_5'} %}
  5089. \t{% include 'components/js/paste_multi_value_js.html.twig' with {'id':'input_number_6'} %}
  5090. \t{% include 'components/js/paste_multi_value_js.html.twig' with {'id':'input_termid_6'} %}
  5091. \t{% include 'components/js/paste_multi_value_js.html.twig' with {'id':'input_number_7'} %}
  5092. \t{% include 'components/js/paste_multi_value_js.html.twig' with {'id':'input_termid_7'} %}
  5093. \t{% include 'components/js/paste_multi_value_js.html.twig' with {'id':'input_number_8'} %}
  5094. \t{% include 'components/js/paste_multi_value_js.html.twig' with {'id':'input_termid_8'} %}
  5095. \t{% include 'components/js/paste_multi_value_js.html.twig' with {'id':'input_number_9'} %}
  5096. \t{% include 'components/js/paste_multi_value_js.html.twig' with {'id':'input_termid_9'} %}
  5097. {% endif %}
  5098. <script>
  5099. \t\$(document).ready(function(){
  5100. \t\t{% if app.session.get('tab_operation_group') != null %}
  5101. \t\t\tvar operationGroupInputs = document.getElementsByClassName('operation_group_input');
  5102. \t\t\tfor(i=0; i<operationGroupInputs.length; i++){
  5103. \t\t\t\toperationGroupInputs.value = \"{{ app.session.get('tab_operation_group') }}\";
  5104. \t\t\t}
  5105. \t\t\t{% do app.session.remove('tab_operation_group') %}
  5106. \t\t\t{% do app.session.remove('tab_technician') %}
  5107. \t\t{% endif %}
  5108. \t\t{% if app.session.get('ticketsError') != null %}
  5109. \t\t\tdocument.getElementById('ticketsIds').value = \"{{ app.session.get('ticketsIds') }}\";
  5110. \t\t\tdocument.getElementById('action').value = \"{{ app.session.get('ticketsAction') }}\";
  5111. \t\t\tvar ticketsIds = \"{{ app.session.get('ticketsIds') }}\";
  5112. \t\t\tvar table = document.getElementById('tableTickets');
  5113. \t\t\ttable.innerHTML = '<tr><th>Numero</th><th>Cliente</th><th>Operazione</th><th>Fornitore</th></tr>';
  5114. \t\t\tfor(i=0; i<ticketsIds.length; i++){
  5115. \t\t\t\tvar tr = document.createElement('tr');
  5116. \t\t\t\tvar td1 = document.createElement('td');
  5117. \t\t\t\tvar td2 = document.createElement('td');
  5118. \t\t\t\tvar td3 = document.createElement('td');
  5119. \t\t\t\tvar td4 = document.createElement('td');
  5120. \t\t\t\ttd1.innerHTML = document.getElementById('ticket_number_' + ticketsIds[i]).innerHTML;
  5121. \t\t\t\ttd2.innerHTML = document.getElementById('ticket_client_' + ticketsIds[i]).innerHTML;
  5122. \t\t\t\ttd3.innerHTML = document.getElementById('ticket_operation_' + ticketsIds[i]).innerHTML;
  5123. \t\t\t\ttd4.innerHTML = document.getElementById('ticket_supplier_' + ticketsIds[i]).innerHTML;
  5124. \t\t\t\ttr.appendChild(td1);
  5125. \t\t\t\ttr.appendChild(td2);
  5126. \t\t\t\ttr.appendChild(td3);
  5127. \t\t\t\ttr.appendChild(td4);
  5128. \t\t\t\ttable.appendChild(tr);
  5129. \t\t\t}
  5130. \t\t\tswitch(\"{{ app.session.get('ticketsAction') }}\"){
  5131. \t\t\t\tcase 'suspend_end':
  5132. \t\t\t\t\tdocument.getElementById('actionLabel').innerHTML = 'sbloccherai la sospensione per';
  5133. \t\t\t\t\tdocument.getElementById('divSuspendEnd').style.display = 'block';
  5134. \t\t\t\t\tdocument.getElementById('textareaCausal').style = 'border-color: #CB0C0F';
  5135. \t\t\t\t\tdocument.getElementById('textareaCausal').setAttribute('data-bs-toggle', 'tooltip');
  5136. \t\t\t\t\tdocument.getElementById('textareaCausal').setAttribute('data-bs-original-title', 'Inserisci la motivazione per sbloccare la sospensione');
  5137. \t\t\t\t\tbreak;
  5138. \t\t\t\tdefault: break;
  5139. \t\t\t}
  5140. \t\t\t\$('#multipleModal').modal({backdrop: 'static', keyboard: false}).modal(\"show\");
  5141. \t\t\t{% do app.session.remove('ticketsError') %}
  5142. \t\t{% endif %}
  5143. \t\t
  5144. \t\t{% if app.user.getAccountTypology == 'agency' or app.user.getAccountTypology == 'warehouse' %}
  5145. \t\t\tvar dateRanges = document.getElementsByClassName('daterange1');
  5146. \t\t\tfor(i=0; i<dateRanges.length; i++){
  5147. \t\t\t\t{% if filters.datetimeStart != null %}
  5148. \t\t\t\t\tdateRanges[i].value = \"{{ filters.datetimeStart }}\";
  5149. \t\t\t\t{% else %}
  5150. \t\t\t\t\tdateRanges[i].value = null;
  5151. \t\t\t\t{% endif %}
  5152. \t\t\t}
  5153. \t\t\t
  5154. \t\t\tvar dateRanges2 = document.getElementsByClassName('daterange2');
  5155. \t\t\tfor(i=0; i<dateRanges2.length; i++){
  5156. \t\t\t\t{% if filters.datetimeExpiration != null %}
  5157. \t\t\t\t\tdateRanges2[i].value = \"{{ filters.datetimeExpiration }}\";
  5158. \t\t\t\t{% else %}
  5159. \t\t\t\t\tdateRanges2[i].value = null;
  5160. \t\t\t\t{% endif %}
  5161. \t\t\t}
  5162. \t\t\t
  5163. \t\t\tvar dateRanges3 = document.getElementsByClassName('daterange3');
  5164. \t\t\tfor(i=0; i<dateRanges3.length; i++){
  5165. \t\t\t\t{% if filters.datetimeEnd != null %}
  5166. \t\t\t\t\tdateRanges3[i].value = \"{{ filters.datetimeEnd }}\";
  5167. \t\t\t\t{% else %}
  5168. \t\t\t\t\tdateRanges3[i].value = null;
  5169. \t\t\t\t{% endif %}
  5170. \t\t\t}
  5171. \t\t{% endif %}
  5172. \t});
  5173. \t{% if app.user.getAccountTypology == 'agency' or app.user.getAccountTypology == 'warehouse' %}
  5174. \t\tfunction assignTechnician(type, index){
  5175. \t\t\tvar checkboxes = document.getElementsByClassName('ticket_' + index + '_checkbox');
  5176. \t\t\tconst array = [];
  5177. \t\t\tfor(i=0; i<checkboxes.length; i++){
  5178. \t\t\t\tif(checkboxes[i].checked)
  5179. \t\t\t\t\tarray.push(checkboxes[i].value);
  5180. \t\t\t}
  5181. \t\t\t
  5182. \t\t\tdocument.getElementById('technicianTicketsIds').value = array;
  5183. \t\t\tswitch(type){
  5184. \t\t\t\tcase 'assign': document.getElementById('tech_span').innerHTML = 'Assegna'; document.getElementById('tech_btn').innerHTML = 'Assegna'; break;
  5185. \t\t\t\tcase 'change': document.getElementById('tech_span').innerHTML = 'Cambia'; document.getElementById('tech_btn').innerHTML = 'Cambia'; break;
  5186. \t\t\t\tdefault: break;
  5187. \t\t\t}
  5188. \t\t\t\$('#assignTechnicianModal').modal({backdrop: 'static', keyboard: false}).modal(\"show\");
  5189. \t\t}
  5190. \t\tfunction sendEmailTakeCharge(){
  5191. \t\t\t\$('#emailTakeChargeModal').modal({backdrop: 'static', keyboard: false}).modal(\"show\");
  5192. \t\t}
  5193. \t\t
  5194. \t\tfunction suspendTickets(index){
  5195. \t\t\tvar checkboxes = document.getElementsByClassName('ticket_' + index + '_checkbox');
  5196. \t\t\tconst array = [];
  5197. \t\t\tfor(i=0; i<checkboxes.length; i++){
  5198. \t\t\t\tif(checkboxes[i].checked)
  5199. \t\t\t\t\tarray.push(checkboxes[i].value);
  5200. \t\t\t}
  5201. \t\t\tdocument.getElementById('suspendTicketsIds').value = array;
  5202. \t\t\t\$('#suspendTicketsModal').modal({backdrop: 'static', keyboard: false}).modal(\"show\");
  5203. \t\t}
  5204. \t\t\$('#form_suspension_dateFrom').datepicker({ autoclose: true, todayHighlight: true, format: \"dd-mm-yyyy\", endDate: \"today\" });
  5205. \t\t\$('#form_suspension_dateTo').datepicker({ autoclose: true, todayHighlight: true, format: \"dd-mm-yyyy\" });
  5206. \t\t\$(document).ready(function(){
  5207. \t\t\tupdateReferentAndMotivation();
  5208. \t\t\t{% if app.session.get('openSuspensionModal') %}
  5209. \t\t\t\tdocument.getElementById('suspendTicketsIds').value = \"{{ app.session.get('openSuspensionModalIds') }}\";
  5210. \t\t\t\t\$('#suspendTicketsModal').modal({backdrop: 'static', keyboard: false}).modal(\"show\");
  5211. \t\t\t\tvar ids = \"{{ app.session.get('openSuspensionModalIds') }}\".split(',');
  5212. \t\t\t\tfor(i=0; i<ids.length; i++) document.getElementById('ticket_checkbox_' + ids[i]).checked = true;
  5213. \t\t\t\t{% do app.session.remove('openSuspensionModal') %}
  5214. \t\t\t\t{% do app.session.remove('openSuspensionModalIds') %}
  5215. \t\t\t{% endif %}
  5216. \t\t});
  5217. \t\tfunction updateReferentAndMotivation(){
  5218. \t\t\tvar outcomeId = document.getElementById('form_suspension_outcome').value;
  5219. \t\t\tdocument.getElementById('label_suspension_to_date').innerHTML = 'Sospeso fino a - Data';
  5220. \t\t\tdocument.getElementById('label_suspension_to_time').innerHTML = 'Sospeso fino a - Ora';
  5221. \t\t\tdocument.getElementById('div_referent').style.display = 'none';
  5222. \t\t\tdocument.getElementById('label_motivation').innerHTML = 'Motivazione';
  5223. \t\t\tdocument.getElementById('div_phone').style.display = 'none';
  5224. \t\t\tdocument.getElementById('div_photo').style.display = 'none';
  5225. \t\t\tif(outcomeId != \"\"){
  5226. \t\t\t\t\$.post('{{ path (\"user_ticket_intervention_outcome_update\") }}', {outcomeId: outcomeId}, function(response){ 
  5227. \t\t\t\t\tif(response.code == 200 && response.success){
  5228. \t\t\t\t\t\tif(response.suspensionTo) document.getElementById('label_suspension_to_date').innerHTML = 'Sospeso fino a - Data*';
  5229. \t\t\t\t\t\tif(response.suspensionTo) document.getElementById('label_suspension_to_time').innerHTML = 'Sospeso fino a - Ora*';
  5230. \t\t\t\t\t\tif(response.referent) document.getElementById('div_referent').style.display = 'block';
  5231. \t\t\t\t\t\tif(response.motivation) document.getElementById('label_motivation').innerHTML = 'Motivazione*';
  5232. \t\t\t\t\t\tif(response.phone) document.getElementById('div_phone').style.display = 'block';
  5233. \t\t\t\t\t\tif(response.photo) document.getElementById('div_photo').style.display = 'block';
  5234. \t\t\t\t\t}
  5235. \t\t\t\t}, \"json\");
  5236. \t\t\t}
  5237. \t\t}
  5238. \t{% elseif app.user.getAccountTypology == 'technician' %}
  5239. \t\tfunction ticketsTakeCharge(){
  5240. \t\t\t\$('#takeChargeModal').modal({backdrop: 'static', keyboard: false}).modal(\"show\");
  5241. \t\t}
  5242. \t{% endif %}
  5243. \tfunction selectAll(index){
  5244. \t\tvar checkboxes = document.getElementsByClassName('ticket_' + index + '_checkbox');
  5245. \t\tvar isSelect = document.getElementById(\"ticket_\" + index + \"_all_checkboxes\").checked;
  5246. \t\tfor(i=0; i<checkboxes.length; i++)
  5247. \t\t\tcheckboxes[i].checked = isSelect;
  5248. \t\tupdateButtons(index);
  5249. \t}
  5250. \tfunction updateButtons(index) {
  5251. \t\tconst inputSelectAll = document.getElementById(`ticket_\${index}_all_checkboxes`);
  5252. \t\tconst checkboxes = document.getElementsByClassName(`ticket_\${index}_checkbox`);
  5253. \t\tconst GREEN = \"button button-3d button-mini button-green f_right m_b_10p\";
  5254. \t\tconst GREY  = \"button button-3d button-mini button-grey f_right m_b_10p\";
  5255. \t\tconst getBtn = (suffix) => document.getElementById(`button_\${index}_\${suffix}`);
  5256. \t\t// Mappa pulsanti principali
  5257. \t\tconst buttons = {
  5258. \t\t\taction: {
  5259. \t\t\t\t0: { btn: getBtn('wrong'),          href: () => `javascript: sendAction('wrong', \${index})` },
  5260. \t\t\t\t1: { btn: getBtn('assign'),         href: () => `javascript: assignTechnician('assign', \${index})` },
  5261. \t\t\t\t4: { btn: getBtn('cancel'),         href: () => `javascript: sendAction('cancel', \${index})` },
  5262. \t\t\t\t6: { btn: getBtn('closed_portal'),  href: () => `javascript: sendAction('closed_portal', \${index})` },
  5263. \t\t\t\t8: { btn: getBtn('wrong'),          href: () => `javascript: sendAction('wrong', \${index})` },
  5264. \t\t\t\t9: { btn: getBtn('delete'),         href: () => `javascript: sendAction('delete', \${index})` },
  5265. \t\t\t\t2: { btn: getBtn('print'),          href: () => `javascript: sendAction('print', \${index})` },
  5266. \t\t\t\t3: { btn: getBtn('print'),          href: () => `javascript: sendAction('print', \${index})` },
  5267. \t\t\t\t5: { btn: getBtn('print'),          href: () => `javascript: sendAction('print', \${index})` },
  5268. \t\t\t\t11:{ btn: getBtn('print'),          href: () => `javascript: sendAction('print', \${index})` },
  5269. \t\t\t\t12:{ btn: getBtn('print'),          href: () => `javascript: sendAction('print', \${index})` },
  5270. \t\t\t\t14:{ btn: getBtn('print'),          href: () => `javascript: sendAction('print', \${index})` }
  5271. \t\t\t},
  5272. \t\t\tsecondary: {
  5273. \t\t\t\t1: { btn: getBtn('cancel'),        href: () => `javascript: sendAction('cancel', \${index})` },
  5274. \t\t\t\t2: { btn: getBtn('cancel'),        href: () => `javascript: sendAction('cancel', \${index})` },
  5275. \t\t\t\t3: { btn: getBtn('suspend'),       href: () => `javascript: suspendTickets(\${index})` },
  5276. \t\t\t\t4: { btn: getBtn('approve'),       href: () => `javascript: sendAction('approve', \${index})` },
  5277. \t\t\t\t5: { btn: getBtn('suspend_end'),   href: () => `javascript: sendAction('suspend_end', \${index})` },
  5278. \t\t\t\t14:{ btn: getBtn('suspend_end'),   href: () => `javascript: sendAction('suspend_end', \${index})` }
  5279. \t\t\t},
  5280. \t\t\tthird: {
  5281. \t\t\t\t1: { btn: getBtn('suspend'),       href: () => `javascript: suspendTickets(\${index})` },
  5282. \t\t\t\t2: { btn: getBtn('suspend'),       href: () => `javascript: suspendTickets(\${index})` },
  5283. \t\t\t\t3: { btn: getBtn('cancel'),        href: () => `javascript: sendAction('cancel', \${index})` },
  5284. \t\t\t\t5: { btn: getBtn('cancel'),        href: () => `javascript: sendAction('cancel', \${index})` }
  5285. \t\t\t},
  5286. \t\t\textra: {
  5287. \t\t\t\t1: [
  5288. \t\t\t\t\t{ btn: getBtn('print'),  href: () => `javascript: sendAction('print', \${index})` },
  5289. \t\t\t\t\t{ btn: getBtn('export'), href: () => `javascript: sendAction('export', \${index})` }
  5290. \t\t\t\t],
  5291. \t\t\t\t2: [
  5292. \t\t\t\t\t{ btn: getBtn('change'), href: () => `javascript: assignTechnician('change', \${index})` },
  5293. \t\t\t\t\t{ btn: getBtn('urge'),   href: () => `javascript: sendAction('urge', \${index})` },
  5294. \t\t\t\t\t{ btn: getBtn('export'), href: () => `javascript: sendAction('export', \${index})` }
  5295. \t\t\t\t],
  5296. \t\t\t\t3: [
  5297. \t\t\t\t\t{ btn: getBtn('change'), href: () => `javascript: assignTechnician('change', \${index})` },
  5298. \t\t\t\t\t{ btn: getBtn('urge'),   href: () => `javascript: sendAction('urge', \${index})` },
  5299. \t\t\t\t\t{ btn: getBtn('export'), href: () => `javascript: sendAction('export', \${index})` }
  5300. \t\t\t\t],
  5301. \t\t\t\t4: [{ btn: getBtn('export'), href: () => `javascript: sendAction('export', \${index})` }],
  5302. \t\t\t\t5: [{ btn: getBtn('export'), href: () => `javascript: sendAction('export', \${index})` }],
  5303. \t\t\t\t6: [{ btn: getBtn('export'), href: () => `javascript: sendAction('export', \${index})` }],
  5304. \t\t\t\t7: [{ btn: getBtn('export'), href: () => `javascript: sendAction('export', \${index})` }],
  5305. \t\t\t\t8: [{ btn: getBtn('export'), href: () => `javascript: sendAction('export', \${index})` }],
  5306. \t\t\t\t9: [{ btn: getBtn('export'), href: () => `javascript: sendAction('export', \${index})` }]
  5307. \t\t\t}
  5308. \t\t};
  5309. \t\t// Checkbox logic
  5310. \t\tlet selected = [];
  5311. \t\tlet allSelected = true;
  5312. \t\tfor (let i = 0; i < checkboxes.length; i++) {
  5313. \t\t\tif (checkboxes[i].checked) {
  5314. \t\t\t\tselected.push(checkboxes[i].value);
  5315. \t\t\t} else {
  5316. \t\t\t\tallSelected = false;
  5317. \t\t\t}
  5318. \t\t}
  5319. \t\tif (!allSelected) {
  5320. \t\t\tinputSelectAll.checked = false;
  5321. \t\t}
  5322. \t\tconst enable = selected.length > 0;
  5323. \t\t// Utility per attivare/disattivare pulsanti
  5324. \t\tconst toggleButton = (btnObj) => {
  5325. \t\t\tif (!btnObj || !btnObj.btn) return;
  5326. \t\t\tbtnObj.btn.className = enable ? GREEN : GREY;
  5327. \t\t\tbtnObj.btn.href = enable ? btnObj.href() : 'javascript: void(0)';
  5328. \t\t};
  5329. \t\t// Applica stato pulsanti
  5330. \t\ttoggleButton(buttons.action[index]);
  5331. \t\ttoggleButton(buttons.secondary[index]);
  5332. \t\ttoggleButton(buttons.third[index]);
  5333. \t\tif (buttons.extra[index]) {
  5334. \t\t\tbuttons.extra[index].forEach(toggleButton);
  5335. \t\t}
  5336. \t}
  5337. \tfunction sendAction(action, index){
  5338. \t\tvar checkboxes = document.getElementsByClassName('ticket_' + index + '_checkbox');
  5339. \t\tconst array = [];
  5340. \t\tfor(i=0; i<checkboxes.length; i++){
  5341. \t\t\tif(checkboxes[i].checked)
  5342. \t\t\t\tarray.push(checkboxes[i].value);
  5343. \t\t}
  5344. \t\t{% do app.session.set('printIndex', 0) %}
  5345. \t\tdocument.getElementById('ticketsIds').value = array;
  5346. \t\tdocument.getElementById('action').value = action;
  5347. \t\tdocument.getElementById('divSuspendEnd').style.display = 'none';
  5348. \t\tvar table = document.getElementById('tableTickets');
  5349. \t\tswitch(action){
  5350. \t\t\tcase 'wrong': var label = 'renderai errati'; break;
  5351. \t\t\tcase 'print': var label = 'stamperai'; break;
  5352. \t\t\tcase 'take_charge': var label = 'prenderai in carico'; break;
  5353. \t\t\tcase 'suspend_end': var label = 'sbloccherai la sospensione per'; document.getElementById('divSuspendEnd').style.display = 'block'; break;
  5354. \t\t\tcase 'cancel': var label = 'annullerai'; break;
  5355. \t\t\tcase 'approve': var label = 'approverai le sospensioni di'; break;
  5356. \t\t\tcase 'delete': var label = 'eliminerai definitivamente'; break;
  5357. \t\t\tcase 'urge': var label = 'solleciterai il tecnico a completare'; break;
  5358. \t\t\tcase 'export':
  5359. \t\t\t\tvar table = document.getElementById('exportTableTickets');
  5360. \t\t\t\tdocument.getElementById('exportTicketsIds').value = array;
  5361. \t\t\t\tbreak;
  5362. \t\t}
  5363. \t\tdocument.getElementById('actionLabel').innerHTML = label;
  5364. \t\ttable.innerHTML = '<tr><th>Numero</th><th>Cliente</th><th>Operazione</th><th>Fornitore</th></tr>';
  5365. \t\tfor(i=0; i<array.length; i++){
  5366. \t\t\tvar tr = document.createElement('tr');
  5367. \t\t\tvar td1 = document.createElement('td');
  5368. \t\t\tvar td2 = document.createElement('td');
  5369. \t\t\tvar td3 = document.createElement('td');
  5370. \t\t\tvar td4 = document.createElement('td');
  5371. \t\t\ttd1.innerHTML = document.getElementById('ticket_number_' + array[i]).innerHTML;
  5372. \t\t\ttd2.innerHTML = document.getElementById('ticket_client_' + array[i]).innerHTML;
  5373. \t\t\ttd3.innerHTML = document.getElementById('ticket_operation_' + array[i]).innerHTML;
  5374. \t\t\ttd4.innerHTML = document.getElementById('ticket_supplier_' + array[i]).innerHTML;
  5375. \t\t\ttr.appendChild(td1);
  5376. \t\t\ttr.appendChild(td2);
  5377. \t\t\ttr.appendChild(td3);
  5378. \t\t\ttr.appendChild(td4);
  5379. \t\t\ttable.appendChild(tr);
  5380. \t\t}
  5381. \t\tswitch(index){\t\t\t
  5382. \t\t\tcase 0: document.getElementById('multipleTab').value = 'error'; break;
  5383. \t\t\tcase 1: document.getElementById('multipleTab').value = 'to_assign'; break;
  5384. \t\t\tcase 2: document.getElementById('multipleTab').value = 'assigned'; break;
  5385. \t\t\tcase 3: document.getElementById('multipleTab').value = 'taken_charge'; break;
  5386. \t\t\tcase 4: document.getElementById('multipleTab').value = 'suspension_request'; break;
  5387. \t\t\tcase 5: document.getElementById('multipleTab').value = 'suspended'; break;
  5388. \t\t\tcase 6: document.getElementById('multipleTab').value = 'closed'; break;
  5389. \t\t\tcase 8: document.getElementById('multipleTab').value = 'canceled'; break;
  5390. \t\t\tcase 9: document.getElementById('multipleTab').value = 'wrong'; break;
  5391. \t\t\tcase 11: document.getElementById('multipleTab').value = 'assigned'; break;
  5392. \t\t\tcase 12: document.getElementById('multipleTab').value = 'taken_charge'; break;
  5393. \t\t\tcase 14: document.getElementById('multipleTab').value = 'suspended'; break;
  5394. \t\t\tdefault: break;
  5395. \t\t}
  5396. \t\tswitch(action){
  5397. \t\t\tcase 'export': \$('#exportModal').modal({backdrop: 'static', keyboard: false}).modal(\"show\"); break;
  5398. \t\t\tdefault: \$('#multipleModal').modal({backdrop: 'static', keyboard: false}).modal(\"show\"); break;
  5399. \t\t}
  5400. \t}
  5401. \tfunction showNotes(id){
  5402. \t\tdocument.getElementById('notes_number').innerHTML = document.getElementById('ticket_number_' + id).innerHTML;
  5403. \t\tdocument.getElementById('notes_anomaly').innerHTML = document.getElementById('ticket_anomaly_' + id).value;
  5404. \t\tdocument.getElementById('notes_client_time').innerHTML = document.getElementById('ticket_client_notes_' + id).value;
  5405. \t\tdocument.getElementById('notes_client').innerHTML = document.getElementById('ticket_client_time_' + id).value;
  5406. \t\t\$('#notesModal').modal({backdrop: 'static', keyboard: false}).modal(\"show\");
  5407. \t}
  5408. \tdocument.querySelector('#exportForm').addEventListener('submit', function (e) {
  5409. \t\te.preventDefault();
  5410. \t\tconst form = e.target;
  5411. \t\tconst formData = new FormData(form);
  5412. \t\tfetch(form.action, { method: 'POST', body: formData})
  5413. \t\t.then(response => {if (!response.ok) throw new Error('Errore export'); return response.blob(); })
  5414. \t\t.then(blob => {
  5415. \t\t\tconst url = window.URL.createObjectURL(blob);
  5416. \t\t\tconst a = document.createElement('a');
  5417. \t\t\ta.href = url;
  5418. \t\t\ta.download = 'Ticket selezionati.csv';
  5419. \t\t\tdocument.body.appendChild(a);
  5420. \t\t\ta.click();
  5421. \t\t\ta.remove();
  5422. \t\t\twindow.URL.revokeObjectURL(url);
  5423. \t\t\t\$('#exportModal').modal('hide');
  5424. \t\t\ttriggerPage();
  5425. \t\t})
  5426. \t\t.catch(err => {
  5427. \t\t\talert('Errore durante l\\'esportazione');
  5428. \t\t\tconsole.error(err);
  5429. \t\t});
  5430. \t});
  5431. </script>
  5432. {% endblock %}""role/user/ticket/list.html.twig""/var/www/vhosts/eposmanager.software/templates/role/user/ticket/list.html.twig");
  5433.     }
  5434. }