<?php
use Twig\Environment;
use Twig\Error\LoaderError;
use Twig\Error\RuntimeError;
use Twig\Extension\CoreExtension;
use Twig\Extension\SandboxExtension;
use Twig\Markup;
use Twig\Sandbox\SecurityError;
use Twig\Sandbox\SecurityNotAllowedTagError;
use Twig\Sandbox\SecurityNotAllowedFilterError;
use Twig\Sandbox\SecurityNotAllowedFunctionError;
use Twig\Source;
use Twig\Template;
/* role/user/ticket/list.html.twig */
class __TwigTemplate_2ccf60ccdee3be77ace6f6596a404bd2 extends Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->blocks = [
'title' => [$this, 'block_title'],
'pageTitleH1' => [$this, 'block_pageTitleH1'],
'pageTitleBreadcrumb' => [$this, 'block_pageTitleBreadcrumb'],
'subMenuLeft' => [$this, 'block_subMenuLeft'],
'subMenuRight' => [$this, 'block_subMenuRight'],
'content' => [$this, 'block_content'],
'ticketsTab' => [$this, 'block_ticketsTab'],
'ticketsTabW' => [$this, 'block_ticketsTabW'],
'ticketsTab2' => [$this, 'block_ticketsTab2'],
'javascripts' => [$this, 'block_javascripts'],
];
}
protected function doGetParent(array $context)
{
// line 1
return "role/user/ticket/index.html.twig";
}
protected function doDisplay(array $context, array $blocks = [])
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "role/user/ticket/list.html.twig"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "role/user/ticket/list.html.twig"));
$this->parent = $this->loadTemplate("role/user/ticket/index.html.twig", "role/user/ticket/list.html.twig", 1);
yield from $this->parent->unwrap()->yield($context, array_merge($this->blocks, $blocks));
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
}
// line 3
public function block_title($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "title"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "title"));
yield "Ticket - Lista";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
return; yield '';
}
// line 5
public function block_pageTitleH1($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "pageTitleH1"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "pageTitleH1"));
yield "Ticket - Lista";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
return; yield '';
}
// line 7
public function block_pageTitleBreadcrumb($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "pageTitleBreadcrumb"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "pageTitleBreadcrumb"));
// line 8
yield "\t<li class=\"breadcrumb-item\"><a href=\"";
yield $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("user_tickets");
yield "\">Ticket</a></li>
\t<li class=\"breadcrumb-item\"><a href=\"javascript:void(0)\">Lista</a></li>
";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
return; yield '';
}
// line 12
public function block_subMenuLeft($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "subMenuLeft"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "subMenuLeft"));
// line 13
yield "\t<li class=\"nav-item\"><a class=\"nav-link\" href=\"";
yield $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("user_index");
yield "\">Scrivania</a></li>
";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
return; yield '';
}
// line 16
public function block_subMenuRight($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "subMenuRight"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "subMenuRight"));
// line 17
yield "\t";
if ((CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 17, $this->source); })()), "user", [], "any", false, false, false, 17), "getAccountTypology", [], "any", false, false, false, 17) == "agency")) {
// line 18
yield "\t\t<li class=\"nav-item\"><a class=\"nav-link\" href=\"";
yield $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("user_ticket_download_email");
yield "\">Scarica da email</a></li>
\t\t";
// line 19
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); })())) {
yield "<li class=\"nav-item\"><a class=\"nav-link\" href=\"";
yield $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("user_ticket_download_email_other");
yield "\">Scarica da email \"Altro\"</a></li>";
}
// line 20
yield "\t";
}
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
return; yield '';
}
// line 23
public function block_content($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "content"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "content"));
// line 24
yield "\t<section class=\"m_tb_50p p_lr_30p\">
\t\t<div class=\"row\">
\t\t\t<div class=\"col-12\">
\t\t\t\t<h3 class=\"form_title\">Ticket</h3>
\t\t\t\t<hr class=\"m_t_none\">
\t\t\t</div>
\t\t\t";
// line 30
if ((CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 30, $this->source); })()), "user", [], "any", false, false, false, 30), "getAccountTypology", [], "any", false, false, false, 30) == "agency")) {
// line 31
yield "\t\t\t\t";
// line 32
yield "\t\t\t\t<div class=\"col-12\">
\t\t\t\t\t<div class=\"tabs clearfix\">
\t\t\t\t\t\t<ul class=\"tab-nav clearfix\">
\t\t\t\t\t\t\t<li>
\t\t\t\t\t\t\t\t<a id=\"btn_tab_error\" href=\"#error\" class=\"tab_session\" data-filterTab=\"error\">
\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>";
// line 37
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", false, false, false, 37), "html", null, true);
yield "</span>
\t\t\t\t\t\t\t\t\t<span class=\"d-none d-lg-block\">Con errori (";
// line 38
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", false, false, false, 38), "html", null, true);
yield ")</span>
\t\t\t\t\t\t\t\t</a>
\t\t\t\t\t\t\t</li>
\t\t\t\t\t\t\t<li>
\t\t\t\t\t\t\t\t<a id=\"btn_tab_to_assign\" href=\"#toAssign\" class=\"tab_session\" data-filterTab=\"to_assign\">
\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>";
// line 43
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", false, false, false, 43), "html", null, true);
yield "</span>
\t\t\t\t\t\t\t\t\t<span class=\"d-none d-lg-block\">Da assegnare (";
// line 44
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", false, false, false, 44), "html", null, true);
yield ")</span>
\t\t\t\t\t\t\t\t</a>
\t\t\t\t\t\t\t</li>
\t\t\t\t\t\t\t<li>
\t\t\t\t\t\t\t\t<a id=\"btn_tab_assigned\" href=\"#assigned\" class=\"tab_session\" data-filterTab=\"assigned\">
\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>";
// line 49
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", false, false, false, 49), "html", null, true);
yield "</span>
\t\t\t\t\t\t\t\t\t<span class=\"d-none d-lg-block\">Assegnati (";
// line 50
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", false, false, false, 50), "html", null, true);
yield ")</span>
\t\t\t\t\t\t\t\t</a>
\t\t\t\t\t\t\t</li>
\t\t\t\t\t\t\t<li>
\t\t\t\t\t\t\t\t<a id=\"btn_tab_taken_charge\" href=\"#takenCharge\" class=\"tab_session\" data-filterTab=\"taken_charge\">
\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>";
// line 55
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", false, false, false, 55), "html", null, true);
yield "</span>
\t\t\t\t\t\t\t\t\t<span class=\"d-none d-lg-block\">Presi in carico (";
// line 56
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", false, false, false, 56), "html", null, true);
yield ")</span>
\t\t\t\t\t\t\t\t</a>
\t\t\t\t\t\t\t</li>
\t\t\t\t\t\t\t<li>
\t\t\t\t\t\t\t\t<a id=\"btn_tab_suspension_request\" href=\"#suspensionRequest\" class=\"tab_session\" data-filterTab=\"suspension_request\">
\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>";
// line 61
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", false, false, false, 61), "html", null, true);
yield "</span>
\t\t\t\t\t\t\t\t\t<span class=\"d-none d-lg-block\">Richiesta sospensione (";
// line 62
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", false, false, false, 62), "html", null, true);
yield ")</span>
\t\t\t\t\t\t\t\t</a>
\t\t\t\t\t\t\t</li>
\t\t\t\t\t\t\t<li>
\t\t\t\t\t\t\t\t<a id=\"btn_tab_suspended\" href=\"#suspended\" class=\"tab_session\" data-filterTab=\"suspended\">
\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>";
// line 67
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", false, false, false, 67), "html", null, true);
yield "</span>
\t\t\t\t\t\t\t\t\t<span class=\"d-none d-lg-block\">Sospesi (";
// line 68
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", false, false, false, 68), "html", null, true);
yield ")</span>
\t\t\t\t\t\t\t\t</a>
\t\t\t\t\t\t\t</li>
\t\t\t\t\t\t\t<li>
\t\t\t\t\t\t\t\t<a id=\"btn_tab_closed\" href=\"#closed\" class=\"tab_session\" data-filterTab=\"closed\">
\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>";
// line 73
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", false, false, false, 73), "html", null, true);
yield "</span>
\t\t\t\t\t\t\t\t\t<span class=\"d-none d-lg-block\">Chiusi (";
// line 74
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", false, false, false, 74), "html", null, true);
yield ")</span>
\t\t\t\t\t\t\t\t</a>
\t\t\t\t\t\t\t</li>
\t\t\t\t\t\t\t<li>
\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\">
\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>";
// line 79
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", false, false, false, 79), "html", null, true);
yield "</span>
\t\t\t\t\t\t\t\t\t<span class=\"d-none d-lg-block\">Chiusi su fornitore (";
// line 80
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", false, false, false, 80), "html", null, true);
yield ")</span>
\t\t\t\t\t\t\t\t</a>
\t\t\t\t\t\t\t</li>
\t\t\t\t\t\t\t<li>
\t\t\t\t\t\t\t\t<a id=\"btn_tab_canceled\" href=\"#canceled\" class=\"tab_session\" data-filterTab=\"canceled\">
\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>";
// line 85
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", false, false, false, 85), "html", null, true);
yield "</span>
\t\t\t\t\t\t\t\t\t<span class=\"d-none d-lg-block\">Annullati (";
// line 86
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", false, false, false, 86), "html", null, true);
yield ")</span>
\t\t\t\t\t\t\t\t</a>
\t\t\t\t\t\t\t</li>
\t\t\t\t\t\t\t<li>
\t\t\t\t\t\t\t\t<a id=\"btn_tab_wrong\" href=\"#wrong\" class=\"tab_session\" data-filterTab=\"wrong\">
\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>";
// line 91
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", false, false, false, 91), "html", null, true);
yield "</span>
\t\t\t\t\t\t\t\t\t<span class=\"d-none d-lg-block\">Errati (";
// line 92
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", false, false, false, 92), "html", null, true);
yield ")</span>
\t\t\t\t\t\t\t\t</a>
\t\t\t\t\t\t\t</li>
\t\t\t\t\t\t</ul>
\t\t\t\t\t\t<div class=\"tab-container\">
\t\t\t\t\t\t\t";
// line 98
yield "\t\t\t\t\t\t\t<div class=\"tab-content clearfix\" id=\"error\">
\t\t\t\t\t\t\t\t<div class=\"row\">
\t\t\t\t\t\t\t\t\t<div class=\"col-12\">
\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>
\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t<div class=\"col-12 overflow_a\">
\t\t\t\t\t\t\t\t\t\t<table class=\"table table-bordered table-hover font_12\">
\t\t\t\t\t\t\t\t\t\t\t<thead>
\t\t\t\t\t\t\t\t\t\t\t\t<tr>
\t\t\t\t\t\t\t\t\t\t\t\t\t<form method=\"get\" action=\"";
// line 107
yield $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("user_ticket_list");
yield "\" id=\"formFilter_0\">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td class=\"td_action\"><a href=\"";
// line 108
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("remove_filter", ["route" => CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 108, $this->source); })()), "request", [], "any", false, false, false, 108), "attributes", [], "any", false, false, false, 108), "get", ["_route"], "method", false, false, false, 108), "route_params" => CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 108, $this->source); })()), "request", [], "any", false, false, false, 108), "attributes", [], "any", false, false, false, 108), "get", ["_route_params"], "method", false, false, false, 108)]), "html", null, true);
yield "\" class=\"f_right\" data-bs-toggle=\"tooltip\" title=\"Escludi filtro\"><img class=\"icon_red\" src=\"";
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", null, true);
yield "\"></a></td>
\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=\"";
// line 109
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(((CoreExtension::getAttribute($this->env, $this->source, ($context["filters"] ?? null), "number", [], "any", true, true, false, 109)) ? (Twig\Extension\CoreExtension::default(CoreExtension::getAttribute($this->env, $this->source, ($context["filters"] ?? null), "number", [], "any", false, false, false, 109))) : ("")), "html", null, true);
yield "\" id=\"input_number_0\" data-bs-toggle=\"tooltip\" title=\"Puoi effettuare ricerche multiple inserendo valori separati da virgola [Es. 1234,5678,901]\"/></td>
\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=\"";
// line 110
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(((CoreExtension::getAttribute($this->env, $this->source, ($context["filters"] ?? null), "termid", [], "any", true, true, false, 110)) ? (Twig\Extension\CoreExtension::default(CoreExtension::getAttribute($this->env, $this->source, ($context["filters"] ?? null), "termid", [], "any", false, false, false, 110))) : ("")), "html", null, true);
yield "\" id=\"input_termid_0\" data-bs-toggle=\"tooltip\" title=\"Puoi effettuare ricerche multiple inserendo valori separati da virgola [Es. 1234,5678,901]\"/></td>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
// line 111
if (CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["global_company"]) || array_key_exists("global_company", $context) ? $context["global_company"] : (function () { throw new RuntimeError('Variable "global_company" does not exist.', 111, $this->source); })()), "actualCompany", [], "any", false, false, false, 111), "tagTicketActive", [], "any", false, false, false, 111)) {
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=\"";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(((CoreExtension::getAttribute($this->env, $this->source, ($context["filters"] ?? null), "tag", [], "any", true, true, false, 111)) ? (Twig\Extension\CoreExtension::default(CoreExtension::getAttribute($this->env, $this->source, ($context["filters"] ?? null), "tag", [], "any", false, false, false, 111))) : ("")), "html", null, true);
yield "\"/></td>";
}
// line 112
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=\"";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(((CoreExtension::getAttribute($this->env, $this->source, ($context["filters"] ?? null), "client", [], "any", true, true, false, 112)) ? (Twig\Extension\CoreExtension::default(CoreExtension::getAttribute($this->env, $this->source, ($context["filters"] ?? null), "client", [], "any", false, false, false, 112))) : ("")), "html", null, true);
yield "\"/></td>
\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=\"";
// line 113
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(((CoreExtension::getAttribute($this->env, $this->source, ($context["filters"] ?? null), "operation", [], "any", true, true, false, 113)) ? (Twig\Extension\CoreExtension::default(CoreExtension::getAttribute($this->env, $this->source, ($context["filters"] ?? null), "operation", [], "any", false, false, false, 113))) : ("")), "html", null, true);
yield "\"/></td>
\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=\"";
// line 114
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(((CoreExtension::getAttribute($this->env, $this->source, ($context["filters"] ?? null), "supplier", [], "any", true, true, false, 114)) ? (Twig\Extension\CoreExtension::default(CoreExtension::getAttribute($this->env, $this->source, ($context["filters"] ?? null), "supplier", [], "any", false, false, false, 114))) : ("")), "html", null, true);
yield "\"/></td>
\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=\"";
// line 115
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(((CoreExtension::getAttribute($this->env, $this->source, ($context["filters"] ?? null), "tariff", [], "any", true, true, false, 115)) ? (Twig\Extension\CoreExtension::default(CoreExtension::getAttribute($this->env, $this->source, ($context["filters"] ?? null), "tariff", [], "any", false, false, false, 115))) : ("")), "html", null, true);
yield "\"/></td>
\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=\"";
// line 116
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(((CoreExtension::getAttribute($this->env, $this->source, ($context["filters"] ?? null), "city", [], "any", true, true, false, 116)) ? (Twig\Extension\CoreExtension::default(CoreExtension::getAttribute($this->env, $this->source, ($context["filters"] ?? null), "city", [], "any", false, false, false, 116))) : ("")), "html", null, true);
yield "\"/></td>
\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=\"";
// line 117
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(((CoreExtension::getAttribute($this->env, $this->source, ($context["filters"] ?? null), "province", [], "any", true, true, false, 117)) ? (Twig\Extension\CoreExtension::default(CoreExtension::getAttribute($this->env, $this->source, ($context["filters"] ?? null), "province", [], "any", false, false, false, 117))) : ("")), "html", null, true);
yield "\"/></td>
\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>
\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=\"";
// line 119
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", null, true);
yield "\"></button></td>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t<input id=\"sort_field_0\" type=\"hidden\" name=\"sortField\" value=\"";
// line 120
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(((CoreExtension::getAttribute($this->env, $this->source, ($context["filters"] ?? null), "sortField", [], "any", true, true, false, 120)) ? (Twig\Extension\CoreExtension::default(CoreExtension::getAttribute($this->env, $this->source, ($context["filters"] ?? null), "sortField", [], "any", false, false, false, 120))) : ("")), "html", null, true);
yield "\"/>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t<input id=\"sort_order_0\" type=\"hidden\" name=\"sortOrder\" value=\"";
// line 121
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(((CoreExtension::getAttribute($this->env, $this->source, ($context["filters"] ?? null), "sortOrder", [], "any", true, true, false, 121)) ? (Twig\Extension\CoreExtension::default(CoreExtension::getAttribute($this->env, $this->source, ($context["filters"] ?? null), "sortOrder", [], "any", false, false, false, 121))) : ("")), "html", null, true);
yield "\"/>
\t\t\t\t\t\t\t\t\t\t\t\t\t</form>
\t\t\t\t\t\t\t\t\t\t\t\t</tr>
\t\t\t\t\t\t\t\t\t\t\t\t<tr class=\"bg_pr color_w\">
\t\t\t\t\t\t\t\t\t\t\t\t\t<th class=\"td_action txt_a_c\">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"switch\" data-bs-toggle=\"tooltip\" title=\"Seleziona tutti\">
\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)\">
\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>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t\t\t\t\t</th>
\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>
\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>
\t\t\t\t\t\t\t\t\t\t\t\t\t";
// line 133
if (CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["global_company"]) || array_key_exists("global_company", $context) ? $context["global_company"] : (function () { throw new RuntimeError('Variable "global_company" does not exist.', 133, $this->source); })()), "actualCompany", [], "any", false, false, false, 133), "tagTicketActive", [], "any", false, false, false, 133)) {
yield "<th class=\"td_w_100p\">Tag</th>";
}
// line 134
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>
\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>
\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>
\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>
\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>
\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>
\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>
\t\t\t\t\t\t\t\t\t\t\t\t\t<th>Descrizione errore</th>
\t\t\t\t\t\t\t\t\t\t\t\t\t<th></th>
\t\t\t\t\t\t\t\t\t\t\t\t</tr>
\t\t\t\t\t\t\t\t\t\t\t</thead>
\t\t\t\t\t\t\t\t\t\t\t<tbody>
\t\t\t\t\t\t\t\t\t\t\t\t";
// line 146
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)) {
// line 147
yield "\t\t\t\t\t\t\t\t\t\t\t\t\t";
$context['_parent'] = $context;
$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); })()));
foreach ($context['_seq'] as $context["_key"] => $context["ticket"]) {
// line 148
yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t<tr>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td class=\"td_w_30p\">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"switch\">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<input id=\"ticket_checkbox_";
// line 151
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["ticket"], "id", [], "any", false, false, false, 151), "html", null, true);
yield "\" class=\"switch-toggle switch-flat-mini switch-toggle-flat ticket_0_checkbox\" type=\"checkbox\" value=\"";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["ticket"], "id", [], "any", false, false, false, 151), "html", null, true);
yield "\" onChange=\"javascript: updateButtons(0)\">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<label for=\"ticket_checkbox_";
// line 152
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["ticket"], "id", [], "any", false, false, false, 152), "html", null, true);
yield "\" class=\"m_b_none\"></label>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</td>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td id=\"ticket_number_";
// line 155
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["ticket"], "id", [], "any", false, false, false, 155), "html", null, true);
yield "\">";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["ticket"], "number", [], "any", false, false, false, 155), "html", null, true);
yield "</td>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td id=\"ticket_termid_";
// line 156
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["ticket"], "id", [], "any", false, false, false, 156), "html", null, true);
yield "\">";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["ticket"], "termid", [], "any", false, false, false, 156), "html", null, true);
yield "</td>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
// line 157
if (CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["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", false, false, false, 157), "tagTicketActive", [], "any", false, false, false, 157)) {
yield "<td id=\"ticket_tags_";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["ticket"], "id", [], "any", false, false, false, 157), "html", null, true);
yield "\">";
yield CoreExtension::getAttribute($this->env, $this->source, $context["ticket"], "displayTags", ["icon"], "method", false, false, false, 157);
yield "</td>";
}
// line 158
yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td id=\"ticket_client_";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["ticket"], "id", [], "any", false, false, false, 158), "html", null, true);
yield "\">";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["ticket"], "client", [], "any", false, false, false, 158), "html", null, true);
yield "</td>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td id=\"ticket_operation_";
// line 159
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["ticket"], "id", [], "any", false, false, false, 159), "html", null, true);
yield "\">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
// line 160
if ( !(null === CoreExtension::getAttribute($this->env, $this->source, $context["ticket"], "operation", [], "any", false, false, false, 160))) {
// line 161
yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, $context["ticket"], "operation", [], "any", false, false, false, 161), "value", [], "any", false, false, false, 161), "html", null, true);
yield "
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
// line 162
if ((CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, $context["ticket"], "operation", [], "any", false, false, false, 162), "getKeyValueByValue", ["Dettagli operazione"], "method", false, false, false, 162) && (CoreExtension::getAttribute($this->env, $this->source, $context["ticket"], "displayJsonValueByColumn", [CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, $context["ticket"], "operation", [], "any", false, false, false, 162), "getKeyValueByValue", ["Dettagli operazione"], "method", false, false, false, 162)], "method", false, false, false, 162) != null))) {
// line 163
yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<br><i>(";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["ticket"], "displayJsonValueByColumn", [CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, $context["ticket"], "operation", [], "any", false, false, false, 163), "getKeyValueByValue", ["Dettagli operazione"], "method", false, false, false, 163)], "method", false, false, false, 163), "html", null, true);
yield "
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
// line 164
if ((CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, $context["ticket"], "operation", [], "any", false, false, false, 164), "getKeyValueByValue", ["Cluster"], "method", false, false, false, 164) && (CoreExtension::getAttribute($this->env, $this->source, $context["ticket"], "displayJsonValueByColumn", [CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, $context["ticket"], "operation", [], "any", false, false, false, 164), "getKeyValueByValue", ["Cluster"], "method", false, false, false, 164)], "method", false, false, false, 164) != null))) {
// line 165
yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tCluster ";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["ticket"], "displayJsonValueByColumn", [CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, $context["ticket"], "operation", [], "any", false, false, false, 165), "getKeyValueByValue", ["Cluster"], "method", false, false, false, 165)], "method", false, false, false, 165), "html", null, true);
yield "
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
}
// line 167
yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t)</i>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
}
// line 169
yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
} else {
// line 170
yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tOperazione non riconosciuta
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
}
// line 172
yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</td>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td id=\"ticket_supplier_";
// line 173
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["ticket"], "id", [], "any", false, false, false, 173), "html", null, true);
yield "\">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
// line 174
if ( !(null === CoreExtension::getAttribute($this->env, $this->source, $context["ticket"], "operation", [], "any", false, false, false, 174))) {
// line 175
yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, $context["ticket"], "operation", [], "any", false, false, false, 175), "supplier", [], "any", false, false, false, 175), "html", null, true);
if ((CoreExtension::getAttribute($this->env, $this->source, $context["ticket"], "displayJsonValueByColumn", ["SLOT"], "method", false, false, false, 175) != null)) {
yield "<br><i>(";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["ticket"], "displayJsonValueByColumn", ["SLOT"], "method", false, false, false, 175), "html", null, true);
yield ")</i>";
}
// line 176
yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
} else {
// line 177
yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tFornitore non riconosciuto
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
}
// line 179
yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</td>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td>";
// line 180
if ((CoreExtension::getAttribute($this->env, $this->source, $context["ticket"], "operationTariffAmount", [], "any", false, false, false, 180) != null)) {
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(((CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, $context["ticket"], "operationTariffAmount", [], "any", false, true, false, 180), "value", [], "any", true, true, false, 180)) ? (Twig\Extension\CoreExtension::default(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, $context["ticket"], "operationTariffAmount", [], "any", false, true, false, 180), "value", [], "any", false, false, false, 180))) : ("")), "html", null, true);
}
yield "</td>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td>";
// line 181
if ((CoreExtension::getAttribute($this->env, $this->source, $context["ticket"], "idCity", [], "any", false, false, false, 181) != null)) {
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", false, false, false, 181)), "html", null, true);
}
yield "</td>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td class=\"txt_a_c\">";
// line 182
if ((CoreExtension::getAttribute($this->env, $this->source, $context["ticket"], "idProvince", [], "any", false, false, false, 182) != null)) {
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", false, false, false, 182)), "html", null, true);
}
yield "</td>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td>";
// line 183
if ((CoreExtension::getAttribute($this->env, $this->source, $context["ticket"], "datetimeStart", [], "any", false, false, false, 183) != null)) {
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Twig\Extension\CoreExtension']->formatDate(CoreExtension::getAttribute($this->env, $this->source, $context["ticket"], "datetimeStart", [], "any", false, false, false, 183), "d-m-Y H:i"), "html", null, true);
} else {
yield "---";
}
yield "</td>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td>";
// line 184
yield CoreExtension::getAttribute($this->env, $this->source, $context["ticket"], "systemErrorDetails", [], "any", false, false, false, 184);
yield "</td>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td class=\"td_action\"><a href=\"";
// line 185
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", false, false, false, 185)]), "html", null, true);
yield "\"><img class=\"icon_pr\" data-bs-toggle=\"tooltip\" title=\"Scheda\" src=\"";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl((isset($context["icon_sheet"]) || array_key_exists("icon_sheet", $context) ? $context["icon_sheet"] : (function () { throw new RuntimeError('Variable "icon_sheet" does not exist.', 185, $this->source); })())), "html", null, true);
yield "\"></a></td>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t</tr>
\t\t\t\t\t\t\t\t\t\t\t\t\t";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['ticket'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 188
yield "\t\t\t\t\t\t\t\t\t\t\t\t";
} else {
// line 189
yield "\t\t\t\t\t\t\t\t\t\t\t\t\t";
yield from $this->loadTemplate("components/twig/notice_filter_no_match.html.twig", "role/user/ticket/list.html.twig", 189)->unwrap()->yield($context);
// line 190
yield "\t\t\t\t\t\t\t\t\t\t\t\t";
}
// line 191
yield "\t\t\t\t\t\t\t\t\t\t\t</tbody>
\t\t\t\t\t\t\t\t\t\t</table>
\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t";
// line 197
yield "\t\t\t\t\t\t\t<div class=\"tab-content clearfix\" id=\"toAssign\">
\t\t\t\t\t\t\t\t";
// line 198
$context["tickets"] = (isset($context["toAssignTickets"]) || array_key_exists("toAssignTickets", $context) ? $context["toAssignTickets"] : (function () { throw new RuntimeError('Variable "toAssignTickets" does not exist.', 198, $this->source); })());
// line 199
yield "\t\t\t\t\t\t\t\t";
$context["number"] = 1;
// line 200
yield "\t\t\t\t\t\t\t\t";
$context["multipleSelection"] = [true, 1, ["print", "assign", "suspend", "cancel", "export"]];
// line 201
yield "\t\t\t\t\t\t\t\t";
$context["hasEmailTakeCharge"] = false;
// line 202
yield "\t\t\t\t\t\t\t\t";
$context["tabOpenValue"] = "to_assign";
// line 203
yield "\t\t\t\t\t\t\t\t";
$context["tab"] = "toAssign";
// line 204
yield "\t\t\t\t\t\t\t\t";
yield from $this->unwrap()->yieldBlock('ticketsTab', $context, $blocks);
// line 347
yield "\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t";
// line 349
yield "\t\t\t\t\t\t\t<div class=\"tab-content clearfix\" id=\"assigned\">
\t\t\t\t\t\t\t\t";
// line 350
$context["tickets"] = (isset($context["assignedTickets"]) || array_key_exists("assignedTickets", $context) ? $context["assignedTickets"] : (function () { throw new RuntimeError('Variable "assignedTickets" does not exist.', 350, $this->source); })());
// line 351
yield "\t\t\t\t\t\t\t\t";
$context["number"] = 2;
// line 352
yield "\t\t\t\t\t\t\t\t";
$context["multipleSelection"] = [true, 2, ["print", "suspend", "cancel", "change", "urge", "export"]];
// line 353
yield "\t\t\t\t\t\t\t\t";
$context["hasEmailTakeCharge"] = true;
// line 354
yield "\t\t\t\t\t\t\t\t";
$context["tabOpenValue"] = "assigned";
// line 355
yield "\t\t\t\t\t\t\t\t";
$context["tab"] = "assigned";
// line 356
yield "\t\t\t\t\t\t\t\t";
yield from $this->unwrap()->yieldBlock("ticketsTab", $context, $blocks);
yield "
\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t";
// line 359
yield "\t\t\t\t\t\t\t<div class=\"tab-content clearfix\" id=\"takenCharge\">
\t\t\t\t\t\t\t\t";
// line 360
$context["tickets"] = (isset($context["takenChargeTickets"]) || array_key_exists("takenChargeTickets", $context) ? $context["takenChargeTickets"] : (function () { throw new RuntimeError('Variable "takenChargeTickets" does not exist.', 360, $this->source); })());
// line 361
yield "\t\t\t\t\t\t\t\t";
$context["number"] = 3;
// line 362
yield "\t\t\t\t\t\t\t\t";
if ((isset($context["settingBackOffice"]) || array_key_exists("settingBackOffice", $context) ? $context["settingBackOffice"] : (function () { throw new RuntimeError('Variable "settingBackOffice" does not exist.', 362, $this->source); })())) {
yield " ";
// line 363
yield "\t\t\t\t\t\t\t\t\t";
$context["multipleSelection"] = [true, 3, ["print", "suspend", "cancel", "change", "urge", "export"]];
// line 364
yield "\t\t\t\t\t\t\t\t";
} else {
// line 365
yield "\t\t\t\t\t\t\t\t\t";
$context["multipleSelection"] = [true, 3, ["suspend", "cancel", "change", "urge", "export"]];
// line 366
yield "\t\t\t\t\t\t\t\t";
}
// line 367
yield "\t\t\t\t\t\t\t\t";
$context["hasEmailTakeCharge"] = false;
// line 368
yield "\t\t\t\t\t\t\t\t";
$context["tabOpenValue"] = "taken_charge";
// line 369
yield "\t\t\t\t\t\t\t\t";
$context["tab"] = "takenCharge";
// line 370
yield "\t\t\t\t\t\t\t\t";
yield from $this->unwrap()->yieldBlock("ticketsTab", $context, $blocks);
yield "
\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t";
// line 373
yield "\t\t\t\t\t\t\t<div class=\"tab-content clearfix\" id=\"suspensionRequest\">
\t\t\t\t\t\t\t\t";
// line 374
$context["tickets"] = (isset($context["suspensionRequestTickets"]) || array_key_exists("suspensionRequestTickets", $context) ? $context["suspensionRequestTickets"] : (function () { throw new RuntimeError('Variable "suspensionRequestTickets" does not exist.', 374, $this->source); })());
// line 375
yield "\t\t\t\t\t\t\t\t";
$context["number"] = 4;
// line 376
yield "\t\t\t\t\t\t\t\t";
$context["multipleSelection"] = [true, 4, ["cancel", "approve", "export"]];
// line 377
yield "\t\t\t\t\t\t\t\t";
$context["hasEmailTakeCharge"] = false;
// line 378
yield "\t\t\t\t\t\t\t\t";
$context["tabOpenValue"] = "suspension_request";
// line 379
yield "\t\t\t\t\t\t\t\t";
$context["tab"] = "suspensionRequest";
// line 380
yield "\t\t\t\t\t\t\t\t";
yield from $this->unwrap()->yieldBlock("ticketsTab", $context, $blocks);
yield "
\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t";
// line 383
yield "\t\t\t\t\t\t\t<div class=\"tab-content clearfix\" id=\"suspended\">
\t\t\t\t\t\t\t\t";
// line 384
$context["tickets"] = (isset($context["suspendedTickets"]) || array_key_exists("suspendedTickets", $context) ? $context["suspendedTickets"] : (function () { throw new RuntimeError('Variable "suspendedTickets" does not exist.', 384, $this->source); })());
// line 385
yield "\t\t\t\t\t\t\t\t";
$context["number"] = 5;
// line 386
yield "\t\t\t\t\t\t\t\t";
$context["multipleSelection"] = [true, 5, ["print", "suspend_end", "cancel", "export"]];
// line 387
yield "\t\t\t\t\t\t\t\t";
$context["hasEmailTakeCharge"] = false;
// line 388
yield "\t\t\t\t\t\t\t\t";
$context["tabOpenValue"] = "suspended";
// line 389
yield "\t\t\t\t\t\t\t\t";
$context["tab"] = "suspended";
// line 390
yield "\t\t\t\t\t\t\t\t";
yield from $this->unwrap()->yieldBlock("ticketsTab", $context, $blocks);
yield "
\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t";
// line 393
yield "\t\t\t\t\t\t\t<div class=\"tab-content clearfix\" id=\"closed\">
\t\t\t\t\t\t\t\t";
// line 394
$context["tickets"] = (isset($context["closedTickets"]) || array_key_exists("closedTickets", $context) ? $context["closedTickets"] : (function () { throw new RuntimeError('Variable "closedTickets" does not exist.', 394, $this->source); })());
// line 395
yield "\t\t\t\t\t\t\t\t";
$context["number"] = 6;
// line 396
yield "\t\t\t\t\t\t\t\t";
$context["multipleSelection"] = [true, 6, ["closed_portal", "export"]];
// line 397
yield "\t\t\t\t\t\t\t\t";
$context["hasEmailTakeCharge"] = false;
// line 398
yield "\t\t\t\t\t\t\t\t";
$context["tabOpenValue"] = "closed";
// line 399
yield "\t\t\t\t\t\t\t\t";
$context["tab"] = "closed";
// line 400
yield "\t\t\t\t\t\t\t\t";
yield from $this->unwrap()->yieldBlock("ticketsTab", $context, $blocks);
yield "
\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t";
// line 403
yield "\t\t\t\t\t\t\t<div class=\"tab-content clearfix\" id=\"closedPortal\">
\t\t\t\t\t\t\t\t";
// line 404
$context["tickets"] = (isset($context["closedPortalTickets"]) || array_key_exists("closedPortalTickets", $context) ? $context["closedPortalTickets"] : (function () { throw new RuntimeError('Variable "closedPortalTickets" does not exist.', 404, $this->source); })());
// line 405
yield "\t\t\t\t\t\t\t\t";
$context["number"] = 7;
// line 406
yield "\t\t\t\t\t\t\t\t";
$context["multipleSelection"] = [false, 7, ["export"]];
// line 407
yield "\t\t\t\t\t\t\t\t";
$context["hasEmailTakeCharge"] = false;
// line 408
yield "\t\t\t\t\t\t\t\t";
$context["tabOpenValue"] = "closed_on_portal";
// line 409
yield "\t\t\t\t\t\t\t\t";
$context["tab"] = "closedPortal";
// line 410
yield "\t\t\t\t\t\t\t\t";
yield from $this->unwrap()->yieldBlock("ticketsTab", $context, $blocks);
yield "
\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t";
// line 413
yield "\t\t\t\t\t\t\t<div class=\"tab-content clearfix\" id=\"canceled\">
\t\t\t\t\t\t\t\t";
// line 414
$context["tickets"] = (isset($context["canceledTickets"]) || array_key_exists("canceledTickets", $context) ? $context["canceledTickets"] : (function () { throw new RuntimeError('Variable "canceledTickets" does not exist.', 414, $this->source); })());
// line 415
yield "\t\t\t\t\t\t\t\t";
$context["number"] = 8;
// line 416
yield "\t\t\t\t\t\t\t\t";
$context["multipleSelection"] = [true, 8, ["wrong", "export"]];
// line 417
yield "\t\t\t\t\t\t\t\t";
$context["hasEmailTakeCharge"] = false;
// line 418
yield "\t\t\t\t\t\t\t\t";
$context["tabOpenValue"] = "canceled";
// line 419
yield "\t\t\t\t\t\t\t\t";
$context["tab"] = "canceled";
// line 420
yield "\t\t\t\t\t\t\t\t";
yield from $this->unwrap()->yieldBlock("ticketsTab", $context, $blocks);
yield "
\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t";
// line 423
yield "\t\t\t\t\t\t\t<div class=\"tab-content clearfix\" id=\"wrong\">
\t\t\t\t\t\t\t\t";
// line 424
$context["tickets"] = (isset($context["wrongTickets"]) || array_key_exists("wrongTickets", $context) ? $context["wrongTickets"] : (function () { throw new RuntimeError('Variable "wrongTickets" does not exist.', 424, $this->source); })());
// line 425
yield "\t\t\t\t\t\t\t\t";
$context["number"] = 9;
// line 426
yield "\t\t\t\t\t\t\t\t";
$context["multipleSelection"] = [true, 9, ["delete", "export"]];
// line 427
yield "\t\t\t\t\t\t\t\t";
$context["hasEmailTakeCharge"] = false;
// line 428
yield "\t\t\t\t\t\t\t\t";
$context["tabOpenValue"] = "wrong";
// line 429
yield "\t\t\t\t\t\t\t\t";
$context["tab"] = "wrong";
// line 430
yield "\t\t\t\t\t\t\t\t";
yield from $this->unwrap()->yieldBlock("ticketsTab", $context, $blocks);
yield "
\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t</div>
\t\t\t\t\t</div>
\t\t\t\t</div>
\t\t\t";
} elseif ((CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, // line 435
(isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 435, $this->source); })()), "user", [], "any", false, false, false, 435), "getAccountTypology", [], "any", false, false, false, 435) == "warehouse")) {
// line 436
yield "\t\t\t\t";
// line 437
yield "\t\t\t\t<div class=\"col-12\">
\t\t\t\t\t<div class=\"tabs clearfix\">
\t\t\t\t\t\t<ul class=\"tab-nav clearfix\">
\t\t\t\t\t\t\t<li>
\t\t\t\t\t\t\t\t<a id=\"btn_tab_to_assign\" href=\"#toAssign\" class=\"tab_session\" data-filterTab=\"to_assign\">
\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>";
// line 442
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", false, false, false, 442), "html", null, true);
yield "</span>
\t\t\t\t\t\t\t\t\t<span class=\"d-none d-lg-block\">Da assegnare (";
// line 443
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", false, false, false, 443), "html", null, true);
yield ")</span>
\t\t\t\t\t\t\t\t</a>
\t\t\t\t\t\t\t</li>
\t\t\t\t\t\t\t<li>
\t\t\t\t\t\t\t\t<a id=\"btn_tab_assigned\" href=\"#assigned\" class=\"tab_session\" data-filterTab=\"assigned\">
\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>";
// line 448
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", false, false, false, 448), "html", null, true);
yield "</span>
\t\t\t\t\t\t\t\t\t<span class=\"d-none d-lg-block\">Assegnati (";
// line 449
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", false, false, false, 449), "html", null, true);
yield ")</span>
\t\t\t\t\t\t\t\t</a>
\t\t\t\t\t\t\t</li>
\t\t\t\t\t\t\t<li>
\t\t\t\t\t\t\t\t<a id=\"btn_tab_taken_charge\" href=\"#takenCharge\" class=\"tab_session\" data-filterTab=\"taken_charge\">
\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>";
// line 454
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", false, false, false, 454), "html", null, true);
yield "</span>
\t\t\t\t\t\t\t\t\t<span class=\"d-none d-lg-block\">Presi in carico (";
// line 455
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", false, false, false, 455), "html", null, true);
yield ")</span>
\t\t\t\t\t\t\t\t</a>
\t\t\t\t\t\t\t</li>
\t\t\t\t\t\t\t<li>
\t\t\t\t\t\t\t\t<a id=\"btn_tab_suspension_request\" href=\"#suspensionRequest\" class=\"tab_session\" data-filterTab=\"suspension_request\">
\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>";
// line 460
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", false, false, false, 460), "html", null, true);
yield "</span>
\t\t\t\t\t\t\t\t\t<span class=\"d-none d-lg-block\">Richiesta sospensione (";
// line 461
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", false, false, false, 461), "html", null, true);
yield ")</span>
\t\t\t\t\t\t\t\t</a>
\t\t\t\t\t\t\t</li>
\t\t\t\t\t\t\t<li>
\t\t\t\t\t\t\t\t<a id=\"btn_tab_suspended\" href=\"#suspended\" class=\"tab_session\" data-filterTab=\"suspended\">
\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>";
// line 466
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", false, false, false, 466), "html", null, true);
yield "</span>
\t\t\t\t\t\t\t\t\t<span class=\"d-none d-lg-block\">Sospesi (";
// line 467
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", false, false, false, 467), "html", null, true);
yield ")</span>
\t\t\t\t\t\t\t\t</a>
\t\t\t\t\t\t\t</li>
\t\t\t\t\t\t\t<li>
\t\t\t\t\t\t\t\t<a id=\"btn_tab_closed\" href=\"#closed\" class=\"tab_session\" data-filterTab=\"closed\">
\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>";
// line 472
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", false, false, false, 472), "html", null, true);
yield "</span>
\t\t\t\t\t\t\t\t\t<span class=\"d-none d-lg-block\">Chiusi (";
// line 473
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", false, false, false, 473), "html", null, true);
yield ")</span>
\t\t\t\t\t\t\t\t</a>
\t\t\t\t\t\t\t</li>
\t\t\t\t\t\t\t<li>
\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\">
\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>";
// line 478
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", false, false, false, 478), "html", null, true);
yield "</span>
\t\t\t\t\t\t\t\t\t<span class=\"d-none d-lg-block\">Chiusi su fornitore (";
// line 479
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", false, false, false, 479), "html", null, true);
yield ")</span>
\t\t\t\t\t\t\t\t</a>
\t\t\t\t\t\t\t</li>
\t\t\t\t\t\t\t<li>
\t\t\t\t\t\t\t\t<a id=\"btn_tab_canceled\" href=\"#canceled\" class=\"tab_session\" data-filterTab=\"canceled\">
\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>";
// line 484
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", false, false, false, 484), "html", null, true);
yield "</span>
\t\t\t\t\t\t\t\t\t<span class=\"d-none d-lg-block\">Annullati (";
// line 485
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", false, false, false, 485), "html", null, true);
yield ")</span>
\t\t\t\t\t\t\t\t</a>
\t\t\t\t\t\t\t</li>
\t\t\t\t\t\t\t<li>
\t\t\t\t\t\t\t\t<a id=\"btn_tab_wrong\" href=\"#wrong\" class=\"tab_session\" data-filterTab=\"wrong\">
\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>";
// line 490
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", false, false, false, 490), "html", null, true);
yield "</span>
\t\t\t\t\t\t\t\t\t<span class=\"d-none d-lg-block\">Errati (";
// line 491
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", false, false, false, 491), "html", null, true);
yield ")</span>
\t\t\t\t\t\t\t\t</a>
\t\t\t\t\t\t\t</li>
\t\t\t\t\t\t</ul>
\t\t\t\t\t\t<div class=\"tab-container\">
\t\t\t\t\t\t\t";
// line 497
yield "\t\t\t\t\t\t\t<div class=\"tab-content clearfix\" id=\"toAssign\">
\t\t\t\t\t\t\t\t";
// line 498
$context["tickets"] = (isset($context["toAssignTickets"]) || array_key_exists("toAssignTickets", $context) ? $context["toAssignTickets"] : (function () { throw new RuntimeError('Variable "toAssignTickets" does not exist.', 498, $this->source); })());
// line 499
yield "\t\t\t\t\t\t\t\t";
$context["number"] = 1;
// line 500
yield "\t\t\t\t\t\t\t\t";
$context["tabOpenValue"] = "to_assign";
// line 501
yield "\t\t\t\t\t\t\t\t";
$context["tab"] = "toAssign";
// line 502
yield "\t\t\t\t\t\t\t\t";
yield from $this->unwrap()->yieldBlock('ticketsTabW', $context, $blocks);
// line 597
yield "\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t";
// line 599
yield "\t\t\t\t\t\t\t<div class=\"tab-content clearfix\" id=\"assigned\">
\t\t\t\t\t\t\t\t";
// line 600
$context["tickets"] = (isset($context["assignedTickets"]) || array_key_exists("assignedTickets", $context) ? $context["assignedTickets"] : (function () { throw new RuntimeError('Variable "assignedTickets" does not exist.', 600, $this->source); })());
// line 601
yield "\t\t\t\t\t\t\t\t";
$context["number"] = 2;
// line 602
yield "\t\t\t\t\t\t\t\t";
$context["hasEmailTakeCharge"] = true;
// line 603
yield "\t\t\t\t\t\t\t\t";
$context["tabOpenValue"] = "assigned";
// line 604
yield "\t\t\t\t\t\t\t\t";
$context["tab"] = "assigned";
// line 605
yield "\t\t\t\t\t\t\t\t";
yield from $this->unwrap()->yieldBlock("ticketsTabW", $context, $blocks);
yield "
\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t";
// line 608
yield "\t\t\t\t\t\t\t<div class=\"tab-content clearfix\" id=\"takenCharge\">
\t\t\t\t\t\t\t\t";
// line 609
$context["tickets"] = (isset($context["takenChargeTickets"]) || array_key_exists("takenChargeTickets", $context) ? $context["takenChargeTickets"] : (function () { throw new RuntimeError('Variable "takenChargeTickets" does not exist.', 609, $this->source); })());
// line 610
yield "\t\t\t\t\t\t\t\t";
$context["number"] = 3;
// line 611
yield "\t\t\t\t\t\t\t\t";
$context["hasEmailTakeCharge"] = false;
// line 612
yield "\t\t\t\t\t\t\t\t";
$context["tabOpenValue"] = "taken_charge";
// line 613
yield "\t\t\t\t\t\t\t\t";
$context["tab"] = "takenCharge";
// line 614
yield "\t\t\t\t\t\t\t\t";
yield from $this->unwrap()->yieldBlock("ticketsTabW", $context, $blocks);
yield "
\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t";
// line 617
yield "\t\t\t\t\t\t\t<div class=\"tab-content clearfix\" id=\"suspensionRequest\">
\t\t\t\t\t\t\t\t";
// line 618
$context["tickets"] = (isset($context["suspensionRequestTickets"]) || array_key_exists("suspensionRequestTickets", $context) ? $context["suspensionRequestTickets"] : (function () { throw new RuntimeError('Variable "suspensionRequestTickets" does not exist.', 618, $this->source); })());
// line 619
yield "\t\t\t\t\t\t\t\t";
$context["number"] = 4;
// line 620
yield "\t\t\t\t\t\t\t\t";
$context["hasEmailTakeCharge"] = false;
// line 621
yield "\t\t\t\t\t\t\t\t";
$context["tabOpenValue"] = "suspension_request";
// line 622
yield "\t\t\t\t\t\t\t\t";
$context["tab"] = "suspensionRequest";
// line 623
yield "\t\t\t\t\t\t\t\t";
yield from $this->unwrap()->yieldBlock("ticketsTabW", $context, $blocks);
yield "
\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t";
// line 626
yield "\t\t\t\t\t\t\t<div class=\"tab-content clearfix\" id=\"suspended\">
\t\t\t\t\t\t\t\t";
// line 627
$context["tickets"] = (isset($context["suspendedTickets"]) || array_key_exists("suspendedTickets", $context) ? $context["suspendedTickets"] : (function () { throw new RuntimeError('Variable "suspendedTickets" does not exist.', 627, $this->source); })());
// line 628
yield "\t\t\t\t\t\t\t\t";
$context["number"] = 5;
// line 629
yield "\t\t\t\t\t\t\t\t";
$context["hasEmailTakeCharge"] = false;
// line 630
yield "\t\t\t\t\t\t\t\t";
$context["tabOpenValue"] = "suspended";
// line 631
yield "\t\t\t\t\t\t\t\t";
$context["tab"] = "suspended";
// line 632
yield "\t\t\t\t\t\t\t\t";
yield from $this->unwrap()->yieldBlock("ticketsTabW", $context, $blocks);
yield "
\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t";
// line 635
yield "\t\t\t\t\t\t\t<div class=\"tab-content clearfix\" id=\"closed\">
\t\t\t\t\t\t\t\t";
// line 636
$context["tickets"] = (isset($context["closedTickets"]) || array_key_exists("closedTickets", $context) ? $context["closedTickets"] : (function () { throw new RuntimeError('Variable "closedTickets" does not exist.', 636, $this->source); })());
// line 637
yield "\t\t\t\t\t\t\t\t";
$context["number"] = 6;
// line 638
yield "\t\t\t\t\t\t\t\t";
$context["hasEmailTakeCharge"] = false;
// line 639
yield "\t\t\t\t\t\t\t\t";
$context["tabOpenValue"] = "closed";
// line 640
yield "\t\t\t\t\t\t\t\t";
$context["tab"] = "closed";
// line 641
yield "\t\t\t\t\t\t\t\t";
yield from $this->unwrap()->yieldBlock("ticketsTabW", $context, $blocks);
yield "
\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t";
// line 644
yield "\t\t\t\t\t\t\t<div class=\"tab-content clearfix\" id=\"closedPortal\">
\t\t\t\t\t\t\t\t";
// line 645
$context["tickets"] = (isset($context["closedPortalTickets"]) || array_key_exists("closedPortalTickets", $context) ? $context["closedPortalTickets"] : (function () { throw new RuntimeError('Variable "closedPortalTickets" does not exist.', 645, $this->source); })());
// line 646
yield "\t\t\t\t\t\t\t\t";
$context["number"] = 7;
// line 647
yield "\t\t\t\t\t\t\t\t";
$context["hasEmailTakeCharge"] = false;
// line 648
yield "\t\t\t\t\t\t\t\t";
$context["tabOpenValue"] = "closed_on_portal";
// line 649
yield "\t\t\t\t\t\t\t\t";
$context["tab"] = "closedPortal";
// line 650
yield "\t\t\t\t\t\t\t\t";
yield from $this->unwrap()->yieldBlock("ticketsTabW", $context, $blocks);
yield "
\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t";
// line 653
yield "\t\t\t\t\t\t\t<div class=\"tab-content clearfix\" id=\"canceled\">
\t\t\t\t\t\t\t\t";
// line 654
$context["tickets"] = (isset($context["canceledTickets"]) || array_key_exists("canceledTickets", $context) ? $context["canceledTickets"] : (function () { throw new RuntimeError('Variable "canceledTickets" does not exist.', 654, $this->source); })());
// line 655
yield "\t\t\t\t\t\t\t\t";
$context["number"] = 8;
// line 656
yield "\t\t\t\t\t\t\t\t";
$context["hasEmailTakeCharge"] = false;
// line 657
yield "\t\t\t\t\t\t\t\t";
$context["tabOpenValue"] = "canceled";
// line 658
yield "\t\t\t\t\t\t\t\t";
$context["tab"] = "canceled";
// line 659
yield "\t\t\t\t\t\t\t\t";
yield from $this->unwrap()->yieldBlock("ticketsTabW", $context, $blocks);
yield "
\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t";
// line 662
yield "\t\t\t\t\t\t\t<div class=\"tab-content clearfix\" id=\"wrong\">
\t\t\t\t\t\t\t\t";
// line 663
$context["tickets"] = (isset($context["wrongTickets"]) || array_key_exists("wrongTickets", $context) ? $context["wrongTickets"] : (function () { throw new RuntimeError('Variable "wrongTickets" does not exist.', 663, $this->source); })());
// line 664
yield "\t\t\t\t\t\t\t\t";
$context["number"] = 9;
// line 665
yield "\t\t\t\t\t\t\t\t";
$context["hasEmailTakeCharge"] = false;
// line 666
yield "\t\t\t\t\t\t\t\t";
$context["tabOpenValue"] = "wrong";
// line 667
yield "\t\t\t\t\t\t\t\t";
$context["tab"] = "wrong";
// line 668
yield "\t\t\t\t\t\t\t\t";
yield from $this->unwrap()->yieldBlock("ticketsTabW", $context, $blocks);
yield "
\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t</div>
\t\t\t\t\t</div>
\t\t\t\t</div>
\t\t\t";
} elseif ((CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, // line 673
(isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 673, $this->source); })()), "user", [], "any", false, false, false, 673), "getAccountTypology", [], "any", false, false, false, 673) == "technician")) {
// line 674
yield "\t\t\t\t";
// line 675
yield "\t\t\t\t<div class=\"col-12\">
\t\t\t\t\t<div class=\"tabs clearfix\">
\t\t\t\t\t\t<ul class=\"tab-nav clearfix\">
\t\t\t\t\t\t\t<li>
\t\t\t\t\t\t\t\t<a id=\"btn_tab_assigned\" href=\"#assigned\" class=\"tab_session\" data-filterTab=\"assigned\">
\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\">(";
// line 680
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", false, false, false, 680), "html", null, true);
yield ")</span></span>
\t\t\t\t\t\t\t\t\t<span class=\"d-none d-lg-block\">Assegnati (";
// line 681
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", false, false, false, 681), "html", null, true);
yield ")</span>
\t\t\t\t\t\t\t\t</a>
\t\t\t\t\t\t\t</li>
\t\t\t\t\t\t\t<li>
\t\t\t\t\t\t\t\t<a id=\"btn_tab_taken_charge\" href=\"#takenCharge\" class=\"tab_session\" data-filterTab=\"taken_charge\">
\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\">(";
// line 686
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", false, false, false, 686), "html", null, true);
yield ")</span></span>
\t\t\t\t\t\t\t\t\t<span class=\"d-none d-lg-block\">Presi in carico (";
// line 687
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", false, false, false, 687), "html", null, true);
yield ")</span>
\t\t\t\t\t\t\t\t</a>
\t\t\t\t\t\t\t</li>
\t\t\t\t\t\t\t<li>
\t\t\t\t\t\t\t\t<a id=\"btn_tab_suspension_request\" href=\"#suspensionRequest\" class=\"tab_session\" data-filterTab=\"suspension_request\">
\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\">(";
// line 692
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", false, false, false, 692), "html", null, true);
yield ")</span></span>
\t\t\t\t\t\t\t\t\t<span class=\"d-none d-lg-block\">Richiesta sospensione (";
// line 693
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", false, false, false, 693), "html", null, true);
yield ")</span>
\t\t\t\t\t\t\t\t</a>
\t\t\t\t\t\t\t</li>
\t\t\t\t\t\t\t<li>
\t\t\t\t\t\t\t\t<a id=\"btn_tab_suspended\" href=\"#suspended\" class=\"tab_session\" data-filterTab=\"suspended\">
\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\">(";
// line 698
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", false, false, false, 698), "html", null, true);
yield ")</span></span>
\t\t\t\t\t\t\t\t\t<span class=\"d-none d-lg-block\">Sospesi (";
// line 699
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", false, false, false, 699), "html", null, true);
yield ")</span>
\t\t\t\t\t\t\t\t</a>
\t\t\t\t\t\t\t</li>
\t\t\t\t\t\t\t<li>
\t\t\t\t\t\t\t\t<a id=\"btn_tab_closed\" href=\"#closed\" class=\"tab_session\" data-filterTab=\"closed\">
\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\">(";
// line 704
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", false, false, false, 704), "html", null, true);
yield ")</span></span>
\t\t\t\t\t\t\t\t\t<span class=\"d-none d-lg-block\">Chiusi (";
// line 705
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", false, false, false, 705), "html", null, true);
yield ")</span>
\t\t\t\t\t\t\t\t</a>
\t\t\t\t\t\t\t</li>
\t\t\t\t\t\t\t<li>
\t\t\t\t\t\t\t\t<a id=\"btn_tab_closed_portal\" href=\"#closedPortal\" class=\"tab_session\" data-filterTab=\"closed_portal\">
\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\">(";
// line 710
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", false, false, false, 710), "html", null, true);
yield ")</span></span>
\t\t\t\t\t\t\t\t\t<span class=\"d-none d-lg-block\">Chiusi su fornitore (";
// line 711
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", false, false, false, 711), "html", null, true);
yield ")</span>
\t\t\t\t\t\t\t\t</a>
\t\t\t\t\t\t\t</li>
\t\t\t\t\t\t\t<li>
\t\t\t\t\t\t\t\t<a id=\"btn_tab_canceled\" href=\"#canceled\" class=\"tab_session\" data-filterTab=\"canceled\">
\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\">(";
// line 716
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", false, false, false, 716), "html", null, true);
yield ")</span></span>
\t\t\t\t\t\t\t\t\t<span class=\"d-none d-lg-block\">Annullati (";
// line 717
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", false, false, false, 717), "html", null, true);
yield ")</span>
\t\t\t\t\t\t\t\t</a>
\t\t\t\t\t\t\t</li>
\t\t\t\t\t\t</ul>
\t\t\t\t\t\t<div class=\"tab-container\">
\t\t\t\t\t\t\t";
// line 723
yield "\t\t\t\t\t\t\t<div class=\"tab-content clearfix\" id=\"assigned\">
\t\t\t\t\t\t\t\t";
// line 724
$context["tickets"] = (isset($context["assignedTickets"]) || array_key_exists("assignedTickets", $context) ? $context["assignedTickets"] : (function () { throw new RuntimeError('Variable "assignedTickets" does not exist.', 724, $this->source); })());
// line 725
yield "\t\t\t\t\t\t\t\t";
$context["multipleSelection"] = [true, 11, ["print"]];
// line 726
yield "\t\t\t\t\t\t\t\t";
$context["hasTakeOnCharge"] = true;
// line 727
yield "\t\t\t\t\t\t\t\t";
$context["tabOpenValue"] = "assigned";
// line 728
yield "\t\t\t\t\t\t\t\t";
yield from $this->unwrap()->yieldBlock('ticketsTab2', $context, $blocks);
// line 820
yield "\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t";
// line 822
yield "\t\t\t\t\t\t\t<div class=\"tab-content clearfix\" id=\"takenCharge\">
\t\t\t\t\t\t\t\t";
// line 823
$context["tickets"] = (isset($context["takenChargeTickets"]) || array_key_exists("takenChargeTickets", $context) ? $context["takenChargeTickets"] : (function () { throw new RuntimeError('Variable "takenChargeTickets" does not exist.', 823, $this->source); })());
// line 824
yield "\t\t\t\t\t\t\t\t";
$context["multipleSelection"] = [true, 12, ["print"]];
// line 825
yield "\t\t\t\t\t\t\t\t";
$context["hasTakeOnCharge"] = false;
// line 826
yield "\t\t\t\t\t\t\t\t";
$context["tabOpenValue"] = "taken_charge";
// line 827
yield "\t\t\t\t\t\t\t\t";
yield from $this->unwrap()->yieldBlock("ticketsTab2", $context, $blocks);
yield "
\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t";
// line 830
yield "\t\t\t\t\t\t\t<div class=\"tab-content clearfix\" id=\"suspensionRequest\">
\t\t\t\t\t\t\t\t";
// line 831
$context["tickets"] = (isset($context["suspensionRequestTickets"]) || array_key_exists("suspensionRequestTickets", $context) ? $context["suspensionRequestTickets"] : (function () { throw new RuntimeError('Variable "suspensionRequestTickets" does not exist.', 831, $this->source); })());
// line 832
yield "\t\t\t\t\t\t\t\t";
$context["multipleSelection"] = [false, 13, null];
// line 833
yield "\t\t\t\t\t\t\t\t";
$context["hasTakeOnCharge"] = false;
// line 834
yield "\t\t\t\t\t\t\t\t";
$context["tabOpenValue"] = "suspension_request";
// line 835
yield "\t\t\t\t\t\t\t\t";
yield from $this->unwrap()->yieldBlock("ticketsTab2", $context, $blocks);
yield "
\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t";
// line 838
yield "\t\t\t\t\t\t\t<div class=\"tab-content clearfix\" id=\"suspended\">
\t\t\t\t\t\t\t\t";
// line 839
$context["tickets"] = (isset($context["suspendedTickets"]) || array_key_exists("suspendedTickets", $context) ? $context["suspendedTickets"] : (function () { throw new RuntimeError('Variable "suspendedTickets" does not exist.', 839, $this->source); })());
// line 840
yield "\t\t\t\t\t\t\t\t";
$context["multipleSelection"] = [true, 14, ["print", "suspend_end"]];
// line 841
yield "\t\t\t\t\t\t\t\t";
$context["hasTakeOnCharge"] = false;
// line 842
yield "\t\t\t\t\t\t\t\t";
$context["tabOpenValue"] = "suspended";
// line 843
yield "\t\t\t\t\t\t\t\t";
yield from $this->unwrap()->yieldBlock("ticketsTab2", $context, $blocks);
yield "
\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t";
// line 846
yield "\t\t\t\t\t\t\t<div class=\"tab-content clearfix\" id=\"closed\">
\t\t\t\t\t\t\t\t";
// line 847
$context["tickets"] = (isset($context["closedTickets"]) || array_key_exists("closedTickets", $context) ? $context["closedTickets"] : (function () { throw new RuntimeError('Variable "closedTickets" does not exist.', 847, $this->source); })());
// line 848
yield "\t\t\t\t\t\t\t\t";
$context["multipleSelection"] = [false, 15, null];
// line 849
yield "\t\t\t\t\t\t\t\t";
$context["hasTakeOnCharge"] = false;
// line 850
yield "\t\t\t\t\t\t\t\t";
$context["tabOpenValue"] = "closed";
// line 851
yield "\t\t\t\t\t\t\t\t";
yield from $this->unwrap()->yieldBlock("ticketsTab2", $context, $blocks);
yield "
\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t";
// line 854
yield "\t\t\t\t\t\t\t<div class=\"tab-content clearfix\" id=\"closedPortal\">
\t\t\t\t\t\t\t\t";
// line 855
$context["tickets"] = (isset($context["closedPortalTickets"]) || array_key_exists("closedPortalTickets", $context) ? $context["closedPortalTickets"] : (function () { throw new RuntimeError('Variable "closedPortalTickets" does not exist.', 855, $this->source); })());
// line 856
yield "\t\t\t\t\t\t\t\t";
$context["multipleSelection"] = [false, 16, null];
// line 857
yield "\t\t\t\t\t\t\t\t";
$context["hasTakeOnCharge"] = false;
// line 858
yield "\t\t\t\t\t\t\t\t";
$context["tabOpenValue"] = "closed_portal";
// line 859
yield "\t\t\t\t\t\t\t\t";
yield from $this->unwrap()->yieldBlock("ticketsTab2", $context, $blocks);
yield "
\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t";
// line 862
yield "\t\t\t\t\t\t\t<div class=\"tab-content clearfix\" id=\"canceled\">
\t\t\t\t\t\t\t\t";
// line 863
$context["tickets"] = (isset($context["canceledTickets"]) || array_key_exists("canceledTickets", $context) ? $context["canceledTickets"] : (function () { throw new RuntimeError('Variable "canceledTickets" does not exist.', 863, $this->source); })());
// line 864
yield "\t\t\t\t\t\t\t\t";
$context["multipleSelection"] = [false, 17, null];
// line 865
yield "\t\t\t\t\t\t\t\t";
$context["hasTakeOnCharge"] = false;
// line 866
yield "\t\t\t\t\t\t\t\t";
$context["tabOpenValue"] = "canceled";
// line 867
yield "\t\t\t\t\t\t\t\t";
yield from $this->unwrap()->yieldBlock("ticketsTab2", $context, $blocks);
yield "
\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t</div>
\t\t\t\t\t</div>
\t\t\t\t</div>
\t\t\t";
}
// line 873
yield "\t\t</div>
\t</section>
\t<div id=\"multipleModal\" class=\"modal fade\" tabindex=\"-1\" role=\"dialog\">
\t\t<div class=\"modal-dialog modal-lg\" role=\"document\">
\t\t\t<div class=\"modal-content\">
\t\t\t\t<form action=\"";
// line 879
yield $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("user_ticket_multiple_select_action");
yield "\" method=\"post\">
\t\t\t\t\t<div class=\"modal-header\"><h3 class=\"modal-title\">Ticket - Selezione multipla</h3></div>
\t\t\t\t\t<div class=\"modal-body\">
\t\t\t\t\t\t<div class=\"row\">
\t\t\t\t\t\t\t<div class=\"col-12 txt_a_c\">
\t\t\t\t\t\t\t\t<label class=\"modal_subtitle\">Attenzione!</label><br>
\t\t\t\t\t\t\t\t<label class=\"l_s_none m_b_none f_left\">Ticket selezionati:</label>
\t\t\t\t\t\t\t\t<table class=\"table table-sm font_12 b_none txt_a_l\" id=\"tableTickets\"></table>
\t\t\t\t\t\t\t\t<div id=\"divSuspendEnd\" class=\"display_n\">
\t\t\t\t\t\t\t\t\t<label class=\"l_s_none m_b_none f_left\">Motivazione di sblocco:</label>
\t\t\t\t\t\t\t\t\t<textarea id=\"textareaCausal\" class=\"form-control min_h_150p\" name=\"causal\"></textarea>
\t\t\t\t\t\t\t\t</div>
\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>
\t\t\t\t\t\t\t\t<p class=\"modal_paragraph\">Si è sicuri di voler proseguire?</p>
\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t</div>
\t\t\t\t\t\t<input type=\"hidden\" id=\"ticketsIds\" name=\"ids\">
\t\t\t\t\t\t<input type=\"hidden\" id=\"action\" name=\"action\">
\t\t\t\t\t\t<input type=\"hidden\" id=\"multipleTab\" name=\"tab\">
\t\t\t\t\t</div>
\t\t\t\t\t<div class=\"modal-footer\">
\t\t\t\t\t\t<a href=\"javascript:void(0)\" class=\"button button-3d button-mini button-red f_left\" data-bs-dismiss=\"modal\">Annulla</a>
\t\t\t\t\t\t<button type=\"submit\" class=\"button button-3d button-mini button-green f_right\" id=\"multipleSubmitBtn\">Conferma</button>
\t\t\t\t\t</div>
\t\t\t\t</form>
\t\t\t</div>
\t\t</div>
\t</div>
\t<div id=\"exportModal\" class=\"modal fade\" tabindex=\"-1\" role=\"dialog\">
\t\t<div class=\"modal-dialog modal-lg\" role=\"document\">
\t\t\t<div class=\"modal-content\">
\t\t\t\t<form action=\"";
// line 911
yield $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("user_ticket_list_export");
yield "\" method=\"post\" id=\"exportForm\">
\t\t\t\t\t<div class=\"modal-header\"><h3 class=\"modal-title\">Ticket - Selezione multipla</h3></div>
\t\t\t\t\t<div class=\"modal-body\">
\t\t\t\t\t\t<div class=\"row\">
\t\t\t\t\t\t\t<div class=\"col-12 txt_a_c\">
\t\t\t\t\t\t\t\t<label class=\"modal_subtitle\">Attenzione!</label><br>
\t\t\t\t\t\t\t\t<label class=\"l_s_none m_b_none f_left\">Ticket selezionati:</label>
\t\t\t\t\t\t\t\t<table class=\"table table-sm font_12 b_none txt_a_l\" id=\"exportTableTickets\"></table>
\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>
\t\t\t\t\t\t\t\t<p class=\"modal_paragraph\">Si è sicuri di voler proseguire?</p>
\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t</div>
\t\t\t\t\t\t<input type=\"hidden\" id=\"exportTicketsIds\" name=\"ids\">
\t\t\t\t\t</div>
\t\t\t\t\t<div class=\"modal-footer\">
\t\t\t\t\t\t<a href=\"javascript:void(0)\" class=\"button button-3d button-mini button-red f_left\" data-bs-dismiss=\"modal\">Annulla</a>
\t\t\t\t\t\t<button type=\"submit\" class=\"button button-3d button-mini button-green f_right\">Conferma</button>
\t\t\t\t\t</div>
\t\t\t\t</form>
\t\t\t</div>
\t\t</div>
\t</div>
\t<div id=\"notesModal\" class=\"modal fade\" tabindex=\"-1\" role=\"dialog\">
\t\t<div class=\"modal-dialog modal-md\" role=\"document\">
\t\t\t<div class=\"modal-content\">
\t\t\t\t<div class=\"modal-header\"><h3 class=\"modal-title\">Note ticket: <span class=\"color_w\" id=\"notes_number\"></span></h3></div>
\t\t\t\t<div class=\"modal-body\">
\t\t\t\t\t<div class=\"row\">
\t\t\t\t\t\t<div class=\"col-12 m_b_20p\">
\t\t\t\t\t\t\t<label class=\"l_s_none m_b_none\">Anomalia:</label>
\t\t\t\t\t\t\t<p class=\"font_14 m_b_none\" id=\"notes_anomaly\"></p>
\t\t\t\t\t\t</div>
\t\t\t\t\t\t<div class=\"col-12 m_b_20p\">
\t\t\t\t\t\t\t<label class=\"l_s_none m_b_none\">Orari cliente:</label>
\t\t\t\t\t\t\t<p class=\"font_14 m_b_none\" id=\"notes_client_time\"></p>
\t\t\t\t\t\t</div>
\t\t\t\t\t\t<div class=\"col-12\">
\t\t\t\t\t\t\t<label class=\"l_s_none m_b_none\">Note cliente:</label>
\t\t\t\t\t\t\t<p class=\"font_14 m_b_none\" id=\"notes_client\"></p>
\t\t\t\t\t\t</div>
\t\t\t\t\t</div>
\t\t\t\t</div>
\t\t\t\t<div class=\"modal-footer txt_a_c\">
\t\t\t\t\t<a href=\"javascript:void(0)\" class=\"button button-3d button-mini button-red\" data-bs-dismiss=\"modal\">Esci</a>
\t\t\t\t</div>
\t\t\t</div>
\t\t</div>
\t</div>
\t";
// line 961
if ((CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 961, $this->source); })()), "user", [], "any", false, false, false, 961), "getAccountTypology", [], "any", false, false, false, 961) == "agency")) {
// line 962
yield "\t\t<div id=\"assignTechnicianModal\" class=\"modal fade\" tabindex=\"-1\" role=\"dialog\">
\t\t\t<div class=\"modal-dialog\" role=\"document\">
\t\t\t\t<div class=\"modal-content\">
\t\t\t\t\t";
// line 965
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"]]);
yield "
\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>
\t\t\t\t\t\t<div class=\"modal-body\">
\t\t\t\t\t\t\t<div class=\"row\">
\t\t\t\t\t\t\t\t<div class=\"col-12 form-group\">
\t\t\t\t\t\t\t\t\t<label class=\"form_label\">Tecnico (N° ticket: in corso / sospesi)*</label>
\t\t\t\t\t\t\t\t\t<div ";
// line 971
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", false, false, false, 971), 'errors');
yield ">
\t\t\t\t\t\t\t\t\t\t";
// line 972
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", false, false, false, 972), 'widget', ["attr" => ["class" => "form-control form-select"]]);
yield "
\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t<input type=\"hidden\" id=\"technicianTicketsIds\" name=\"ids\">
\t\t\t\t\t\t</div>
\t\t\t\t\t\t<div class=\"modal-footer\">
\t\t\t\t\t\t\t<a href=\"javascript:void(0)\" class=\"button button-3d button-mini button-red f_left\" data-bs-dismiss=\"modal\">Annulla</a>
\t\t\t\t\t\t\t<button type=\"submit\" class=\"button button-3d button-mini button-green f_right\" id=\"tech_btn\"></button>
\t\t\t\t\t\t</div>
\t\t\t\t\t";
// line 982
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');
yield "
\t\t\t\t</div>
\t\t\t</div>
\t\t</div>
\t\t
\t\t<div id=\"emailTakeChargeModal\" class=\"modal fade\" tabindex=\"-1\" role=\"dialog\">
\t\t\t<div class=\"modal-dialog\" role=\"document\">
\t\t\t\t<div class=\"modal-content\">
\t\t\t\t\t<form action=\"";
// line 990
yield $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("user_ticket_send_email_take_charge");
yield "\" method=\"post\">
\t\t\t\t\t\t<div class=\"modal-header\"><h3 class=\"modal-title\">Ticket - Email di notifica prendi in carico</h3></div>
\t\t\t\t\t\t<div class=\"modal-body\">
\t\t\t\t\t\t\t<div class=\"row\">
\t\t\t\t\t\t\t\t<div class=\"col-12 txt_a_c\">
\t\t\t\t\t\t\t\t\t<label class=\"modal_subtitle\">Attenzione!</label>
\t\t\t\t\t\t\t\t\t<p class=\"modal_paragraph\">Cliccando sul bottone <a class='button button-3d button-mini button-green' href='javascript:void(0)'>conferma</a> invierai a tutti i tecnici che hanno dei ticket assegnati ma non presi in carico la notifica.<br>Si è sicuri di voler proseguire?</p>
\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t</div>
\t\t\t\t\t\t<div class=\"modal-footer\">
\t\t\t\t\t\t\t<a href=\"javascript:void(0)\" class=\"button button-3d button-mini button-red f_left\" data-bs-dismiss=\"modal\">Annulla</a>
\t\t\t\t\t\t\t<button type=\"submit\" class=\"button button-3d button-mini button-green f_right\">Conferma</button>
\t\t\t\t\t\t</div>
\t\t\t\t\t</form>
\t\t\t\t</div>
\t\t\t</div>
\t\t</div>
\t\t
\t\t<div id=\"suspendTicketsModal\" class=\"modal fade\" tabindex=\"-1\" role=\"dialog\">
\t\t\t<div class=\"modal-dialog modal-lg\" role=\"document\">
\t\t\t\t<div class=\"modal-content\">
\t\t\t\t\t";
// line 1012
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"]]);
yield "
\t\t\t\t\t\t<div class=\"modal-header\"><h3 class=\"modal-title\">Ticket - Sospendi massivo</h3></div>
\t\t\t\t\t\t<div class=\"modal-body\">
\t\t\t\t\t\t\t<input type=\"hidden\" id=\"suspendTicketsIds\" name=\"ids\">
\t\t\t\t\t\t\t";
// line 1016
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", false, false, false, 1016), 'widget', ["attr" => ["class" => "display_n"]]);
yield "
\t\t\t\t\t\t\t";
// line 1017
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", false, false, false, 1017), 'widget', ["attr" => ["class" => "display_n"]]);
yield "
\t\t\t\t\t\t\t";
// line 1018
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", false, false, false, 1018), 'widget', ["attr" => ["class" => "display_n"]]);
yield "
\t\t\t\t\t\t\t<div class=\"row\">
\t\t\t\t\t\t\t\t<div class=\"col-12 form-group\">
\t\t\t\t\t\t\t\t\t<label class=\"form_label\">Esito*</label>
\t\t\t\t\t\t\t\t\t<div ";
// line 1022
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", false, false, false, 1022), 'errors');
yield ">
\t\t\t\t\t\t\t\t\t\t";
// line 1023
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", false, false, false, 1023), 'widget', ["attr" => ["class" => "form-control form-select", "onChange" => "updateReferentAndMotivation()"]]);
yield "
\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t<div class=\"col-12 col-md-6 form-group\" id=\"div_referent\" style=\"display: none\">
\t\t\t\t\t\t\t\t\t<label class=\"form_label\">Referente*</label>
\t\t\t\t\t\t\t\t\t<div ";
// line 1028
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", false, false, false, 1028), 'errors');
yield ">
\t\t\t\t\t\t\t\t\t\t";
// line 1029
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", false, false, false, 1029), 'widget');
yield "
\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t<div class=\"col-12 col-md-6 form-group\" id=\"div_phone\" style=\"display: none\">
\t\t\t\t\t\t\t\t\t<label class=\"form_label\">Telefono*</label>
\t\t\t\t\t\t\t\t\t<div ";
// line 1034
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", false, false, false, 1034), 'errors');
yield ">
\t\t\t\t\t\t\t\t\t\t";
// line 1035
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", false, false, false, 1035), 'widget');
yield "
\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t<div class=\"col-12 form-group\" id=\"div_photo\" style=\"display: none\">
\t\t\t\t\t\t\t\t\t<label class=\"form_label\">Foto*</label>
\t\t\t\t\t\t\t\t\t<div ";
// line 1040
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", false, false, false, 1040), 'errors');
yield ">
\t\t\t\t\t\t\t\t\t\t";
// line 1041
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", false, false, false, 1041), 'widget', ["attr" => ["class" => "display_n"]]);
yield "
\t\t\t\t\t\t\t\t\t\t";
// line 1042
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", false, false, false, 1042), 'widget', ["attr" => ["class" => "display_n"]]);
yield "
\t\t\t\t\t\t\t\t\t\t<div class=\"input-group\">
\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>
\t\t\t\t\t\t\t\t\t\t\t<input id=\"filename1\" type=\"text\" class=\"form-control\" readonly>
\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t<div class=\"col-12 form-group\">
\t\t\t\t\t\t\t\t\t<label class=\"form_label\" id=\"label_motivation\">Motivazione</label>
\t\t\t\t\t\t\t\t\t<div ";
// line 1051
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", false, false, false, 1051), 'errors');
yield ">
\t\t\t\t\t\t\t\t\t\t";
// line 1052
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", false, false, false, 1052), 'widget');
yield "
\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t<div class=\"col-12 col-md-4 form-group\">
\t\t\t\t\t\t\t\t\t<label class=\"form_label\">Sospeso da - Data*</label>
\t\t\t\t\t\t\t\t\t<div ";
// line 1057
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", false, false, false, 1057), 'errors');
yield ">
\t\t\t\t\t\t\t\t\t\t";
// line 1058
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", false, false, false, 1058), 'widget', ["attr" => ["class" => "form-control"]]);
yield "
\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t<div class=\"col-6 col-md-4 form-group\">
\t\t\t\t\t\t\t\t\t<label class=\"form_label\">Sospeso da - Ora*</label>
\t\t\t\t\t\t\t\t\t<div ";
// line 1063
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", false, false, false, 1063), 'errors');
yield ">
\t\t\t\t\t\t\t\t\t\t";
// line 1064
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", false, false, false, 1064), 'widget', ["attr" => ["class" => "form-control form-select"]]);
yield "
\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t<div class=\"col-6 col-md-4 form-group\">
\t\t\t\t\t\t\t\t\t<label class=\"form_label\">Sospeso da - Minuto*</label>
\t\t\t\t\t\t\t\t\t<div ";
// line 1069
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", false, false, false, 1069), 'errors');
yield ">
\t\t\t\t\t\t\t\t\t\t";
// line 1070
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", false, false, false, 1070), 'widget', ["attr" => ["class" => "form-control form-select"]]);
yield "
\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t<div class=\"col-12 col-md-4 form-group\" >
\t\t\t\t\t\t\t\t\t<label class=\"form_label\" id=\"label_suspension_to_date\">Sospeso fino a - Data</label>
\t\t\t\t\t\t\t\t\t<div ";
// line 1075
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", false, false, false, 1075), 'errors');
yield ">
\t\t\t\t\t\t\t\t\t\t";
// line 1076
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", false, false, false, 1076), 'widget', ["attr" => ["class" => "form-control"]]);
yield "
\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t<div class=\"col-6 col-md-4 form-group\">
\t\t\t\t\t\t\t\t\t<label class=\"form_label\" id=\"label_suspension_to_time\">Sospeso fino a - Ora</label>
\t\t\t\t\t\t\t\t\t<div ";
// line 1081
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", false, false, false, 1081), 'errors');
yield ">
\t\t\t\t\t\t\t\t\t\t";
// line 1082
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", false, false, false, 1082), 'widget', ["attr" => ["class" => "form-control form-select"]]);
yield "
\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t<div class=\"col-6 col-md-4 form-group\">
\t\t\t\t\t\t\t\t\t<label class=\"form_label\" id=\"label_suspension_to_minute\">Sospeso fino a - Minuto</label>
\t\t\t\t\t\t\t\t\t<div ";
// line 1087
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", false, false, false, 1087), 'errors');
yield ">
\t\t\t\t\t\t\t\t\t\t";
// line 1088
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", false, false, false, 1088), 'widget', ["attr" => ["class" => "form-control form-select"]]);
yield "
\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t</div>
\t\t\t\t\t\t<div class=\"modal-footer\">
\t\t\t\t\t\t\t<a href=\"javascript:void(0)\" class=\"button button-3d button-mini button-red f_left\" data-bs-dismiss=\"modal\">Annulla</a>
\t\t\t\t\t\t\t<button type=\"submit\" class=\"button button-3d button-mini button-green f_right\">Conferma</button>
\t\t\t\t\t\t</div>
\t\t\t\t\t";
// line 1097
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');
yield "
\t\t\t\t</div>
\t\t\t</div>
\t\t</div>
\t";
} elseif ((CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, // line 1101
(isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 1101, $this->source); })()), "user", [], "any", false, false, false, 1101), "getAccountTypology", [], "any", false, false, false, 1101) == "technician")) {
// line 1102
yield "\t\t<div id=\"takeChargeModal\" class=\"modal fade\" tabindex=\"-1\" role=\"dialog\">
\t\t\t<div class=\"modal-dialog\" role=\"document\">
\t\t\t\t<div class=\"modal-content\">
\t\t\t\t\t<form action=\"";
// line 1105
yield $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("user_ticket_take_charge");
yield "\" method=\"post\">
\t\t\t\t\t\t<div class=\"modal-header\"><h3 class=\"modal-title\">Ticket - Prendi in carico</h3></div>
\t\t\t\t\t\t<div class=\"modal-body\">
\t\t\t\t\t\t\t<div class=\"row\">
\t\t\t\t\t\t\t\t<div class=\"col-12 txt_a_c\">
\t\t\t\t\t\t\t\t\t<label class=\"modal_subtitle\">Attenzione!</label>
\t\t\t\t\t\t\t\t\t<p class=\"modal_paragraph\">Cliccando sul bottone <a class='button button-3d button-mini button-green' href='javascript:void(0)'>conferma</a> prenderai in carico tutti i ticket che ti sono stati assegnati.<br>Si è sicuri di voler proseguire?</p>
\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t</div>
\t\t\t\t\t\t<div class=\"modal-footer\">
\t\t\t\t\t\t\t<a href=\"javascript:void(0)\" class=\"button button-3d button-mini button-red f_left\" data-bs-dismiss=\"modal\">Annulla</a>
\t\t\t\t\t\t\t<button type=\"submit\" class=\"button button-3d button-mini button-green f_right\">Conferma</button>
\t\t\t\t\t\t</div>
\t\t\t\t\t</form>
\t\t\t\t</div>
\t\t\t</div>
\t\t</div>
\t";
}
// line 1124
yield "
\t";
// line 1125
if (((CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 1125, $this->source); })()), "user", [], "any", false, false, false, 1125), "getAccountTypology", [], "any", false, false, false, 1125) == "agency") || (CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 1125, $this->source); })()), "user", [], "any", false, false, false, 1125), "getAccountTypology", [], "any", false, false, false, 1125) == "warehouse"))) {
// line 1126
yield "\t\t";
if (CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["global_company"]) || array_key_exists("global_company", $context) ? $context["global_company"] : (function () { throw new RuntimeError('Variable "global_company" does not exist.', 1126, $this->source); })()), "actualCompany", [], "any", false, false, false, 1126), "tagTicketActive", [], "any", false, false, false, 1126)) {
// line 1127
yield "\t\t\t";
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); })())]));
// line 1128
yield "\t\t\t";
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); })())]));
// line 1129
yield "\t\t\t";
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); })())]));
// line 1130
yield "\t\t\t";
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); })())]));
// line 1131
yield "\t\t\t";
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); })())]));
// line 1132
yield "\t\t\t";
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); })())]));
// line 1133
yield "\t\t\t";
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); })())]));
// line 1134
yield "\t\t\t";
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); })())]));
// line 1135
yield "\t\t\t";
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); })())]));
// line 1136
yield "\t\t\t";
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); })())]));
// line 1137
yield "\t\t";
}
// line 1138
yield "\t\t";
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); })())]));
// line 1139
yield "\t\t";
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); })())]));
// line 1140
yield "\t\t";
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); })())]));
// line 1141
yield "\t\t";
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); })())]));
// line 1142
yield "\t\t";
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); })())]));
// line 1143
yield "\t\t";
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); })())]));
// line 1144
yield "\t\t";
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); })())]));
// line 1145
yield "\t\t";
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); })())]));
// line 1146
yield "\t\t";
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); })())]));
// line 1147
yield "\t\t";
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); })())]));
// line 1148
yield "\t\t";
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); })())]));
// line 1149
yield "\t\t";
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); })())]));
// line 1150
yield "\t\t";
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); })())]));
// line 1151
yield "\t\t";
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); })())]));
// line 1152
yield "\t\t";
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); })())]));
// line 1153
yield "\t\t";
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); })())]));
// line 1154
yield "\t\t";
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); })())]));
// line 1155
yield "\t\t";
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); })())]));
// line 1156
yield "\t\t";
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); })())]));
// line 1157
yield "\t\t";
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); })())]));
// line 1158
yield "\t";
}
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
return; yield '';
}
// line 204
public function block_ticketsTab($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "ticketsTab"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "ticketsTab"));
// line 205
yield "\t\t\t\t\t\t\t\t\t<div class=\"row\">
\t\t\t\t\t\t\t\t\t\t<div class=\"col-12\">
\t\t\t\t\t\t\t\t\t\t\t";
// line 207
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", false, false, false, 207)) {
// line 208
yield "\t\t\t\t\t\t\t\t\t\t\t\t";
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", false, false, false, 208))) {
yield "<a id=\"button_";
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", false, false, false, 208), "html", null, true);
yield "_assign\" href=\"javascript: void()\" class=\"button button-3d button-mini button-grey f_right m_b_10p\">Assegna a tecnico</a>";
}
// line 209
yield "\t\t\t\t\t\t\t\t\t\t\t\t";
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", false, false, false, 209))) {
yield "<a id=\"button_";
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", false, false, false, 209), "html", null, true);
yield "_change\" href=\"javascript: void()\" class=\"button button-3d button-mini button-grey f_right m_b_10p\">Cambia tecnico</a>";
}
// line 210
yield "\t\t\t\t\t\t\t\t\t\t\t\t";
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", false, false, false, 210))) {
yield "<a id=\"button_";
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", false, false, false, 210), "html", null, true);
yield "_print\" href=\"javascript: void(0)\" class=\"button button-3d button-mini button-grey f_right m_b_10p\">Stampa</a>";
}
// line 211
yield "\t\t\t\t\t\t\t\t\t\t\t\t";
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", false, false, false, 211))) {
yield "<a id=\"button_";
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", false, false, false, 211), "html", null, true);
yield "_suspend\" href=\"javascript: void(0)\" class=\"button button-3d button-mini button-grey f_right m_b_10p\">Sospendi</a>";
}
// line 212
yield "\t\t\t\t\t\t\t\t\t\t\t\t";
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", false, false, false, 212))) {
yield "<a id=\"button_";
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", false, false, false, 212), "html", null, true);
yield "_suspend_end\" href=\"javascript: void(0)\" class=\"button button-3d button-mini button-grey f_right m_b_10p\">Sblocca sospensione</a>";
}
// line 213
yield "\t\t\t\t\t\t\t\t\t\t\t\t";
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", false, false, false, 213))) {
yield "<a id=\"button_";
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", false, false, false, 213), "html", null, true);
yield "_approve\" href=\"javascript: void(0)\" class=\"button button-3d button-mini button-grey f_right m_b_10p\">Approva sospensione</a>";
}
// line 214
yield "\t\t\t\t\t\t\t\t\t\t\t\t";
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", false, false, false, 214))) {
yield "<a id=\"button_";
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", false, false, false, 214), "html", null, true);
yield "_cancel\" href=\"javascript: void(0)\" class=\"button button-3d button-mini button-grey f_right m_b_10p\">Annulla</a>";
}
// line 215
yield "\t\t\t\t\t\t\t\t\t\t\t\t";
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", false, false, false, 215))) {
yield "<a id=\"button_";
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", false, false, false, 215), "html", null, true);
yield "_closed_portal\" href=\"javascript: void()\" class=\"button button-3d button-mini button-grey f_right m_b_10p\">Chiuso su portale</a>";
}
// line 216
yield "\t\t\t\t\t\t\t\t\t\t\t\t";
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", false, false, false, 216))) {
yield "<a id=\"button_";
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", false, false, false, 216), "html", null, true);
yield "_wrong\" href=\"javascript: void()\" class=\"button button-3d button-mini button-grey f_right m_b_10p\">Errato</a>";
}
// line 217
yield "\t\t\t\t\t\t\t\t\t\t\t\t";
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", false, false, false, 217))) {
yield "<a id=\"button_";
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", false, false, false, 217), "html", null, true);
yield "_delete\" href=\"javascript: void(0)\" class=\"button button-3d button-mini button-grey f_right m_b_10p\">Elimina definitivamente</a>";
}
// line 218
yield "\t\t\t\t\t\t\t\t\t\t\t\t";
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", false, false, false, 218))) {
yield "<a id=\"button_";
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", false, false, false, 218), "html", null, true);
yield "_urge\" href=\"javascript: void(0)\" class=\"button button-3d button-mini button-grey f_right m_b_10p\">Sollecita</a>";
}
// line 219
yield "\t\t\t\t\t\t\t\t\t\t\t\t";
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", false, false, false, 219))) {
yield "<a id=\"button_";
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", false, false, false, 219), "html", null, true);
yield "_export\" href=\"javascript: void(0)\" class=\"button button-3d button-mini button-grey f_right m_b_10p\">Esporta</a>";
}
// line 220
yield "\t\t\t\t\t\t\t\t\t\t\t";
}
// line 221
yield "\t\t\t\t\t\t\t\t\t\t\t";
if ((isset($context["hasEmailTakeCharge"]) || array_key_exists("hasEmailTakeCharge", $context) ? $context["hasEmailTakeCharge"] : (function () { throw new RuntimeError('Variable "hasEmailTakeCharge" does not exist.', 221, $this->source); })())) {
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>";
}
// line 222
yield "\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t\t<div class=\"col-12 overflow_a\">
\t\t\t\t\t\t\t\t\t\t\t<table class=\"table table-bordered table-hover font_12\">
\t\t\t\t\t\t\t\t\t\t\t\t<thead>
\t\t\t\t\t\t\t\t\t\t\t\t\t<tr>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t<form method=\"get\" action=\"";
// line 227
yield $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("user_ticket_list");
yield "\" id=\"formFilter_";
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", false, false, false, 227), "html", null, true);
yield "\">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td class=\"td_action\" ";
// line 228
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", false, false, false, 228)) {
yield "colspan=\"2\"";
}
yield "><a href=\"";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("remove_filter", ["route" => CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 228, $this->source); })()), "request", [], "any", false, false, false, 228), "attributes", [], "any", false, false, false, 228), "get", ["_route"], "method", false, false, false, 228), "route_params" => CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 228, $this->source); })()), "request", [], "any", false, false, false, 228), "attributes", [], "any", false, false, false, 228), "get", ["_route_params"], "method", false, false, false, 228)]), "html", null, true);
yield "\" class=\"f_right\" data-bs-toggle=\"tooltip\" title=\"Escludi filtro\"><img class=\"icon_red\" src=\"";
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", null, true);
yield "\"></a></td>
\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_";
// line 229
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", false, false, false, 229), "html", null, true);
yield "\" inputmode=\"search\" name=\"number\" value=\"";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(((CoreExtension::getAttribute($this->env, $this->source, ($context["filters"] ?? null), "number", [], "any", true, true, false, 229)) ? (Twig\Extension\CoreExtension::default(CoreExtension::getAttribute($this->env, $this->source, ($context["filters"] ?? null), "number", [], "any", false, false, false, 229))) : ("")), "html", null, true);
yield "\" data-bs-toggle=\"tooltip\" title=\"Puoi effettuare ricerche multiple inserendo valori separati da virgola [Es. 1234,5678,901]\"/></td>
\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_";
// line 230
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", false, false, false, 230), "html", null, true);
yield "\" inputmode=\"search\" name=\"termid\" value=\"";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(((CoreExtension::getAttribute($this->env, $this->source, ($context["filters"] ?? null), "termid", [], "any", true, true, false, 230)) ? (Twig\Extension\CoreExtension::default(CoreExtension::getAttribute($this->env, $this->source, ($context["filters"] ?? null), "termid", [], "any", false, false, false, 230))) : ("")), "html", null, true);
yield "\" data-bs-toggle=\"tooltip\" title=\"Puoi effettuare ricerche multiple inserendo valori separati da virgola [Es. 1234,5678,901]\"/></td>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
// line 231
if (CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["global_company"]) || array_key_exists("global_company", $context) ? $context["global_company"] : (function () { throw new RuntimeError('Variable "global_company" does not exist.', 231, $this->source); })()), "actualCompany", [], "any", false, false, false, 231), "tagTicketActive", [], "any", false, false, false, 231)) {
yield "<td><input type=\"text\" class=\"form-control\" id=\"filter_tag_value_";
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", null, true);
yield "\" readonly onClick=\"filterTags";
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", null, true);
yield "()\" data-bs-toggle=\"tooltip\"/><input type=\"hidden\" id=\"filter_tag_id_";
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", null, true);
yield "\" name=\"tag\" value=\"";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(((CoreExtension::getAttribute($this->env, $this->source, ($context["filters"] ?? null), "tag", [], "any", true, true, false, 231)) ? (Twig\Extension\CoreExtension::default(CoreExtension::getAttribute($this->env, $this->source, ($context["filters"] ?? null), "tag", [], "any", false, false, false, 231))) : ("")), "html", null, true);
yield "\"/></td>";
}
// line 232
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=\"";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(((CoreExtension::getAttribute($this->env, $this->source, ($context["filters"] ?? null), "client", [], "any", true, true, false, 232)) ? (Twig\Extension\CoreExtension::default(CoreExtension::getAttribute($this->env, $this->source, ($context["filters"] ?? null), "client", [], "any", false, false, false, 232))) : ("")), "html", null, true);
yield "\"/></td>
\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_";
// line 233
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", null, true);
yield "\" readonly onClick=\"filterOperations";
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", null, true);
yield "()\" data-bs-toggle=\"tooltip\"/><input type=\"hidden\" id=\"filter_operation_id_";
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", null, true);
yield "\" name=\"operation\" value=\"";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(((CoreExtension::getAttribute($this->env, $this->source, ($context["filters"] ?? null), "operation", [], "any", true, true, false, 233)) ? (Twig\Extension\CoreExtension::default(CoreExtension::getAttribute($this->env, $this->source, ($context["filters"] ?? null), "operation", [], "any", false, false, false, 233))) : ("")), "html", null, true);
yield "\"/></td>
\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_";
// line 234
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", null, true);
yield "\" readonly onClick=\"filterSuppliers";
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", null, true);
yield "()\" data-bs-toggle=\"tooltip\"/><input type=\"hidden\" id=\"filter_supplier_id_";
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", null, true);
yield "\" name=\"supplier\" value=\"";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(((CoreExtension::getAttribute($this->env, $this->source, ($context["filters"] ?? null), "supplier", [], "any", true, true, false, 234)) ? (Twig\Extension\CoreExtension::default(CoreExtension::getAttribute($this->env, $this->source, ($context["filters"] ?? null), "supplier", [], "any", false, false, false, 234))) : ("")), "html", null, true);
yield "\"/></td>
\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=\"";
// line 235
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(((CoreExtension::getAttribute($this->env, $this->source, ($context["filters"] ?? null), "tariff", [], "any", true, true, false, 235)) ? (Twig\Extension\CoreExtension::default(CoreExtension::getAttribute($this->env, $this->source, ($context["filters"] ?? null), "tariff", [], "any", false, false, false, 235))) : ("")), "html", null, true);
yield "\"/></td>
\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=\"";
// line 236
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(((CoreExtension::getAttribute($this->env, $this->source, ($context["filters"] ?? null), "city", [], "any", true, true, false, 236)) ? (Twig\Extension\CoreExtension::default(CoreExtension::getAttribute($this->env, $this->source, ($context["filters"] ?? null), "city", [], "any", false, false, false, 236))) : ("")), "html", null, true);
yield "\"/></td>
\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=\"";
// line 237
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(((CoreExtension::getAttribute($this->env, $this->source, ($context["filters"] ?? null), "province", [], "any", true, true, false, 237)) ? (Twig\Extension\CoreExtension::default(CoreExtension::getAttribute($this->env, $this->source, ($context["filters"] ?? null), "province", [], "any", false, false, false, 237))) : ("")), "html", null, true);
yield "\"/></td>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
// line 238
if (((isset($context["tab"]) || array_key_exists("tab", $context) ? $context["tab"] : (function () { throw new RuntimeError('Variable "tab" does not exist.', 238, $this->source); })()) != "toAssign")) {
// line 239
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=\"";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(((CoreExtension::getAttribute($this->env, $this->source, ($context["filters"] ?? null), "technician", [], "any", true, true, false, 239)) ? (Twig\Extension\CoreExtension::default(CoreExtension::getAttribute($this->env, $this->source, ($context["filters"] ?? null), "technician", [], "any", false, false, false, 239))) : ("")), "html", null, true);
yield "\"/></td>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
}
// line 241
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_";
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", null, true);
yield "_1\" autocomplete=\"off\" inputmode=\"search\" name=\"datetimeStart\" style=\"height: 38px\" date-filter=\"range\"/></td>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
// line 242
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"))) {
// line 243
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_";
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", null, true);
yield "_2\" autocomplete=\"off\" inputmode=\"search\" name=\"datetimeExpiration\" style=\"height: 38px\" date-filter=\"range\"/></td>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
} else {
// line 245
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_";
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", null, true);
yield "_3\" inputmode=\"search\" autocomplete=\"off\" name=\"datetimeEnd\" style=\"height: 38px\" date-filter=\"range\"/></td>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
}
// line 247
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=\"";
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", null, true);
yield "\"></button></td>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<input type=\"hidden\" name=\"filter_tab\" value=\"";
// line 248
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", null, true);
yield "\">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<input id=\"sort_field_";
// line 249
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", false, false, false, 249), "html", null, true);
yield "\" type=\"hidden\" name=\"sortField\" value=\"";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(((CoreExtension::getAttribute($this->env, $this->source, ($context["filters"] ?? null), "sortField", [], "any", true, true, false, 249)) ? (Twig\Extension\CoreExtension::default(CoreExtension::getAttribute($this->env, $this->source, ($context["filters"] ?? null), "sortField", [], "any", false, false, false, 249))) : ("")), "html", null, true);
yield "\"/>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<input id=\"sort_order_";
// line 250
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", false, false, false, 250), "html", null, true);
yield "\" type=\"hidden\" name=\"sortOrder\" value=\"";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(((CoreExtension::getAttribute($this->env, $this->source, ($context["filters"] ?? null), "sortOrder", [], "any", true, true, false, 250)) ? (Twig\Extension\CoreExtension::default(CoreExtension::getAttribute($this->env, $this->source, ($context["filters"] ?? null), "sortOrder", [], "any", false, false, false, 250))) : ("")), "html", null, true);
yield "\"/>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t</form>
\t\t\t\t\t\t\t\t\t\t\t\t\t</tr>
\t\t\t\t\t\t\t\t\t\t\t\t\t<tr class=\"bg_pr color_w\">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
// line 254
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", false, false, false, 254)) {
// line 255
yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<th class=\"td_action txt_a_c\">
\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\">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<input id=\"ticket_";
// line 257
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", false, false, false, 257), "html", null, true);
yield "_all_checkboxes\" class=\"switch-toggle switch-flat-mini switch-toggle-flat\" type=\"checkbox\" onChange=\"javascript: selectAll(";
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", false, false, false, 257), "html", null, true);
yield ")\">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<label for=\"ticket_";
// line 258
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", false, false, false, 258), "html", null, true);
yield "_all_checkboxes\" class=\"m_b_none\"></label>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</th>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
}
// line 262
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>
\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";
// line 263
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", false, false, false, 263), "html", null, true);
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>
\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";
// line 264
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", false, false, false, 264), "html", null, true);
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>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
// line 265
if (CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["global_company"]) || array_key_exists("global_company", $context) ? $context["global_company"] : (function () { throw new RuntimeError('Variable "global_company" does not exist.', 265, $this->source); })()), "actualCompany", [], "any", false, false, false, 265), "tagTicketActive", [], "any", false, false, false, 265)) {
yield "<th class=\"td_w_100p\">Tag</th>";
}
// line 266
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";
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", false, false, false, 266), "html", null, true);
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>
\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";
// line 267
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", false, false, false, 267), "html", null, true);
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>
\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";
// line 268
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", false, false, false, 268), "html", null, true);
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>
\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>
\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>
\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>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
// line 272
if (((isset($context["tab"]) || array_key_exists("tab", $context) ? $context["tab"] : (function () { throw new RuntimeError('Variable "tab" does not exist.', 272, $this->source); })()) != "toAssign")) {
// line 273
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";
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", false, false, false, 273), "html", null, true);
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>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
}
// line 275
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";
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", false, false, false, 275), "html", null, true);
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>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
// line 276
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"))) {
// line 277
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";
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", false, false, false, 277), "html", null, true);
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
\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
} else {
// line 279
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";
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", false, false, false, 279), "html", null, true);
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>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
}
// line 281
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>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t<th></th>
\t\t\t\t\t\t\t\t\t\t\t\t\t</tr>
\t\t\t\t\t\t\t\t\t\t\t\t</thead>
\t\t\t\t\t\t\t\t\t\t\t\t<tbody>
\t\t\t\t\t\t\t\t\t\t\t\t\t";
// line 286
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)) {
// line 287
yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
$context['_parent'] = $context;
$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); })()));
foreach ($context['_seq'] as $context["_key"] => $context["ticket"]) {
// line 288
yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<tr>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
// line 289
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", false, false, false, 289)) {
// line 290
yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td class=\"td_w_30p\">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"switch\">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<input id=\"ticket_checkbox_";
// line 292
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["ticket"], "id", [], "any", false, false, false, 292), "html", null, true);
yield "\" class=\"switch-toggle switch-flat-mini switch-toggle-flat ticket_";
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", false, false, false, 292), "html", null, true);
yield "_checkbox\" type=\"checkbox\" value=\"";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["ticket"], "id", [], "any", false, false, false, 292), "html", null, true);
yield "\" onChange=\"javascript: updateButtons(";
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", false, false, false, 292), "html", null, true);
yield ")\">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<label for=\"ticket_checkbox_";
// line 293
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["ticket"], "id", [], "any", false, false, false, 293), "html", null, true);
yield "\" class=\"m_b_none\"></label>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</td>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
}
// line 297
yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td class=\"txt_a_c\">";
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", false, false, false, 297);
yield "</td>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td id=\"ticket_number_";
// line 298
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["ticket"], "id", [], "any", false, false, false, 298), "html", null, true);
yield "\">";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["ticket"], "number", [], "any", false, false, false, 298), "html", null, true);
yield "</td>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td id=\"ticket_termid_";
// line 299
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["ticket"], "id", [], "any", false, false, false, 299), "html", null, true);
yield "\">";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["ticket"], "termid", [], "any", false, false, false, 299), "html", null, true);
yield "</td>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
// line 300
if (CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["global_company"]) || array_key_exists("global_company", $context) ? $context["global_company"] : (function () { throw new RuntimeError('Variable "global_company" does not exist.', 300, $this->source); })()), "actualCompany", [], "any", false, false, false, 300), "tagTicketActive", [], "any", false, false, false, 300)) {
yield "<td id=\"ticket_tags_";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["ticket"], "id", [], "any", false, false, false, 300), "html", null, true);
yield "\">";
yield CoreExtension::getAttribute($this->env, $this->source, $context["ticket"], "displayTags", ["icon"], "method", false, false, false, 300);
yield "</td>";
}
// line 301
yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td id=\"ticket_client_";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["ticket"], "id", [], "any", false, false, false, 301), "html", null, true);
yield "\">";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["ticket"], "client", [], "any", false, false, false, 301), "html", null, true);
yield "</td>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td id=\"ticket_operation_";
// line 302
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["ticket"], "id", [], "any", false, false, false, 302), "html", null, true);
yield "\">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
// line 303
if ( !(null === CoreExtension::getAttribute($this->env, $this->source, $context["ticket"], "operation", [], "any", false, false, false, 303))) {
// line 304
yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, $context["ticket"], "operation", [], "any", false, false, false, 304), "value", [], "any", false, false, false, 304), "html", null, true);
if ((CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, $context["ticket"], "operation", [], "any", false, false, false, 304), "getKeyValueByValue", ["Dettagli operazione"], "method", false, false, false, 304) && (CoreExtension::getAttribute($this->env, $this->source, $context["ticket"], "displayJsonValueByColumn", [CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, $context["ticket"], "operation", [], "any", false, false, false, 304), "getKeyValueByValue", ["Dettagli operazione"], "method", false, false, false, 304)], "method", false, false, false, 304) != null))) {
yield "<br><i>(";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["ticket"], "displayJsonValueByColumn", [CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, $context["ticket"], "operation", [], "any", false, false, false, 304), "getKeyValueByValue", ["Dettagli operazione"], "method", false, false, false, 304)], "method", false, false, false, 304), "html", null, true);
yield ")</i>";
}
// line 305
yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
} else {
// line 306
yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tOperazione non riconosciuta
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
}
// line 308
yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</td>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td id=\"ticket_supplier_";
// line 309
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["ticket"], "id", [], "any", false, false, false, 309), "html", null, true);
yield "\">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
// line 310
if ( !(null === CoreExtension::getAttribute($this->env, $this->source, $context["ticket"], "supplier", [], "any", false, false, false, 310))) {
// line 311
yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["ticket"], "supplier", [], "any", false, false, false, 311), "html", null, true);
yield "
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
// line 312
if ((CoreExtension::getAttribute($this->env, $this->source, $context["ticket"], "displayJsonValueByColumn", ["SLOT"], "method", false, false, false, 312) != null)) {
yield "<br><i>(";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["ticket"], "displayJsonValueByColumn", ["SLOT"], "method", false, false, false, 312), "html", null, true);
yield ")</i>";
}
// line 313
yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
} else {
// line 314
yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tFornitore non riconosciuto
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
}
// line 316
yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</td>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td>";
// line 317
if ((CoreExtension::getAttribute($this->env, $this->source, $context["ticket"], "operationTariffAmount", [], "any", false, false, false, 317) != null)) {
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(((CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, $context["ticket"], "operationTariffAmount", [], "any", false, true, false, 317), "value", [], "any", true, true, false, 317)) ? (Twig\Extension\CoreExtension::default(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, $context["ticket"], "operationTariffAmount", [], "any", false, true, false, 317), "value", [], "any", false, false, false, 317))) : ("")), "html", null, true);
}
yield "</td>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td>";
// line 318
if ((CoreExtension::getAttribute($this->env, $this->source, $context["ticket"], "idCity", [], "any", false, false, false, 318) != null)) {
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", false, false, false, 318)), "html", null, true);
yield "<br><i>(";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["ticket"], "address", [], "any", false, false, false, 318), "html", null, true);
yield ")</i>";
}
yield "</td>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td class=\"txt_a_c\">";
// line 319
if ((CoreExtension::getAttribute($this->env, $this->source, $context["ticket"], "idProvince", [], "any", false, false, false, 319) != null)) {
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", false, false, false, 319)), "html", null, true);
}
yield "</td>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
// line 320
if (((isset($context["tab"]) || array_key_exists("tab", $context) ? $context["tab"] : (function () { throw new RuntimeError('Variable "tab" does not exist.', 320, $this->source); })()) != "toAssign")) {
// line 321
yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td>";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["ticket"], "technician", [], "any", false, false, false, 321), "html", null, true);
yield "</td>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
}
// line 323
yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td class=\"txt_a_c\">";
if ((CoreExtension::getAttribute($this->env, $this->source, $context["ticket"], "datetimeStart", [], "any", false, false, false, 323) != null)) {
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Twig\Extension\CoreExtension']->formatDate(CoreExtension::getAttribute($this->env, $this->source, $context["ticket"], "datetimeStart", [], "any", false, false, false, 323), "d-m-Y H:i"), "html", null, true);
} else {
yield "---";
}
yield "</td>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
// line 324
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"))) {
// line 325
yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td class=\"txt_a_c\">";
if ((CoreExtension::getAttribute($this->env, $this->source, $context["ticket"], "datetimeExpiration", [], "any", false, false, false, 325) != null)) {
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Twig\Extension\CoreExtension']->formatDate(CoreExtension::getAttribute($this->env, $this->source, $context["ticket"], "datetimeExpiration", [], "any", false, false, false, 325), "d-m-Y H:i"), "html", null, true);
} else {
yield "---";
}
yield "</td>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
} else {
// line 327
yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td class=\"txt_a_c\">";
if ((CoreExtension::getAttribute($this->env, $this->source, $context["ticket"], "datetimeEnd", [], "any", false, false, false, 327) != null)) {
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Twig\Extension\CoreExtension']->formatDate(CoreExtension::getAttribute($this->env, $this->source, $context["ticket"], "datetimeEnd", [], "any", false, false, false, 327), "d-m-Y H:i"), "html", null, true);
} else {
yield "---";
}
yield "</td>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
}
// line 329
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(";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["ticket"], "id", [], "any", false, false, false, 329), "html", null, true);
yield ")\"><img class=\"icon_pr\" data-bs-toggle=\"tooltip\" title=\"Mostra note\" src=\"";
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", null, true);
yield "\"></a></td>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td class=\"td_action\"><a href=\"";
// line 330
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", false, false, false, 330)]), "html", null, true);
yield "\"><img class=\"icon_pr\" data-bs-toggle=\"tooltip\" title=\"Scheda\" src=\"";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl((isset($context["icon_sheet"]) || array_key_exists("icon_sheet", $context) ? $context["icon_sheet"] : (function () { throw new RuntimeError('Variable "icon_sheet" does not exist.', 330, $this->source); })())), "html", null, true);
yield "\"></a></td>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</tr>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<input type=\"hidden\" id=\"ticket_anomaly_";
// line 332
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["ticket"], "id", [], "any", false, false, false, 332), "html", null, true);
yield "\" value=\"";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["ticket"], "displayJsonReportValueByColumn", ["Anomalia"], "method", false, false, false, 332), "html", null, true);
yield "\">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<input type=\"hidden\" id=\"ticket_client_notes_";
// line 333
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["ticket"], "id", [], "any", false, false, false, 333), "html", null, true);
yield "\" value=\"";
if ((CoreExtension::getAttribute($this->env, $this->source, $context["ticket"], "client", [], "any", false, false, false, 333) != null)) {
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, $context["ticket"], "client", [], "any", false, false, false, 333), "notes", [], "any", false, false, false, 333), "html", null, true);
}
yield "\">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<input type=\"hidden\" id=\"ticket_client_time_";
// line 334
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["ticket"], "id", [], "any", false, false, false, 334), "html", null, true);
yield "\" value=\"";
if ((CoreExtension::getAttribute($this->env, $this->source, $context["ticket"], "client", [], "any", false, false, false, 334) != null)) {
yield "Orari apertura: ";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, $context["ticket"], "client", [], "any", false, false, false, 334), "openings", [], "any", false, false, false, 334), "html", null, true);
yield " / Chiusure: ";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, $context["ticket"], "client", [], "any", false, false, false, 334), "closures", [], "any", false, false, false, 334), "html", null, true);
}
yield "\">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['ticket'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 336
yield "\t\t\t\t\t\t\t\t\t\t\t\t\t";
} else {
// line 337
yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
yield from $this->loadTemplate("components/twig/notice_filter_no_match.html.twig", "role/user/ticket/list.html.twig", 337)->unwrap()->yield($context);
// line 338
yield "\t\t\t\t\t\t\t\t\t\t\t\t\t";
}
// line 339
yield "\t\t\t\t\t\t\t\t\t\t\t\t</tbody>
\t\t\t\t\t\t\t\t\t\t\t</table>
\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t\t<div class=\"col-12 navigation txt_a_r\">
\t\t\t\t\t\t\t\t\t\t\t";
// line 343
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); })()));
yield "
\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
return; yield '';
}
// line 502
public function block_ticketsTabW($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "ticketsTabW"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "ticketsTabW"));
// line 503
yield "\t\t\t\t\t\t\t\t\t<div class=\"row\">
\t\t\t\t\t\t\t\t\t\t<div class=\"col-12 overflow_a\">
\t\t\t\t\t\t\t\t\t\t\t<table class=\"table table-bordered table-hover font_12\">
\t\t\t\t\t\t\t\t\t\t\t\t<thead>
\t\t\t\t\t\t\t\t\t\t\t\t\t<tr>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t<form method=\"get\" action=\"";
// line 508
yield $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("user_ticket_list");
yield "\">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td class=\"td_action\"><a href=\"";
// line 509
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("remove_filter", ["route" => CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 509, $this->source); })()), "request", [], "any", false, false, false, 509), "attributes", [], "any", false, false, false, 509), "get", ["_route"], "method", false, false, false, 509), "route_params" => CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 509, $this->source); })()), "request", [], "any", false, false, false, 509), "attributes", [], "any", false, false, false, 509), "get", ["_route_params"], "method", false, false, false, 509)]), "html", null, true);
yield "\" class=\"f_right\" data-bs-toggle=\"tooltip\" title=\"Escludi filtro\"><img class=\"icon_red\" src=\"";
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", null, true);
yield "\"></a></td>
\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=\"";
// line 510
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(((CoreExtension::getAttribute($this->env, $this->source, ($context["filters"] ?? null), "number", [], "any", true, true, false, 510)) ? (Twig\Extension\CoreExtension::default(CoreExtension::getAttribute($this->env, $this->source, ($context["filters"] ?? null), "number", [], "any", false, false, false, 510))) : ("")), "html", null, true);
yield "\"/></td>
\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=\"";
// line 511
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(((CoreExtension::getAttribute($this->env, $this->source, ($context["filters"] ?? null), "termid", [], "any", true, true, false, 511)) ? (Twig\Extension\CoreExtension::default(CoreExtension::getAttribute($this->env, $this->source, ($context["filters"] ?? null), "termid", [], "any", false, false, false, 511))) : ("")), "html", null, true);
yield "\"/></td>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
// line 512
if (CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["global_company"]) || array_key_exists("global_company", $context) ? $context["global_company"] : (function () { throw new RuntimeError('Variable "global_company" does not exist.', 512, $this->source); })()), "actualCompany", [], "any", false, false, false, 512), "tagTicketActive", [], "any", false, false, false, 512)) {
yield "<td><input type=\"text\" class=\"form-control\" id=\"filter_tag_value_";
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", null, true);
yield "\" readonly onClick=\"filterTags";
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", null, true);
yield "()\" data-bs-toggle=\"tooltip\"/><input type=\"hidden\" id=\"filter_tag_id_";
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", null, true);
yield "\" name=\"tag\" value=\"";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(((CoreExtension::getAttribute($this->env, $this->source, ($context["filters"] ?? null), "tag", [], "any", true, true, false, 512)) ? (Twig\Extension\CoreExtension::default(CoreExtension::getAttribute($this->env, $this->source, ($context["filters"] ?? null), "tag", [], "any", false, false, false, 512))) : ("")), "html", null, true);
yield "\"/></td>";
}
// line 513
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=\"";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(((CoreExtension::getAttribute($this->env, $this->source, ($context["filters"] ?? null), "client", [], "any", true, true, false, 513)) ? (Twig\Extension\CoreExtension::default(CoreExtension::getAttribute($this->env, $this->source, ($context["filters"] ?? null), "client", [], "any", false, false, false, 513))) : ("")), "html", null, true);
yield "\"/></td>
\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=\"";
// line 514
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(((CoreExtension::getAttribute($this->env, $this->source, ($context["filters"] ?? null), "operation", [], "any", true, true, false, 514)) ? (Twig\Extension\CoreExtension::default(CoreExtension::getAttribute($this->env, $this->source, ($context["filters"] ?? null), "operation", [], "any", false, false, false, 514))) : ("")), "html", null, true);
yield "\"/></td>
\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_";
// line 515
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", null, true);
yield "\" readonly onClick=\"filterSuppliers";
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", null, true);
yield "()\" data-bs-toggle=\"tooltip\"/><input type=\"hidden\" id=\"filter_supplier_id_";
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", null, true);
yield "\" name=\"supplier\" value=\"";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(((CoreExtension::getAttribute($this->env, $this->source, ($context["filters"] ?? null), "supplier", [], "any", true, true, false, 515)) ? (Twig\Extension\CoreExtension::default(CoreExtension::getAttribute($this->env, $this->source, ($context["filters"] ?? null), "supplier", [], "any", false, false, false, 515))) : ("")), "html", null, true);
yield "\"/></td>
\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=\"";
// line 516
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(((CoreExtension::getAttribute($this->env, $this->source, ($context["filters"] ?? null), "tariff", [], "any", true, true, false, 516)) ? (Twig\Extension\CoreExtension::default(CoreExtension::getAttribute($this->env, $this->source, ($context["filters"] ?? null), "tariff", [], "any", false, false, false, 516))) : ("")), "html", null, true);
yield "\"/></td>
\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=\"";
// line 517
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(((CoreExtension::getAttribute($this->env, $this->source, ($context["filters"] ?? null), "city", [], "any", true, true, false, 517)) ? (Twig\Extension\CoreExtension::default(CoreExtension::getAttribute($this->env, $this->source, ($context["filters"] ?? null), "city", [], "any", false, false, false, 517))) : ("")), "html", null, true);
yield "\"/></td>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td><input type=\"text\" class=\"form-control\" inputmode=\"search\" name=\"province\" value=\"";
// line 518
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(((CoreExtension::getAttribute($this->env, $this->source, ($context["filters"] ?? null), "province", [], "any", true, true, false, 518)) ? (Twig\Extension\CoreExtension::default(CoreExtension::getAttribute($this->env, $this->source, ($context["filters"] ?? null), "province", [], "any", false, false, false, 518))) : ("")), "html", null, true);
yield "\"/></td>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
// line 519
if (((isset($context["tab"]) || array_key_exists("tab", $context) ? $context["tab"] : (function () { throw new RuntimeError('Variable "tab" does not exist.', 519, $this->source); })()) != "toAssign")) {
// line 520
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=\"";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(((CoreExtension::getAttribute($this->env, $this->source, ($context["filters"] ?? null), "technician", [], "any", true, true, false, 520)) ? (Twig\Extension\CoreExtension::default(CoreExtension::getAttribute($this->env, $this->source, ($context["filters"] ?? null), "technician", [], "any", false, false, false, 520))) : ("")), "html", null, true);
yield "\"/></td>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
}
// line 522
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>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
// line 523
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"))) {
// line 524
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>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
} else {
// line 526
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>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
}
// line 528
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=\"";
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", null, true);
yield "\"></button></td>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<input type=\"hidden\" name=\"filter_tab\" value=\"";
// line 529
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", null, true);
yield "\">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t</form>
\t\t\t\t\t\t\t\t\t\t\t\t\t</tr>
\t\t\t\t\t\t\t\t\t\t\t\t\t<tr class=\"bg_pr color_w\">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t<th class=\"td_w_40p txt_a_c\">Stato</th>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t<th class=\"td_w_120p\">N°</th>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t<th class=\"td_w_120p\">Termid</th>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
// line 536
if (CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["global_company"]) || array_key_exists("global_company", $context) ? $context["global_company"] : (function () { throw new RuntimeError('Variable "global_company" does not exist.', 536, $this->source); })()), "actualCompany", [], "any", false, false, false, 536), "tagTicketActive", [], "any", false, false, false, 536)) {
yield "<th class=\"td_w_100p\">Tag</th>";
}
// line 537
yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t<th class=\"td_w_150p\">Cliente</th>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t<th class=\"td_w_150p\">Operazione</th>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t<th class=\"td_w_150p\">Fornitore</th>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t<th class=\"td_w_130p\">Tariffa</th>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t<th class=\"td_w_130p\">Città </th>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t<th class=\"td_w_70p txt_a_c\">Prov</th>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
// line 543
if (((isset($context["tab"]) || array_key_exists("tab", $context) ? $context["tab"] : (function () { throw new RuntimeError('Variable "tab" does not exist.', 543, $this->source); })()) != "toAssign")) {
// line 544
yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<th class=\"td_w_150p\">Tecnico</th>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
}
// line 546
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>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
// line 547
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"))) {
// line 548
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>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
} else {
// line 550
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>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
}
// line 552
yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t<th class=\"td_w_50p txt_a_c\">Note</th>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t<th></th>
\t\t\t\t\t\t\t\t\t\t\t\t\t</tr>
\t\t\t\t\t\t\t\t\t\t\t\t</thead>
\t\t\t\t\t\t\t\t\t\t\t\t<tbody>
\t\t\t\t\t\t\t\t\t\t\t\t\t";
// line 557
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)) {
// line 558
yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
$context['_parent'] = $context;
$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); })()));
foreach ($context['_seq'] as $context["_key"] => $context["ticket"]) {
// line 559
yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<tr>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td class=\"txt_a_c\">";
// line 560
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", false, false, false, 560);
yield "</td>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td id=\"ticket_number_";
// line 561
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["ticket"], "id", [], "any", false, false, false, 561), "html", null, true);
yield "\">";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["ticket"], "number", [], "any", false, false, false, 561), "html", null, true);
yield "</td>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td id=\"ticket_termid_";
// line 562
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["ticket"], "id", [], "any", false, false, false, 562), "html", null, true);
yield "\">";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["ticket"], "termid", [], "any", false, false, false, 562), "html", null, true);
yield "</td>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
// line 563
if (CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["global_company"]) || array_key_exists("global_company", $context) ? $context["global_company"] : (function () { throw new RuntimeError('Variable "global_company" does not exist.', 563, $this->source); })()), "actualCompany", [], "any", false, false, false, 563), "tagTicketActive", [], "any", false, false, false, 563)) {
yield "<td id=\"ticket_tags_";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["ticket"], "id", [], "any", false, false, false, 563), "html", null, true);
yield "\">";
yield CoreExtension::getAttribute($this->env, $this->source, $context["ticket"], "displayTags", ["icon"], "method", false, false, false, 563);
yield "</td>";
}
// line 564
yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td id=\"ticket_client_";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["ticket"], "id", [], "any", false, false, false, 564), "html", null, true);
yield "\">";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["ticket"], "client", [], "any", false, false, false, 564), "html", null, true);
yield "</td>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td id=\"ticket_operation_";
// line 565
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["ticket"], "id", [], "any", false, false, false, 565), "html", null, true);
yield "\">";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, $context["ticket"], "operation", [], "any", false, false, false, 565), "value", [], "any", false, false, false, 565), "html", null, true);
yield "</td>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td id=\"ticket_supplier_";
// line 566
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["ticket"], "id", [], "any", false, false, false, 566), "html", null, true);
yield "\">";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["ticket"], "supplier", [], "any", false, false, false, 566), "html", null, true);
yield "</td>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td id=\"ticket_tariff_";
// line 567
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["ticket"], "id", [], "any", false, false, false, 567), "html", null, true);
yield "\">";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(((CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, $context["ticket"], "operationTariffAmount", [], "any", false, true, false, 567), "value", [], "any", true, true, false, 567)) ? (Twig\Extension\CoreExtension::default(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, $context["ticket"], "operationTariffAmount", [], "any", false, true, false, 567), "value", [], "any", false, false, false, 567))) : ("")), "html", null, true);
yield "</td>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td>";
// line 568
if ((CoreExtension::getAttribute($this->env, $this->source, $context["ticket"], "idCity", [], "any", false, false, false, 568) != null)) {
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", false, false, false, 568)), "html", null, true);
}
yield "</td>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td class=\"txt_a_c\">";
// line 569
if ((CoreExtension::getAttribute($this->env, $this->source, $context["ticket"], "idProvince", [], "any", false, false, false, 569) != null)) {
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", false, false, false, 569)), "html", null, true);
}
yield "</td>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
// line 570
if (((isset($context["tab"]) || array_key_exists("tab", $context) ? $context["tab"] : (function () { throw new RuntimeError('Variable "tab" does not exist.', 570, $this->source); })()) != "toAssign")) {
// line 571
yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td>";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["ticket"], "technician", [], "any", false, false, false, 571), "html", null, true);
yield "</td>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
}
// line 573
yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td class=\"txt_a_c\">";
if ((CoreExtension::getAttribute($this->env, $this->source, $context["ticket"], "datetimeStart", [], "any", false, false, false, 573) != null)) {
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Twig\Extension\CoreExtension']->formatDate(CoreExtension::getAttribute($this->env, $this->source, $context["ticket"], "datetimeStart", [], "any", false, false, false, 573), "d-m-Y H:i"), "html", null, true);
} else {
yield "---";
}
yield "</td>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
// line 574
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"))) {
// line 575
yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td class=\"txt_a_c\">";
if ((CoreExtension::getAttribute($this->env, $this->source, $context["ticket"], "datetimeExpiration", [], "any", false, false, false, 575) != null)) {
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Twig\Extension\CoreExtension']->formatDate(CoreExtension::getAttribute($this->env, $this->source, $context["ticket"], "datetimeExpiration", [], "any", false, false, false, 575), "d-m-Y H:i"), "html", null, true);
} else {
yield "---";
}
yield "</td>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
} else {
// line 577
yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td class=\"txt_a_c\">";
if ((CoreExtension::getAttribute($this->env, $this->source, $context["ticket"], "datetimeEnd", [], "any", false, false, false, 577) != null)) {
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Twig\Extension\CoreExtension']->formatDate(CoreExtension::getAttribute($this->env, $this->source, $context["ticket"], "datetimeEnd", [], "any", false, false, false, 577), "d-m-Y H:i"), "html", null, true);
} else {
yield "---";
}
yield "</td>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
}
// line 579
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(";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["ticket"], "id", [], "any", false, false, false, 579), "html", null, true);
yield ")\"><img class=\"icon_pr\" data-bs-toggle=\"tooltip\" title=\"Mostra note\" src=\"";
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", null, true);
yield "\"></a></td>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td class=\"td_action\"><a href=\"";
// line 580
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", false, false, false, 580)]), "html", null, true);
yield "\"><img class=\"icon_pr\" data-bs-toggle=\"tooltip\" title=\"Scheda\" src=\"";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl((isset($context["icon_sheet"]) || array_key_exists("icon_sheet", $context) ? $context["icon_sheet"] : (function () { throw new RuntimeError('Variable "icon_sheet" does not exist.', 580, $this->source); })())), "html", null, true);
yield "\"></a></td>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</tr>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<input type=\"hidden\" id=\"ticket_anomaly_";
// line 582
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["ticket"], "id", [], "any", false, false, false, 582), "html", null, true);
yield "\" value=\"";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["ticket"], "displayJsonReportValueByColumn", ["Anomalia"], "method", false, false, false, 582), "html", null, true);
yield "\">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<input type=\"hidden\" id=\"ticket_client_notes_";
// line 583
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["ticket"], "id", [], "any", false, false, false, 583), "html", null, true);
yield "\" value=\"";
if ((CoreExtension::getAttribute($this->env, $this->source, $context["ticket"], "client", [], "any", false, false, false, 583) != null)) {
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, $context["ticket"], "client", [], "any", false, false, false, 583), "notes", [], "any", false, false, false, 583), "html", null, true);
}
yield "\">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<input type=\"hidden\" id=\"ticket_client_time_";
// line 584
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["ticket"], "id", [], "any", false, false, false, 584), "html", null, true);
yield "\" value=\"";
if ((CoreExtension::getAttribute($this->env, $this->source, $context["ticket"], "client", [], "any", false, false, false, 584) != null)) {
yield "Orari apertura: ";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, $context["ticket"], "client", [], "any", false, false, false, 584), "openings", [], "any", false, false, false, 584), "html", null, true);
yield " / Chiusure: ";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, $context["ticket"], "client", [], "any", false, false, false, 584), "closures", [], "any", false, false, false, 584), "html", null, true);
}
yield "\">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['ticket'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 586
yield "\t\t\t\t\t\t\t\t\t\t\t\t\t";
} else {
// line 587
yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
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%"]));
// line 588
yield "\t\t\t\t\t\t\t\t\t\t\t\t\t";
}
// line 589
yield "\t\t\t\t\t\t\t\t\t\t\t\t</tbody>
\t\t\t\t\t\t\t\t\t\t\t</table>
\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t\t<div class=\"col-12 navigation txt_a_r\">
\t\t\t\t\t\t\t\t\t\t\t";
// line 593
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); })()));
yield "
\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
return; yield '';
}
// line 728
public function block_ticketsTab2($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "ticketsTab2"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "ticketsTab2"));
// line 729
yield "\t\t\t\t\t\t\t\t\t<div class=\"row\">
\t\t\t\t\t\t\t\t\t\t<div class=\"col-12\">
\t\t\t\t\t\t\t\t\t\t\t";
// line 731
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", false, false, false, 731)) {
// line 732
yield "\t\t\t\t\t\t\t\t\t\t\t\t";
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", false, false, false, 732))) {
yield "<a id=\"button_";
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", false, false, false, 732), "html", null, true);
yield "_print\" href=\"javascript: void(0)\" class=\"button button-3d button-mini button-grey f_right m_b_10p\">Stampa</a>";
}
// line 733
yield "\t\t\t\t\t\t\t\t\t\t\t\t";
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", false, false, false, 733)) && 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", false, false, false, 733))) {
yield "<a id=\"button_";
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", false, false, false, 733), "html", null, true);
yield "_suspend_end\" href=\"javascript: void(0)\" class=\"button button-3d button-mini button-grey f_right m_b_10p\">Sblocca sospensione</a>";
}
// line 734
yield "\t\t\t\t\t\t\t\t\t\t\t";
}
// line 735
yield "\t\t\t\t\t\t\t\t\t\t\t";
if ((isset($context["hasTakeOnCharge"]) || array_key_exists("hasTakeOnCharge", $context) ? $context["hasTakeOnCharge"] : (function () { throw new RuntimeError('Variable "hasTakeOnCharge" does not exist.', 735, $this->source); })())) {
yield "<a href=\"javascript: ticketsTakeCharge()\" class=\"button button-3d button-mini button-green f_right m_b_10p\">Prendi in carico</a>";
}
// line 736
yield "\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t\t<div class=\"col-12 overflow_a\">
\t\t\t\t\t\t\t\t\t\t\t<table class=\"table table-bordered table-hover\">
\t\t\t\t\t\t\t\t\t\t\t\t<thead>
\t\t\t\t\t\t\t\t\t\t\t\t\t<tr>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t<form method=\"get\" action=\"";
// line 741
yield $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("user_ticket_list");
yield "\">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td class=\"td_action\"><a href=\"";
// line 742
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("remove_filter", ["route" => CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 742, $this->source); })()), "request", [], "any", false, false, false, 742), "attributes", [], "any", false, false, false, 742), "get", ["_route"], "method", false, false, false, 742), "route_params" => CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 742, $this->source); })()), "request", [], "any", false, false, false, 742), "attributes", [], "any", false, false, false, 742), "get", ["_route_params"], "method", false, false, false, 742)]), "html", null, true);
yield "\" class=\"f_right\" data-bs-toggle=\"tooltip\" title=\"Escludi filtro\"><img class=\"icon_red\" src=\"";
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", null, true);
yield "\"></a></td>
\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=\"";
// line 743
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(((CoreExtension::getAttribute($this->env, $this->source, ($context["filters"] ?? null), "all", [], "any", true, true, false, 743)) ? (Twig\Extension\CoreExtension::default(CoreExtension::getAttribute($this->env, $this->source, ($context["filters"] ?? null), "all", [], "any", false, false, false, 743))) : ("")), "html", null, true);
yield "\"/></td>
\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=\"";
// line 744
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", null, true);
yield "\"></button></td>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<input type=\"hidden\" name=\"filter_tab\" value=\"";
// line 745
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", null, true);
yield "\">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t</form>
\t\t\t\t\t\t\t\t\t\t\t\t\t</tr>
\t\t\t\t\t\t\t\t\t\t\t\t\t<tr class=\"bg_pr color_w\">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
// line 749
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", false, false, false, 749)) {
// line 750
yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<th>
\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\">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<input id=\"ticket_";
// line 752
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", false, false, false, 752), "html", null, true);
yield "_all_checkboxes\" class=\"switch-toggle switch-flat-mini switch-toggle-flat\" type=\"checkbox\" onChange=\"javascript: selectAll(";
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", false, false, false, 752), "html", null, true);
yield ")\">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<label for=\"ticket_";
// line 753
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", false, false, false, 753), "html", null, true);
yield "_all_checkboxes\" class=\"m_b_none\"></label>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</th>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
}
// line 757
yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t<th colspan=\"3\"></th>
\t\t\t\t\t\t\t\t\t\t\t\t\t</tr>
\t\t\t\t\t\t\t\t\t\t\t\t</thead>
\t\t\t\t\t\t\t\t\t\t\t\t<tbody>
\t\t\t\t\t\t\t\t\t\t\t\t\t";
// line 761
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)) {
// line 762
yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
$context['_parent'] = $context;
$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); })()));
$context['loop'] = [
'parent' => $context['_parent'],
'index0' => 0,
'index' => 1,
'first' => true,
];
if (is_array($context['_seq']) || (is_object($context['_seq']) && $context['_seq'] instanceof \Countable)) {
$length = count($context['_seq']);
$context['loop']['revindex0'] = $length - 1;
$context['loop']['revindex'] = $length;
$context['loop']['length'] = $length;
$context['loop']['last'] = 1 === $length;
}
foreach ($context['_seq'] as $context["_key"] => $context["ticket"]) {
// line 763
yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
$context["ticketBg"] = "";
// line 764
yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
$context["ticketTitle"] = "";
// line 765
yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
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"))) {
// line 766
yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
if ((CoreExtension::getAttribute($this->env, $this->source, $context["ticket"], "datetimeExpiration", [], "any", false, false, false, 766) != null)) {
// line 767
yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
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", false, false, false, 767), "YmdHi"))) {
// line 768
yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
$context["ticketBg"] = "bg_r_m_h";
// line 769
yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
$context["ticketTitle"] = "Scaduto";
// line 770
yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
} 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", false, false, false, 770), "-1 day"), "YmdHi"))) {
// line 771
yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
$context["ticketBg"] = "bg_r_m";
// line 772
yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
$context["ticketTitle"] = "Scade in un giorno";
// line 773
yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
} 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", false, false, false, 773), "-2 day"), "YmdHi"))) {
// line 774
yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
$context["ticketBg"] = "bg_r_l_m";
// line 775
yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
$context["ticketTitle"] = "Scade in due giorni";
// line 776
yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
}
// line 777
yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
}
// line 778
yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
}
// line 779
yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<tr class=\"";
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", null, true);
yield "\" data-bs-toggle=\"tooltip\" title=\"";
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", null, true);
yield "\">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
// line 780
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", false, false, false, 780)) {
// line 781
yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td class=\"td_action\">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"switch\">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<input id=\"ticket_checkbox_";
// line 783
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["ticket"], "id", [], "any", false, false, false, 783), "html", null, true);
yield "\" class=\"switch-toggle switch-flat-mini switch-toggle-flat ticket_";
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", false, false, false, 783), "html", null, true);
yield "_checkbox\" type=\"checkbox\" value=\"";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["ticket"], "id", [], "any", false, false, false, 783), "html", null, true);
yield "\" onChange=\"javascript: updateButtons(";
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", false, false, false, 783), "html", null, true);
yield ")\">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<label for=\"ticket_checkbox_";
// line 784
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["ticket"], "id", [], "any", false, false, false, 784), "html", null, true);
yield "\" class=\"m_b_none\"></label>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</td>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
}
// line 788
yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td colspan=\"2\">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<a href=\"";
// line 789
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", false, false, false, 789)]), "html", null, true);
yield "\">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<table class=\"table table_no_padding m_b_none b_none font_12\">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<tr><td><b>Stato</b>: ";
// line 791
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", false, false, false, 791);
yield "</td></tr>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<tr><td><b>N°</b>: <span id=\"ticket_number_";
// line 792
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["ticket"], "id", [], "any", false, false, false, 792), "html", null, true);
yield "\">";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["ticket"], "number", [], "any", false, false, false, 792), "html", null, true);
yield "</span></td></tr>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<tr><td><b>Termid</b>: <span id=\"ticket_termid_";
// line 793
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["ticket"], "id", [], "any", false, false, false, 793), "html", null, true);
yield "\">";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["ticket"], "termid", [], "any", false, false, false, 793), "html", null, true);
yield "</span></td></tr>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
// line 794
if (CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["global_company"]) || array_key_exists("global_company", $context) ? $context["global_company"] : (function () { throw new RuntimeError('Variable "global_company" does not exist.', 794, $this->source); })()), "actualCompany", [], "any", false, false, false, 794), "tagTicketActive", [], "any", false, false, false, 794)) {
yield "<tr><td><b>Tag</b>: <span id=\"ticket_tags_";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["ticket"], "id", [], "any", false, false, false, 794), "html", null, true);
yield "\">";
yield CoreExtension::getAttribute($this->env, $this->source, $context["ticket"], "displayTags", ["icon"], "method", false, false, false, 794);
yield "</span></td></tr>";
}
// line 795
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>: ";
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"]]));
yield "</td></tr>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<tr><td><b>Cliente</b>: <span id=\"ticket_client_";
// line 796
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["ticket"], "id", [], "any", false, false, false, 796), "html", null, true);
yield "\">";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["ticket"], "client", [], "any", false, false, false, 796), "html", null, true);
yield "</span></td></tr>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<tr><td><b>Cliente - Indirizzo</b>: ";
// line 797
if ((CoreExtension::getAttribute($this->env, $this->source, $context["ticket"], "client", [], "any", false, false, false, 797) != null)) {
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", false, false, false, 797)]));
} else {
yield "---";
}
yield "</td></tr>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<tr><td><b>Operazione</b>: <span id=\"ticket_operation_";
// line 798
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["ticket"], "id", [], "any", false, false, false, 798), "html", null, true);
yield "\">";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["ticket"], "operation", [], "any", false, false, false, 798), "html", null, true);
yield " ";
if ((CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, $context["ticket"], "operation", [], "any", false, false, false, 798), "getKeyValueByValue", ["Dettagli operazione"], "method", false, false, false, 798) && (CoreExtension::getAttribute($this->env, $this->source, $context["ticket"], "displayJsonValueByColumn", [CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, $context["ticket"], "operation", [], "any", false, false, false, 798), "getKeyValueByValue", ["Dettagli operazione"], "method", false, false, false, 798)], "method", false, false, false, 798) != null))) {
yield "<i>(";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["ticket"], "displayJsonValueByColumn", [CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, $context["ticket"], "operation", [], "any", false, false, false, 798), "getKeyValueByValue", ["Dettagli operazione"], "method", false, false, false, 798)], "method", false, false, false, 798), "html", null, true);
yield ")</i>";
}
yield "</span></td></tr>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<tr><td><b>Fornitore</b>: <span id=\"ticket_supplier_";
// line 799
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["ticket"], "id", [], "any", false, false, false, 799), "html", null, true);
yield "\">";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["ticket"], "supplier", [], "any", false, false, false, 799), "html", null, true);
yield " ";
if ((CoreExtension::getAttribute($this->env, $this->source, $context["ticket"], "displayJsonValueByColumn", ["SLOT"], "method", false, false, false, 799) != null)) {
yield "<i>(";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["ticket"], "displayJsonValueByColumn", ["SLOT"], "method", false, false, false, 799), "html", null, true);
yield ")</i>";
}
yield "</span></td></tr>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<tr><td><b>Scadenza</b>: ";
// line 800
if ((CoreExtension::getAttribute($this->env, $this->source, $context["ticket"], "datetimeExpiration", [], "any", false, false, false, 800) != null)) {
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Twig\Extension\CoreExtension']->formatDate(CoreExtension::getAttribute($this->env, $this->source, $context["ticket"], "datetimeExpiration", [], "any", false, false, false, 800), "d-m-Y H:i"), "html", null, true);
} else {
yield "---";
}
yield "</td></tr>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<tr><td><b>ABI</b>: ";
// line 801
if (CoreExtension::getAttribute($this->env, $this->source, $context["ticket"], "displayJsonValueByColumn", [CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, $context["ticket"], "operation", [], "any", false, false, false, 801), "getKeyValueByValue", ["ABI"], "method", false, false, false, 801)], "method", false, false, false, 801)) {
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["ticket"], "displayJsonValueByColumn", [CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, $context["ticket"], "operation", [], "any", false, false, false, 801), "getKeyValueByValue", ["ABI"], "method", false, false, false, 801)], "method", false, false, false, 801), "html", null, true);
} else {
yield "---";
}
yield "</td></tr>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<tr><td><b>Risorsa</b>: ";
// line 802
if (CoreExtension::getAttribute($this->env, $this->source, $context["ticket"], "displayJsonValueByColumn", [CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, $context["ticket"], "operation", [], "any", false, false, false, 802), "getKeyValueByValue", ["Risorsa"], "method", false, false, false, 802)], "method", false, false, false, 802)) {
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["ticket"], "displayJsonValueByColumn", [CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, $context["ticket"], "operation", [], "any", false, false, false, 802), "getKeyValueByValue", ["Risorsa"], "method", false, false, false, 802)], "method", false, false, false, 802), "html", null, true);
} else {
yield "---";
}
yield "</td></tr>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<tr><td><b>Risorsa upgrade</b>: ";
// line 803
if (CoreExtension::getAttribute($this->env, $this->source, $context["ticket"], "displayJsonValueByColumn", [CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, $context["ticket"], "operation", [], "any", false, false, false, 803), "getKeyValueByValue", ["Risorsa upgrade"], "method", false, false, false, 803)], "method", false, false, false, 803)) {
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["ticket"], "displayJsonValueByColumn", [CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, $context["ticket"], "operation", [], "any", false, false, false, 803), "getKeyValueByValue", ["Risorsa upgrade"], "method", false, false, false, 803)], "method", false, false, false, 803), "html", null, true);
} else {
yield "---";
}
yield "</td></tr>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</table>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</a>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</td>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</tr>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
++$context['loop']['index0'];
++$context['loop']['index'];
$context['loop']['first'] = false;
if (isset($context['loop']['length'])) {
--$context['loop']['revindex0'];
--$context['loop']['revindex'];
$context['loop']['last'] = 0 === $context['loop']['revindex0'];
}
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['ticket'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 809
yield "\t\t\t\t\t\t\t\t\t\t\t\t\t";
} else {
// line 810
yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
yield from $this->loadTemplate("components/twig/notice_filter_no_match.html.twig", "role/user/ticket/list.html.twig", 810)->unwrap()->yield($context);
// line 811
yield "\t\t\t\t\t\t\t\t\t\t\t\t\t";
}
// line 812
yield "\t\t\t\t\t\t\t\t\t\t\t\t</tbody>
\t\t\t\t\t\t\t\t\t\t\t</table>
\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t\t<div class=\"col-12 navigation txt_a_r\">
\t\t\t\t\t\t\t\t\t\t\t";
// line 816
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); })()));
yield "
\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
return; yield '';
}
// line 1161
public function block_javascripts($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "javascripts"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "javascripts"));
// line 1162
yield from $this->yieldParentBlock("javascripts", $context, $blocks);
yield "
";
// line 1163
if (((CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 1163, $this->source); })()), "user", [], "any", false, false, false, 1163), "getAccountTypology", [], "any", false, false, false, 1163) == "agency") || (CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 1163, $this->source); })()), "user", [], "any", false, false, false, 1163), "getAccountTypology", [], "any", false, false, false, 1163) == "warehouse"))) {
// line 1164
yield "\t";
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", false, false, false, 1164), "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", false, false, false, 1164), "sort_field" => "sort_field_0", "sort_order" => "sort_order_0", "formName" => "formFilter_0", "arrowClass" => "filter_arrow"]));
// line 1165
yield "\t";
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", false, false, false, 1165), "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", false, false, false, 1165), "sort_field" => "sort_field_1", "sort_order" => "sort_order_1", "formName" => "formFilter_1", "arrowClass" => "filter_arrow"]));
// line 1166
yield "\t";
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", false, false, false, 1166), "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", false, false, false, 1166), "sort_field" => "sort_field_2", "sort_order" => "sort_order_2", "formName" => "formFilter_2", "arrowClass" => "filter_arrow"]));
// line 1167
yield "\t";
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", false, false, false, 1167), "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", false, false, false, 1167), "sort_field" => "sort_field_3", "sort_order" => "sort_order_3", "formName" => "formFilter_3", "arrowClass" => "filter_arrow"]));
// line 1168
yield "\t";
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", false, false, false, 1168), "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", false, false, false, 1168), "sort_field" => "sort_field_4", "sort_order" => "sort_order_4", "formName" => "formFilter_4", "arrowClass" => "filter_arrow"]));
// line 1169
yield "\t";
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", false, false, false, 1169), "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", false, false, false, 1169), "sort_field" => "sort_field_5", "sort_order" => "sort_order_5", "formName" => "formFilter_5", "arrowClass" => "filter_arrow"]));
// line 1170
yield "\t";
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", false, false, false, 1170), "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", false, false, false, 1170), "sort_field" => "sort_field_6", "sort_order" => "sort_order_6", "formName" => "formFilter_6", "arrowClass" => "filter_arrow"]));
// line 1171
yield "\t";
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", false, false, false, 1171), "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", false, false, false, 1171), "sort_field" => "sort_field_7", "sort_order" => "sort_order_7", "formName" => "formFilter_7", "arrowClass" => "filter_arrow"]));
// line 1172
yield "\t";
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", false, false, false, 1172), "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", false, false, false, 1172), "sort_field" => "sort_field_8", "sort_order" => "sort_order_8", "formName" => "formFilter_8", "arrowClass" => "filter_arrow"]));
// line 1173
yield "\t";
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", false, false, false, 1173), "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", false, false, false, 1173), "sort_field" => "sort_field_9", "sort_order" => "sort_order_9", "formName" => "formFilter_9", "arrowClass" => "filter_arrow"]));
// line 1174
yield "\t";
if (CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["global_company"]) || array_key_exists("global_company", $context) ? $context["global_company"] : (function () { throw new RuntimeError('Variable "global_company" does not exist.', 1174, $this->source); })()), "actualCompany", [], "any", false, false, false, 1174), "tagTicketActive", [], "any", false, false, false, 1174)) {
// line 1175
yield "\t\t";
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", false, false, false, 1175)]));
// line 1176
yield "\t\t";
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", false, false, false, 1176)]));
// line 1177
yield "\t\t";
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", false, false, false, 1177)]));
// line 1178
yield "\t\t";
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", false, false, false, 1178)]));
// line 1179
yield "\t\t";
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", false, false, false, 1179)]));
// line 1180
yield "\t\t";
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", false, false, false, 1180)]));
// line 1181
yield "\t\t";
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", false, false, false, 1181)]));
// line 1182
yield "\t\t";
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", false, false, false, 1182)]));
// line 1183
yield "\t\t";
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", false, false, false, 1183)]));
// line 1184
yield "\t\t";
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", false, false, false, 1184)]));
// line 1185
yield "\t";
}
// line 1186
yield "\t";
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", false, false, false, 1186)]));
// line 1187
yield "\t";
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", false, false, false, 1187)]));
// line 1188
yield "\t";
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", false, false, false, 1188)]));
// line 1189
yield "\t";
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", false, false, false, 1189)]));
// line 1190
yield "\t";
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", false, false, false, 1190)]));
// line 1191
yield "\t";
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", false, false, false, 1191)]));
// line 1192
yield "\t";
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", false, false, false, 1192)]));
// line 1193
yield "\t";
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", false, false, false, 1193)]));
// line 1194
yield "\t";
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", false, false, false, 1194)]));
// line 1195
yield "\t";
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", false, false, false, 1195)]));
// line 1196
yield "\t";
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", false, false, false, 1196)]));
// line 1197
yield "\t";
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", false, false, false, 1197)]));
// line 1198
yield "\t";
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", false, false, false, 1198)]));
// line 1199
yield "\t";
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", false, false, false, 1199)]));
// line 1200
yield "\t";
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", false, false, false, 1200)]));
// line 1201
yield "\t";
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", false, false, false, 1201)]));
// line 1202
yield "\t";
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", false, false, false, 1202)]));
// line 1203
yield "\t";
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", false, false, false, 1203)]));
// line 1204
yield "\t";
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", false, false, false, 1204)]));
// line 1205
yield "\t";
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", false, false, false, 1205)]));
// line 1206
yield "\t";
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"]));
// line 1207
yield "\t";
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"]));
// line 1208
yield "\t";
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"]));
// line 1209
yield "\t";
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"]));
// line 1210
yield "\t";
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"]));
// line 1211
yield "\t";
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"]));
// line 1212
yield "\t";
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"]));
// line 1213
yield "\t";
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"]));
// line 1214
yield "\t";
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"]));
// line 1215
yield "\t";
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"]));
// line 1216
yield "\t";
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"]));
// line 1217
yield "\t";
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"]));
// line 1218
yield "\t";
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"]));
// line 1219
yield "\t";
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"]));
// line 1220
yield "\t";
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"]));
// line 1221
yield "\t";
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"]));
// line 1222
yield "\t";
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"]));
// line 1223
yield "\t";
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"]));
// line 1224
yield "\t";
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"]));
// line 1225
yield "\t";
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"]));
// line 1226
yield "\t";
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"]));
// line 1227
yield "\t";
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"]));
// line 1228
yield "\t";
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"]));
// line 1229
yield "\t";
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"]));
// line 1230
yield "\t";
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"]));
// line 1231
yield "\t";
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"]));
// line 1232
yield "\t";
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"]));
// line 1233
yield "\t";
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"]));
// line 1234
yield "\t";
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"]));
// line 1235
yield "\t";
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"]));
// line 1236
yield "\t";
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"]));
// line 1237
yield "\t";
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"]));
// line 1238
yield "\t";
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"]));
// line 1239
yield "\t";
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"]));
// line 1240
yield "\t";
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"]));
// line 1241
yield "\t";
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"]));
// line 1242
yield "\t";
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"]));
// line 1243
yield "\t";
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"]));
// line 1244
yield "\t";
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"]));
// line 1245
yield "\t";
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"]));
// line 1246
yield "\t";
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"]));
// line 1247
yield "\t";
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"]));
// line 1248
yield "\t";
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"]));
// line 1249
yield "\t";
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"]));
// line 1250
yield "\t";
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"]));
// line 1251
yield "\t";
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"]));
// line 1252
yield "\t";
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"]));
// line 1253
yield "\t";
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"]));
// line 1254
yield "\t";
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"]));
}
// line 1256
yield "<script>
\t\$(document).ready(function(){
\t\t";
// line 1258
if ((CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 1258, $this->source); })()), "session", [], "any", false, false, false, 1258), "get", ["tab_operation_group"], "method", false, false, false, 1258) != null)) {
// line 1259
yield "\t\t\tvar operationGroupInputs = document.getElementsByClassName('operation_group_input');
\t\t\tfor(i=0; i<operationGroupInputs.length; i++){
\t\t\t\toperationGroupInputs.value = \"";
// line 1261
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 1261, $this->source); })()), "session", [], "any", false, false, false, 1261), "get", ["tab_operation_group"], "method", false, false, false, 1261), "html", null, true);
yield "\";
\t\t\t}
\t\t\t";
// line 1264
CoreExtension::getAttribute($this->env, $this->source, CoreExtension::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", false, false, false, 1264), "remove", ["tab_operation_group"], "method", false, false, false, 1264);
// line 1265
yield "\t\t\t";
CoreExtension::getAttribute($this->env, $this->source, CoreExtension::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", false, false, false, 1265), "remove", ["tab_technician"], "method", false, false, false, 1265);
// line 1266
yield "\t\t";
}
// line 1267
yield "
\t\t";
// line 1268
if ((CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 1268, $this->source); })()), "session", [], "any", false, false, false, 1268), "get", ["ticketsError"], "method", false, false, false, 1268) != null)) {
// line 1269
yield "\t\t\tdocument.getElementById('ticketsIds').value = \"";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 1269, $this->source); })()), "session", [], "any", false, false, false, 1269), "get", ["ticketsIds"], "method", false, false, false, 1269), "html", null, true);
yield "\";
\t\t\tdocument.getElementById('action').value = \"";
// line 1270
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 1270, $this->source); })()), "session", [], "any", false, false, false, 1270), "get", ["ticketsAction"], "method", false, false, false, 1270), "html", null, true);
yield "\";
\t\t\tvar ticketsIds = \"";
// line 1271
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 1271, $this->source); })()), "session", [], "any", false, false, false, 1271), "get", ["ticketsIds"], "method", false, false, false, 1271), "html", null, true);
yield "\";
\t\t\tvar table = document.getElementById('tableTickets');
\t\t\ttable.innerHTML = '<tr><th>Numero</th><th>Cliente</th><th>Operazione</th><th>Fornitore</th></tr>';
\t\t\tfor(i=0; i<ticketsIds.length; i++){
\t\t\t\tvar tr = document.createElement('tr');
\t\t\t\tvar td1 = document.createElement('td');
\t\t\t\tvar td2 = document.createElement('td');
\t\t\t\tvar td3 = document.createElement('td');
\t\t\t\tvar td4 = document.createElement('td');
\t\t\t\ttd1.innerHTML = document.getElementById('ticket_number_' + ticketsIds[i]).innerHTML;
\t\t\t\ttd2.innerHTML = document.getElementById('ticket_client_' + ticketsIds[i]).innerHTML;
\t\t\t\ttd3.innerHTML = document.getElementById('ticket_operation_' + ticketsIds[i]).innerHTML;
\t\t\t\ttd4.innerHTML = document.getElementById('ticket_supplier_' + ticketsIds[i]).innerHTML;
\t\t\t\ttr.appendChild(td1);
\t\t\t\ttr.appendChild(td2);
\t\t\t\ttr.appendChild(td3);
\t\t\t\ttr.appendChild(td4);
\t\t\t\ttable.appendChild(tr);
\t\t\t}
\t\t\tswitch(\"";
// line 1290
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 1290, $this->source); })()), "session", [], "any", false, false, false, 1290), "get", ["ticketsAction"], "method", false, false, false, 1290), "html", null, true);
yield "\"){
\t\t\t\tcase 'suspend_end':
\t\t\t\t\tdocument.getElementById('actionLabel').innerHTML = 'sbloccherai la sospensione per';
\t\t\t\t\tdocument.getElementById('divSuspendEnd').style.display = 'block';
\t\t\t\t\tdocument.getElementById('textareaCausal').style = 'border-color: #CB0C0F';
\t\t\t\t\tdocument.getElementById('textareaCausal').setAttribute('data-bs-toggle', 'tooltip');
\t\t\t\t\tdocument.getElementById('textareaCausal').setAttribute('data-bs-original-title', 'Inserisci la motivazione per sbloccare la sospensione');
\t\t\t\t\tbreak;
\t\t\t\tdefault: break;
\t\t\t}
\t\t\t\$('#multipleModal').modal({backdrop: 'static', keyboard: false}).modal(\"show\");
\t\t\t";
// line 1301
CoreExtension::getAttribute($this->env, $this->source, CoreExtension::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", false, false, false, 1301), "remove", ["ticketsError"], "method", false, false, false, 1301);
// line 1302
yield "\t\t";
}
// line 1303
yield "\t\t
\t\t";
// line 1304
if (((CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 1304, $this->source); })()), "user", [], "any", false, false, false, 1304), "getAccountTypology", [], "any", false, false, false, 1304) == "agency") || (CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 1304, $this->source); })()), "user", [], "any", false, false, false, 1304), "getAccountTypology", [], "any", false, false, false, 1304) == "warehouse"))) {
// line 1305
yield "\t\t\tvar dateRanges = document.getElementsByClassName('daterange1');
\t\t\tfor(i=0; i<dateRanges.length; i++){
\t\t\t\t";
// line 1307
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", false, false, false, 1307) != null)) {
// line 1308
yield "\t\t\t\t\tdateRanges[i].value = \"";
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", false, false, false, 1308), "html", null, true);
yield "\";
\t\t\t\t";
} else {
// line 1310
yield "\t\t\t\t\tdateRanges[i].value = null;
\t\t\t\t";
}
// line 1312
yield "\t\t\t}
\t\t\t
\t\t\tvar dateRanges2 = document.getElementsByClassName('daterange2');
\t\t\tfor(i=0; i<dateRanges2.length; i++){
\t\t\t\t";
// line 1316
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", false, false, false, 1316) != null)) {
// line 1317
yield "\t\t\t\t\tdateRanges2[i].value = \"";
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", false, false, false, 1317), "html", null, true);
yield "\";
\t\t\t\t";
} else {
// line 1319
yield "\t\t\t\t\tdateRanges2[i].value = null;
\t\t\t\t";
}
// line 1321
yield "\t\t\t}
\t\t\t
\t\t\tvar dateRanges3 = document.getElementsByClassName('daterange3');
\t\t\tfor(i=0; i<dateRanges3.length; i++){
\t\t\t\t";
// line 1325
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", false, false, false, 1325) != null)) {
// line 1326
yield "\t\t\t\t\tdateRanges3[i].value = \"";
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", false, false, false, 1326), "html", null, true);
yield "\";
\t\t\t\t";
} else {
// line 1328
yield "\t\t\t\t\tdateRanges3[i].value = null;
\t\t\t\t";
}
// line 1330
yield "\t\t\t}
\t\t";
}
// line 1332
yield "\t});
\t";
// line 1334
if (((CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 1334, $this->source); })()), "user", [], "any", false, false, false, 1334), "getAccountTypology", [], "any", false, false, false, 1334) == "agency") || (CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 1334, $this->source); })()), "user", [], "any", false, false, false, 1334), "getAccountTypology", [], "any", false, false, false, 1334) == "warehouse"))) {
// line 1335
yield "
\t\tfunction assignTechnician(type, index){
\t\t\tvar checkboxes = document.getElementsByClassName('ticket_' + index + '_checkbox');
\t\t\tconst array = [];
\t\t\tfor(i=0; i<checkboxes.length; i++){
\t\t\t\tif(checkboxes[i].checked)
\t\t\t\t\tarray.push(checkboxes[i].value);
\t\t\t}
\t\t\t
\t\t\tdocument.getElementById('technicianTicketsIds').value = array;
\t\t\tswitch(type){
\t\t\t\tcase 'assign': document.getElementById('tech_span').innerHTML = 'Assegna'; document.getElementById('tech_btn').innerHTML = 'Assegna'; break;
\t\t\t\tcase 'change': document.getElementById('tech_span').innerHTML = 'Cambia'; document.getElementById('tech_btn').innerHTML = 'Cambia'; break;
\t\t\t\tdefault: break;
\t\t\t}
\t\t\t\$('#assignTechnicianModal').modal({backdrop: 'static', keyboard: false}).modal(\"show\");
\t\t}
\t\tfunction sendEmailTakeCharge(){
\t\t\t\$('#emailTakeChargeModal').modal({backdrop: 'static', keyboard: false}).modal(\"show\");
\t\t}
\t\t
\t\tfunction suspendTickets(index){
\t\t\tvar checkboxes = document.getElementsByClassName('ticket_' + index + '_checkbox');
\t\t\tconst array = [];
\t\t\tfor(i=0; i<checkboxes.length; i++){
\t\t\t\tif(checkboxes[i].checked)
\t\t\t\t\tarray.push(checkboxes[i].value);
\t\t\t}
\t\t\tdocument.getElementById('suspendTicketsIds').value = array;
\t\t\t\$('#suspendTicketsModal').modal({backdrop: 'static', keyboard: false}).modal(\"show\");
\t\t}
\t\t\$('#form_suspension_dateFrom').datepicker({ autoclose: true, todayHighlight: true, format: \"dd-mm-yyyy\", endDate: \"today\" });
\t\t\$('#form_suspension_dateTo').datepicker({ autoclose: true, todayHighlight: true, format: \"dd-mm-yyyy\" });
\t\t\$(document).ready(function(){
\t\t\tupdateReferentAndMotivation();
\t\t\t";
// line 1373
if (CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 1373, $this->source); })()), "session", [], "any", false, false, false, 1373), "get", ["openSuspensionModal"], "method", false, false, false, 1373)) {
// line 1374
yield "\t\t\t\tdocument.getElementById('suspendTicketsIds').value = \"";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 1374, $this->source); })()), "session", [], "any", false, false, false, 1374), "get", ["openSuspensionModalIds"], "method", false, false, false, 1374), "html", null, true);
yield "\";
\t\t\t\t\$('#suspendTicketsModal').modal({backdrop: 'static', keyboard: false}).modal(\"show\");
\t\t\t\tvar ids = \"";
// line 1376
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 1376, $this->source); })()), "session", [], "any", false, false, false, 1376), "get", ["openSuspensionModalIds"], "method", false, false, false, 1376), "html", null, true);
yield "\".split(',');
\t\t\t\tfor(i=0; i<ids.length; i++) document.getElementById('ticket_checkbox_' + ids[i]).checked = true;
\t\t\t\t";
// line 1378
CoreExtension::getAttribute($this->env, $this->source, CoreExtension::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", false, false, false, 1378), "remove", ["openSuspensionModal"], "method", false, false, false, 1378);
// line 1379
yield "\t\t\t\t";
CoreExtension::getAttribute($this->env, $this->source, CoreExtension::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", false, false, false, 1379), "remove", ["openSuspensionModalIds"], "method", false, false, false, 1379);
// line 1380
yield "\t\t\t";
}
// line 1381
yield "\t\t});
\t\tfunction updateReferentAndMotivation(){
\t\t\tvar outcomeId = document.getElementById('form_suspension_outcome').value;
\t\t\tdocument.getElementById('label_suspension_to_date').innerHTML = 'Sospeso fino a - Data';
\t\t\tdocument.getElementById('label_suspension_to_time').innerHTML = 'Sospeso fino a - Ora';
\t\t\tdocument.getElementById('div_referent').style.display = 'none';
\t\t\tdocument.getElementById('label_motivation').innerHTML = 'Motivazione';
\t\t\tdocument.getElementById('div_phone').style.display = 'none';
\t\t\tdocument.getElementById('div_photo').style.display = 'none';
\t\t\tif(outcomeId != \"\"){
\t\t\t\t\$.post('";
// line 1392
yield $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("user_ticket_intervention_outcome_update");
yield "', {outcomeId: outcomeId}, function(response){
\t\t\t\t\tif(response.code == 200 && response.success){
\t\t\t\t\t\tif(response.suspensionTo) document.getElementById('label_suspension_to_date').innerHTML = 'Sospeso fino a - Data*';
\t\t\t\t\t\tif(response.suspensionTo) document.getElementById('label_suspension_to_time').innerHTML = 'Sospeso fino a - Ora*';
\t\t\t\t\t\tif(response.referent) document.getElementById('div_referent').style.display = 'block';
\t\t\t\t\t\tif(response.motivation) document.getElementById('label_motivation').innerHTML = 'Motivazione*';
\t\t\t\t\t\tif(response.phone) document.getElementById('div_phone').style.display = 'block';
\t\t\t\t\t\tif(response.photo) document.getElementById('div_photo').style.display = 'block';
\t\t\t\t\t}
\t\t\t\t}, \"json\");
\t\t\t}
\t\t}
\t";
} elseif ((CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, // line 1405
(isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 1405, $this->source); })()), "user", [], "any", false, false, false, 1405), "getAccountTypology", [], "any", false, false, false, 1405) == "technician")) {
// line 1406
yield "\t\tfunction ticketsTakeCharge(){
\t\t\t\$('#takeChargeModal').modal({backdrop: 'static', keyboard: false}).modal(\"show\");
\t\t}
\t";
}
// line 1410
yield "
\tfunction selectAll(index){
\t\tvar checkboxes = document.getElementsByClassName('ticket_' + index + '_checkbox');
\t\tvar isSelect = document.getElementById(\"ticket_\" + index + \"_all_checkboxes\").checked;
\t\tfor(i=0; i<checkboxes.length; i++)
\t\t\tcheckboxes[i].checked = isSelect;
\t\tupdateButtons(index);
\t}
\tfunction updateButtons(index) {
\t\tconst inputSelectAll = document.getElementById(`ticket_\${index}_all_checkboxes`);
\t\tconst checkboxes = document.getElementsByClassName(`ticket_\${index}_checkbox`);
\t\tconst GREEN = \"button button-3d button-mini button-green f_right m_b_10p\";
\t\tconst GREY = \"button button-3d button-mini button-grey f_right m_b_10p\";
\t\tconst getBtn = (suffix) => document.getElementById(`button_\${index}_\${suffix}`);
\t\t// Mappa pulsanti principali
\t\tconst buttons = {
\t\t\taction: {
\t\t\t\t0: { btn: getBtn('wrong'), href: () => `javascript: sendAction('wrong', \${index})` },
\t\t\t\t1: { btn: getBtn('assign'), href: () => `javascript: assignTechnician('assign', \${index})` },
\t\t\t\t4: { btn: getBtn('cancel'), href: () => `javascript: sendAction('cancel', \${index})` },
\t\t\t\t6: { btn: getBtn('closed_portal'), href: () => `javascript: sendAction('closed_portal', \${index})` },
\t\t\t\t8: { btn: getBtn('wrong'), href: () => `javascript: sendAction('wrong', \${index})` },
\t\t\t\t9: { btn: getBtn('delete'), href: () => `javascript: sendAction('delete', \${index})` },
\t\t\t\t2: { btn: getBtn('print'), href: () => `javascript: sendAction('print', \${index})` },
\t\t\t\t3: { btn: getBtn('print'), href: () => `javascript: sendAction('print', \${index})` },
\t\t\t\t5: { btn: getBtn('print'), href: () => `javascript: sendAction('print', \${index})` },
\t\t\t\t11:{ btn: getBtn('print'), href: () => `javascript: sendAction('print', \${index})` },
\t\t\t\t12:{ btn: getBtn('print'), href: () => `javascript: sendAction('print', \${index})` },
\t\t\t\t14:{ btn: getBtn('print'), href: () => `javascript: sendAction('print', \${index})` }
\t\t\t},
\t\t\tsecondary: {
\t\t\t\t1: { btn: getBtn('cancel'), href: () => `javascript: sendAction('cancel', \${index})` },
\t\t\t\t2: { btn: getBtn('cancel'), href: () => `javascript: sendAction('cancel', \${index})` },
\t\t\t\t3: { btn: getBtn('suspend'), href: () => `javascript: suspendTickets(\${index})` },
\t\t\t\t4: { btn: getBtn('approve'), href: () => `javascript: sendAction('approve', \${index})` },
\t\t\t\t5: { btn: getBtn('suspend_end'), href: () => `javascript: sendAction('suspend_end', \${index})` },
\t\t\t\t14:{ btn: getBtn('suspend_end'), href: () => `javascript: sendAction('suspend_end', \${index})` }
\t\t\t},
\t\t\tthird: {
\t\t\t\t1: { btn: getBtn('suspend'), href: () => `javascript: suspendTickets(\${index})` },
\t\t\t\t2: { btn: getBtn('suspend'), href: () => `javascript: suspendTickets(\${index})` },
\t\t\t\t3: { btn: getBtn('cancel'), href: () => `javascript: sendAction('cancel', \${index})` },
\t\t\t\t5: { btn: getBtn('cancel'), href: () => `javascript: sendAction('cancel', \${index})` }
\t\t\t},
\t\t\textra: {
\t\t\t\t1: [
\t\t\t\t\t{ btn: getBtn('print'), href: () => `javascript: sendAction('print', \${index})` },
\t\t\t\t\t{ btn: getBtn('export'), href: () => `javascript: sendAction('export', \${index})` }
\t\t\t\t],
\t\t\t\t2: [
\t\t\t\t\t{ btn: getBtn('change'), href: () => `javascript: assignTechnician('change', \${index})` },
\t\t\t\t\t{ btn: getBtn('urge'), href: () => `javascript: sendAction('urge', \${index})` },
\t\t\t\t\t{ btn: getBtn('export'), href: () => `javascript: sendAction('export', \${index})` }
\t\t\t\t],
\t\t\t\t3: [
\t\t\t\t\t{ btn: getBtn('change'), href: () => `javascript: assignTechnician('change', \${index})` },
\t\t\t\t\t{ btn: getBtn('urge'), href: () => `javascript: sendAction('urge', \${index})` },
\t\t\t\t\t{ btn: getBtn('export'), href: () => `javascript: sendAction('export', \${index})` }
\t\t\t\t],
\t\t\t\t4: [{ btn: getBtn('export'), href: () => `javascript: sendAction('export', \${index})` }],
\t\t\t\t5: [{ btn: getBtn('export'), href: () => `javascript: sendAction('export', \${index})` }],
\t\t\t\t6: [{ btn: getBtn('export'), href: () => `javascript: sendAction('export', \${index})` }],
\t\t\t\t7: [{ btn: getBtn('export'), href: () => `javascript: sendAction('export', \${index})` }],
\t\t\t\t8: [{ btn: getBtn('export'), href: () => `javascript: sendAction('export', \${index})` }],
\t\t\t\t9: [{ btn: getBtn('export'), href: () => `javascript: sendAction('export', \${index})` }]
\t\t\t}
\t\t};
\t\t// Checkbox logic
\t\tlet selected = [];
\t\tlet allSelected = true;
\t\tfor (let i = 0; i < checkboxes.length; i++) {
\t\t\tif (checkboxes[i].checked) {
\t\t\t\tselected.push(checkboxes[i].value);
\t\t\t} else {
\t\t\t\tallSelected = false;
\t\t\t}
\t\t}
\t\tif (!allSelected) {
\t\t\tinputSelectAll.checked = false;
\t\t}
\t\tconst enable = selected.length > 0;
\t\t// Utility per attivare/disattivare pulsanti
\t\tconst toggleButton = (btnObj) => {
\t\t\tif (!btnObj || !btnObj.btn) return;
\t\t\tbtnObj.btn.className = enable ? GREEN : GREY;
\t\t\tbtnObj.btn.href = enable ? btnObj.href() : 'javascript: void(0)';
\t\t};
\t\t// Applica stato pulsanti
\t\ttoggleButton(buttons.action[index]);
\t\ttoggleButton(buttons.secondary[index]);
\t\ttoggleButton(buttons.third[index]);
\t\tif (buttons.extra[index]) {
\t\t\tbuttons.extra[index].forEach(toggleButton);
\t\t}
\t}
\tfunction sendAction(action, index){
\t\tvar checkboxes = document.getElementsByClassName('ticket_' + index + '_checkbox');
\t\tconst array = [];
\t\tfor(i=0; i<checkboxes.length; i++){
\t\t\tif(checkboxes[i].checked)
\t\t\t\tarray.push(checkboxes[i].value);
\t\t}
\t\t";
// line 1526
CoreExtension::getAttribute($this->env, $this->source, CoreExtension::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", false, false, false, 1526), "set", ["printIndex", 0], "method", false, false, false, 1526);
// line 1527
yield "\t\tdocument.getElementById('ticketsIds').value = array;
\t\tdocument.getElementById('action').value = action;
\t\tdocument.getElementById('divSuspendEnd').style.display = 'none';
\t\tvar table = document.getElementById('tableTickets');
\t\tswitch(action){
\t\t\tcase 'wrong': var label = 'renderai errati'; break;
\t\t\tcase 'print': var label = 'stamperai'; break;
\t\t\tcase 'take_charge': var label = 'prenderai in carico'; break;
\t\t\tcase 'suspend_end': var label = 'sbloccherai la sospensione per'; document.getElementById('divSuspendEnd').style.display = 'block'; break;
\t\t\tcase 'cancel': var label = 'annullerai'; break;
\t\t\tcase 'approve': var label = 'approverai le sospensioni di'; break;
\t\t\tcase 'delete': var label = 'eliminerai definitivamente'; break;
\t\t\tcase 'urge': var label = 'solleciterai il tecnico a completare'; break;
\t\t\tcase 'export':
\t\t\t\tvar table = document.getElementById('exportTableTickets');
\t\t\t\tdocument.getElementById('exportTicketsIds').value = array;
\t\t\t\tbreak;
\t\t}
\t\tdocument.getElementById('actionLabel').innerHTML = label;
\t\ttable.innerHTML = '<tr><th>Numero</th><th>Cliente</th><th>Operazione</th><th>Fornitore</th></tr>';
\t\tfor(i=0; i<array.length; i++){
\t\t\tvar tr = document.createElement('tr');
\t\t\tvar td1 = document.createElement('td');
\t\t\tvar td2 = document.createElement('td');
\t\t\tvar td3 = document.createElement('td');
\t\t\tvar td4 = document.createElement('td');
\t\t\ttd1.innerHTML = document.getElementById('ticket_number_' + array[i]).innerHTML;
\t\t\ttd2.innerHTML = document.getElementById('ticket_client_' + array[i]).innerHTML;
\t\t\ttd3.innerHTML = document.getElementById('ticket_operation_' + array[i]).innerHTML;
\t\t\ttd4.innerHTML = document.getElementById('ticket_supplier_' + array[i]).innerHTML;
\t\t\ttr.appendChild(td1);
\t\t\ttr.appendChild(td2);
\t\t\ttr.appendChild(td3);
\t\t\ttr.appendChild(td4);
\t\t\ttable.appendChild(tr);
\t\t}
\t\tswitch(index){\t\t\t
\t\t\tcase 0: document.getElementById('multipleTab').value = 'error'; break;
\t\t\tcase 1: document.getElementById('multipleTab').value = 'to_assign'; break;
\t\t\tcase 2: document.getElementById('multipleTab').value = 'assigned'; break;
\t\t\tcase 3: document.getElementById('multipleTab').value = 'taken_charge'; break;
\t\t\tcase 4: document.getElementById('multipleTab').value = 'suspension_request'; break;
\t\t\tcase 5: document.getElementById('multipleTab').value = 'suspended'; break;
\t\t\tcase 6: document.getElementById('multipleTab').value = 'closed'; break;
\t\t\tcase 8: document.getElementById('multipleTab').value = 'canceled'; break;
\t\t\tcase 9: document.getElementById('multipleTab').value = 'wrong'; break;
\t\t\tcase 11: document.getElementById('multipleTab').value = 'assigned'; break;
\t\t\tcase 12: document.getElementById('multipleTab').value = 'taken_charge'; break;
\t\t\tcase 14: document.getElementById('multipleTab').value = 'suspended'; break;
\t\t\tdefault: break;
\t\t}
\t\tswitch(action){
\t\t\tcase 'export': \$('#exportModal').modal({backdrop: 'static', keyboard: false}).modal(\"show\"); break;
\t\t\tdefault: \$('#multipleModal').modal({backdrop: 'static', keyboard: false}).modal(\"show\"); break;
\t\t}
\t}
\tfunction showNotes(id){
\t\tdocument.getElementById('notes_number').innerHTML = document.getElementById('ticket_number_' + id).innerHTML;
\t\tdocument.getElementById('notes_anomaly').innerHTML = document.getElementById('ticket_anomaly_' + id).value;
\t\tdocument.getElementById('notes_client_time').innerHTML = document.getElementById('ticket_client_notes_' + id).value;
\t\tdocument.getElementById('notes_client').innerHTML = document.getElementById('ticket_client_time_' + id).value;
\t\t\$('#notesModal').modal({backdrop: 'static', keyboard: false}).modal(\"show\");
\t}
\tdocument.querySelector('#exportForm').addEventListener('submit', function (e) {
\t\te.preventDefault();
\t\tconst form = e.target;
\t\tconst formData = new FormData(form);
\t\tfetch(form.action, { method: 'POST', body: formData})
\t\t.then(response => {if (!response.ok) throw new Error('Errore export'); return response.blob(); })
\t\t.then(blob => {
\t\t\tconst url = window.URL.createObjectURL(blob);
\t\t\tconst a = document.createElement('a');
\t\t\ta.href = url;
\t\t\ta.download = 'Ticket selezionati.csv';
\t\t\tdocument.body.appendChild(a);
\t\t\ta.click();
\t\t\ta.remove();
\t\t\twindow.URL.revokeObjectURL(url);
\t\t\t\$('#exportModal').modal('hide');
\t\t\ttriggerPage();
\t\t})
\t\t.catch(err => {
\t\t\talert('Errore durante l\\'esportazione');
\t\t\tconsole.error(err);
\t\t});
\t});
</script>
";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
return; yield '';
}
/**
* @codeCoverageIgnore
*/
public function getTemplateName()
{
return "role/user/ticket/list.html.twig";
}
/**
* @codeCoverageIgnore
*/
public function isTraitable()
{
return false;
}
/**
* @codeCoverageIgnore
*/
public function getDebugInfo()
{
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,);
}
public function getSourceContext()
{
return new Source("{% extends 'role/user/ticket/index.html.twig' %}
{% block title %}Ticket - Lista{% endblock %}
{% block pageTitleH1 %}Ticket - Lista{% endblock %}
{% block pageTitleBreadcrumb %}
\t<li class=\"breadcrumb-item\"><a href=\"{{ path ('user_tickets') }}\">Ticket</a></li>
\t<li class=\"breadcrumb-item\"><a href=\"javascript:void(0)\">Lista</a></li>
{% endblock %}
{% block subMenuLeft %}
\t<li class=\"nav-item\"><a class=\"nav-link\" href=\"{{ path ('user_index') }}\">Scrivania</a></li>
{% endblock %}
{% block subMenuRight %}
\t{% if app.user.getAccountTypology == 'agency' %}
\t\t<li class=\"nav-item\"><a class=\"nav-link\" href=\"{{ path('user_ticket_download_email') }}\">Scarica da email</a></li>
\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 %}
\t{% endif %}
{% endblock %}
{% block content %}
\t<section class=\"m_tb_50p p_lr_30p\">
\t\t<div class=\"row\">
\t\t\t<div class=\"col-12\">
\t\t\t\t<h3 class=\"form_title\">Ticket</h3>
\t\t\t\t<hr class=\"m_t_none\">
\t\t\t</div>
\t\t\t{% if app.user.getAccountTypology == 'agency' %}
\t\t\t\t{# Agenzia #}
\t\t\t\t<div class=\"col-12\">
\t\t\t\t\t<div class=\"tabs clearfix\">
\t\t\t\t\t\t<ul class=\"tab-nav clearfix\">
\t\t\t\t\t\t\t<li>
\t\t\t\t\t\t\t\t<a id=\"btn_tab_error\" href=\"#error\" class=\"tab_session\" data-filterTab=\"error\">
\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>
\t\t\t\t\t\t\t\t\t<span class=\"d-none d-lg-block\">Con errori ({{ errorTickets.getTotalItemCount }})</span>
\t\t\t\t\t\t\t\t</a>
\t\t\t\t\t\t\t</li>
\t\t\t\t\t\t\t<li>
\t\t\t\t\t\t\t\t<a id=\"btn_tab_to_assign\" href=\"#toAssign\" class=\"tab_session\" data-filterTab=\"to_assign\">
\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>
\t\t\t\t\t\t\t\t\t<span class=\"d-none d-lg-block\">Da assegnare ({{ toAssignTickets.getTotalItemCount }})</span>
\t\t\t\t\t\t\t\t</a>
\t\t\t\t\t\t\t</li>
\t\t\t\t\t\t\t<li>
\t\t\t\t\t\t\t\t<a id=\"btn_tab_assigned\" href=\"#assigned\" class=\"tab_session\" data-filterTab=\"assigned\">
\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>
\t\t\t\t\t\t\t\t\t<span class=\"d-none d-lg-block\">Assegnati ({{ assignedTickets.getTotalItemCount }})</span>
\t\t\t\t\t\t\t\t</a>
\t\t\t\t\t\t\t</li>
\t\t\t\t\t\t\t<li>
\t\t\t\t\t\t\t\t<a id=\"btn_tab_taken_charge\" href=\"#takenCharge\" class=\"tab_session\" data-filterTab=\"taken_charge\">
\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>
\t\t\t\t\t\t\t\t\t<span class=\"d-none d-lg-block\">Presi in carico ({{ takenChargeTickets.getTotalItemCount }})</span>
\t\t\t\t\t\t\t\t</a>
\t\t\t\t\t\t\t</li>
\t\t\t\t\t\t\t<li>
\t\t\t\t\t\t\t\t<a id=\"btn_tab_suspension_request\" href=\"#suspensionRequest\" class=\"tab_session\" data-filterTab=\"suspension_request\">
\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>
\t\t\t\t\t\t\t\t\t<span class=\"d-none d-lg-block\">Richiesta sospensione ({{ suspensionRequestTickets.getTotalItemCount }})</span>
\t\t\t\t\t\t\t\t</a>
\t\t\t\t\t\t\t</li>
\t\t\t\t\t\t\t<li>
\t\t\t\t\t\t\t\t<a id=\"btn_tab_suspended\" href=\"#suspended\" class=\"tab_session\" data-filterTab=\"suspended\">
\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>
\t\t\t\t\t\t\t\t\t<span class=\"d-none d-lg-block\">Sospesi ({{ suspendedTickets.getTotalItemCount }})</span>
\t\t\t\t\t\t\t\t</a>
\t\t\t\t\t\t\t</li>
\t\t\t\t\t\t\t<li>
\t\t\t\t\t\t\t\t<a id=\"btn_tab_closed\" href=\"#closed\" class=\"tab_session\" data-filterTab=\"closed\">
\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>
\t\t\t\t\t\t\t\t\t<span class=\"d-none d-lg-block\">Chiusi ({{ closedTickets.getTotalItemCount }})</span>
\t\t\t\t\t\t\t\t</a>
\t\t\t\t\t\t\t</li>
\t\t\t\t\t\t\t<li>
\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\">
\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>
\t\t\t\t\t\t\t\t\t<span class=\"d-none d-lg-block\">Chiusi su fornitore ({{ closedPortalTickets.getTotalItemCount }})</span>
\t\t\t\t\t\t\t\t</a>
\t\t\t\t\t\t\t</li>
\t\t\t\t\t\t\t<li>
\t\t\t\t\t\t\t\t<a id=\"btn_tab_canceled\" href=\"#canceled\" class=\"tab_session\" data-filterTab=\"canceled\">
\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>
\t\t\t\t\t\t\t\t\t<span class=\"d-none d-lg-block\">Annullati ({{ canceledTickets.getTotalItemCount }})</span>
\t\t\t\t\t\t\t\t</a>
\t\t\t\t\t\t\t</li>
\t\t\t\t\t\t\t<li>
\t\t\t\t\t\t\t\t<a id=\"btn_tab_wrong\" href=\"#wrong\" class=\"tab_session\" data-filterTab=\"wrong\">
\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>
\t\t\t\t\t\t\t\t\t<span class=\"d-none d-lg-block\">Errati ({{ wrongTickets.getTotalItemCount }})</span>
\t\t\t\t\t\t\t\t</a>
\t\t\t\t\t\t\t</li>
\t\t\t\t\t\t</ul>
\t\t\t\t\t\t<div class=\"tab-container\">
\t\t\t\t\t\t\t{# Con errori #}
\t\t\t\t\t\t\t<div class=\"tab-content clearfix\" id=\"error\">
\t\t\t\t\t\t\t\t<div class=\"row\">
\t\t\t\t\t\t\t\t\t<div class=\"col-12\">
\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>
\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t<div class=\"col-12 overflow_a\">
\t\t\t\t\t\t\t\t\t\t<table class=\"table table-bordered table-hover font_12\">
\t\t\t\t\t\t\t\t\t\t\t<thead>
\t\t\t\t\t\t\t\t\t\t\t\t<tr>
\t\t\t\t\t\t\t\t\t\t\t\t\t<form method=\"get\" action=\"{{ path ('user_ticket_list') }}\" id=\"formFilter_0\">
\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>
\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>
\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>
\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 %}
\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>
\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>
\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>
\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>
\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>
\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>
\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>
\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>
\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() }}\"/>
\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() }}\"/>
\t\t\t\t\t\t\t\t\t\t\t\t\t</form>
\t\t\t\t\t\t\t\t\t\t\t\t</tr>
\t\t\t\t\t\t\t\t\t\t\t\t<tr class=\"bg_pr color_w\">
\t\t\t\t\t\t\t\t\t\t\t\t\t<th class=\"td_action txt_a_c\">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"switch\" data-bs-toggle=\"tooltip\" title=\"Seleziona tutti\">
\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)\">
\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>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t\t\t\t\t</th>
\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>
\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>
\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 %}
\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>
\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>
\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>
\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>
\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>
\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>
\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>
\t\t\t\t\t\t\t\t\t\t\t\t\t<th>Descrizione errore</th>
\t\t\t\t\t\t\t\t\t\t\t\t\t<th></th>
\t\t\t\t\t\t\t\t\t\t\t\t</tr>
\t\t\t\t\t\t\t\t\t\t\t</thead>
\t\t\t\t\t\t\t\t\t\t\t<tbody>
\t\t\t\t\t\t\t\t\t\t\t\t{% if errorTickets|length > 0 %}
\t\t\t\t\t\t\t\t\t\t\t\t\t{% for ticket in errorTickets %}
\t\t\t\t\t\t\t\t\t\t\t\t\t\t<tr>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td class=\"td_w_30p\">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"switch\">
\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)\">
\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>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</td>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td id=\"ticket_number_{{ ticket.id }}\">{{ ticket.number }}</td>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td id=\"ticket_termid_{{ ticket.id }}\">{{ ticket.termid }}</td>
\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 %}
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td id=\"ticket_client_{{ ticket.id }}\">{{ ticket.client }}</td>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td id=\"ticket_operation_{{ ticket.id }}\">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% if ticket.operation is not null %}
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{{ ticket.operation.value }}
\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 %}
\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')) }}
\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 %}
\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'))}}
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% endif %}
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t)</i>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% endif %}
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% else %}
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tOperazione non riconosciuta
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% endif %}
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</td>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td id=\"ticket_supplier_{{ ticket.id }}\">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% if ticket.operation is not null %}
\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 %}
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% else %}
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tFornitore non riconosciuto
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% endif %}
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</td>
\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>
\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>
\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>
\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>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td>{{ ticket.systemErrorDetails|raw }}</td>
\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>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t</tr>
\t\t\t\t\t\t\t\t\t\t\t\t\t{% endfor %}
\t\t\t\t\t\t\t\t\t\t\t\t{% else %}
\t\t\t\t\t\t\t\t\t\t\t\t\t{% include 'components/twig/notice_filter_no_match.html.twig' %}
\t\t\t\t\t\t\t\t\t\t\t\t{% endif %}
\t\t\t\t\t\t\t\t\t\t\t</tbody>
\t\t\t\t\t\t\t\t\t\t</table>
\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t{# To assign #}
\t\t\t\t\t\t\t<div class=\"tab-content clearfix\" id=\"toAssign\">
\t\t\t\t\t\t\t\t{% set tickets = toAssignTickets %}
\t\t\t\t\t\t\t\t{% set number = 1 %}
\t\t\t\t\t\t\t\t{% set multipleSelection = [true, 1, ['print', 'assign', 'suspend', 'cancel', 'export']] %}
\t\t\t\t\t\t\t\t{% set hasEmailTakeCharge = false %}
\t\t\t\t\t\t\t\t{% set tabOpenValue = 'to_assign' %}
\t\t\t\t\t\t\t\t{% set tab = 'toAssign' %}
\t\t\t\t\t\t\t\t{% block ticketsTab %}
\t\t\t\t\t\t\t\t\t<div class=\"row\">
\t\t\t\t\t\t\t\t\t\t<div class=\"col-12\">
\t\t\t\t\t\t\t\t\t\t\t{% if multipleSelection[0] %}
\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 %}
\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 %}
\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 %}
\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 %}
\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 %}
\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 %}
\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 %}
\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 %}
\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 %}
\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 %}
\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 %}
\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 %}
\t\t\t\t\t\t\t\t\t\t\t{% endif %}
\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 %}
\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t\t<div class=\"col-12 overflow_a\">
\t\t\t\t\t\t\t\t\t\t\t<table class=\"table table-bordered table-hover font_12\">
\t\t\t\t\t\t\t\t\t\t\t\t<thead>
\t\t\t\t\t\t\t\t\t\t\t\t\t<tr>
\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] }}\">
\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>
\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>
\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>
\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 %}
\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>
\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>
\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>
\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>
\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>
\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>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% if tab != 'toAssign' %}
\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>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% endif %}
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<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>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% if tab != 'closed' and tab != 'closedPortal' %}
\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>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% else %}
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<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>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% endif %}
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td colspan=\"4\" class=\"td_action\"><button type=\"submit\" class=\"btn bg_w f_left p_0p\" data-bs-toggle=\"tooltip\" title=\"Filtra\"><img class=\"icon_green\" src=\"{{ asset (icon_search) }}\"></button></td>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<input type=\"hidden\" name=\"filter_tab\" value=\"{{ tabOpenValue }}\">
\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() }}\"/>
\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() }}\"/>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t</form>
\t\t\t\t\t\t\t\t\t\t\t\t\t</tr>
\t\t\t\t\t\t\t\t\t\t\t\t\t<tr class=\"bg_pr color_w\">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% if multipleSelection[0] %}
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<th class=\"td_action txt_a_c\">
\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\">
\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] }})\">
\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>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</th>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% endif %}
\t\t\t\t\t\t\t\t\t\t\t\t\t\t<th class=\"td_w_40p txt_a_c\">Stato</th>
\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>
\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>
\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 %}
\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>
\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>
\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>
\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>
\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>
\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>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% if tab != 'toAssign' %}
\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>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% endif %}
\t\t\t\t\t\t\t\t\t\t\t\t\t\t<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>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% if tab != 'closed' and tab != 'closedPortal' %}
\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
\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% else %}
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<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>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% endif %}
\t\t\t\t\t\t\t\t\t\t\t\t\t\t<th class=\"td_w_50p txt_a_c\">Note</th>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t<th></th>
\t\t\t\t\t\t\t\t\t\t\t\t\t</tr>
\t\t\t\t\t\t\t\t\t\t\t\t</thead>
\t\t\t\t\t\t\t\t\t\t\t\t<tbody>
\t\t\t\t\t\t\t\t\t\t\t\t\t{% if tickets|length > 0 %}
\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% for ticket in tickets %}
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<tr>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% if multipleSelection[0] %}
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td class=\"td_w_30p\">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"switch\">
\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] }})\">
\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>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</td>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% endif %}
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td class=\"txt_a_c\">{{ ticket.displayStatus('icon', settingProcessedActive)|raw }}</td>
\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>
\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>
\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 %}
\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>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td id=\"ticket_operation_{{ ticket.id }}\">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% if ticket.operation is not null %}
\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 %}
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% else %}
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tOperazione non riconosciuta
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% endif %}
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</td>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td id=\"ticket_supplier_{{ ticket.id }}\">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% if ticket.supplier is not null %}
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{{ ticket.supplier }}
\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 %}
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% else %}
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tFornitore non riconosciuto
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% endif %}
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</td>
\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>
\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>
\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>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% if tab != 'toAssign' %}
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td>{{ ticket.technician }}</td>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% endif %}
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td class=\"txt_a_c\">{% if ticket.datetimeStart != null %}{{ ticket.datetimeStart|date('d-m-Y H:i') }}{% else %}---{% endif %}</td>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% if tab != 'closed' and tab != 'closedPortal' %}
\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>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% else %}
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td class=\"txt_a_c\">{% if ticket.datetimeEnd != null %}{{ ticket.datetimeEnd|date('d-m-Y H:i') }}{% else %}---{% endif %}</td>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% endif %}
\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>
\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>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</tr>
\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') }}\">
\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 %}\">
\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 %}\">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% endfor %}
\t\t\t\t\t\t\t\t\t\t\t\t\t{% else %}
\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% include 'components/twig/notice_filter_no_match.html.twig' %}
\t\t\t\t\t\t\t\t\t\t\t\t\t{% endif %}
\t\t\t\t\t\t\t\t\t\t\t\t</tbody>
\t\t\t\t\t\t\t\t\t\t\t</table>
\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t\t<div class=\"col-12 navigation txt_a_r\">
\t\t\t\t\t\t\t\t\t\t\t{{ knp_pagination_render(tickets) }}
\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t{% endblock %}
\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t{# Assigned #}
\t\t\t\t\t\t\t<div class=\"tab-content clearfix\" id=\"assigned\">
\t\t\t\t\t\t\t\t{% set tickets = assignedTickets %}
\t\t\t\t\t\t\t\t{% set number = 2 %}
\t\t\t\t\t\t\t\t{% set multipleSelection = [true, 2, ['print', 'suspend', 'cancel', 'change', 'urge', 'export']] %}
\t\t\t\t\t\t\t\t{% set hasEmailTakeCharge = true %}
\t\t\t\t\t\t\t\t{% set tabOpenValue = 'assigned' %}
\t\t\t\t\t\t\t\t{% set tab = 'assigned' %}
\t\t\t\t\t\t\t\t{{ block('ticketsTab') }}
\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t{# Taken charge #}
\t\t\t\t\t\t\t<div class=\"tab-content clearfix\" id=\"takenCharge\">
\t\t\t\t\t\t\t\t{% set tickets = takenChargeTickets %}
\t\t\t\t\t\t\t\t{% set number = 3 %}
\t\t\t\t\t\t\t\t{% if settingBackOffice %} {# SE ACCOUNT AGENZIA E BACKOFFICE GESTISCE TICKET #}
\t\t\t\t\t\t\t\t\t{% set multipleSelection = [true, 3, ['print', 'suspend', 'cancel', 'change', 'urge', 'export']] %}
\t\t\t\t\t\t\t\t{% else %}
\t\t\t\t\t\t\t\t\t{% set multipleSelection = [true, 3, ['suspend', 'cancel', 'change', 'urge', 'export']] %}
\t\t\t\t\t\t\t\t{% endif %}
\t\t\t\t\t\t\t\t{% set hasEmailTakeCharge = false %}
\t\t\t\t\t\t\t\t{% set tabOpenValue = 'taken_charge' %}
\t\t\t\t\t\t\t\t{% set tab = 'takenCharge' %}
\t\t\t\t\t\t\t\t{{ block('ticketsTab') }}
\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t{# Suspension request #}
\t\t\t\t\t\t\t<div class=\"tab-content clearfix\" id=\"suspensionRequest\">
\t\t\t\t\t\t\t\t{% set tickets = suspensionRequestTickets %}
\t\t\t\t\t\t\t\t{% set number = 4 %}
\t\t\t\t\t\t\t\t{% set multipleSelection = [true, 4, ['cancel', 'approve', 'export']] %}
\t\t\t\t\t\t\t\t{% set hasEmailTakeCharge = false %}
\t\t\t\t\t\t\t\t{% set tabOpenValue = 'suspension_request' %}
\t\t\t\t\t\t\t\t{% set tab = 'suspensionRequest' %}
\t\t\t\t\t\t\t\t{{ block('ticketsTab') }}
\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t{# Suspended #}
\t\t\t\t\t\t\t<div class=\"tab-content clearfix\" id=\"suspended\">
\t\t\t\t\t\t\t\t{% set tickets = suspendedTickets %}
\t\t\t\t\t\t\t\t{% set number = 5 %}
\t\t\t\t\t\t\t\t{% set multipleSelection = [true, 5, ['print', 'suspend_end', 'cancel', 'export']] %}
\t\t\t\t\t\t\t\t{% set hasEmailTakeCharge = false %}
\t\t\t\t\t\t\t\t{% set tabOpenValue = 'suspended' %}
\t\t\t\t\t\t\t\t{% set tab = 'suspended' %}
\t\t\t\t\t\t\t\t{{ block('ticketsTab') }}
\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t{# Closed #}
\t\t\t\t\t\t\t<div class=\"tab-content clearfix\" id=\"closed\">
\t\t\t\t\t\t\t\t{% set tickets = closedTickets %}
\t\t\t\t\t\t\t\t{% set number = 6 %}
\t\t\t\t\t\t\t\t{% set multipleSelection = [true, 6, ['closed_portal', 'export']] %}
\t\t\t\t\t\t\t\t{% set hasEmailTakeCharge = false %}
\t\t\t\t\t\t\t\t{% set tabOpenValue = 'closed' %}
\t\t\t\t\t\t\t\t{% set tab = 'closed' %}
\t\t\t\t\t\t\t\t{{ block('ticketsTab') }}
\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t{# Closed on portal #}
\t\t\t\t\t\t\t<div class=\"tab-content clearfix\" id=\"closedPortal\">
\t\t\t\t\t\t\t\t{% set tickets = closedPortalTickets %}
\t\t\t\t\t\t\t\t{% set number = 7 %}
\t\t\t\t\t\t\t\t{% set multipleSelection = [false, 7, ['export']] %}
\t\t\t\t\t\t\t\t{% set hasEmailTakeCharge = false %}
\t\t\t\t\t\t\t\t{% set tabOpenValue = 'closed_on_portal' %}
\t\t\t\t\t\t\t\t{% set tab = 'closedPortal' %}
\t\t\t\t\t\t\t\t{{ block('ticketsTab') }}
\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t{# Canceled #}
\t\t\t\t\t\t\t<div class=\"tab-content clearfix\" id=\"canceled\">
\t\t\t\t\t\t\t\t{% set tickets = canceledTickets %}
\t\t\t\t\t\t\t\t{% set number = 8 %}
\t\t\t\t\t\t\t\t{% set multipleSelection = [true, 8, ['wrong', 'export']] %}
\t\t\t\t\t\t\t\t{% set hasEmailTakeCharge = false %}
\t\t\t\t\t\t\t\t{% set tabOpenValue = 'canceled' %}
\t\t\t\t\t\t\t\t{% set tab = 'canceled' %}
\t\t\t\t\t\t\t\t{{ block('ticketsTab') }}
\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t{# Wrong #}
\t\t\t\t\t\t\t<div class=\"tab-content clearfix\" id=\"wrong\">
\t\t\t\t\t\t\t\t{% set tickets = wrongTickets %}
\t\t\t\t\t\t\t\t{% set number = 9 %}
\t\t\t\t\t\t\t\t{% set multipleSelection = [true, 9, ['delete', 'export']] %}
\t\t\t\t\t\t\t\t{% set hasEmailTakeCharge = false %}
\t\t\t\t\t\t\t\t{% set tabOpenValue = 'wrong' %}
\t\t\t\t\t\t\t\t{% set tab = 'wrong' %}
\t\t\t\t\t\t\t\t{{ block('ticketsTab') }}
\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t</div>
\t\t\t\t\t</div>
\t\t\t\t</div>
\t\t\t{% elseif app.user.getAccountTypology == 'warehouse' %}
\t\t\t\t{# Magazzino #}
\t\t\t\t<div class=\"col-12\">
\t\t\t\t\t<div class=\"tabs clearfix\">
\t\t\t\t\t\t<ul class=\"tab-nav clearfix\">
\t\t\t\t\t\t\t<li>
\t\t\t\t\t\t\t\t<a id=\"btn_tab_to_assign\" href=\"#toAssign\" class=\"tab_session\" data-filterTab=\"to_assign\">
\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>
\t\t\t\t\t\t\t\t\t<span class=\"d-none d-lg-block\">Da assegnare ({{ toAssignTickets.getTotalItemCount }})</span>
\t\t\t\t\t\t\t\t</a>
\t\t\t\t\t\t\t</li>
\t\t\t\t\t\t\t<li>
\t\t\t\t\t\t\t\t<a id=\"btn_tab_assigned\" href=\"#assigned\" class=\"tab_session\" data-filterTab=\"assigned\">
\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>
\t\t\t\t\t\t\t\t\t<span class=\"d-none d-lg-block\">Assegnati ({{ assignedTickets.getTotalItemCount }})</span>
\t\t\t\t\t\t\t\t</a>
\t\t\t\t\t\t\t</li>
\t\t\t\t\t\t\t<li>
\t\t\t\t\t\t\t\t<a id=\"btn_tab_taken_charge\" href=\"#takenCharge\" class=\"tab_session\" data-filterTab=\"taken_charge\">
\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>
\t\t\t\t\t\t\t\t\t<span class=\"d-none d-lg-block\">Presi in carico ({{ takenChargeTickets.getTotalItemCount }})</span>
\t\t\t\t\t\t\t\t</a>
\t\t\t\t\t\t\t</li>
\t\t\t\t\t\t\t<li>
\t\t\t\t\t\t\t\t<a id=\"btn_tab_suspension_request\" href=\"#suspensionRequest\" class=\"tab_session\" data-filterTab=\"suspension_request\">
\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>
\t\t\t\t\t\t\t\t\t<span class=\"d-none d-lg-block\">Richiesta sospensione ({{ suspensionRequestTickets.getTotalItemCount }})</span>
\t\t\t\t\t\t\t\t</a>
\t\t\t\t\t\t\t</li>
\t\t\t\t\t\t\t<li>
\t\t\t\t\t\t\t\t<a id=\"btn_tab_suspended\" href=\"#suspended\" class=\"tab_session\" data-filterTab=\"suspended\">
\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>
\t\t\t\t\t\t\t\t\t<span class=\"d-none d-lg-block\">Sospesi ({{ suspendedTickets.getTotalItemCount }})</span>
\t\t\t\t\t\t\t\t</a>
\t\t\t\t\t\t\t</li>
\t\t\t\t\t\t\t<li>
\t\t\t\t\t\t\t\t<a id=\"btn_tab_closed\" href=\"#closed\" class=\"tab_session\" data-filterTab=\"closed\">
\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>
\t\t\t\t\t\t\t\t\t<span class=\"d-none d-lg-block\">Chiusi ({{ closedTickets.getTotalItemCount }})</span>
\t\t\t\t\t\t\t\t</a>
\t\t\t\t\t\t\t</li>
\t\t\t\t\t\t\t<li>
\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\">
\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>
\t\t\t\t\t\t\t\t\t<span class=\"d-none d-lg-block\">Chiusi su fornitore ({{ closedPortalTickets.getTotalItemCount }})</span>
\t\t\t\t\t\t\t\t</a>
\t\t\t\t\t\t\t</li>
\t\t\t\t\t\t\t<li>
\t\t\t\t\t\t\t\t<a id=\"btn_tab_canceled\" href=\"#canceled\" class=\"tab_session\" data-filterTab=\"canceled\">
\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>
\t\t\t\t\t\t\t\t\t<span class=\"d-none d-lg-block\">Annullati ({{ canceledTickets.getTotalItemCount }})</span>
\t\t\t\t\t\t\t\t</a>
\t\t\t\t\t\t\t</li>
\t\t\t\t\t\t\t<li>
\t\t\t\t\t\t\t\t<a id=\"btn_tab_wrong\" href=\"#wrong\" class=\"tab_session\" data-filterTab=\"wrong\">
\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>
\t\t\t\t\t\t\t\t\t<span class=\"d-none d-lg-block\">Errati ({{ wrongTickets.getTotalItemCount }})</span>
\t\t\t\t\t\t\t\t</a>
\t\t\t\t\t\t\t</li>
\t\t\t\t\t\t</ul>
\t\t\t\t\t\t<div class=\"tab-container\">
\t\t\t\t\t\t\t{# To assign #}
\t\t\t\t\t\t\t<div class=\"tab-content clearfix\" id=\"toAssign\">
\t\t\t\t\t\t\t\t{% set tickets = toAssignTickets %}
\t\t\t\t\t\t\t\t{% set number = 1 %}
\t\t\t\t\t\t\t\t{% set tabOpenValue = 'to_assign' %}
\t\t\t\t\t\t\t\t{% set tab = 'toAssign' %}
\t\t\t\t\t\t\t\t{% block ticketsTabW %}
\t\t\t\t\t\t\t\t\t<div class=\"row\">
\t\t\t\t\t\t\t\t\t\t<div class=\"col-12 overflow_a\">
\t\t\t\t\t\t\t\t\t\t\t<table class=\"table table-bordered table-hover font_12\">
\t\t\t\t\t\t\t\t\t\t\t\t<thead>
\t\t\t\t\t\t\t\t\t\t\t\t\t<tr>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t<form method=\"get\" action=\"{{ path ('user_ticket_list') }}\">
\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>
\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>
\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>
\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 %}
\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>
\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>
\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>
\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>
\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>
\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>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% if tab != 'toAssign' %}
\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>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% endif %}
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td><input type=\"text\" class=\"form-control daterange daterange1 font_12\" inputmode=\"search\" autocomplete=\"off\" name=\"datetimeStart\" style=\"height: 38px\" date-filter=\"range\"/></td>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% if tab != 'closed' and tab != 'closedPortal' %}
\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>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% else %}
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td><input type=\"text\" class=\"form-control daterange daterange3 font_12\" inputmode=\"search\" autocomplete=\"off\" name=\"datetimeEnd\" style=\"height: 38px\" date-filter=\"range\"/></td>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% endif %}
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<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>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<input type=\"hidden\" name=\"filter_tab\" value=\"{{ tabOpenValue }}\">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t</form>
\t\t\t\t\t\t\t\t\t\t\t\t\t</tr>
\t\t\t\t\t\t\t\t\t\t\t\t\t<tr class=\"bg_pr color_w\">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t<th class=\"td_w_40p txt_a_c\">Stato</th>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t<th class=\"td_w_120p\">N°</th>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t<th class=\"td_w_120p\">Termid</th>
\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 %}
\t\t\t\t\t\t\t\t\t\t\t\t\t\t<th class=\"td_w_150p\">Cliente</th>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t<th class=\"td_w_150p\">Operazione</th>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t<th class=\"td_w_150p\">Fornitore</th>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t<th class=\"td_w_130p\">Tariffa</th>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t<th class=\"td_w_130p\">Città </th>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t<th class=\"td_w_70p txt_a_c\">Prov</th>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% if tab != 'toAssign' %}
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<th class=\"td_w_150p\">Tecnico</th>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% endif %}
\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>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% if tab != 'closed' and tab != 'closedPortal' %}
\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>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% else %}
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<th class=\"td_w_130p txt_a_c\">Data/Ora chiusura</th>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% endif %}
\t\t\t\t\t\t\t\t\t\t\t\t\t\t<th class=\"td_w_50p txt_a_c\">Note</th>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t<th></th>
\t\t\t\t\t\t\t\t\t\t\t\t\t</tr>
\t\t\t\t\t\t\t\t\t\t\t\t</thead>
\t\t\t\t\t\t\t\t\t\t\t\t<tbody>
\t\t\t\t\t\t\t\t\t\t\t\t\t{% if tickets|length > 0 %}
\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% for ticket in tickets %}
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<tr>
\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>
\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>
\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>
\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 %}
\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>
\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>
\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>
\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>
\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>
\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>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% if tab != 'toAssign' %}
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td>{{ ticket.technician }}</td>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% endif %}
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td class=\"txt_a_c\">{% if ticket.datetimeStart != null %}{{ ticket.datetimeStart|date('d-m-Y H:i') }}{% else %}---{% endif %}</td>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% if tab != 'closed' and tab != 'closedPortal' %}
\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>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% else %}
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td class=\"txt_a_c\">{% if ticket.datetimeEnd != null %}{{ ticket.datetimeEnd|date('d-m-Y H:i') }}{% else %}---{% endif %}</td>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% endif %}
\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>
\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>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</tr>
\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') }}\">
\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 %}\">
\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 %}\">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% endfor %}
\t\t\t\t\t\t\t\t\t\t\t\t\t{% else %}
\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%'} %}
\t\t\t\t\t\t\t\t\t\t\t\t\t{% endif %}
\t\t\t\t\t\t\t\t\t\t\t\t</tbody>
\t\t\t\t\t\t\t\t\t\t\t</table>
\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t\t<div class=\"col-12 navigation txt_a_r\">
\t\t\t\t\t\t\t\t\t\t\t{{ knp_pagination_render(tickets) }}
\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t{% endblock %}
\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t{# Assigned #}
\t\t\t\t\t\t\t<div class=\"tab-content clearfix\" id=\"assigned\">
\t\t\t\t\t\t\t\t{% set tickets = assignedTickets %}
\t\t\t\t\t\t\t\t{% set number = 2 %}
\t\t\t\t\t\t\t\t{% set hasEmailTakeCharge = true %}
\t\t\t\t\t\t\t\t{% set tabOpenValue = 'assigned' %}
\t\t\t\t\t\t\t\t{% set tab = 'assigned' %}
\t\t\t\t\t\t\t\t{{ block('ticketsTabW') }}
\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t{# Taken charge #}
\t\t\t\t\t\t\t<div class=\"tab-content clearfix\" id=\"takenCharge\">
\t\t\t\t\t\t\t\t{% set tickets = takenChargeTickets %}
\t\t\t\t\t\t\t\t{% set number = 3 %}
\t\t\t\t\t\t\t\t{% set hasEmailTakeCharge = false %}
\t\t\t\t\t\t\t\t{% set tabOpenValue = 'taken_charge' %}
\t\t\t\t\t\t\t\t{% set tab = 'takenCharge' %}
\t\t\t\t\t\t\t\t{{ block('ticketsTabW') }}
\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t{# Suspension request #}
\t\t\t\t\t\t\t<div class=\"tab-content clearfix\" id=\"suspensionRequest\">
\t\t\t\t\t\t\t\t{% set tickets = suspensionRequestTickets %}
\t\t\t\t\t\t\t\t{% set number = 4 %}
\t\t\t\t\t\t\t\t{% set hasEmailTakeCharge = false %}
\t\t\t\t\t\t\t\t{% set tabOpenValue = 'suspension_request' %}
\t\t\t\t\t\t\t\t{% set tab = 'suspensionRequest' %}
\t\t\t\t\t\t\t\t{{ block('ticketsTabW') }}
\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t{# Suspended #}
\t\t\t\t\t\t\t<div class=\"tab-content clearfix\" id=\"suspended\">
\t\t\t\t\t\t\t\t{% set tickets = suspendedTickets %}
\t\t\t\t\t\t\t\t{% set number = 5 %}
\t\t\t\t\t\t\t\t{% set hasEmailTakeCharge = false %}
\t\t\t\t\t\t\t\t{% set tabOpenValue = 'suspended' %}
\t\t\t\t\t\t\t\t{% set tab = 'suspended' %}
\t\t\t\t\t\t\t\t{{ block('ticketsTabW') }}
\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t{# Closed #}
\t\t\t\t\t\t\t<div class=\"tab-content clearfix\" id=\"closed\">
\t\t\t\t\t\t\t\t{% set tickets = closedTickets %}
\t\t\t\t\t\t\t\t{% set number = 6 %}
\t\t\t\t\t\t\t\t{% set hasEmailTakeCharge = false %}
\t\t\t\t\t\t\t\t{% set tabOpenValue = 'closed' %}
\t\t\t\t\t\t\t\t{% set tab = 'closed' %}
\t\t\t\t\t\t\t\t{{ block('ticketsTabW') }}
\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t{# Closed on portal #}
\t\t\t\t\t\t\t<div class=\"tab-content clearfix\" id=\"closedPortal\">
\t\t\t\t\t\t\t\t{% set tickets = closedPortalTickets %}
\t\t\t\t\t\t\t\t{% set number = 7 %}
\t\t\t\t\t\t\t\t{% set hasEmailTakeCharge = false %}
\t\t\t\t\t\t\t\t{% set tabOpenValue = 'closed_on_portal' %}
\t\t\t\t\t\t\t\t{% set tab = 'closedPortal' %}
\t\t\t\t\t\t\t\t{{ block('ticketsTabW') }}
\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t{# Canceled #}
\t\t\t\t\t\t\t<div class=\"tab-content clearfix\" id=\"canceled\">
\t\t\t\t\t\t\t\t{% set tickets = canceledTickets %}
\t\t\t\t\t\t\t\t{% set number = 8 %}
\t\t\t\t\t\t\t\t{% set hasEmailTakeCharge = false %}
\t\t\t\t\t\t\t\t{% set tabOpenValue = 'canceled' %}
\t\t\t\t\t\t\t\t{% set tab = 'canceled' %}
\t\t\t\t\t\t\t\t{{ block('ticketsTabW') }}
\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t{# Wrong #}
\t\t\t\t\t\t\t<div class=\"tab-content clearfix\" id=\"wrong\">
\t\t\t\t\t\t\t\t{% set tickets = wrongTickets %}
\t\t\t\t\t\t\t\t{% set number = 9 %}
\t\t\t\t\t\t\t\t{% set hasEmailTakeCharge = false %}
\t\t\t\t\t\t\t\t{% set tabOpenValue = 'wrong' %}
\t\t\t\t\t\t\t\t{% set tab = 'wrong' %}
\t\t\t\t\t\t\t\t{{ block('ticketsTabW') }}
\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t</div>
\t\t\t\t\t</div>
\t\t\t\t</div>
\t\t\t{% elseif app.user.getAccountTypology == 'technician' %}
\t\t\t\t{# Tecnici #}
\t\t\t\t<div class=\"col-12\">
\t\t\t\t\t<div class=\"tabs clearfix\">
\t\t\t\t\t\t<ul class=\"tab-nav clearfix\">
\t\t\t\t\t\t\t<li>
\t\t\t\t\t\t\t\t<a id=\"btn_tab_assigned\" href=\"#assigned\" class=\"tab_session\" data-filterTab=\"assigned\">
\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>
\t\t\t\t\t\t\t\t\t<span class=\"d-none d-lg-block\">Assegnati ({{ assignedTickets.getTotalItemCount }})</span>
\t\t\t\t\t\t\t\t</a>
\t\t\t\t\t\t\t</li>
\t\t\t\t\t\t\t<li>
\t\t\t\t\t\t\t\t<a id=\"btn_tab_taken_charge\" href=\"#takenCharge\" class=\"tab_session\" data-filterTab=\"taken_charge\">
\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>
\t\t\t\t\t\t\t\t\t<span class=\"d-none d-lg-block\">Presi in carico ({{ takenChargeTickets.getTotalItemCount }})</span>
\t\t\t\t\t\t\t\t</a>
\t\t\t\t\t\t\t</li>
\t\t\t\t\t\t\t<li>
\t\t\t\t\t\t\t\t<a id=\"btn_tab_suspension_request\" href=\"#suspensionRequest\" class=\"tab_session\" data-filterTab=\"suspension_request\">
\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>
\t\t\t\t\t\t\t\t\t<span class=\"d-none d-lg-block\">Richiesta sospensione ({{ suspensionRequestTickets.getTotalItemCount }})</span>
\t\t\t\t\t\t\t\t</a>
\t\t\t\t\t\t\t</li>
\t\t\t\t\t\t\t<li>
\t\t\t\t\t\t\t\t<a id=\"btn_tab_suspended\" href=\"#suspended\" class=\"tab_session\" data-filterTab=\"suspended\">
\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>
\t\t\t\t\t\t\t\t\t<span class=\"d-none d-lg-block\">Sospesi ({{ suspendedTickets.getTotalItemCount }})</span>
\t\t\t\t\t\t\t\t</a>
\t\t\t\t\t\t\t</li>
\t\t\t\t\t\t\t<li>
\t\t\t\t\t\t\t\t<a id=\"btn_tab_closed\" href=\"#closed\" class=\"tab_session\" data-filterTab=\"closed\">
\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>
\t\t\t\t\t\t\t\t\t<span class=\"d-none d-lg-block\">Chiusi ({{ closedTickets.getTotalItemCount }})</span>
\t\t\t\t\t\t\t\t</a>
\t\t\t\t\t\t\t</li>
\t\t\t\t\t\t\t<li>
\t\t\t\t\t\t\t\t<a id=\"btn_tab_closed_portal\" href=\"#closedPortal\" class=\"tab_session\" data-filterTab=\"closed_portal\">
\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>
\t\t\t\t\t\t\t\t\t<span class=\"d-none d-lg-block\">Chiusi su fornitore ({{ closedPortalTickets.getTotalItemCount }})</span>
\t\t\t\t\t\t\t\t</a>
\t\t\t\t\t\t\t</li>
\t\t\t\t\t\t\t<li>
\t\t\t\t\t\t\t\t<a id=\"btn_tab_canceled\" href=\"#canceled\" class=\"tab_session\" data-filterTab=\"canceled\">
\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>
\t\t\t\t\t\t\t\t\t<span class=\"d-none d-lg-block\">Annullati ({{ canceledTickets.getTotalItemCount }})</span>
\t\t\t\t\t\t\t\t</a>
\t\t\t\t\t\t\t</li>
\t\t\t\t\t\t</ul>
\t\t\t\t\t\t<div class=\"tab-container\">
\t\t\t\t\t\t\t{# Assigned #}
\t\t\t\t\t\t\t<div class=\"tab-content clearfix\" id=\"assigned\">
\t\t\t\t\t\t\t\t{% set tickets = assignedTickets %}
\t\t\t\t\t\t\t\t{% set multipleSelection = [true, 11, ['print']] %}
\t\t\t\t\t\t\t\t{% set hasTakeOnCharge = true %}
\t\t\t\t\t\t\t\t{% set tabOpenValue = 'assigned' %}
\t\t\t\t\t\t\t\t{% block ticketsTab2 %}
\t\t\t\t\t\t\t\t\t<div class=\"row\">
\t\t\t\t\t\t\t\t\t\t<div class=\"col-12\">
\t\t\t\t\t\t\t\t\t\t\t{% if multipleSelection[0] %}
\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 %}
\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 %}
\t\t\t\t\t\t\t\t\t\t\t{% endif %}
\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 %}
\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t\t<div class=\"col-12 overflow_a\">
\t\t\t\t\t\t\t\t\t\t\t<table class=\"table table-bordered table-hover\">
\t\t\t\t\t\t\t\t\t\t\t\t<thead>
\t\t\t\t\t\t\t\t\t\t\t\t\t<tr>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t<form method=\"get\" action=\"{{ path ('user_ticket_list') }}\">
\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>
\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>
\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>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<input type=\"hidden\" name=\"filter_tab\" value=\"{{ tabOpenValue }}\">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t</form>
\t\t\t\t\t\t\t\t\t\t\t\t\t</tr>
\t\t\t\t\t\t\t\t\t\t\t\t\t<tr class=\"bg_pr color_w\">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% if multipleSelection[0] %}
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<th>
\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\">
\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] }})\">
\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>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</th>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% endif %}
\t\t\t\t\t\t\t\t\t\t\t\t\t\t<th colspan=\"3\"></th>
\t\t\t\t\t\t\t\t\t\t\t\t\t</tr>
\t\t\t\t\t\t\t\t\t\t\t\t</thead>
\t\t\t\t\t\t\t\t\t\t\t\t<tbody>
\t\t\t\t\t\t\t\t\t\t\t\t\t{% if tickets|length > 0 %}
\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% for ticket in tickets %}
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% set ticketBg = \"\" %}
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% set ticketTitle = \"\" %}
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% if tabOpenValue != 'closed' and tabOpenValue != 'canceled' %}
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% if ticket.datetimeExpiration != null %}
\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') %}
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% set ticketBg = \"bg_r_m_h\" %}
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% set ticketTitle = \"Scaduto\" %}
\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') %}
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% set ticketBg = \"bg_r_m\" %}
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% set ticketTitle = \"Scade in un giorno\" %}
\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') %}
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% set ticketBg = \"bg_r_l_m\" %}
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% set ticketTitle = \"Scade in due giorni\" %}
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% endif %}
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% endif %}
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% endif %}
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<tr class=\"{{ ticketBg }}\" data-bs-toggle=\"tooltip\" title=\"{{ ticketTitle }}\">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% if multipleSelection[0] %}
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td class=\"td_action\">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"switch\">
\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] }})\">
\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>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</td>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% endif %}
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td colspan=\"2\">
\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}) }}\">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<table class=\"table table_no_padding m_b_none b_none font_12\">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<tr><td><b>Stato</b>: {{ ticket.displayStatus('string', settingProcessedActive)|raw }}</td></tr>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<tr><td><b>N°</b>: <span id=\"ticket_number_{{ ticket.id }}\">{{ ticket.number }}</span></td></tr>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<tr><td><b>Termid</b>: <span id=\"ticket_termid_{{ ticket.id }}\">{{ ticket.termid }}</span></td></tr>
\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 %}
\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>
\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>
\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>
\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>
\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>
\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>
\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>
\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>
\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>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</table>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</a>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</td>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</tr>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% endfor %}
\t\t\t\t\t\t\t\t\t\t\t\t\t{% else %}
\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% include 'components/twig/notice_filter_no_match.html.twig' %}
\t\t\t\t\t\t\t\t\t\t\t\t\t{% endif %}
\t\t\t\t\t\t\t\t\t\t\t\t</tbody>
\t\t\t\t\t\t\t\t\t\t\t</table>
\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t\t<div class=\"col-12 navigation txt_a_r\">
\t\t\t\t\t\t\t\t\t\t\t{{ knp_pagination_render(tickets) }}
\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t{% endblock %}
\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t{# Taken charge #}
\t\t\t\t\t\t\t<div class=\"tab-content clearfix\" id=\"takenCharge\">
\t\t\t\t\t\t\t\t{% set tickets = takenChargeTickets %}
\t\t\t\t\t\t\t\t{% set multipleSelection = [true, 12, ['print']] %}
\t\t\t\t\t\t\t\t{% set hasTakeOnCharge = false %}
\t\t\t\t\t\t\t\t{% set tabOpenValue = 'taken_charge' %}
\t\t\t\t\t\t\t\t{{ block('ticketsTab2') }}
\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t{# Suspension request #}
\t\t\t\t\t\t\t<div class=\"tab-content clearfix\" id=\"suspensionRequest\">
\t\t\t\t\t\t\t\t{% set tickets = suspensionRequestTickets %}
\t\t\t\t\t\t\t\t{% set multipleSelection = [false, 13, null] %}
\t\t\t\t\t\t\t\t{% set hasTakeOnCharge = false %}
\t\t\t\t\t\t\t\t{% set tabOpenValue = 'suspension_request' %}
\t\t\t\t\t\t\t\t{{ block('ticketsTab2') }}
\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t{# Suspended #}
\t\t\t\t\t\t\t<div class=\"tab-content clearfix\" id=\"suspended\">
\t\t\t\t\t\t\t\t{% set tickets = suspendedTickets %}
\t\t\t\t\t\t\t\t{% set multipleSelection = [true, 14, ['print', 'suspend_end']] %}
\t\t\t\t\t\t\t\t{% set hasTakeOnCharge = false %}
\t\t\t\t\t\t\t\t{% set tabOpenValue = 'suspended' %}
\t\t\t\t\t\t\t\t{{ block('ticketsTab2') }}
\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t{# Closed #}
\t\t\t\t\t\t\t<div class=\"tab-content clearfix\" id=\"closed\">
\t\t\t\t\t\t\t\t{% set tickets = closedTickets %}
\t\t\t\t\t\t\t\t{% set multipleSelection = [false, 15, null] %}
\t\t\t\t\t\t\t\t{% set hasTakeOnCharge = false %}
\t\t\t\t\t\t\t\t{% set tabOpenValue = 'closed' %}
\t\t\t\t\t\t\t\t{{ block('ticketsTab2') }}
\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t{# Closed portal #}
\t\t\t\t\t\t\t<div class=\"tab-content clearfix\" id=\"closedPortal\">
\t\t\t\t\t\t\t\t{% set tickets = closedPortalTickets %}
\t\t\t\t\t\t\t\t{% set multipleSelection = [false, 16, null] %}
\t\t\t\t\t\t\t\t{% set hasTakeOnCharge = false %}
\t\t\t\t\t\t\t\t{% set tabOpenValue = 'closed_portal' %}
\t\t\t\t\t\t\t\t{{ block('ticketsTab2') }}
\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t{# Canceled #}
\t\t\t\t\t\t\t<div class=\"tab-content clearfix\" id=\"canceled\">
\t\t\t\t\t\t\t\t{% set tickets = canceledTickets %}
\t\t\t\t\t\t\t\t{% set multipleSelection = [false, 17, null] %}
\t\t\t\t\t\t\t\t{% set hasTakeOnCharge = false %}
\t\t\t\t\t\t\t\t{% set tabOpenValue = 'canceled' %}
\t\t\t\t\t\t\t\t{{ block('ticketsTab2') }}
\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t</div>
\t\t\t\t\t</div>
\t\t\t\t</div>
\t\t\t{% endif %}
\t\t</div>
\t</section>
\t<div id=\"multipleModal\" class=\"modal fade\" tabindex=\"-1\" role=\"dialog\">
\t\t<div class=\"modal-dialog modal-lg\" role=\"document\">
\t\t\t<div class=\"modal-content\">
\t\t\t\t<form action=\"{{ path ('user_ticket_multiple_select_action') }}\" method=\"post\">
\t\t\t\t\t<div class=\"modal-header\"><h3 class=\"modal-title\">Ticket - Selezione multipla</h3></div>
\t\t\t\t\t<div class=\"modal-body\">
\t\t\t\t\t\t<div class=\"row\">
\t\t\t\t\t\t\t<div class=\"col-12 txt_a_c\">
\t\t\t\t\t\t\t\t<label class=\"modal_subtitle\">Attenzione!</label><br>
\t\t\t\t\t\t\t\t<label class=\"l_s_none m_b_none f_left\">Ticket selezionati:</label>
\t\t\t\t\t\t\t\t<table class=\"table table-sm font_12 b_none txt_a_l\" id=\"tableTickets\"></table>
\t\t\t\t\t\t\t\t<div id=\"divSuspendEnd\" class=\"display_n\">
\t\t\t\t\t\t\t\t\t<label class=\"l_s_none m_b_none f_left\">Motivazione di sblocco:</label>
\t\t\t\t\t\t\t\t\t<textarea id=\"textareaCausal\" class=\"form-control min_h_150p\" name=\"causal\"></textarea>
\t\t\t\t\t\t\t\t</div>
\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>
\t\t\t\t\t\t\t\t<p class=\"modal_paragraph\">Si è sicuri di voler proseguire?</p>
\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t</div>
\t\t\t\t\t\t<input type=\"hidden\" id=\"ticketsIds\" name=\"ids\">
\t\t\t\t\t\t<input type=\"hidden\" id=\"action\" name=\"action\">
\t\t\t\t\t\t<input type=\"hidden\" id=\"multipleTab\" name=\"tab\">
\t\t\t\t\t</div>
\t\t\t\t\t<div class=\"modal-footer\">
\t\t\t\t\t\t<a href=\"javascript:void(0)\" class=\"button button-3d button-mini button-red f_left\" data-bs-dismiss=\"modal\">Annulla</a>
\t\t\t\t\t\t<button type=\"submit\" class=\"button button-3d button-mini button-green f_right\" id=\"multipleSubmitBtn\">Conferma</button>
\t\t\t\t\t</div>
\t\t\t\t</form>
\t\t\t</div>
\t\t</div>
\t</div>
\t<div id=\"exportModal\" class=\"modal fade\" tabindex=\"-1\" role=\"dialog\">
\t\t<div class=\"modal-dialog modal-lg\" role=\"document\">
\t\t\t<div class=\"modal-content\">
\t\t\t\t<form action=\"{{ path ('user_ticket_list_export') }}\" method=\"post\" id=\"exportForm\">
\t\t\t\t\t<div class=\"modal-header\"><h3 class=\"modal-title\">Ticket - Selezione multipla</h3></div>
\t\t\t\t\t<div class=\"modal-body\">
\t\t\t\t\t\t<div class=\"row\">
\t\t\t\t\t\t\t<div class=\"col-12 txt_a_c\">
\t\t\t\t\t\t\t\t<label class=\"modal_subtitle\">Attenzione!</label><br>
\t\t\t\t\t\t\t\t<label class=\"l_s_none m_b_none f_left\">Ticket selezionati:</label>
\t\t\t\t\t\t\t\t<table class=\"table table-sm font_12 b_none txt_a_l\" id=\"exportTableTickets\"></table>
\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>
\t\t\t\t\t\t\t\t<p class=\"modal_paragraph\">Si è sicuri di voler proseguire?</p>
\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t</div>
\t\t\t\t\t\t<input type=\"hidden\" id=\"exportTicketsIds\" name=\"ids\">
\t\t\t\t\t</div>
\t\t\t\t\t<div class=\"modal-footer\">
\t\t\t\t\t\t<a href=\"javascript:void(0)\" class=\"button button-3d button-mini button-red f_left\" data-bs-dismiss=\"modal\">Annulla</a>
\t\t\t\t\t\t<button type=\"submit\" class=\"button button-3d button-mini button-green f_right\">Conferma</button>
\t\t\t\t\t</div>
\t\t\t\t</form>
\t\t\t</div>
\t\t</div>
\t</div>
\t<div id=\"notesModal\" class=\"modal fade\" tabindex=\"-1\" role=\"dialog\">
\t\t<div class=\"modal-dialog modal-md\" role=\"document\">
\t\t\t<div class=\"modal-content\">
\t\t\t\t<div class=\"modal-header\"><h3 class=\"modal-title\">Note ticket: <span class=\"color_w\" id=\"notes_number\"></span></h3></div>
\t\t\t\t<div class=\"modal-body\">
\t\t\t\t\t<div class=\"row\">
\t\t\t\t\t\t<div class=\"col-12 m_b_20p\">
\t\t\t\t\t\t\t<label class=\"l_s_none m_b_none\">Anomalia:</label>
\t\t\t\t\t\t\t<p class=\"font_14 m_b_none\" id=\"notes_anomaly\"></p>
\t\t\t\t\t\t</div>
\t\t\t\t\t\t<div class=\"col-12 m_b_20p\">
\t\t\t\t\t\t\t<label class=\"l_s_none m_b_none\">Orari cliente:</label>
\t\t\t\t\t\t\t<p class=\"font_14 m_b_none\" id=\"notes_client_time\"></p>
\t\t\t\t\t\t</div>
\t\t\t\t\t\t<div class=\"col-12\">
\t\t\t\t\t\t\t<label class=\"l_s_none m_b_none\">Note cliente:</label>
\t\t\t\t\t\t\t<p class=\"font_14 m_b_none\" id=\"notes_client\"></p>
\t\t\t\t\t\t</div>
\t\t\t\t\t</div>
\t\t\t\t</div>
\t\t\t\t<div class=\"modal-footer txt_a_c\">
\t\t\t\t\t<a href=\"javascript:void(0)\" class=\"button button-3d button-mini button-red\" data-bs-dismiss=\"modal\">Esci</a>
\t\t\t\t</div>
\t\t\t</div>
\t\t</div>
\t</div>
\t{% if app.user.getAccountTypology == 'agency' %}
\t\t<div id=\"assignTechnicianModal\" class=\"modal fade\" tabindex=\"-1\" role=\"dialog\">
\t\t\t<div class=\"modal-dialog\" role=\"document\">
\t\t\t\t<div class=\"modal-content\">
\t\t\t\t\t{{ form_start(formAssignTechnician, {'attr': {'novalidate': 'novalidate'}}) }}
\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>
\t\t\t\t\t\t<div class=\"modal-body\">
\t\t\t\t\t\t\t<div class=\"row\">
\t\t\t\t\t\t\t\t<div class=\"col-12 form-group\">
\t\t\t\t\t\t\t\t\t<label class=\"form_label\">Tecnico (N° ticket: in corso / sospesi)*</label>
\t\t\t\t\t\t\t\t\t<div {{ form_errors(formAssignTechnician.technician) }}>
\t\t\t\t\t\t\t\t\t\t{{ form_widget(formAssignTechnician.technician, {'attr':{'class':'form-control form-select'}}) }}
\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t<input type=\"hidden\" id=\"technicianTicketsIds\" name=\"ids\">
\t\t\t\t\t\t</div>
\t\t\t\t\t\t<div class=\"modal-footer\">
\t\t\t\t\t\t\t<a href=\"javascript:void(0)\" class=\"button button-3d button-mini button-red f_left\" data-bs-dismiss=\"modal\">Annulla</a>
\t\t\t\t\t\t\t<button type=\"submit\" class=\"button button-3d button-mini button-green f_right\" id=\"tech_btn\"></button>
\t\t\t\t\t\t</div>
\t\t\t\t\t{{ form_end(formAssignTechnician) }}
\t\t\t\t</div>
\t\t\t</div>
\t\t</div>
\t\t
\t\t<div id=\"emailTakeChargeModal\" class=\"modal fade\" tabindex=\"-1\" role=\"dialog\">
\t\t\t<div class=\"modal-dialog\" role=\"document\">
\t\t\t\t<div class=\"modal-content\">
\t\t\t\t\t<form action=\"{{ path ('user_ticket_send_email_take_charge') }}\" method=\"post\">
\t\t\t\t\t\t<div class=\"modal-header\"><h3 class=\"modal-title\">Ticket - Email di notifica prendi in carico</h3></div>
\t\t\t\t\t\t<div class=\"modal-body\">
\t\t\t\t\t\t\t<div class=\"row\">
\t\t\t\t\t\t\t\t<div class=\"col-12 txt_a_c\">
\t\t\t\t\t\t\t\t\t<label class=\"modal_subtitle\">Attenzione!</label>
\t\t\t\t\t\t\t\t\t<p class=\"modal_paragraph\">Cliccando sul bottone <a class='button button-3d button-mini button-green' href='javascript:void(0)'>conferma</a> invierai a tutti i tecnici che hanno dei ticket assegnati ma non presi in carico la notifica.<br>Si è sicuri di voler proseguire?</p>
\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t</div>
\t\t\t\t\t\t<div class=\"modal-footer\">
\t\t\t\t\t\t\t<a href=\"javascript:void(0)\" class=\"button button-3d button-mini button-red f_left\" data-bs-dismiss=\"modal\">Annulla</a>
\t\t\t\t\t\t\t<button type=\"submit\" class=\"button button-3d button-mini button-green f_right\">Conferma</button>
\t\t\t\t\t\t</div>
\t\t\t\t\t</form>
\t\t\t\t</div>
\t\t\t</div>
\t\t</div>
\t\t
\t\t<div id=\"suspendTicketsModal\" class=\"modal fade\" tabindex=\"-1\" role=\"dialog\">
\t\t\t<div class=\"modal-dialog modal-lg\" role=\"document\">
\t\t\t\t<div class=\"modal-content\">
\t\t\t\t\t{{ form_start(formSuspension, {'attr': {'novalidate': 'novalidate'}}) }}
\t\t\t\t\t\t<div class=\"modal-header\"><h3 class=\"modal-title\">Ticket - Sospendi massivo</h3></div>
\t\t\t\t\t\t<div class=\"modal-body\">
\t\t\t\t\t\t\t<input type=\"hidden\" id=\"suspendTicketsIds\" name=\"ids\">
\t\t\t\t\t\t\t{{ form_widget(formSuspension.date, {'attr':{'class':'display_n'}}) }}
\t\t\t\t\t\t\t{{ form_widget(formSuspension.timeHour, {'attr':{'class':'display_n'}}) }}
\t\t\t\t\t\t\t{{ form_widget(formSuspension.timeMinute, {'attr':{'class':'display_n'}}) }}
\t\t\t\t\t\t\t<div class=\"row\">
\t\t\t\t\t\t\t\t<div class=\"col-12 form-group\">
\t\t\t\t\t\t\t\t\t<label class=\"form_label\">Esito*</label>
\t\t\t\t\t\t\t\t\t<div {{ form_errors(formSuspension.outcome) }}>
\t\t\t\t\t\t\t\t\t\t{{ form_widget(formSuspension.outcome, {'attr':{'class':'form-control form-select', 'onChange':'updateReferentAndMotivation()'}}) }}
\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t<div class=\"col-12 col-md-6 form-group\" id=\"div_referent\" style=\"display: none\">
\t\t\t\t\t\t\t\t\t<label class=\"form_label\">Referente*</label>
\t\t\t\t\t\t\t\t\t<div {{ form_errors(formSuspension.referent) }}>
\t\t\t\t\t\t\t\t\t\t{{ form_widget(formSuspension.referent) }}
\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t<div class=\"col-12 col-md-6 form-group\" id=\"div_phone\" style=\"display: none\">
\t\t\t\t\t\t\t\t\t<label class=\"form_label\">Telefono*</label>
\t\t\t\t\t\t\t\t\t<div {{ form_errors(formSuspension.phone) }}>
\t\t\t\t\t\t\t\t\t\t{{ form_widget(formSuspension.phone) }}
\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t<div class=\"col-12 form-group\" id=\"div_photo\" style=\"display: none\">
\t\t\t\t\t\t\t\t\t<label class=\"form_label\">Foto*</label>
\t\t\t\t\t\t\t\t\t<div {{ form_errors(formSuspension.file) }}>
\t\t\t\t\t\t\t\t\t\t{{ form_widget(formSuspension.photoPath, {'attr': {'class':'display_n'}}) }}
\t\t\t\t\t\t\t\t\t\t{{ form_widget(formSuspension.file, {'attr': {'class':'display_n'}}) }}
\t\t\t\t\t\t\t\t\t\t<div class=\"input-group\">
\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>
\t\t\t\t\t\t\t\t\t\t\t<input id=\"filename1\" type=\"text\" class=\"form-control\" readonly>
\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t<div class=\"col-12 form-group\">
\t\t\t\t\t\t\t\t\t<label class=\"form_label\" id=\"label_motivation\">Motivazione</label>
\t\t\t\t\t\t\t\t\t<div {{ form_errors(formSuspension.motivation) }}>
\t\t\t\t\t\t\t\t\t\t{{ form_widget(formSuspension.motivation) }}
\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t<div class=\"col-12 col-md-4 form-group\">
\t\t\t\t\t\t\t\t\t<label class=\"form_label\">Sospeso da - Data*</label>
\t\t\t\t\t\t\t\t\t<div {{ form_errors(formSuspension.dateFrom) }}>
\t\t\t\t\t\t\t\t\t\t{{ form_widget(formSuspension.dateFrom, {'attr':{'class':'form-control'}}) }}
\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t<div class=\"col-6 col-md-4 form-group\">
\t\t\t\t\t\t\t\t\t<label class=\"form_label\">Sospeso da - Ora*</label>
\t\t\t\t\t\t\t\t\t<div {{ form_errors(formSuspension.timeFromHour) }}>
\t\t\t\t\t\t\t\t\t\t{{ form_widget(formSuspension.timeFromHour, {'attr':{'class':'form-control form-select'}}) }}
\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t<div class=\"col-6 col-md-4 form-group\">
\t\t\t\t\t\t\t\t\t<label class=\"form_label\">Sospeso da - Minuto*</label>
\t\t\t\t\t\t\t\t\t<div {{ form_errors(formSuspension.timeFromMinute) }}>
\t\t\t\t\t\t\t\t\t\t{{ form_widget(formSuspension.timeFromMinute, {'attr':{'class':'form-control form-select'}}) }}
\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t<div class=\"col-12 col-md-4 form-group\" >
\t\t\t\t\t\t\t\t\t<label class=\"form_label\" id=\"label_suspension_to_date\">Sospeso fino a - Data</label>
\t\t\t\t\t\t\t\t\t<div {{ form_errors(formSuspension.dateTo) }}>
\t\t\t\t\t\t\t\t\t\t{{ form_widget(formSuspension.dateTo, {'attr':{'class':'form-control'}}) }}
\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t<div class=\"col-6 col-md-4 form-group\">
\t\t\t\t\t\t\t\t\t<label class=\"form_label\" id=\"label_suspension_to_time\">Sospeso fino a - Ora</label>
\t\t\t\t\t\t\t\t\t<div {{ form_errors(formSuspension.timeToHour) }}>
\t\t\t\t\t\t\t\t\t\t{{ form_widget(formSuspension.timeToHour, {'attr':{'class':'form-control form-select'}}) }}
\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t<div class=\"col-6 col-md-4 form-group\">
\t\t\t\t\t\t\t\t\t<label class=\"form_label\" id=\"label_suspension_to_minute\">Sospeso fino a - Minuto</label>
\t\t\t\t\t\t\t\t\t<div {{ form_errors(formSuspension.timeToMinute) }}>
\t\t\t\t\t\t\t\t\t\t{{ form_widget(formSuspension.timeToMinute, {'attr':{'class':'form-control form-select'}}) }}
\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t</div>
\t\t\t\t\t\t<div class=\"modal-footer\">
\t\t\t\t\t\t\t<a href=\"javascript:void(0)\" class=\"button button-3d button-mini button-red f_left\" data-bs-dismiss=\"modal\">Annulla</a>
\t\t\t\t\t\t\t<button type=\"submit\" class=\"button button-3d button-mini button-green f_right\">Conferma</button>
\t\t\t\t\t\t</div>
\t\t\t\t\t{{ form_end(formSuspension) }}
\t\t\t\t</div>
\t\t\t</div>
\t\t</div>
\t{% elseif app.user.getAccountTypology == 'technician' %}
\t\t<div id=\"takeChargeModal\" class=\"modal fade\" tabindex=\"-1\" role=\"dialog\">
\t\t\t<div class=\"modal-dialog\" role=\"document\">
\t\t\t\t<div class=\"modal-content\">
\t\t\t\t\t<form action=\"{{ path ('user_ticket_take_charge') }}\" method=\"post\">
\t\t\t\t\t\t<div class=\"modal-header\"><h3 class=\"modal-title\">Ticket - Prendi in carico</h3></div>
\t\t\t\t\t\t<div class=\"modal-body\">
\t\t\t\t\t\t\t<div class=\"row\">
\t\t\t\t\t\t\t\t<div class=\"col-12 txt_a_c\">
\t\t\t\t\t\t\t\t\t<label class=\"modal_subtitle\">Attenzione!</label>
\t\t\t\t\t\t\t\t\t<p class=\"modal_paragraph\">Cliccando sul bottone <a class='button button-3d button-mini button-green' href='javascript:void(0)'>conferma</a> prenderai in carico tutti i ticket che ti sono stati assegnati.<br>Si è sicuri di voler proseguire?</p>
\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t</div>
\t\t\t\t\t\t<div class=\"modal-footer\">
\t\t\t\t\t\t\t<a href=\"javascript:void(0)\" class=\"button button-3d button-mini button-red f_left\" data-bs-dismiss=\"modal\">Annulla</a>
\t\t\t\t\t\t\t<button type=\"submit\" class=\"button button-3d button-mini button-green f_right\">Conferma</button>
\t\t\t\t\t\t</div>
\t\t\t\t\t</form>
\t\t\t\t</div>
\t\t\t</div>
\t\t</div>
\t{% endif %}
\t{% if app.user.getAccountTypology == 'agency' or app.user.getAccountTypology == 'warehouse' %}
\t\t{% if global_company.actualCompany.tagTicketActive %}
\t\t\t{% include 'components/modals/filter_tag.html.twig' with {'number':0, 'tag':tags} %}
\t\t\t{% include 'components/modals/filter_tag.html.twig' with {'number':1, 'tag':tags} %}
\t\t\t{% include 'components/modals/filter_tag.html.twig' with {'number':2, 'tag':tags} %}
\t\t\t{% include 'components/modals/filter_tag.html.twig' with {'number':3, 'tag':tags} %}
\t\t\t{% include 'components/modals/filter_tag.html.twig' with {'number':4, 'tag':tags} %}
\t\t\t{% include 'components/modals/filter_tag.html.twig' with {'number':5, 'tag':tags} %}
\t\t\t{% include 'components/modals/filter_tag.html.twig' with {'number':6, 'tag':tags} %}
\t\t\t{% include 'components/modals/filter_tag.html.twig' with {'number':7, 'tag':tags} %}
\t\t\t{% include 'components/modals/filter_tag.html.twig' with {'number':8, 'tag':tags} %}
\t\t\t{% include 'components/modals/filter_tag.html.twig' with {'number':9, 'tag':tags} %}
\t\t{% endif %}
\t\t{% include 'components/modals/filter_supplier.html.twig' with {'number':0, 'suppliers':suppliers} %}
\t\t{% include 'components/modals/filter_supplier.html.twig' with {'number':1, 'suppliers':suppliers} %}
\t\t{% include 'components/modals/filter_supplier.html.twig' with {'number':2, 'suppliers':suppliers} %}
\t\t{% include 'components/modals/filter_supplier.html.twig' with {'number':3, 'suppliers':suppliers} %}
\t\t{% include 'components/modals/filter_supplier.html.twig' with {'number':4, 'suppliers':suppliers} %}
\t\t{% include 'components/modals/filter_supplier.html.twig' with {'number':5, 'suppliers':suppliers} %}
\t\t{% include 'components/modals/filter_supplier.html.twig' with {'number':6, 'suppliers':suppliers} %}
\t\t{% include 'components/modals/filter_supplier.html.twig' with {'number':7, 'suppliers':suppliers} %}
\t\t{% include 'components/modals/filter_supplier.html.twig' with {'number':8, 'suppliers':suppliers} %}
\t\t{% include 'components/modals/filter_supplier.html.twig' with {'number':9, 'suppliers':suppliers} %}
\t\t{% include 'components/modals/filter_operation.html.twig' with {'number':0, 'operations':operations} %}
\t\t{% include 'components/modals/filter_operation.html.twig' with {'number':1, 'operations':operations} %}
\t\t{% include 'components/modals/filter_operation.html.twig' with {'number':2, 'operations':operations} %}
\t\t{% include 'components/modals/filter_operation.html.twig' with {'number':3, 'operations':operations} %}
\t\t{% include 'components/modals/filter_operation.html.twig' with {'number':4, 'operations':operations} %}
\t\t{% include 'components/modals/filter_operation.html.twig' with {'number':5, 'operations':operations} %}
\t\t{% include 'components/modals/filter_operation.html.twig' with {'number':6, 'operations':operations} %}
\t\t{% include 'components/modals/filter_operation.html.twig' with {'number':7, 'operations':operations} %}
\t\t{% include 'components/modals/filter_operation.html.twig' with {'number':8, 'operations':operations} %}
\t\t{% include 'components/modals/filter_operation.html.twig' with {'number':9, 'operations':operations} %}
\t{% endif %}
{% endblock %}
{% block javascripts %}
{{ parent() }}
{% if app.user.getAccountTypology == 'agency' or app.user.getAccountTypology == 'warehouse' %}
\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'} %}
\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'} %}
\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'} %}
\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'} %}
\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'} %}
\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'} %}
\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'} %}
\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'} %}
\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'} %}
\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'} %}
\t{% if global_company.actualCompany.tagTicketActive %}
\t\t{% include 'components/js/filter_tag_js.html.twig' with {'number':0, 'tags':tags, 'filterTag':filters.tag} %}
\t\t{% include 'components/js/filter_tag_js.html.twig' with {'number':1, 'tags':tags, 'filterTag':filters.tag} %}
\t\t{% include 'components/js/filter_tag_js.html.twig' with {'number':2, 'tags':tags, 'filterTag':filters.tag} %}
\t\t{% include 'components/js/filter_tag_js.html.twig' with {'number':3, 'tags':tags, 'filterTag':filters.tag} %}
\t\t{% include 'components/js/filter_tag_js.html.twig' with {'number':4, 'tags':tags, 'filterTag':filters.tag} %}
\t\t{% include 'components/js/filter_tag_js.html.twig' with {'number':5, 'tags':tags, 'filterTag':filters.tag} %}
\t\t{% include 'components/js/filter_tag_js.html.twig' with {'number':6, 'tags':tags, 'filterTag':filters.tag} %}
\t\t{% include 'components/js/filter_tag_js.html.twig' with {'number':7, 'tags':tags, 'filterTag':filters.tag} %}
\t\t{% include 'components/js/filter_tag_js.html.twig' with {'number':8, 'tags':tags, 'filterTag':filters.tag} %}
\t\t{% include 'components/js/filter_tag_js.html.twig' with {'number':9, 'tags':tags, 'filterTag':filters.tag} %}
\t{% endif %}
\t{% include 'components/js/filter_supplier_js.html.twig' with {'number':0, 'suppliers':suppliers, 'filterSupplier':filters.supplier} %}
\t{% include 'components/js/filter_supplier_js.html.twig' with {'number':1, 'suppliers':suppliers, 'filterSupplier':filters.supplier} %}
\t{% include 'components/js/filter_supplier_js.html.twig' with {'number':2, 'suppliers':suppliers, 'filterSupplier':filters.supplier} %}
\t{% include 'components/js/filter_supplier_js.html.twig' with {'number':3, 'suppliers':suppliers, 'filterSupplier':filters.supplier} %}
\t{% include 'components/js/filter_supplier_js.html.twig' with {'number':4, 'suppliers':suppliers, 'filterSupplier':filters.supplier} %}
\t{% include 'components/js/filter_supplier_js.html.twig' with {'number':5, 'suppliers':suppliers, 'filterSupplier':filters.supplier} %}
\t{% include 'components/js/filter_supplier_js.html.twig' with {'number':6, 'suppliers':suppliers, 'filterSupplier':filters.supplier} %}
\t{% include 'components/js/filter_supplier_js.html.twig' with {'number':7, 'suppliers':suppliers, 'filterSupplier':filters.supplier} %}
\t{% include 'components/js/filter_supplier_js.html.twig' with {'number':8, 'suppliers':suppliers, 'filterSupplier':filters.supplier} %}
\t{% include 'components/js/filter_supplier_js.html.twig' with {'number':9, 'suppliers':suppliers, 'filterSupplier':filters.supplier} %}
\t{% include 'components/js/filter_operation_group_js.html.twig' with {'number':0, 'operations':operations, 'filterOperation':filters.operation} %}
\t{% include 'components/js/filter_operation_group_js.html.twig' with {'number':1, 'operations':operations, 'filterOperation':filters.operation} %}
\t{% include 'components/js/filter_operation_group_js.html.twig' with {'number':2, 'operations':operations, 'filterOperation':filters.operation} %}
\t{% include 'components/js/filter_operation_group_js.html.twig' with {'number':3, 'operations':operations, 'filterOperation':filters.operation} %}
\t{% include 'components/js/filter_operation_group_js.html.twig' with {'number':4, 'operations':operations, 'filterOperation':filters.operation} %}
\t{% include 'components/js/filter_operation_group_js.html.twig' with {'number':5, 'operations':operations, 'filterOperation':filters.operation} %}
\t{% include 'components/js/filter_operation_group_js.html.twig' with {'number':6, 'operations':operations, 'filterOperation':filters.operation} %}
\t{% include 'components/js/filter_operation_group_js.html.twig' with {'number':7, 'operations':operations, 'filterOperation':filters.operation} %}
\t{% include 'components/js/filter_operation_group_js.html.twig' with {'number':8, 'operations':operations, 'filterOperation':filters.operation} %}
\t{% include 'components/js/filter_operation_group_js.html.twig' with {'number':9, 'operations':operations, 'filterOperation':filters.operation} %}
\t{% include 'components/js/daterangepicker_js.html.twig' with {'id':'daterange_0', 'format':'DD-MM-YYYY HH:mm'} %}
\t{% include 'components/js/daterangepicker_js.html.twig' with {'id':'daterange_1_1', 'format':'DD-MM-YYYY HH:mm'} %}
\t{% include 'components/js/daterangepicker_js.html.twig' with {'id':'daterange_2_1', 'format':'DD-MM-YYYY HH:mm'} %}
\t{% include 'components/js/daterangepicker_js.html.twig' with {'id':'daterange_3_1', 'format':'DD-MM-YYYY HH:mm'} %}
\t{% include 'components/js/daterangepicker_js.html.twig' with {'id':'daterange_4_1', 'format':'DD-MM-YYYY HH:mm'} %}
\t{% include 'components/js/daterangepicker_js.html.twig' with {'id':'daterange_5_1', 'format':'DD-MM-YYYY HH:mm'} %}
\t{% include 'components/js/daterangepicker_js.html.twig' with {'id':'daterange_6_1', 'format':'DD-MM-YYYY HH:mm'} %}
\t{% include 'components/js/daterangepicker_js.html.twig' with {'id':'daterange_7_1', 'format':'DD-MM-YYYY HH:mm'} %}
\t{% include 'components/js/daterangepicker_js.html.twig' with {'id':'daterange_8_1', 'format':'DD-MM-YYYY HH:mm'} %}
\t{% include 'components/js/daterangepicker_js.html.twig' with {'id':'daterange_9_1', 'format':'DD-MM-YYYY HH:mm'} %}
\t{% include 'components/js/daterangepicker_js.html.twig' with {'id':'daterange_1_2', 'format':'DD-MM-YYYY HH:mm'} %}
\t{% include 'components/js/daterangepicker_js.html.twig' with {'id':'daterange_2_2', 'format':'DD-MM-YYYY HH:mm'} %}
\t{% include 'components/js/daterangepicker_js.html.twig' with {'id':'daterange_3_2', 'format':'DD-MM-YYYY HH:mm'} %}
\t{% include 'components/js/daterangepicker_js.html.twig' with {'id':'daterange_4_2', 'format':'DD-MM-YYYY HH:mm'} %}
\t{% include 'components/js/daterangepicker_js.html.twig' with {'id':'daterange_5_2', 'format':'DD-MM-YYYY HH:mm'} %}
\t{% include 'components/js/daterangepicker_js.html.twig' with {'id':'daterange_6_2', 'format':'DD-MM-YYYY HH:mm'} %}
\t{% include 'components/js/daterangepicker_js.html.twig' with {'id':'daterange_7_2', 'format':'DD-MM-YYYY HH:mm'} %}
\t{% include 'components/js/daterangepicker_js.html.twig' with {'id':'daterange_8_2', 'format':'DD-MM-YYYY HH:mm'} %}
\t{% include 'components/js/daterangepicker_js.html.twig' with {'id':'daterange_9_2', 'format':'DD-MM-YYYY HH:mm'} %}
\t{% include 'components/js/daterangepicker_js.html.twig' with {'id':'daterange_1_3', 'format':'DD-MM-YYYY HH:mm'} %}
\t{% include 'components/js/daterangepicker_js.html.twig' with {'id':'daterange_2_3', 'format':'DD-MM-YYYY HH:mm'} %}
\t{% include 'components/js/daterangepicker_js.html.twig' with {'id':'daterange_3_3', 'format':'DD-MM-YYYY HH:mm'} %}
\t{% include 'components/js/daterangepicker_js.html.twig' with {'id':'daterange_4_3', 'format':'DD-MM-YYYY HH:mm'} %}
\t{% include 'components/js/daterangepicker_js.html.twig' with {'id':'daterange_5_3', 'format':'DD-MM-YYYY HH:mm'} %}
\t{% include 'components/js/daterangepicker_js.html.twig' with {'id':'daterange_6_3', 'format':'DD-MM-YYYY HH:mm'} %}
\t{% include 'components/js/daterangepicker_js.html.twig' with {'id':'daterange_7_3', 'format':'DD-MM-YYYY HH:mm'} %}
\t{% include 'components/js/daterangepicker_js.html.twig' with {'id':'daterange_8_3', 'format':'DD-MM-YYYY HH:mm'} %}
\t{% include 'components/js/daterangepicker_js.html.twig' with {'id':'daterange_9_3', 'format':'DD-MM-YYYY HH:mm'} %}
\t{% include 'components/js/upload_file_js.html.twig' with {'number':'1', 'file':'form_suspension_file', 'path':'form_suspension_photoPath'} %}
\t{% include 'components/js/paste_multi_value_js.html.twig' with {'id':'input_number_0'} %}
\t{% include 'components/js/paste_multi_value_js.html.twig' with {'id':'input_termid_0'} %}
\t{% include 'components/js/paste_multi_value_js.html.twig' with {'id':'input_number_1'} %}
\t{% include 'components/js/paste_multi_value_js.html.twig' with {'id':'input_termid_1'} %}
\t{% include 'components/js/paste_multi_value_js.html.twig' with {'id':'input_number_2'} %}
\t{% include 'components/js/paste_multi_value_js.html.twig' with {'id':'input_termid_2'} %}
\t{% include 'components/js/paste_multi_value_js.html.twig' with {'id':'input_number_3'} %}
\t{% include 'components/js/paste_multi_value_js.html.twig' with {'id':'input_termid_3'} %}
\t{% include 'components/js/paste_multi_value_js.html.twig' with {'id':'input_number_4'} %}
\t{% include 'components/js/paste_multi_value_js.html.twig' with {'id':'input_termid_4'} %}
\t{% include 'components/js/paste_multi_value_js.html.twig' with {'id':'input_number_5'} %}
\t{% include 'components/js/paste_multi_value_js.html.twig' with {'id':'input_termid_5'} %}
\t{% include 'components/js/paste_multi_value_js.html.twig' with {'id':'input_number_6'} %}
\t{% include 'components/js/paste_multi_value_js.html.twig' with {'id':'input_termid_6'} %}
\t{% include 'components/js/paste_multi_value_js.html.twig' with {'id':'input_number_7'} %}
\t{% include 'components/js/paste_multi_value_js.html.twig' with {'id':'input_termid_7'} %}
\t{% include 'components/js/paste_multi_value_js.html.twig' with {'id':'input_number_8'} %}
\t{% include 'components/js/paste_multi_value_js.html.twig' with {'id':'input_termid_8'} %}
\t{% include 'components/js/paste_multi_value_js.html.twig' with {'id':'input_number_9'} %}
\t{% include 'components/js/paste_multi_value_js.html.twig' with {'id':'input_termid_9'} %}
{% endif %}
<script>
\t\$(document).ready(function(){
\t\t{% if app.session.get('tab_operation_group') != null %}
\t\t\tvar operationGroupInputs = document.getElementsByClassName('operation_group_input');
\t\t\tfor(i=0; i<operationGroupInputs.length; i++){
\t\t\t\toperationGroupInputs.value = \"{{ app.session.get('tab_operation_group') }}\";
\t\t\t}
\t\t\t{% do app.session.remove('tab_operation_group') %}
\t\t\t{% do app.session.remove('tab_technician') %}
\t\t{% endif %}
\t\t{% if app.session.get('ticketsError') != null %}
\t\t\tdocument.getElementById('ticketsIds').value = \"{{ app.session.get('ticketsIds') }}\";
\t\t\tdocument.getElementById('action').value = \"{{ app.session.get('ticketsAction') }}\";
\t\t\tvar ticketsIds = \"{{ app.session.get('ticketsIds') }}\";
\t\t\tvar table = document.getElementById('tableTickets');
\t\t\ttable.innerHTML = '<tr><th>Numero</th><th>Cliente</th><th>Operazione</th><th>Fornitore</th></tr>';
\t\t\tfor(i=0; i<ticketsIds.length; i++){
\t\t\t\tvar tr = document.createElement('tr');
\t\t\t\tvar td1 = document.createElement('td');
\t\t\t\tvar td2 = document.createElement('td');
\t\t\t\tvar td3 = document.createElement('td');
\t\t\t\tvar td4 = document.createElement('td');
\t\t\t\ttd1.innerHTML = document.getElementById('ticket_number_' + ticketsIds[i]).innerHTML;
\t\t\t\ttd2.innerHTML = document.getElementById('ticket_client_' + ticketsIds[i]).innerHTML;
\t\t\t\ttd3.innerHTML = document.getElementById('ticket_operation_' + ticketsIds[i]).innerHTML;
\t\t\t\ttd4.innerHTML = document.getElementById('ticket_supplier_' + ticketsIds[i]).innerHTML;
\t\t\t\ttr.appendChild(td1);
\t\t\t\ttr.appendChild(td2);
\t\t\t\ttr.appendChild(td3);
\t\t\t\ttr.appendChild(td4);
\t\t\t\ttable.appendChild(tr);
\t\t\t}
\t\t\tswitch(\"{{ app.session.get('ticketsAction') }}\"){
\t\t\t\tcase 'suspend_end':
\t\t\t\t\tdocument.getElementById('actionLabel').innerHTML = 'sbloccherai la sospensione per';
\t\t\t\t\tdocument.getElementById('divSuspendEnd').style.display = 'block';
\t\t\t\t\tdocument.getElementById('textareaCausal').style = 'border-color: #CB0C0F';
\t\t\t\t\tdocument.getElementById('textareaCausal').setAttribute('data-bs-toggle', 'tooltip');
\t\t\t\t\tdocument.getElementById('textareaCausal').setAttribute('data-bs-original-title', 'Inserisci la motivazione per sbloccare la sospensione');
\t\t\t\t\tbreak;
\t\t\t\tdefault: break;
\t\t\t}
\t\t\t\$('#multipleModal').modal({backdrop: 'static', keyboard: false}).modal(\"show\");
\t\t\t{% do app.session.remove('ticketsError') %}
\t\t{% endif %}
\t\t
\t\t{% if app.user.getAccountTypology == 'agency' or app.user.getAccountTypology == 'warehouse' %}
\t\t\tvar dateRanges = document.getElementsByClassName('daterange1');
\t\t\tfor(i=0; i<dateRanges.length; i++){
\t\t\t\t{% if filters.datetimeStart != null %}
\t\t\t\t\tdateRanges[i].value = \"{{ filters.datetimeStart }}\";
\t\t\t\t{% else %}
\t\t\t\t\tdateRanges[i].value = null;
\t\t\t\t{% endif %}
\t\t\t}
\t\t\t
\t\t\tvar dateRanges2 = document.getElementsByClassName('daterange2');
\t\t\tfor(i=0; i<dateRanges2.length; i++){
\t\t\t\t{% if filters.datetimeExpiration != null %}
\t\t\t\t\tdateRanges2[i].value = \"{{ filters.datetimeExpiration }}\";
\t\t\t\t{% else %}
\t\t\t\t\tdateRanges2[i].value = null;
\t\t\t\t{% endif %}
\t\t\t}
\t\t\t
\t\t\tvar dateRanges3 = document.getElementsByClassName('daterange3');
\t\t\tfor(i=0; i<dateRanges3.length; i++){
\t\t\t\t{% if filters.datetimeEnd != null %}
\t\t\t\t\tdateRanges3[i].value = \"{{ filters.datetimeEnd }}\";
\t\t\t\t{% else %}
\t\t\t\t\tdateRanges3[i].value = null;
\t\t\t\t{% endif %}
\t\t\t}
\t\t{% endif %}
\t});
\t{% if app.user.getAccountTypology == 'agency' or app.user.getAccountTypology == 'warehouse' %}
\t\tfunction assignTechnician(type, index){
\t\t\tvar checkboxes = document.getElementsByClassName('ticket_' + index + '_checkbox');
\t\t\tconst array = [];
\t\t\tfor(i=0; i<checkboxes.length; i++){
\t\t\t\tif(checkboxes[i].checked)
\t\t\t\t\tarray.push(checkboxes[i].value);
\t\t\t}
\t\t\t
\t\t\tdocument.getElementById('technicianTicketsIds').value = array;
\t\t\tswitch(type){
\t\t\t\tcase 'assign': document.getElementById('tech_span').innerHTML = 'Assegna'; document.getElementById('tech_btn').innerHTML = 'Assegna'; break;
\t\t\t\tcase 'change': document.getElementById('tech_span').innerHTML = 'Cambia'; document.getElementById('tech_btn').innerHTML = 'Cambia'; break;
\t\t\t\tdefault: break;
\t\t\t}
\t\t\t\$('#assignTechnicianModal').modal({backdrop: 'static', keyboard: false}).modal(\"show\");
\t\t}
\t\tfunction sendEmailTakeCharge(){
\t\t\t\$('#emailTakeChargeModal').modal({backdrop: 'static', keyboard: false}).modal(\"show\");
\t\t}
\t\t
\t\tfunction suspendTickets(index){
\t\t\tvar checkboxes = document.getElementsByClassName('ticket_' + index + '_checkbox');
\t\t\tconst array = [];
\t\t\tfor(i=0; i<checkboxes.length; i++){
\t\t\t\tif(checkboxes[i].checked)
\t\t\t\t\tarray.push(checkboxes[i].value);
\t\t\t}
\t\t\tdocument.getElementById('suspendTicketsIds').value = array;
\t\t\t\$('#suspendTicketsModal').modal({backdrop: 'static', keyboard: false}).modal(\"show\");
\t\t}
\t\t\$('#form_suspension_dateFrom').datepicker({ autoclose: true, todayHighlight: true, format: \"dd-mm-yyyy\", endDate: \"today\" });
\t\t\$('#form_suspension_dateTo').datepicker({ autoclose: true, todayHighlight: true, format: \"dd-mm-yyyy\" });
\t\t\$(document).ready(function(){
\t\t\tupdateReferentAndMotivation();
\t\t\t{% if app.session.get('openSuspensionModal') %}
\t\t\t\tdocument.getElementById('suspendTicketsIds').value = \"{{ app.session.get('openSuspensionModalIds') }}\";
\t\t\t\t\$('#suspendTicketsModal').modal({backdrop: 'static', keyboard: false}).modal(\"show\");
\t\t\t\tvar ids = \"{{ app.session.get('openSuspensionModalIds') }}\".split(',');
\t\t\t\tfor(i=0; i<ids.length; i++) document.getElementById('ticket_checkbox_' + ids[i]).checked = true;
\t\t\t\t{% do app.session.remove('openSuspensionModal') %}
\t\t\t\t{% do app.session.remove('openSuspensionModalIds') %}
\t\t\t{% endif %}
\t\t});
\t\tfunction updateReferentAndMotivation(){
\t\t\tvar outcomeId = document.getElementById('form_suspension_outcome').value;
\t\t\tdocument.getElementById('label_suspension_to_date').innerHTML = 'Sospeso fino a - Data';
\t\t\tdocument.getElementById('label_suspension_to_time').innerHTML = 'Sospeso fino a - Ora';
\t\t\tdocument.getElementById('div_referent').style.display = 'none';
\t\t\tdocument.getElementById('label_motivation').innerHTML = 'Motivazione';
\t\t\tdocument.getElementById('div_phone').style.display = 'none';
\t\t\tdocument.getElementById('div_photo').style.display = 'none';
\t\t\tif(outcomeId != \"\"){
\t\t\t\t\$.post('{{ path (\"user_ticket_intervention_outcome_update\") }}', {outcomeId: outcomeId}, function(response){
\t\t\t\t\tif(response.code == 200 && response.success){
\t\t\t\t\t\tif(response.suspensionTo) document.getElementById('label_suspension_to_date').innerHTML = 'Sospeso fino a - Data*';
\t\t\t\t\t\tif(response.suspensionTo) document.getElementById('label_suspension_to_time').innerHTML = 'Sospeso fino a - Ora*';
\t\t\t\t\t\tif(response.referent) document.getElementById('div_referent').style.display = 'block';
\t\t\t\t\t\tif(response.motivation) document.getElementById('label_motivation').innerHTML = 'Motivazione*';
\t\t\t\t\t\tif(response.phone) document.getElementById('div_phone').style.display = 'block';
\t\t\t\t\t\tif(response.photo) document.getElementById('div_photo').style.display = 'block';
\t\t\t\t\t}
\t\t\t\t}, \"json\");
\t\t\t}
\t\t}
\t{% elseif app.user.getAccountTypology == 'technician' %}
\t\tfunction ticketsTakeCharge(){
\t\t\t\$('#takeChargeModal').modal({backdrop: 'static', keyboard: false}).modal(\"show\");
\t\t}
\t{% endif %}
\tfunction selectAll(index){
\t\tvar checkboxes = document.getElementsByClassName('ticket_' + index + '_checkbox');
\t\tvar isSelect = document.getElementById(\"ticket_\" + index + \"_all_checkboxes\").checked;
\t\tfor(i=0; i<checkboxes.length; i++)
\t\t\tcheckboxes[i].checked = isSelect;
\t\tupdateButtons(index);
\t}
\tfunction updateButtons(index) {
\t\tconst inputSelectAll = document.getElementById(`ticket_\${index}_all_checkboxes`);
\t\tconst checkboxes = document.getElementsByClassName(`ticket_\${index}_checkbox`);
\t\tconst GREEN = \"button button-3d button-mini button-green f_right m_b_10p\";
\t\tconst GREY = \"button button-3d button-mini button-grey f_right m_b_10p\";
\t\tconst getBtn = (suffix) => document.getElementById(`button_\${index}_\${suffix}`);
\t\t// Mappa pulsanti principali
\t\tconst buttons = {
\t\t\taction: {
\t\t\t\t0: { btn: getBtn('wrong'), href: () => `javascript: sendAction('wrong', \${index})` },
\t\t\t\t1: { btn: getBtn('assign'), href: () => `javascript: assignTechnician('assign', \${index})` },
\t\t\t\t4: { btn: getBtn('cancel'), href: () => `javascript: sendAction('cancel', \${index})` },
\t\t\t\t6: { btn: getBtn('closed_portal'), href: () => `javascript: sendAction('closed_portal', \${index})` },
\t\t\t\t8: { btn: getBtn('wrong'), href: () => `javascript: sendAction('wrong', \${index})` },
\t\t\t\t9: { btn: getBtn('delete'), href: () => `javascript: sendAction('delete', \${index})` },
\t\t\t\t2: { btn: getBtn('print'), href: () => `javascript: sendAction('print', \${index})` },
\t\t\t\t3: { btn: getBtn('print'), href: () => `javascript: sendAction('print', \${index})` },
\t\t\t\t5: { btn: getBtn('print'), href: () => `javascript: sendAction('print', \${index})` },
\t\t\t\t11:{ btn: getBtn('print'), href: () => `javascript: sendAction('print', \${index})` },
\t\t\t\t12:{ btn: getBtn('print'), href: () => `javascript: sendAction('print', \${index})` },
\t\t\t\t14:{ btn: getBtn('print'), href: () => `javascript: sendAction('print', \${index})` }
\t\t\t},
\t\t\tsecondary: {
\t\t\t\t1: { btn: getBtn('cancel'), href: () => `javascript: sendAction('cancel', \${index})` },
\t\t\t\t2: { btn: getBtn('cancel'), href: () => `javascript: sendAction('cancel', \${index})` },
\t\t\t\t3: { btn: getBtn('suspend'), href: () => `javascript: suspendTickets(\${index})` },
\t\t\t\t4: { btn: getBtn('approve'), href: () => `javascript: sendAction('approve', \${index})` },
\t\t\t\t5: { btn: getBtn('suspend_end'), href: () => `javascript: sendAction('suspend_end', \${index})` },
\t\t\t\t14:{ btn: getBtn('suspend_end'), href: () => `javascript: sendAction('suspend_end', \${index})` }
\t\t\t},
\t\t\tthird: {
\t\t\t\t1: { btn: getBtn('suspend'), href: () => `javascript: suspendTickets(\${index})` },
\t\t\t\t2: { btn: getBtn('suspend'), href: () => `javascript: suspendTickets(\${index})` },
\t\t\t\t3: { btn: getBtn('cancel'), href: () => `javascript: sendAction('cancel', \${index})` },
\t\t\t\t5: { btn: getBtn('cancel'), href: () => `javascript: sendAction('cancel', \${index})` }
\t\t\t},
\t\t\textra: {
\t\t\t\t1: [
\t\t\t\t\t{ btn: getBtn('print'), href: () => `javascript: sendAction('print', \${index})` },
\t\t\t\t\t{ btn: getBtn('export'), href: () => `javascript: sendAction('export', \${index})` }
\t\t\t\t],
\t\t\t\t2: [
\t\t\t\t\t{ btn: getBtn('change'), href: () => `javascript: assignTechnician('change', \${index})` },
\t\t\t\t\t{ btn: getBtn('urge'), href: () => `javascript: sendAction('urge', \${index})` },
\t\t\t\t\t{ btn: getBtn('export'), href: () => `javascript: sendAction('export', \${index})` }
\t\t\t\t],
\t\t\t\t3: [
\t\t\t\t\t{ btn: getBtn('change'), href: () => `javascript: assignTechnician('change', \${index})` },
\t\t\t\t\t{ btn: getBtn('urge'), href: () => `javascript: sendAction('urge', \${index})` },
\t\t\t\t\t{ btn: getBtn('export'), href: () => `javascript: sendAction('export', \${index})` }
\t\t\t\t],
\t\t\t\t4: [{ btn: getBtn('export'), href: () => `javascript: sendAction('export', \${index})` }],
\t\t\t\t5: [{ btn: getBtn('export'), href: () => `javascript: sendAction('export', \${index})` }],
\t\t\t\t6: [{ btn: getBtn('export'), href: () => `javascript: sendAction('export', \${index})` }],
\t\t\t\t7: [{ btn: getBtn('export'), href: () => `javascript: sendAction('export', \${index})` }],
\t\t\t\t8: [{ btn: getBtn('export'), href: () => `javascript: sendAction('export', \${index})` }],
\t\t\t\t9: [{ btn: getBtn('export'), href: () => `javascript: sendAction('export', \${index})` }]
\t\t\t}
\t\t};
\t\t// Checkbox logic
\t\tlet selected = [];
\t\tlet allSelected = true;
\t\tfor (let i = 0; i < checkboxes.length; i++) {
\t\t\tif (checkboxes[i].checked) {
\t\t\t\tselected.push(checkboxes[i].value);
\t\t\t} else {
\t\t\t\tallSelected = false;
\t\t\t}
\t\t}
\t\tif (!allSelected) {
\t\t\tinputSelectAll.checked = false;
\t\t}
\t\tconst enable = selected.length > 0;
\t\t// Utility per attivare/disattivare pulsanti
\t\tconst toggleButton = (btnObj) => {
\t\t\tif (!btnObj || !btnObj.btn) return;
\t\t\tbtnObj.btn.className = enable ? GREEN : GREY;
\t\t\tbtnObj.btn.href = enable ? btnObj.href() : 'javascript: void(0)';
\t\t};
\t\t// Applica stato pulsanti
\t\ttoggleButton(buttons.action[index]);
\t\ttoggleButton(buttons.secondary[index]);
\t\ttoggleButton(buttons.third[index]);
\t\tif (buttons.extra[index]) {
\t\t\tbuttons.extra[index].forEach(toggleButton);
\t\t}
\t}
\tfunction sendAction(action, index){
\t\tvar checkboxes = document.getElementsByClassName('ticket_' + index + '_checkbox');
\t\tconst array = [];
\t\tfor(i=0; i<checkboxes.length; i++){
\t\t\tif(checkboxes[i].checked)
\t\t\t\tarray.push(checkboxes[i].value);
\t\t}
\t\t{% do app.session.set('printIndex', 0) %}
\t\tdocument.getElementById('ticketsIds').value = array;
\t\tdocument.getElementById('action').value = action;
\t\tdocument.getElementById('divSuspendEnd').style.display = 'none';
\t\tvar table = document.getElementById('tableTickets');
\t\tswitch(action){
\t\t\tcase 'wrong': var label = 'renderai errati'; break;
\t\t\tcase 'print': var label = 'stamperai'; break;
\t\t\tcase 'take_charge': var label = 'prenderai in carico'; break;
\t\t\tcase 'suspend_end': var label = 'sbloccherai la sospensione per'; document.getElementById('divSuspendEnd').style.display = 'block'; break;
\t\t\tcase 'cancel': var label = 'annullerai'; break;
\t\t\tcase 'approve': var label = 'approverai le sospensioni di'; break;
\t\t\tcase 'delete': var label = 'eliminerai definitivamente'; break;
\t\t\tcase 'urge': var label = 'solleciterai il tecnico a completare'; break;
\t\t\tcase 'export':
\t\t\t\tvar table = document.getElementById('exportTableTickets');
\t\t\t\tdocument.getElementById('exportTicketsIds').value = array;
\t\t\t\tbreak;
\t\t}
\t\tdocument.getElementById('actionLabel').innerHTML = label;
\t\ttable.innerHTML = '<tr><th>Numero</th><th>Cliente</th><th>Operazione</th><th>Fornitore</th></tr>';
\t\tfor(i=0; i<array.length; i++){
\t\t\tvar tr = document.createElement('tr');
\t\t\tvar td1 = document.createElement('td');
\t\t\tvar td2 = document.createElement('td');
\t\t\tvar td3 = document.createElement('td');
\t\t\tvar td4 = document.createElement('td');
\t\t\ttd1.innerHTML = document.getElementById('ticket_number_' + array[i]).innerHTML;
\t\t\ttd2.innerHTML = document.getElementById('ticket_client_' + array[i]).innerHTML;
\t\t\ttd3.innerHTML = document.getElementById('ticket_operation_' + array[i]).innerHTML;
\t\t\ttd4.innerHTML = document.getElementById('ticket_supplier_' + array[i]).innerHTML;
\t\t\ttr.appendChild(td1);
\t\t\ttr.appendChild(td2);
\t\t\ttr.appendChild(td3);
\t\t\ttr.appendChild(td4);
\t\t\ttable.appendChild(tr);
\t\t}
\t\tswitch(index){\t\t\t
\t\t\tcase 0: document.getElementById('multipleTab').value = 'error'; break;
\t\t\tcase 1: document.getElementById('multipleTab').value = 'to_assign'; break;
\t\t\tcase 2: document.getElementById('multipleTab').value = 'assigned'; break;
\t\t\tcase 3: document.getElementById('multipleTab').value = 'taken_charge'; break;
\t\t\tcase 4: document.getElementById('multipleTab').value = 'suspension_request'; break;
\t\t\tcase 5: document.getElementById('multipleTab').value = 'suspended'; break;
\t\t\tcase 6: document.getElementById('multipleTab').value = 'closed'; break;
\t\t\tcase 8: document.getElementById('multipleTab').value = 'canceled'; break;
\t\t\tcase 9: document.getElementById('multipleTab').value = 'wrong'; break;
\t\t\tcase 11: document.getElementById('multipleTab').value = 'assigned'; break;
\t\t\tcase 12: document.getElementById('multipleTab').value = 'taken_charge'; break;
\t\t\tcase 14: document.getElementById('multipleTab').value = 'suspended'; break;
\t\t\tdefault: break;
\t\t}
\t\tswitch(action){
\t\t\tcase 'export': \$('#exportModal').modal({backdrop: 'static', keyboard: false}).modal(\"show\"); break;
\t\t\tdefault: \$('#multipleModal').modal({backdrop: 'static', keyboard: false}).modal(\"show\"); break;
\t\t}
\t}
\tfunction showNotes(id){
\t\tdocument.getElementById('notes_number').innerHTML = document.getElementById('ticket_number_' + id).innerHTML;
\t\tdocument.getElementById('notes_anomaly').innerHTML = document.getElementById('ticket_anomaly_' + id).value;
\t\tdocument.getElementById('notes_client_time').innerHTML = document.getElementById('ticket_client_notes_' + id).value;
\t\tdocument.getElementById('notes_client').innerHTML = document.getElementById('ticket_client_time_' + id).value;
\t\t\$('#notesModal').modal({backdrop: 'static', keyboard: false}).modal(\"show\");
\t}
\tdocument.querySelector('#exportForm').addEventListener('submit', function (e) {
\t\te.preventDefault();
\t\tconst form = e.target;
\t\tconst formData = new FormData(form);
\t\tfetch(form.action, { method: 'POST', body: formData})
\t\t.then(response => {if (!response.ok) throw new Error('Errore export'); return response.blob(); })
\t\t.then(blob => {
\t\t\tconst url = window.URL.createObjectURL(blob);
\t\t\tconst a = document.createElement('a');
\t\t\ta.href = url;
\t\t\ta.download = 'Ticket selezionati.csv';
\t\t\tdocument.body.appendChild(a);
\t\t\ta.click();
\t\t\ta.remove();
\t\t\twindow.URL.revokeObjectURL(url);
\t\t\t\$('#exportModal').modal('hide');
\t\t\ttriggerPage();
\t\t})
\t\t.catch(err => {
\t\t\talert('Errore durante l\\'esportazione');
\t\t\tconsole.error(err);
\t\t});
\t});
</script>
{% endblock %}", "role/user/ticket/list.html.twig", "/var/www/vhosts/eposmanager.software/templates/role/user/ticket/list.html.twig");
}
}