<?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_complete_autocharge.twig */
class __TwigTemplate_13f18c4630ab6134e59ab30431013c7efbcb7d686e4e48002be62e74a65b0e75 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 "<div style=\"width:110%\">
    <h4 style=\"text-align: left;\">";
        // line 2
        echo nl2br($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("■定期購買情報"));
        echo "</h4>

    <div style=\"text-align: left;\">
        <div>";
        // line 5
        echo nl2br($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("・メンバーID"));
        echo "</div>
        <div style=\"padding-left: 10px;\">";
        // line 6
        echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, ($context["RemiseACMember"] ?? null), "getId", [], "method", false, false, false, 6), "html", null, true);
        echo "</div>
        <div>";
        // line 7
        echo nl2br($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("・ご案内"));
        echo "</div>
        <div style=\"padding-left: 10px;\">
            ";
        // line 9
        echo nl2br($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("こちらの商品は定期購買商品です。"));
        echo "<br />
            ";
        // line 10
        if ((twig_get_attribute($this->env, $this->source, ($context["Order"] ?? null), "payment_total", [], "any", false, false, false, 10) > 0)) {
            // line 11
            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, 11)), "html", null, true);
            echo "円を課金し、以下の内容で自動継続課金の登録を行いました。
            ";
        } else {
            // line 13
            echo "                以下の内容で自動継続課金の登録を行いました。
            ";
        }
        // line 15
        echo "            <br />・課金額：";
        echo twig_escape_filter($this->env, twig_number_format_filter($this->env, twig_get_attribute($this->env, $this->source, ($context["RemiseACMember"] ?? null), "getTotal", [], "any", false, false, false, 15)), "html", null, true);
        echo "円
            <br />・次回課金日：商品発送から約1ヵ月後";
        // line 17
        echo "            ";
        if ((twig_get_attribute($this->env, $this->source, ($context["RemiseACMember"] ?? null), "getCount", [], "any", false, false, false, 17) != 1)) {
            // line 18
            echo "                <br />・課金間隔：";
            echo twig_escape_filter($this->env, ($context["interval"] ?? null), "html", null, true);
            echo "
            ";
        }
        // line 20
        echo "            ";
        if ((((twig_get_attribute($this->env, $this->source, ($context["RemiseACMember"] ?? null), "getCount", [], "any", false, false, false, 20) != null) && (twig_get_attribute($this->env, $this->source, ($context["RemiseACMember"] ?? null), "getCount", [], "any", false, false, false, 20) != "")) && (twig_get_attribute($this->env, $this->source, ($context["RemiseACMember"] ?? null), "getCount", [], "any", false, false, false, 20) > 0))) {
            // line 21
            echo "                <br />・課金回数：";
            echo twig_escape_filter($this->env, ($context["remiseAcCount"] ?? null), "html", null, true);
            echo "
            ";
        }
        // line 23
        echo "        </div>
    </div>
</div>
<br />
";
    }

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

    public function isTraitable()
    {
        return false;
    }

    public function getDebugInfo()
    {
        return array (  98 => 23,  92 => 21,  89 => 20,  83 => 18,  80 => 17,  75 => 15,  71 => 13,  65 => 11,  63 => 10,  59 => 9,  54 => 7,  50 => 6,  46 => 5,  40 => 2,  37 => 1,);
    }

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