<?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_index_autocharge.twig */
class __TwigTemplate_64424ef78ae7e53d2358d40fc08e01e853ee076fe2191cda7fa0a56968bfd08f 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-orderAccount').first().after(\$('#remise_payment4_autocharge'));
    });
</script>
<div class=\"d-none\">
    <div id=\"remise_payment4_autocharge\">
        <div class=\"ec-rectHeading\">
            <h2>";
        // line 9
        echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("remise_payment4.ac.front.shopping.acinfo.title"), "html", null, true);
        echo "</h2>
        </div>
        <div>
            ";
        // line 12
        if ((twig_get_attribute($this->env, $this->source, ($context["Order"] ?? null), "payment_total", [], "any", false, false, false, 12) > 0)) {
            // line 13
            echo "                本取引では";
            echo twig_escape_filter($this->env, twig_number_format_filter($this->env, twig_get_attribute($this->env, $this->source, ($context["Order"] ?? null), "payment_total", [], "any", false, false, false, 13)), "html", null, true);
            echo "円を課金し、以下の内容で自動継続課金の登録を行います。
            ";
        } else {
            // line 15
            echo "                以下の内容で自動継続課金の登録を行います。
            ";
        }
        // line 17
        echo "            <br />・課金額：";
        echo twig_escape_filter($this->env, twig_number_format_filter($this->env, ($context["remiseAcAmount"] ?? null)), "html", null, true);
        echo "円
            <br />・次回課金日：商品発送から約1ヵ月後";
        // line 19
        echo "            ";
        if ((twig_get_attribute($this->env, $this->source, ($context["RemiseAcType"] ?? null), "getCount", [], "any", false, false, false, 19) != 1)) {
            // line 20
            echo "                <br />・課金間隔：";
            echo twig_escape_filter($this->env, ($context["remiseAcInterval"] ?? null), "html", null, true);
            echo "
            ";
        }
        // line 22
        echo "            ";
        if ((((twig_get_attribute($this->env, $this->source, ($context["RemiseAcType"] ?? null), "getCount", [], "any", false, false, false, 22) != null) && (twig_get_attribute($this->env, $this->source, ($context["RemiseAcType"] ?? null), "getCount", [], "any", false, false, false, 22) != "")) && (twig_get_attribute($this->env, $this->source, ($context["RemiseAcType"] ?? null), "getCount", [], "any", false, false, false, 22) > 0))) {
            // line 23
            echo "                <br />・課金回数：";
            echo twig_escape_filter($this->env, ($context["remiseAcCount"] ?? null), "html", null, true);
            echo "
            ";
        }
        // line 25
        echo "        </div>
    </div>
</div>
";
    }

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

    public function isTraitable()
    {
        return false;
    }

    public function getDebugInfo()
    {
        return array (  88 => 25,  82 => 23,  79 => 22,  73 => 20,  70 => 19,  65 => 17,  61 => 15,  55 => 13,  53 => 12,  47 => 9,  37 => 1,);
    }

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