var/cache/dev/twig/d7/d743917aef8522e4aaedbe5361e3d864.php line 53
<?phpuse 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;/* index/qualidade.html.twig */class __TwigTemplate_b1d6c1655b5c7dcaea2335413f67e80e extends Template{private $source;private $macros = [];public function __construct(Environment $env){parent::__construct($env);$this->source = $this->getSourceContext();$this->blocks = ['title' => [$this, 'block_title'],'header' => [$this, 'block_header'],'content_header' => [$this, 'block_content_header'],'main' => [$this, 'block_main'],'content_footer' => [$this, 'block_content_footer'],];}protected function doGetParent(array $context){// line 1return "@EasyAdmin/layout.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", "index/qualidade.html.twig"));$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "index/qualidade.html.twig"));$this->parent = $this->loadTemplate("@EasyAdmin/layout.html.twig", "index/qualidade.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 2public 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 "ArquivosGED";$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);return; yield '';}// line 3public function block_header($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", "header"));$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "header"));$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);return; yield '';}// line 6public function block_content_header($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_header"));$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "content_header"));// line 7yield "<link rel=\"stylesheet\" type=\"text/css\" href=\"";yield Twig\Extension\EscaperExtension::escape($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("./css/index.css"), "html", null, true);yield "\"><link rel=\"shortcut icon\" href=\"";// line 8yield Twig\Extension\EscaperExtension::escape($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("./img/icon.png"), "html", null, true);yield "\"><link href=\"https://cdn.jsdelivr.net/npm/select2@4.1.0-beta.1/dist/css/select2.min.css\" rel=\"stylesheet\" />";$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);return; yield '';}// line 13public function block_main($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", "main"));$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "main"));// line 14yield "<style>/* Estilo básico para ocultar as opções não filtradas */.hidden {display: none;}.table {width: 100%; /* Ajusta a largura da tabela */border-collapse: collapse; /* Remove espaços entre as bordas */}.table thead {position: sticky; /* Mantém o cabeçalho fixo no topo */top: 0;background: white; /* Fundo para visibilidade */z-index: 2;}.table tbody {display: block; /* Torna o tbody um bloco */max-height: 300px; /* Define a altura máxima com scroll */overflow-y: auto; /* Ativa o scroll vertical */width: 100%; /* Garante alinhamento com o thead */max-height: 300px;}.table tbody tr {display: table; /* Garante que os elementos mantenham o estilo de tabela */width: 100%; /* Alinha as colunas */table-layout: fixed; /* Mantém as larguras das colunas */}.table thead tr {display: table; /* Garante alinhamento entre thead e tbody */width: 100%;table-layout: fixed; /* Mantém as larguras das colunas */}</style>";// line 60if (((isset($context["xy"]) || array_key_exists("xy", $context) ? $context["xy"] : (function () { throw new RuntimeError('Variable "xy" does not exist.', 60, $this->source); })()) == 1)) {// line 61yield "<form method='post' id=\"formPdf\">><div class=\"index\"><div class = 'iframe'><input type=\"hidden\" value=\"";// line 65yield Twig\Extension\EscaperExtension::escape($this->env, CoreExtension::getAttribute($this->env, $this->source, (isset($context["pdf"]) || array_key_exists("pdf", $context) ? $context["pdf"] : (function () { throw new RuntimeError('Variable "pdf" does not exist.', 65, $this->source); })()), "id", [], "any", false, false, false, 65), "html", null, true);yield "\" name=\"id_pdf\"><input type=\"hidden\" value=\"";// line 67yield Twig\Extension\EscaperExtension::escape($this->env, CoreExtension::getAttribute($this->env, $this->source, (isset($context["pdf"]) || array_key_exists("pdf", $context) ? $context["pdf"] : (function () { throw new RuntimeError('Variable "pdf" does not exist.', 67, $this->source); })()), "id", [], "any", false, false, false, 67), "html", null, true);yield "\" name=\"id_pdf\"><iframe class = \"ifr\"";// line 70if ((CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["pdf"]) || array_key_exists("pdf", $context) ? $context["pdf"] : (function () { throw new RuntimeError('Variable "pdf" does not exist.', 70, $this->source); })()), "cliente", [], "any", false, false, false, 70), "extraFields", [], "any", false, false, false, 70) == "local")) {// line 71yield " src=\"";yield Twig\Extension\EscaperExtension::escape($this->env, (isset($context["link"]) || array_key_exists("link", $context) ? $context["link"] : (function () { throw new RuntimeError('Variable "link" does not exist.', 71, $this->source); })()), "html", null, true);yield "\"";}// line 73yield "";// line 74if ((CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["pdf"]) || array_key_exists("pdf", $context) ? $context["pdf"] : (function () { throw new RuntimeError('Variable "pdf" does not exist.', 74, $this->source); })()), "cliente", [], "any", false, false, false, 74), "extraFields", [], "any", false, false, false, 74) != "local")) {// line 75yield " src=\"";yield Twig\Extension\EscaperExtension::escape($this->env, (isset($context["all_Url"]) || array_key_exists("all_Url", $context) ? $context["all_Url"] : (function () { throw new RuntimeError('Variable "all_Url" does not exist.', 75, $this->source); })()), "html", null, true);yield "\"";}// line 78yield "></iframe></div><div class= 'form'>";// line 84if (((isset($context["erro"]) || array_key_exists("erro", $context) ? $context["erro"] : (function () { throw new RuntimeError('Variable "erro" does not exist.', 84, $this->source); })()) == "erro")) {// line 85yield " ";yield Twig\Extension\EscaperExtension::escape($this->env, (isset($context["p"]) || array_key_exists("p", $context) ? $context["p"] : (function () { throw new RuntimeError('Variable "p" does not exist.', 85, $this->source); })()), "html", null, true);yield "";}// line 87yield " ";if (((isset($context["erro"]) || array_key_exists("erro", $context) ? $context["erro"] : (function () { throw new RuntimeError('Variable "erro" does not exist.', 87, $this->source); })()) == "ok")) {// line 88yield " ";yield Twig\Extension\EscaperExtension::escape($this->env, (isset($context["p"]) || array_key_exists("p", $context) ? $context["p"] : (function () { throw new RuntimeError('Variable "p" does not exist.', 88, $this->source); })()), "html", null, true);yield "";}// line 90yield " <div class=\"doc\"><button onclick=\"showDiv()\" id=\"Login\" type=\"submit\" name ='botao_volta' class=\"btn btn-primary\" id='back'><svg xmlns=\"http://www.w3.org/2000/svg\" width=\"16\" height=\"16\" fill=\"currentColor\" class=\"bi bi-arrow-left-circle-fill\" viewBox=\"0 0 16 16\"><path d=\"M8 0a8 8 0 1 0 0 16A8 8 0 0 0 8 0m3.5 7.5a.5.5 0 0 1 0 1H5.707l2.147 2.146a.5.5 0 0 1-.708.708l-3-3a.5.5 0 0 1 0-.708l3-3a.5.5 0 1 1 .708.708L5.707 7.5z\"/></svg></button><h4 class='titulo'>";// line 97yield Twig\Extension\EscaperExtension::escape($this->env, CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["pdf"]) || array_key_exists("pdf", $context) ? $context["pdf"] : (function () { throw new RuntimeError('Variable "pdf" does not exist.', 97, $this->source); })()), "tipo", [], "any", false, false, false, 97), "nome", [], "any", false, false, false, 97), "html", null, true);yield "</h4><label>Descrição(OCR):</label><div class=\"form-group\"><textarea class=\"form-control\" id=\"exampleTextarea\" rows=\"3\"name= \"desc\">";// line 102yield Twig\Extension\EscaperExtension::escape($this->env, CoreExtension::getAttribute($this->env, $this->source, (isset($context["pdf"]) || array_key_exists("pdf", $context) ? $context["pdf"] : (function () { throw new RuntimeError('Variable "pdf" does not exist.', 102, $this->source); })()), "extraFields", [], "any", false, false, false, 102), "html", null, true);yield "</textarea></div><hr><label>Nome:</label><input type=\"text\" class=\"form-control\" name= \"nome\" value =\"";// line 106yield Twig\Extension\EscaperExtension::escape($this->env, CoreExtension::getAttribute($this->env, $this->source, (isset($context["pdf"]) || array_key_exists("pdf", $context) ? $context["pdf"] : (function () { throw new RuntimeError('Variable "pdf" does not exist.', 106, $this->source); })()), "nome", [], "any", false, false, false, 106), "html", null, true);yield "\" required><hr><label>Assunto:</label><input type=\"text\" class=\"form-control\" name= \"assunto\" value =\"";// line 110yield Twig\Extension\EscaperExtension::escape($this->env, CoreExtension::getAttribute($this->env, $this->source, (isset($context["pdf"]) || array_key_exists("pdf", $context) ? $context["pdf"] : (function () { throw new RuntimeError('Variable "pdf" does not exist.', 110, $this->source); })()), "assunto", [], "any", false, false, false, 110), "html", null, true);yield "\" required><hr><label>Palavra-Chave:</label><input type=\"text\" class=\"form-control\" name= \"chave\" value =\"";// line 114yield Twig\Extension\EscaperExtension::escape($this->env, CoreExtension::getAttribute($this->env, $this->source, (isset($context["pdf"]) || array_key_exists("pdf", $context) ? $context["pdf"] : (function () { throw new RuntimeError('Variable "pdf" does not exist.', 114, $this->source); })()), "keywords", [], "any", false, false, false, 114), "html", null, true);yield "\"><hr><label>Data Documento:</label><input type=\"date\" class=\"form-control\" name= \"data\" ";// line 119if ((CoreExtension::getAttribute($this->env, $this->source, (isset($context["pdf"]) || array_key_exists("pdf", $context) ? $context["pdf"] : (function () { throw new RuntimeError('Variable "pdf" does not exist.', 119, $this->source); })()), "dataDocumento", [], "any", false, false, false, 119) != null)) {yield "value =\"";yield Twig\Extension\EscaperExtension::escape($this->env, Twig\Extension\CoreExtension::dateFormatFilter($this->env, CoreExtension::getAttribute($this->env, $this->source, (isset($context["pdf"]) || array_key_exists("pdf", $context) ? $context["pdf"] : (function () { throw new RuntimeError('Variable "pdf" does not exist.', 119, $this->source); })()), "dataDocumento", [], "any", false, false, false, 119), "Y-m-d"), "html", null, true);yield "\"";}yield "><hr><label>Classificação:</label><select id=\"meuSelect\" placeholder=\"Pesquise\" name=\"classifica\" class=\"form-control\">";// line 124if ((CoreExtension::getAttribute($this->env, $this->source, (isset($context["pdf"]) || array_key_exists("pdf", $context) ? $context["pdf"] : (function () { throw new RuntimeError('Variable "pdf" does not exist.', 124, $this->source); })()), "classificacao", [], "any", false, false, false, 124) != null)) {// line 125yield " <option value=\"";yield Twig\Extension\EscaperExtension::escape($this->env, CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["pdf"]) || array_key_exists("pdf", $context) ? $context["pdf"] : (function () { throw new RuntimeError('Variable "pdf" does not exist.', 125, $this->source); })()), "classificacao", [], "any", false, false, false, 125), "id", [], "any", false, false, false, 125), "html", null, true);yield "\" data-texto=\"";yield Twig\Extension\EscaperExtension::escape($this->env, CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["pdf"]) || array_key_exists("pdf", $context) ? $context["pdf"] : (function () { throw new RuntimeError('Variable "pdf" does not exist.', 125, $this->source); })()), "classificacao", [], "any", false, false, false, 125), "faseIntermediaria", [], "any", false, false, false, 125), "html", null, true);yield "\" selected>";yield Twig\Extension\EscaperExtension::escape($this->env, CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["pdf"]) || array_key_exists("pdf", $context) ? $context["pdf"] : (function () { throw new RuntimeError('Variable "pdf" does not exist.', 125, $this->source); })()), "classificacao", [], "any", false, false, false, 125), "nome", [], "any", false, false, false, 125), "html", null, true);yield "</option>";}// line 127yield " ";if ((CoreExtension::getAttribute($this->env, $this->source, (isset($context["pdf"]) || array_key_exists("pdf", $context) ? $context["pdf"] : (function () { throw new RuntimeError('Variable "pdf" does not exist.', 127, $this->source); })()), "classificacao", [], "any", false, false, false, 127) == null)) {// line 128yield " <option value=\"\" data-texto=\"\" selected>Selecione</option>";}// line 130yield " ";$context['_parent'] = $context;$context['_seq'] = CoreExtension::ensureTraversable((isset($context["class"]) || array_key_exists("class", $context) ? $context["class"] : (function () { throw new RuntimeError('Variable "class" does not exist.', 130, $this->source); })()));foreach ($context['_seq'] as $context["_key"] => $context["classi"]) {// line 131yield " <option value=\"";yield Twig\Extension\EscaperExtension::escape($this->env, CoreExtension::getAttribute($this->env, $this->source, $context["classi"], "id", [], "any", false, false, false, 131), "html", null, true);yield "\" data-texto=\"";yield Twig\Extension\EscaperExtension::escape($this->env, CoreExtension::getAttribute($this->env, $this->source, $context["classi"], "faseIntermediaria", [], "any", false, false, false, 131), "html", null, true);yield "\">";yield Twig\Extension\EscaperExtension::escape($this->env, CoreExtension::getAttribute($this->env, $this->source, $context["classi"], "nome", [], "any", false, false, false, 131), "html", null, true);yield "</option>";}$_parent = $context['_parent'];unset($context['_seq'], $context['_iterated'], $context['_key'], $context['classi'], $context['_parent'], $context['loop']);$context = array_intersect_key($context, $_parent) + $_parent;// line 132yield "</select><hr><label>Fase Intermediária:</label><input type=\"text\" id=\"resultado\" name=\"fase\" class=\"form-control\" readonly><hr><label>Container:</label><input type=\"text\" class=\"form-control\" name= \"conteiner\" value =\"";// line 139yield Twig\Extension\EscaperExtension::escape($this->env, CoreExtension::getAttribute($this->env, $this->source, (isset($context["pdf"]) || array_key_exists("pdf", $context) ? $context["pdf"] : (function () { throw new RuntimeError('Variable "pdf" does not exist.', 139, $this->source); })()), "conteiner", [], "any", false, false, false, 139), "html", null, true);yield "\"><hr><div class='dados_pesq'><div style=\"text-align:center\"><button type=\"submit\" onclick=\"showDiv()\" id=\"Login\" class=\"btn btn-primary\" name ='botao_doc'>Salvar</button> </div></div></div></div></form>";// line 151if (((isset($context["erro"]) || array_key_exists("erro", $context) ? $context["erro"] : (function () { throw new RuntimeError('Variable "erro" does not exist.', 151, $this->source); })()) == "ok")) {// line 152yield "<a href=\"";// line 153yield $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("qualidade");yield "\"><div class=\"avisos\"><img src=\"";yield Twig\Extension\EscaperExtension::escape($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("./img/check.gif"), "html", null, true);yield "\"><br><y>";yield Twig\Extension\EscaperExtension::escape($this->env, (isset($context["p"]) || array_key_exists("p", $context) ? $context["p"] : (function () { throw new RuntimeError('Variable "p" does not exist.', 153, $this->source); })()), "html", null, true);yield "</y></div></a>";}// line 156yield " <script type=\"text/javascript\" src=\"";yield Twig\Extension\EscaperExtension::escape($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("./js/jquery-2.2.4.min.js"), "html", null, true);yield "\"></script></div>";}// line 159yield "";// line 160if (((isset($context["xy"]) || array_key_exists("xy", $context) ? $context["xy"] : (function () { throw new RuntimeError('Variable "xy" does not exist.', 160, $this->source); })()) == 0)) {// line 161yield " <div><h5 class='titulo'>Controle de Qualidade</h5></div><div><div><table class=\"table table-bordered table-striped\"><thead><tr><th>Repositor</th><th>Nome</th><th>Assunto</th><th>Data do Envio</th><th>Data do Indexação</th><th>Imagen(s)</th><th>Ação</th></tr></thead><tbody id=\"tableBody\">";// line 179$context["doc_null"] = 0;// line 180yield " ";$context['_parent'] = $context;$context['_seq'] = CoreExtension::ensureTraversable((isset($context["documentos"]) || array_key_exists("documentos", $context) ? $context["documentos"] : (function () { throw new RuntimeError('Variable "documentos" does not exist.', 180, $this->source); })()));foreach ($context['_seq'] as $context["_key"] => $context["documento"]) {// line 181yield "";// line 183$context["doc_null"] = ((isset($context["doc_null"]) || array_key_exists("doc_null", $context) ? $context["doc_null"] : (function () { throw new RuntimeError('Variable "doc_null" does not exist.', 183, $this->source); })()) + 1);// line 184yield " <tr><td>";// line 185yield Twig\Extension\EscaperExtension::escape($this->env, CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, $context["documento"], "caixa", [], "any", false, false, false, 185), "nome", [], "any", false, false, false, 185), "html", null, true);yield "</td><td>";// line 186yield Twig\Extension\EscaperExtension::escape($this->env, CoreExtension::getAttribute($this->env, $this->source, $context["documento"], "nome", [], "any", false, false, false, 186), "html", null, true);yield "</td><td>";// line 187yield Twig\Extension\EscaperExtension::escape($this->env, CoreExtension::getAttribute($this->env, $this->source, $context["documento"], "assunto", [], "any", false, false, false, 187), "html", null, true);yield "</td><td>";// line 188yield Twig\Extension\EscaperExtension::escape($this->env, Twig\Extension\CoreExtension::dateFormatFilter($this->env, CoreExtension::getAttribute($this->env, $this->source, $context["documento"], "createdAt", [], "any", false, false, false, 188), "d/m/Y H:i:s"), "html", null, true);yield "</td><td>";// line 189yield Twig\Extension\EscaperExtension::escape($this->env, Twig\Extension\CoreExtension::dateFormatFilter($this->env, CoreExtension::getAttribute($this->env, $this->source, $context["documento"], "indexAt", [], "any", false, false, false, 189), "d/m/Y H:i:s"), "html", null, true);yield "</td><td>";// line 190yield Twig\Extension\EscaperExtension::escape($this->env, CoreExtension::getAttribute($this->env, $this->source, $context["documento"], "qtd", [], "any", false, false, false, 190), "html", null, true);yield "</td><td><form method='post'><input type=\"hidden\" name=\"id\" value=\"";// line 195yield Twig\Extension\EscaperExtension::escape($this->env, CoreExtension::getAttribute($this->env, $this->source, $context["documento"], "id", [], "any", false, false, false, 195), "html", null, true);yield "\" /><button type=\"submit\" name ='botao_index' class=\"btn btn-primary\" onclick=\"showDiv()\" id=\"Login\"><b>Indexar</b><svg xmlns=\"http://www.w3.org/2000/svg\" width=\"16\" height=\"16\" fill=\"currentColor\" class=\"bi bi-text-indent-left\" viewBox=\"0 0 16 16\"><path d=\"M2 3.5a.5.5 0 0 1 .5-.5h11a.5.5 0 0 1 0 1h-11a.5.5 0 0 1-.5-.5m.646 2.146a.5.5 0 0 1 .708 0l2 2a.5.5 0 0 1 0 .708l-2 2a.5.5 0 0 1-.708-.708L4.293 8 2.646 6.354a.5.5 0 0 1 0-.708M7 6.5a.5.5 0 0 1 .5-.5h6a.5.5 0 0 1 0 1h-6a.5.5 0 0 1-.5-.5m0 3a.5.5 0 0 1 .5-.5h6a.5.5 0 0 1 0 1h-6a.5.5 0 0 1-.5-.5m-5 3a.5.5 0 0 1 .5-.5h11a.5.5 0 0 1 0 1h-11a.5.5 0 0 1-.5-.5\"/></svg></button></form></td></tr>";}$_parent = $context['_parent'];unset($context['_seq'], $context['_iterated'], $context['_key'], $context['documento'], $context['_parent'], $context['loop']);$context = array_intersect_key($context, $_parent) + $_parent;// line 208yield " </tbody><thead><tr><th>Total</th></tr></thead><thead><tr><th>";// line 217yield Twig\Extension\EscaperExtension::escape($this->env, (isset($context["doc_null"]) || array_key_exists("doc_null", $context) ? $context["doc_null"] : (function () { throw new RuntimeError('Variable "doc_null" does not exist.', 217, $this->source); })()), "html", null, true);yield "</th></tr></thead></tbody></table></div>";// line 230if (((isset($context["erro"]) || array_key_exists("erro", $context) ? $context["erro"] : (function () { throw new RuntimeError('Variable "erro" does not exist.', 230, $this->source); })()) == "erro")) {// line 231yield " ";yield Twig\Extension\EscaperExtension::escape($this->env, (isset($context["p"]) || array_key_exists("p", $context) ? $context["p"] : (function () { throw new RuntimeError('Variable "p" does not exist.', 231, $this->source); })()), "html", null, true);yield "";}// line 233yield " ";if (((isset($context["erro"]) || array_key_exists("erro", $context) ? $context["erro"] : (function () { throw new RuntimeError('Variable "erro" does not exist.', 233, $this->source); })()) == "ok")) {// line 234yield "<a href=\"https://index.arquivosdoc.com.br/index/indexacao/";// line 236yield Twig\Extension\EscaperExtension::escape($this->env, (isset($context["id"]) || array_key_exists("id", $context) ? $context["id"] : (function () { throw new RuntimeError('Variable "id" does not exist.', 236, $this->source); })()), "html", null, true);yield "\" onclick=\"showDiv()\" id=\"Login\"><div class=\"avisos\"><img src=\"";yield Twig\Extension\EscaperExtension::escape($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("./img/check.gif"), "html", null, true);yield "\"><br><y>";yield Twig\Extension\EscaperExtension::escape($this->env, (isset($context["p"]) || array_key_exists("p", $context) ? $context["p"] : (function () { throw new RuntimeError('Variable "p" does not exist.', 236, $this->source); })()), "html", null, true);yield "</y></div></a>";}// line 239yield "<script>function confirmSubmission(event) {let confirmAction = confirm(\"Você tem certeza que deseja enviar o conteúdo preenchido? Por favor, revise antes de prosseguir.\");if (!confirmAction) {event.preventDefault(); // Impede o envio do formulário} else {// Se necessário, envie o formulário ou execute outras ações aquidocument.querySelector('form').submit(); // Exemplo, caso haja um formulário}}</script><div id=\"loadingGif\" style=\"display:none;\"><div class =\"espera\"><img src=\"";// line 253yield Twig\Extension\EscaperExtension::escape($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("./img/carrega.gif"), "html", null, true);yield "\"></div></div>";}// line 257yield "<!-- Include Select2 JS --><script src=\"https://cdn.jsdelivr.net/npm/select2@4.1.0-beta.1/dist/js/select2.min.js\"></script><script>\$(document).ready(function() {\$('#searchable-select').select2({placeholder: 'Pesquise',allowClear: true});});\$(document).ready(function() {\$('#searchable-select2').select2({placeholder: 'Pesquise',allowClear: true});});</script><script>function atualizarValores() {// Obtém o elemento selectconst selectElement = document.getElementById('meuSelect');// Obtém o valor e o texto personalizados da opção selecionadaconst textoExibido = selectElement.options[selectElement.selectedIndex].getAttribute('data-texto');const valor = selectElement.value;// Atualiza o valor do input com o texto exibido e valor selecionadoconst resultadoInput = document.getElementById('resultado');resultadoInput.value = `\${textoExibido}`;}// Adiciona o evento para que a função seja chamada quando o select mudarwindow.onload = function() {const selectElement = document.getElementById('meuSelect');selectElement.addEventListener('change', atualizarValores);// Atualiza o input inicialmente para o valor padrãoatualizarValores();};</script><script>function showDiv() {document.getElementById('Login').style.display = \"none\";document.getElementById('loadingGif').style.display = \"block\";setTimeout(function() {document.getElementById('loadingGif').style.display = \"none\";document.getElementById('Login').style.display = \"block\";},4000);}function showDivshow() {document.getElementById('botao').style.display = \"none\";document.getElementById('img').style.display = \"none\";document.getElementById('loading').style.display = \"block\";setTimeout(function() {document.getElementById('botao').style.display = \"block\";document.getElementById('loading').style.display = \"none\";document.getElementById('img').style.display = \"block\";},4000);}</script><script>document.getElementById(\"formPdf\").addEventListener(\"keydown\", function(e) {if (e.key === \"Enter\" && e.target.tagName !== \"TEXTAREA\") {e.preventDefault();this.submit();}});</script>";$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);return; yield '';}// line 333public function block_content_footer($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_footer"));$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "content_footer"));$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);return; yield '';}/*** @codeCoverageIgnore*/public function getTemplateName(){return "index/qualidade.html.twig";}/*** @codeCoverageIgnore*/public function isTraitable(){return false;}/*** @codeCoverageIgnore*/public function getDebugInfo(){return array ( 643 => 333, 558 => 257, 551 => 253, 535 => 239, 525 => 236, 521 => 234, 518 => 233, 512 => 231, 510 => 230, 494 => 217, 483 => 208, 464 => 195, 456 => 190, 452 => 189, 448 => 188, 444 => 187, 440 => 186, 436 => 185, 433 => 184, 431 => 183, 427 => 181, 422 => 180, 420 => 179, 400 => 161, 398 => 160, 395 => 159, 388 => 156, 378 => 153, 375 => 152, 373 => 151, 358 => 139, 349 => 132, 336 => 131, 331 => 130, 327 => 128, 324 => 127, 314 => 125, 312 => 124, 300 => 119, 292 => 114, 285 => 110, 278 => 106, 271 => 102, 263 => 97, 254 => 90, 248 => 88, 245 => 87, 239 => 85, 237 => 84, 229 => 78, 222 => 75, 220 => 74, 217 => 73, 211 => 71, 209 => 70, 203 => 67, 198 => 65, 192 => 61, 190 => 60, 142 => 14, 132 => 13, 117 => 8, 112 => 7, 102 => 6, 83 => 3, 63 => 2, 40 => 1,);}public function getSourceContext(){return new Source("{% extends '@EasyAdmin/layout.html.twig' %}{% block title %}ArquivosGED{% endblock %}{% block header %}{% endblock header %}{% block content_header %}<link rel=\"stylesheet\" type=\"text/css\" href=\"{{ asset('./css/index.css') }}\"><link rel=\"shortcut icon\" href=\"{{ asset('./img/icon.png') }}\"><link href=\"https://cdn.jsdelivr.net/npm/select2@4.1.0-beta.1/dist/css/select2.min.css\" rel=\"stylesheet\" />{% endblock content_header %}{% block main %}<style>/* Estilo básico para ocultar as opções não filtradas */.hidden {display: none;}.table {width: 100%; /* Ajusta a largura da tabela */border-collapse: collapse; /* Remove espaços entre as bordas */}.table thead {position: sticky; /* Mantém o cabeçalho fixo no topo */top: 0;background: white; /* Fundo para visibilidade */z-index: 2;}.table tbody {display: block; /* Torna o tbody um bloco */max-height: 300px; /* Define a altura máxima com scroll */overflow-y: auto; /* Ativa o scroll vertical */width: 100%; /* Garante alinhamento com o thead */max-height: 300px;}.table tbody tr {display: table; /* Garante que os elementos mantenham o estilo de tabela */width: 100%; /* Alinha as colunas */table-layout: fixed; /* Mantém as larguras das colunas */}.table thead tr {display: table; /* Garante alinhamento entre thead e tbody */width: 100%;table-layout: fixed; /* Mantém as larguras das colunas */}</style>{% if xy == 1 %}<form method='post' id=\"formPdf\">><div class=\"index\"><div class = 'iframe'><input type=\"hidden\" value=\"{{pdf.id}}\" name=\"id_pdf\"><input type=\"hidden\" value=\"{{pdf.id}}\" name=\"id_pdf\"><iframe class = \"ifr\"{% if pdf.cliente.extraFields == 'local' %}src=\"{{link}}\"{% endif %}{% if pdf.cliente.extraFields != 'local' %}src=\"{{all_Url}}\"{% endif %}></iframe></div><div class= 'form'>{% if erro == 'erro'%}{{p}}{% endif %}{% if erro == 'ok'%}{{p}}{% endif %}<div class=\"doc\"><button onclick=\"showDiv()\" id=\"Login\" type=\"submit\" name ='botao_volta' class=\"btn btn-primary\" id='back'><svg xmlns=\"http://www.w3.org/2000/svg\" width=\"16\" height=\"16\" fill=\"currentColor\" class=\"bi bi-arrow-left-circle-fill\" viewBox=\"0 0 16 16\"><path d=\"M8 0a8 8 0 1 0 0 16A8 8 0 0 0 8 0m3.5 7.5a.5.5 0 0 1 0 1H5.707l2.147 2.146a.5.5 0 0 1-.708.708l-3-3a.5.5 0 0 1 0-.708l3-3a.5.5 0 1 1 .708.708L5.707 7.5z\"/></svg></button><h4 class='titulo'>{{ pdf.tipo.nome }}</h4><label>Descrição(OCR):</label><div class=\"form-group\"><textarea class=\"form-control\" id=\"exampleTextarea\" rows=\"3\"name= \"desc\">{{pdf.extraFields}}</textarea></div><hr><label>Nome:</label><input type=\"text\" class=\"form-control\" name= \"nome\" value =\"{{pdf.nome}}\" required><hr><label>Assunto:</label><input type=\"text\" class=\"form-control\" name= \"assunto\" value =\"{{pdf.assunto}}\" required><hr><label>Palavra-Chave:</label><input type=\"text\" class=\"form-control\" name= \"chave\" value =\"{{pdf.keywords}}\"><hr><label>Data Documento:</label><input type=\"date\" class=\"form-control\" name= \"data\" {% if pdf.dataDocumento != null %}value =\"{{pdf.dataDocumento | date('Y-m-d') }}\"{% endif %}><hr><label>Classificação:</label><select id=\"meuSelect\" placeholder=\"Pesquise\" name=\"classifica\" class=\"form-control\">{% if pdf.classificacao != null %}<option value=\"{{pdf.classificacao.id}}\" data-texto=\"{{ pdf.classificacao.faseIntermediaria }}\" selected>{{pdf.classificacao.nome}}</option>{% endif %}{% if pdf.classificacao == null %}<option value=\"\" data-texto=\"\" selected>Selecione</option>{% endif %}{% for classi in class %}<option value=\"{{ classi.id }}\" data-texto=\"{{ classi.faseIntermediaria }}\">{{ classi.nome }}</option>{% endfor %}</select><hr><label>Fase Intermediária:</label><input type=\"text\" id=\"resultado\" name=\"fase\" class=\"form-control\" readonly><hr><label>Container:</label><input type=\"text\" class=\"form-control\" name= \"conteiner\" value =\"{{pdf.conteiner}}\"><hr><div class='dados_pesq'><div style=\"text-align:center\"><button type=\"submit\" onclick=\"showDiv()\" id=\"Login\" class=\"btn btn-primary\" name ='botao_doc'>Salvar</button> </div></div></div></div></form>{% if erro == 'ok' %}<a href=\"{{ path('qualidade') }}\"><div class=\"avisos\"><img src=\"{{ asset('./img/check.gif') }}\"><br><y>{{p}}</y></div></a>{% endif %}<script type=\"text/javascript\" src=\"{{ asset('./js/jquery-2.2.4.min.js') }}\"></script></div>{% endif %}{% if xy == 0 %}<div><h5 class='titulo'>Controle de Qualidade</h5></div><div><div><table class=\"table table-bordered table-striped\"><thead><tr><th>Repositor</th><th>Nome</th><th>Assunto</th><th>Data do Envio</th><th>Data do Indexação</th><th>Imagen(s)</th><th>Ação</th></tr></thead><tbody id=\"tableBody\">{% set doc_null = 0 %}{% for documento in documentos %}{% set doc_null = doc_null + 1 %}<tr><td>{{documento.caixa.nome}}</td><td>{{documento.nome}}</td><td>{{documento.assunto}}</td><td>{{documento.createdAt | date('d/m/Y H:i:s') }}</td><td>{{documento.indexAt | date('d/m/Y H:i:s') }}</td><td>{{documento.qtd}}</td><td><form method='post'><input type=\"hidden\" name=\"id\" value=\"{{documento.id}}\" /><button type=\"submit\" name ='botao_index' class=\"btn btn-primary\" onclick=\"showDiv()\" id=\"Login\"><b>Indexar</b><svg xmlns=\"http://www.w3.org/2000/svg\" width=\"16\" height=\"16\" fill=\"currentColor\" class=\"bi bi-text-indent-left\" viewBox=\"0 0 16 16\"><path d=\"M2 3.5a.5.5 0 0 1 .5-.5h11a.5.5 0 0 1 0 1h-11a.5.5 0 0 1-.5-.5m.646 2.146a.5.5 0 0 1 .708 0l2 2a.5.5 0 0 1 0 .708l-2 2a.5.5 0 0 1-.708-.708L4.293 8 2.646 6.354a.5.5 0 0 1 0-.708M7 6.5a.5.5 0 0 1 .5-.5h6a.5.5 0 0 1 0 1h-6a.5.5 0 0 1-.5-.5m0 3a.5.5 0 0 1 .5-.5h6a.5.5 0 0 1 0 1h-6a.5.5 0 0 1-.5-.5m-5 3a.5.5 0 0 1 .5-.5h11a.5.5 0 0 1 0 1h-11a.5.5 0 0 1-.5-.5\"/></svg></button></form></td></tr>{% endfor %}</tbody><thead><tr><th>Total</th></tr></thead><thead><tr><th>{{doc_null}}</th></tr></thead></tbody></table></div>{% if erro == 'erro'%}{{p}}{% endif %}{% if erro == 'ok' %}<a href=\"https://index.arquivosdoc.com.br/index/indexacao/{{id}}\" onclick=\"showDiv()\" id=\"Login\"><div class=\"avisos\"><img src=\"{{ asset('./img/check.gif') }}\"><br><y>{{p}}</y></div></a>{% endif %}<script>function confirmSubmission(event) {let confirmAction = confirm(\"Você tem certeza que deseja enviar o conteúdo preenchido? Por favor, revise antes de prosseguir.\");if (!confirmAction) {event.preventDefault(); // Impede o envio do formulário} else {// Se necessário, envie o formulário ou execute outras ações aquidocument.querySelector('form').submit(); // Exemplo, caso haja um formulário}}</script><div id=\"loadingGif\" style=\"display:none;\"><div class =\"espera\"><img src=\"{{ asset('./img/carrega.gif') }}\"></div></div>{% endif %}<!-- Include Select2 JS --><script src=\"https://cdn.jsdelivr.net/npm/select2@4.1.0-beta.1/dist/js/select2.min.js\"></script><script>\$(document).ready(function() {\$('#searchable-select').select2({placeholder: 'Pesquise',allowClear: true});});\$(document).ready(function() {\$('#searchable-select2').select2({placeholder: 'Pesquise',allowClear: true});});</script><script>function atualizarValores() {// Obtém o elemento selectconst selectElement = document.getElementById('meuSelect');// Obtém o valor e o texto personalizados da opção selecionadaconst textoExibido = selectElement.options[selectElement.selectedIndex].getAttribute('data-texto');const valor = selectElement.value;// Atualiza o valor do input com o texto exibido e valor selecionadoconst resultadoInput = document.getElementById('resultado');resultadoInput.value = `\${textoExibido}`;}// Adiciona o evento para que a função seja chamada quando o select mudarwindow.onload = function() {const selectElement = document.getElementById('meuSelect');selectElement.addEventListener('change', atualizarValores);// Atualiza o input inicialmente para o valor padrãoatualizarValores();};</script><script>function showDiv() {document.getElementById('Login').style.display = \"none\";document.getElementById('loadingGif').style.display = \"block\";setTimeout(function() {document.getElementById('loadingGif').style.display = \"none\";document.getElementById('Login').style.display = \"block\";},4000);}function showDivshow() {document.getElementById('botao').style.display = \"none\";document.getElementById('img').style.display = \"none\";document.getElementById('loading').style.display = \"block\";setTimeout(function() {document.getElementById('botao').style.display = \"block\";document.getElementById('loading').style.display = \"none\";document.getElementById('img').style.display = \"block\";},4000);}</script><script>document.getElementById(\"formPdf\").addEventListener(\"keydown\", function(e) {if (e.key === \"Enter\" && e.target.tagName !== \"TEXTAREA\") {e.preventDefault();this.submit();}});</script>{% endblock main %}{% block content_footer %}{% endblock content_footer %}", "index/qualidade.html.twig", "/home/wwarqu/index/templates/index/qualidade.html.twig");}}