<?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;

/* RemisePayment4/Resource/template/sub_shopping_confirm_payquick.twig */
class __TwigTemplate_f6f589af92e249482cc97e6ee3a1d4217b81c802082331de6d0f9aa4e00fb6a6 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(){
        \$('.ec-orderPayment').first().after(\$('#remise_payment4_payquick'));
    });
</script>
<div class=\"d-none\">
    <div id=\"remise_payment4_payquick\" class=\"ec-orderPayment\">
        <div class=\"ec-rectHeading\">
            <h2>";
        // line 9
        echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("remise_payment4.front.label.card_info"), "html", null, true);
        echo "</h2>
        </div>
        ";
        // line 11
        if ((twig_get_attribute($this->env, $this->source, ($context["PayquickInfo"] ?? null), "payquick_state", [], "any", false, false, false, 11) == "2")) {
            // line 12
            echo "        <div class=\"ec-blockRadio\">
            ";
            // line 13
            if ((twig_get_attribute($this->env, $this->source, ($context["PayquickInfo"] ?? null), "use_payquick", [], "any", false, false, false, 13) == "1")) {
                // line 14
                echo "            <span>";
                echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("remise_payment4.front.label.use_payquick.use"), "html", null, true);
                echo "</span>
            <div id=\"shopping_order_remise_payment4_use_payquick_info\">
                <div>
                    <label>";
                // line 17
                echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("remise_payment4.common.label.card"), "html", null, true);
                echo "</label>
                    <span class=\"form-control\">";
                // line 18
                echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, ($context["Payquick"] ?? null), "getDispCardParts", [], "any", false, false, false, 18), "html", null, true);
                echo "</span>
                </div>
                <div>
                    <label>";
                // line 21
                echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("remise_payment4.common.label.expire"), "html", null, true);
                echo "</label>
                    <span class=\"form-control\">";
                // line 22
                echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, ($context["Payquick"] ?? null), "getDispExpire", [], "any", false, false, false, 22), "html", null, true);
                echo "</span>
                </div>
            </div>
            ";
            } else {
                // line 26
                echo "            <span>";
                echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("remise_payment4.front.label.use_payquick.notuse"), "html", null, true);
                echo "</span>
            ";
            }
            // line 28
            echo "            <input type=\"hidden\" id=\"shopping_order_remise_payment4_use_payquick\" name=\"_shopping_order[remise_payment4_use_payquick]\" value=\"";
            echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, ($context["PayquickInfo"] ?? null), "use_payquick", [], "any", false, false, false, 28), "html", null, true);
            echo "\">
        </div>
        <hr class=\"borderline\"/>
        <div class=\"ec-blockRadio\">
            ";
            // line 32
            if ((twig_get_attribute($this->env, $this->source, ($context["PayquickInfo"] ?? null), "regist_payquick", [], "any", false, false, false, 32) == "1")) {
                // line 33
                echo "            <span>";
                echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("remise_payment4.front.label.regist_payquick"), "html", null, true);
                echo "</span>
            <input type=\"hidden\" id=\"shopping_order_remise_payment4_regist_payquick\" name=\"_shopping_order[remise_payment4_regist_payquick][]\" value=\"1\">
            ";
            } else {
                // line 36
                echo "            <span>";
                echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("remise_payment4.front.label.not_regist_payquick"), "html", null, true);
                echo "</span>
            <input type=\"hidden\" id=\"shopping_order_remise_payment4_regist_payquick\" name=\"_shopping_order[remise_payment4_regist_payquick][]\" value=\"\">
            ";
            }
            // line 39
            echo "        </div>
        <hr class=\"borderline\"/>
        <div class=\"ec-blockRadio\">
            <span>
                ";
            // line 43
            echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, ($context["PayquickInfo"] ?? null), "method_name", [], "any", false, false, false, 43), "html", null, true);
            echo "
                ";
            // line 44
            if ((twig_get_attribute($this->env, $this->source, ($context["PayquickInfo"] ?? null), "method", [], "any", false, false, false, 44) == "61")) {
                // line 45
                echo "                （";
                echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, ($context["PayquickInfo"] ?? null), "ptimes_name", [], "any", false, false, false, 45), "html", null, true);
                echo "）
                ";
            }
            // line 47
            echo "            </span>
            <input type=\"hidden\" id=\"shopping_order_remise_payment4_method\" name=\"_shopping_order[remise_payment4_method]\" value=\"";
            // line 48
            echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, ($context["PayquickInfo"] ?? null), "method", [], "any", false, false, false, 48), "html", null, true);
            echo "\">
            <input type=\"hidden\" id=\"shopping_order_remise_payment4_ptimes\" name=\"_shopping_order[remise_payment4_ptimes]\" value=\"";
            // line 49
            echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, ($context["PayquickInfo"] ?? null), "ptimes", [], "any", false, false, false, 49), "html", null, true);
            echo "\">
        </div>

        ";
        } elseif ((twig_get_attribute($this->env, $this->source,         // line 52
($context["PayquickInfo"] ?? null), "payquick_state", [], "any", false, false, false, 52) == "1")) {
            // line 53
            echo "        <div class=\"ec-blockRadio\">
            ";
            // line 54
            if ((twig_get_attribute($this->env, $this->source, ($context["PayquickInfo"] ?? null), "regist_payquick", [], "any", false, false, false, 54) == "1")) {
                // line 55
                echo "            <span>";
                echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("remise_payment4.front.label.regist_payquick"), "html", null, true);
                echo "</span>
            <input type=\"hidden\" id=\"shopping_order_remise_payment4_regist_payquick\" name=\"_shopping_order[remise_payment4_regist_payquick][]\" value=\"1\">
            ";
            } else {
                // line 58
                echo "            <span>";
                echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("remise_payment4.front.label.not_regist_payquick"), "html", null, true);
                echo "</span>
            <input type=\"hidden\" id=\"shopping_order_remise_payment4_regist_payquick\" name=\"_shopping_order[remise_payment4_regist_payquick][]\" value=\"\">
            ";
            }
            // line 61
            echo "        </div>
        ";
        }
        // line 63
        echo "    </div>
</div>
";
    }

    public function getTemplateName()
    {
        return "RemisePayment4/Resource/template/sub_shopping_confirm_payquick.twig";
    }

    public function isTraitable()
    {
        return false;
    }

    public function getDebugInfo()
    {
        return array (  173 => 63,  169 => 61,  162 => 58,  155 => 55,  153 => 54,  150 => 53,  148 => 52,  142 => 49,  138 => 48,  135 => 47,  129 => 45,  127 => 44,  123 => 43,  117 => 39,  110 => 36,  103 => 33,  101 => 32,  93 => 28,  87 => 26,  80 => 22,  76 => 21,  70 => 18,  66 => 17,  59 => 14,  57 => 13,  54 => 12,  52 => 11,  47 => 9,  37 => 1,);
    }

    public function getSourceContext()
    {
        return new Source("", "RemisePayment4/Resource/template/sub_shopping_confirm_payquick.twig", "/home/probiotech2/www/mamebio/app/Plugin/RemisePayment4/Resource/template/sub_shopping_confirm_payquick.twig");
    }
}
