<?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_mypage_history_autocharge.twig */
class __TwigTemplate_cac75eefa284d7c0d541029cbb476d131058cac89aa262d2e1e3c073f2c8766b 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-orderOrder').first().after(\$('#remise_payment4_autochrage'));
    });
</script>
<div class=\"d-none\">
    <div id=\"remise_payment4_autochrage\">
        <!--タイトル-->
        <div class=\"ec-rectHeading\">
            <h2>";
        // line 10
        echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("remise_payment4.ac.front.mypage_history_autocharge.label.title"), "html", null, true);
        echo "</h2>
        </div>
        <!--購買情報-->
        <div class=\"row\" style=\"padding-bottom:5px;\">
            <label class=\"col-sm-10\">";
        // line 14
        echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("remise_payment4.ac.front.mypage_history_autocharge.label.sub_title.autocharge_info"), "html", null, true);
        echo "</label>
        </div>
        <!--メンバーID-->
        <div class=\"row\" style=\"padding-bottom:5px;\">
            <div class=\"col-sm-3\">";
        // line 18
        echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("remise_payment4.ac.front.mypage_history_autocharge.label.member_id"), "html", null, true);
        echo "</div>
            <div class=\"col-sm-7\">";
        // line 19
        echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, ($context["RemiseACMember"] ?? null), "getId", [], "any", false, false, false, 19), "html", null, true);
        echo "</div>
        </div>
        <!--定期購買金額-->
        <div class=\"row\" style=\"padding-bottom:5px;\">
            <div class=\"col-sm-3\">";
        // line 23
        echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("remise_payment4.ac.front.mypage_history_autocharge.label.total"), "html", null, true);
        echo "</div>
            <div class=\"col-sm-7\">";
        // line 24
        echo twig_escape_filter($this->env, $this->extensions['Eccube\Twig\Extension\EccubeExtension']->getPriceFilter(twig_get_attribute($this->env, $this->source, ($context["RemiseACMember"] ?? null), "getTotal", [], "any", false, false, false, 24)), "html", null, true);
        echo "</div>
        </div>
        <!--課金開始日-->
        <div class=\"row\" style=\"padding-bottom:5px;\">
            <div class=\"col-sm-3\">";
        // line 28
        echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("remise_payment4.ac.front.mypage_history_autocharge.label.start_date"), "html", null, true);
        echo "</div>
            <div class=\"col-sm-7\">";
        // line 29
        echo twig_escape_filter($this->env, twig_date_format_filter($this->env, twig_get_attribute($this->env, $this->source, ($context["RemiseACMember"] ?? null), "getStartDate", [], "any", false, false, false, 29), "Y/m/d"), "html", null, true);
        echo "</div>
        </div>
        ";
        // line 31
        if ((twig_get_attribute($this->env, $this->source, ($context["RemiseACMember"] ?? null), "isLimitless", [], "any", false, false, false, 31) == false)) {
            // line 32
            echo "        <!--購買回数-->
        <div class=\"row\" style=\"padding-bottom:5px;\">
            <div class=\"col-sm-3\">";
            // line 34
            echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("remise_payment4.ac.front.mypage_history_autocharge.label.count"), "html", null, true);
            echo "</div>
            <div class=\"col-sm-7\">";
            // line 35
            echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, ($context["RemiseACMember"] ?? null), "getCount", [], "any", false, false, false, 35), "html", null, true);
            echo "</div>
        </div>
        ";
        }
        // line 38
        echo "        <!--課金間隔-->
        <div class=\"row\" style=\"padding-bottom:5px;\">
            <div class=\"col-sm-3\">";
        // line 40
        echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("remise_payment4.ac.front.mypage_history_autocharge.label.interval"), "html", null, true);
        echo "</div>
            ";
        // line 41
        if ((twig_get_attribute($this->env, $this->source, ($context["RemiseACMember"] ?? null), "getIntervalMark", [], "any", false, false, false, 41) == $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("remise_payment4.ac.plg_remise_payment4_remise_ac_type.interval_marks.m.key"))) {
            // line 42
            echo "            <div class=\"col-sm-7\">";
            echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, ($context["RemiseACMember"] ?? null), "getIntervalValue", [], "any", false, false, false, 42), "html", null, true);
            echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("remise_payment4.ac.plg_remise_payment4_remise_ac_type.interval_marks.m.value"), "html", null, true);
            echo "</div>
            ";
        } elseif ((twig_get_attribute($this->env, $this->source,         // line 43
($context["RemiseACMember"] ?? null), "getIntervalMark", [], "any", false, false, false, 43) == $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("remise_payment4.ac.plg_remise_payment4_remise_ac_type.interval_marks.d.key"))) {
            // line 44
            echo "            <div class=\"col-sm-7\">";
            echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, ($context["RemiseACMember"] ?? null), "getIntervalValue", [], "any", false, false, false, 44), "html", null, true);
            echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("remise_payment4.ac.plg_remise_payment4_remise_ac_type.interval_marks.d.value"), "html", null, true);
            echo "</div>
            ";
        }
        // line 46
        echo "        </div>
        ";
        // line 47
        if (((twig_get_attribute($this->env, $this->source, ($context["RemiseACMember"] ?? null), "isStatus", [], "any", false, false, false, 47) && ($context["useKeizokuEditExtend"] ?? null)) && ($context["useKeizokuResultExtend"] ?? null))) {
            // line 48
            echo "        <!--次回課金日-->
        <div class=\"row\" style=\"padding-bottom:5px;\">
            <div class=\"col-sm-3\">";
            // line 50
            echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("remise_payment4.ac.front.mypage_history_autocharge.label.next_date"), "html", null, true);
            echo "</div>
            <div class=\"col-sm-7\">";
            // line 51
            echo twig_escape_filter($this->env, twig_date_format_filter($this->env, twig_get_attribute($this->env, $this->source, ($context["RemiseACMember"] ?? null), "getNextDate", [], "any", false, false, false, 51), "Y/m/d"), "html", null, true);
            echo "</div>
        </div>
        ";
        }
        // line 54
        echo "        ";
        if ((twig_get_attribute($this->env, $this->source, ($context["RemiseACMember"] ?? null), "isStatus", [], "any", false, false, false, 54) && twig_get_attribute($this->env, $this->source, ($context["RemiseACMember"] ?? null), "getStopDate", [], "any", false, false, false, 54))) {
            // line 55
            echo "        <!--課金停止予定日-->
        <div class=\"row\" style=\"padding-bottom:5px;\">
            <div class=\"col-sm-3\">";
            // line 57
            echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("remise_payment4.ac.front.mypage_history_autocharge.label.stop_date"), "html", null, true);
            echo "</div>
            <div class=\"col-sm-7\">";
            // line 58
            echo twig_escape_filter($this->env, twig_date_format_filter($this->env, twig_get_attribute($this->env, $this->source, ($context["RemiseACMember"] ?? null), "getStopDate", [], "any", false, false, false, 58), "Y/m/d"), "html", null, true);
            echo "</div>
        </div>
        ";
        }
        // line 61
        echo "        ";
        if ((((twig_get_attribute($this->env, $this->source, ($context["RemiseACMember"] ?? null), "isStatus", [], "any", false, false, false, 61) && ($context["useKeizokuEditExtend"] ?? null)) && ($context["useKeizokuResultExtend"] ?? null)) && (twig_get_attribute($this->env, $this->source, ($context["RemiseACMember"] ?? null), "getSkip", [], "any", false, false, false, 61) == 1))) {
            // line 62
            echo "        <!--スキップボタン-->
        <div class=\"row\" style=\"padding-bottom:5px;\">
            <div class=\"col-sm-3\">";
            // line 64
            echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("remise_payment4.ac.front.mypage_history_autocharge.label.skip"), "html", null, true);
            echo "</div>
            <div class=\"col-sm-7\">
            ";
            // line 66
            if ((($context["skippingFlg"] ?? null) == 1)) {
                // line 67
                echo "                <a href=\"";
                echo twig_escape_filter($this->env, $this->extensions['Eccube\Twig\Extension\IgnoreRoutingNotFoundExtension']->getUrl("remise_payment4_ac_mypage_skip", ["order_id" => twig_get_attribute($this->env, $this->source, ($context["Order"] ?? null), "getId", [], "any", false, false, false, 67)]), "html", null, true);
                echo "\" class=\"btn btn-default btn-sm\">";
                echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("remise_payment4.ac.front.mypage_history_autocharge.label.skip_button"), "html", null, true);
                echo "</a>
            ";
            } else {
                // line 69
                echo "                <button class=\"btn btn-default btn-sm\" disabled>";
                echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("remise_payment4.ac.front.mypage_history_autocharge.label.skip_button"), "html", null, true);
                echo "</button>
            ";
            }
            // line 71
            echo "            </div>
        </div>
        ";
        }
        // line 74
        echo "        ";
        if ((twig_get_attribute($this->env, $this->source, ($context["RemiseACMember"] ?? null), "getStop", [], "any", false, false, false, 74) == 2)) {
            // line 75
            echo "        <!--最低利用期間-->
        <div class=\"row\" style=\"padding-bottom:5px;\">
            <div class=\"col-sm-3\">";
            // line 77
            echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("remise_payment4.ac.front.mypage_history_autocharge.label.usage"), "html", null, true);
            echo "</div>
            <div class=\"col-sm-7\">
            ";
            // line 79
            if (($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("remise_payment4.ac.plg_remise_payment4_remise_ac_type.usage_mark.m.key") == twig_get_attribute($this->env, $this->source, ($context["RemiseACMember"] ?? null), "getUsageMark", [], "any", false, false, false, 79))) {
                // line 80
                echo "                ";
                echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, ($context["RemiseACMember"] ?? null), "getUsageValue", [], "any", false, false, false, 80), "html", null, true);
                echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("remise_payment4.ac.plg_remise_payment4_remise_ac_type.usage_mark.m.value"), "html", null, true);
                echo "
            ";
            } elseif (($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("remise_payment4.ac.plg_remise_payment4_remise_ac_type.usage_mark.d.key") == twig_get_attribute($this->env, $this->source,             // line 81
($context["RemiseACMember"] ?? null), "getUsageMark", [], "any", false, false, false, 81))) {
                // line 82
                echo "                ";
                echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, ($context["RemiseACMember"] ?? null), "getUsageValue", [], "any", false, false, false, 82), "html", null, true);
                echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("remise_payment4.ac.plg_remise_payment4_remise_ac_type.usage_mark.d.value"), "html", null, true);
                echo "
            ";
            }
            // line 84
            echo "            </div>
        </div>
        ";
        }
        // line 87
        echo "        ";
        if (twig_get_attribute($this->env, $this->source, ($context["RemiseACMember"] ?? null), "isStatus", [], "any", false, false, false, 87)) {
            // line 88
            echo "        ";
            if ((twig_get_attribute($this->env, $this->source, ($context["RemiseACMember"] ?? null), "getStop", [], "any", false, false, false, 88) != 1)) {
                // line 89
                echo "        <!--解約について-->
        <div class=\"row\" style=\"padding-bottom:2px;\">
            <div class=\"col-sm-3\">";
                // line 91
                echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("remise_payment4.ac.front.mypage_history_autocharge.label.stop"), "html", null, true);
                echo "</div>
            <div class=\"col-sm-7\">";
                // line 92
                echo twig_escape_filter($this->env, ($context["dispAcStopFlg"] ?? null), "html", null, true);
                echo "</div>
        </div>
        ";
            }
            // line 95
            echo "        ";
        } else {
            // line 96
            echo "        <!--解約状態-->
        <div class=\"row\" style=\"padding-bottom:2px;\">
            <div class=\"col-sm-3\">";
            // line 98
            echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("remise_payment4.ac.front.mypage_history_autocharge.label.status"), "html", null, true);
            echo "</div>
            <div class=\"col-sm-7\"><span style=\"color:#ff0000;\">";
            // line 99
            echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("remise_payment4.ac.front.mypage_history_autocharge.label.stoped"), "html", null, true);
            echo "</span></div>
        </div>
        ";
        }
        // line 102
        echo "        ";
        if ((($context["refusalFlg"] ?? null) != 0)) {
            // line 103
            echo "        <!--解約ボタン-->
        <div class=\"row\" style=\"padding-bottom:8px;\">
            <div class=\"col-sm-offset-3 col-sm-7\">
            ";
            // line 106
            if ((($context["refusalFlg"] ?? null) == 1)) {
                // line 107
                echo "                <a href=\"";
                echo twig_escape_filter($this->env, $this->extensions['Eccube\Twig\Extension\IgnoreRoutingNotFoundExtension']->getUrl("remise_payment4_ac_mypage_cancel", ["order_id" => twig_get_attribute($this->env, $this->source, ($context["Order"] ?? null), "getId", [], "any", false, false, false, 107)]), "html", null, true);
                echo "\" class=\"btn btn-default btn-sm\">";
                echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("remise_payment4.ac.front.mypage_history_autocharge.label.stop_button"), "html", null, true);
                echo "</a>
            ";
            } elseif ((            // line 108
($context["refusalFlg"] ?? null) == 2)) {
                // line 109
                echo "                <button class=\"btn btn-default btn-sm\" disabled>";
                echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("remise_payment4.ac.front.mypage_history_autocharge.label.stop_button"), "html", null, true);
                echo "</button>
            ";
            }
            // line 111
            echo "            </div>
        </div>
        ";
        }
        // line 114
        echo "
        ";
        // line 115
        if (twig_get_attribute($this->env, $this->source, ($context["RemiseACMember"] ?? null), "isStatus", [], "any", false, false, false, 115)) {
            // line 116
            echo "        <!--カード情報-->
        <div class=\"row\" style=\"padding-top:15px; padding-bottom:5px;\">
            <label class=\"col-sm-10\">";
            // line 118
            echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("remise_payment4.ac.front.mypage_history_autocharge.label.sub_title.card_info"), "html", null, true);
            echo "</label>
        </div>
        ";
            // line 120
            if ((twig_get_attribute($this->env, $this->source, ($context["RemiseACMember"] ?? null), "getCardparts", [], "any", false, false, false, 120) != "")) {
                // line 121
                echo "        <!--カード番号-->
        <div class=\"row\" style=\"padding-bottom:5px;\">
            <div class=\"col-sm-3\">";
                // line 123
                echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("remise_payment4.ac.front.mypage_history_autocharge.label.cardparts"), "html", null, true);
                echo "</div>
            <div class=\"col-sm-7\">";
                // line 124
                echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, ($context["RemiseACMember"] ?? null), "getCardpartsProcessing", [], "any", false, false, false, 124), "html", null, true);
                echo "</div>
        </div>
        <!--有効期限-->
        <div class=\"row\" style=\"padding-bottom:5px;\">
            <div class=\"col-sm-3\">";
                // line 128
                echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("remise_payment4.ac.front.mypage_history_autocharge.label.expire"), "html", null, true);
                echo "</div>
            <div class=\"col-sm-7\">";
                // line 129
                echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, ($context["RemiseACMember"] ?? null), "getExpireProcessing", [], "any", false, false, false, 129), "html", null, true);
                echo "</div>
        </div>
        ";
            }
            // line 132
            echo "        <!--カード情報更新ボタン-->
        <div class=\"row\" style=\"padding-bottom:8px;\">
            <div class=\"col-sm-offset-3 col-sm-7\">
                <a href=\"";
            // line 135
            echo twig_escape_filter($this->env, $this->extensions['Eccube\Twig\Extension\IgnoreRoutingNotFoundExtension']->getUrl("remise_payment4_ac_mypage_card_update", ["order_id" => twig_get_attribute($this->env, $this->source, ($context["Order"] ?? null), "getId", [], "any", false, false, false, 135)]), "html", null, true);
            echo "\" class=\"btn btn-default btn-sm\">";
            echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("remise_payment4.ac.front.mypage_history_autocharge.label.card_update_button"), "html", null, true);
            echo "</a>
            </div>
        </div>
        ";
        }
        // line 139
        echo "
    </div>
</div>
";
    }

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

    public function isTraitable()
    {
        return false;
    }

    public function getDebugInfo()
    {
        return array (  359 => 139,  350 => 135,  345 => 132,  339 => 129,  335 => 128,  328 => 124,  324 => 123,  320 => 121,  318 => 120,  313 => 118,  309 => 116,  307 => 115,  304 => 114,  299 => 111,  293 => 109,  291 => 108,  284 => 107,  282 => 106,  277 => 103,  274 => 102,  268 => 99,  264 => 98,  260 => 96,  257 => 95,  251 => 92,  247 => 91,  243 => 89,  240 => 88,  237 => 87,  232 => 84,  225 => 82,  223 => 81,  217 => 80,  215 => 79,  210 => 77,  206 => 75,  203 => 74,  198 => 71,  192 => 69,  184 => 67,  182 => 66,  177 => 64,  173 => 62,  170 => 61,  164 => 58,  160 => 57,  156 => 55,  153 => 54,  147 => 51,  143 => 50,  139 => 48,  137 => 47,  134 => 46,  127 => 44,  125 => 43,  119 => 42,  117 => 41,  113 => 40,  109 => 38,  103 => 35,  99 => 34,  95 => 32,  93 => 31,  88 => 29,  84 => 28,  77 => 24,  73 => 23,  66 => 19,  62 => 18,  55 => 14,  48 => 10,  37 => 1,);
    }

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