<?php

use Twig\Environment;
use Twig\Error\LoaderError;
use Twig\Error\RuntimeError;
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;

/* @ApteqPeriodical/admin/Order/periodical_index.twig */
class __TwigTemplate_cccc7dfbb109266c25bd0b10d06f5feeab49d960a3cdaba3d6a228c964b69739 extends \Eccube\Twig\Template
{
    private $source;
    private $macros = [];

    public function __construct(Environment $env)
    {
        parent::__construct($env);

        $this->source = $this->getSourceContext();

        $this->parent = false;

        $this->blocks = [
        ];
    }

    protected function doDisplay(array $context, array $blocks = [])
    {
        $macros = $this->macros;
        // line 1
        echo "<script>
    \$(function () {
        \$('.searchDetail__append').appendTo(\$('#searchDetail'));
        
        var classname = \"td_\"    
        let table = document.getElementById('search_result');
        let i=0;
        for (let row of table.rows) {
            for(let cell of row.cells){
               i = i + 1; 
               cell.classList.add(classname+i);
            }
            i = 0;
        }
        //\$('.periodical_status').appendTo(\$('.td_4'));
        //\$('.deliv_date').appendTo(\$('.td_7'));
    })
</script>
<div class=\"row searchDetail__append\">
    <div class=\"col mt-3 mb-3\">
        <label class=\"col-form-label\">通常/定期</label>
        <div class=\"form-row align-items-center\">
            <div class=\"col\">
                ";
        // line 24
        echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(twig_get_attribute($this->env, $this->source, ($context["searchForm"] ?? null), "sale_type", [], "any", false, false, false, 24), 'widget', ["label_attr" => ["class" => "checkbox-inline"]]);
        echo "
                ";
        // line 25
        echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(twig_get_attribute($this->env, $this->source, ($context["searchForm"] ?? null), "sale_type", [], "any", false, false, false, 25), 'errors');
        echo "
            </div>
        </div>
    </div>
    <div class=\"col mt-3 mb-3\">
        <label class=\"col-form-label\">定期購入継続状況</label>
        <div class=\"form-row align-items-center\">
            <div class=\"col\">
                ";
        // line 33
        echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(twig_get_attribute($this->env, $this->source, ($context["searchForm"] ?? null), "periodical_status", [], "any", false, false, false, 33), 'widget', ["label_attr" => ["class" => "checkbox-inline"]]);
        echo "
                ";
        // line 34
        echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(twig_get_attribute($this->env, $this->source, ($context["searchForm"] ?? null), "periodical_status", [], "any", false, false, false, 34), 'errors');
        echo "
            </div>
        </div>
    </div>
</div>";
    }

    public function getTemplateName()
    {
        return "@ApteqPeriodical/admin/Order/periodical_index.twig";
    }

    public function isTraitable()
    {
        return false;
    }

    public function getDebugInfo()
    {
        return array (  81 => 34,  77 => 33,  66 => 25,  62 => 24,  37 => 1,);
    }

    public function getSourceContext()
    {
        return new Source("", "@ApteqPeriodical/admin/Order/periodical_index.twig", "/home/probiotech2/www/mamebio/app/Plugin/ApteqPeriodical/Resource/template/admin/Order/periodical_index.twig");
    }
}
