var/cache/dev/twig/15/152553ae11f3059c00e229aa01ccc8420bcd1aaf1741a0f3df738dbc2a5d398b.php line 52

Open in your IDE?
  1. <?php
  2. use Twig\Environment;
  3. use Twig\Error\LoaderError;
  4. use Twig\Error\RuntimeError;
  5. use Twig\Extension\SandboxExtension;
  6. use Twig\Markup;
  7. use Twig\Sandbox\SecurityError;
  8. use Twig\Sandbox\SecurityNotAllowedTagError;
  9. use Twig\Sandbox\SecurityNotAllowedFilterError;
  10. use Twig\Sandbox\SecurityNotAllowedFunctionError;
  11. use Twig\Source;
  12. use Twig\Template;
  13. /* Shopping/index.twig */
  14. class __TwigTemplate_cb312610500941207714b852fb9311a8ce66167876a0d60c10279ec52124e787 extends \Eccube\Twig\Template
  15. {
  16.     private $source;
  17.     private $macros = [];
  18.     public function __construct(Environment $env)
  19.     {
  20.         parent::__construct($env);
  21.         $this->source $this->getSourceContext();
  22.         $this->blocks = [
  23.             'javascript' => [$this'block_javascript'],
  24.             'main' => [$this'block_main'],
  25.         ];
  26.     }
  27.     protected function doGetParent(array $context)
  28.     {
  29.         // line 11
  30.         return "default_frame.twig";
  31.     }
  32.     protected function doDisplay(array $context, array $blocks = [])
  33.     {
  34.         $macros $this->macros;
  35.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  36.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""Shopping/index.twig"));
  37.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  38.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""Shopping/index.twig"));
  39.         // line 13
  40.         $this->env->getRuntime("Symfony\\Component\\Form\\FormRenderer")->setTheme((isset($context["form"]) || array_key_exists("form"$context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.'13$this->source); })()), [=> "Form/form_div_layout.twig"], true);
  41.         // line 11
  42.         $this->parent $this->loadTemplate("default_frame.twig""Shopping/index.twig"11);
  43.         $this->parent->display($contextarray_merge($this->blocks$blocks));
  44.         
  45.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  46.         
  47.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  48.     }
  49.     // line 15
  50.     public function block_javascript($context, array $blocks = [])
  51.     {
  52.         $macros $this->macros;
  53.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  54.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""javascript"));
  55.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  56.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""javascript"));
  57.         // line 16
  58.         echo "    <script>
  59.         \$(function() {
  60.             var \$redirectCallback = function() {
  61.                 loadingOverlay();
  62.                 \$('#shopping_order_redirect_to').val(\$(this).attr('data-path'));
  63.                 \$('#shopping-form').attr('action', '";
  64.         // line 21
  65.         echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("shopping_redirect_to");
  66.         echo "').submit();
  67.                 setTimeout(function () {
  68.                     loadingOverlay(\"hide\");
  69.                 }, 2000);
  70.             };
  71.             \$('[data-trigger]').each(function() {
  72.                 \$(this).on(\$(this).attr('data-trigger'), \$redirectCallback);
  73.             });
  74.             ";
  75.         // line 30
  76.         if (($this->extensions['Symfony\Bridge\Twig\Extension\SecurityExtension']->isGranted("ROLE_USER") == false)) {
  77.             // line 31
  78.             echo "            var edit = \$('.customer-edit');
  79.             var hidden = \$('.customer-in');
  80.             var form = \$('.customer-form');
  81.             \$('#customer').click(function() {
  82.                 \$(edit).each(function(index) {
  83.                     var name = \$(this).text();
  84.                     var input = \$('<input id=\"edit' + index + '\" type=\"text\" />').val(name);
  85.                     \$(form[index]).empty().append(input);
  86.                 });
  87.                 \$('.non-customer-display').hide();
  88.                 \$('.non-customer-edit').show();
  89.                 \$('.mod-button').show();
  90.             });
  91.             \$('#customer-ok').click(function() {
  92.                 \$(form).each(function(index) {
  93.                     \$(hidden[index]).val(\$(form[index]).children('input').val());
  94.                 });
  95.                 var postData = {};
  96.                 \$(hidden).each(function() {
  97.                     postData[\$(this).attr('name')] = \$(this).val();
  98.                 });
  99.                 loadingOverlay();
  100.                 \$.ajax({
  101.                     url: \"";
  102.             // line 60
  103.             echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("shopping_customer");
  104.             echo "\",
  105.                     type: 'POST',
  106.                     data: postData,
  107.                     dataType: 'json'
  108.                 }).done(function(data) {
  109.                     if (data.status == 'OK') {
  110.                         \$(form).each(function(index) {
  111.                             \$(edit[index]).empty().text(\$(form[index]).children('input').val());
  112.                             \$(form[index]).empty();
  113.                         });
  114.                         // kana field
  115.                         \$(edit[2]).empty().text(data.kana01);
  116.                         \$(edit[3]).empty().text(data.kana02);
  117.                         \$('#customer-kana01').val(data.kana01);
  118.                         \$('#customer-kana02').val(data.kana02);
  119.                     }
  120.                 }).fail(function() {
  121.                     alert('更新に失敗しました。入力内容を確認してください。');
  122.                 }).always(function(data) {
  123.                     // overlayを無効
  124.                     loadingOverlay('hide');
  125.                 });
  126.                 \$('.non-customer-display').show();
  127.                 \$('.non-customer-edit').hide();
  128.                 \$('.mod-button').hide();
  129.             });
  130.             \$('#customer-cancel').click(function() {
  131.                 \$('.non-customer-display').show();
  132.                 \$('.non-customer-edit').hide();
  133.                 \$('.mod-button').hide();
  134.             });
  135.             ";
  136.         }
  137.         // line 95
  138.         echo "        });
  139.     </script>
  140. ";
  141.         
  142.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  143.         
  144.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  145.     }
  146.     // line 99
  147.     public function block_main($context, array $blocks = [])
  148.     {
  149.         $macros $this->macros;
  150.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  151.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""main"));
  152.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  153.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""main"));
  154.         // line 100
  155.         echo "
  156.     <div class=\"ec-role\">
  157.         <div class=\"ec-pageHeader\">
  158.             <h1>";
  159.         // line 103
  160.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("ご注文手続き"), "html"nulltrue);
  161.         echo "</h1>
  162.         </div>
  163.     </div>
  164.     <div class=\"ec-cartRole\">
  165.         <div class=\"ec-cartRole__progress\">
  166.             <ul class=\"ec-progress\">
  167.                 ";
  168.         // line 110
  169.         $context["step"] = 1;
  170.         // line 111
  171.         echo "                <li class=\"ec-progress__item\">
  172.                     <div class=\"ec-progress__number\">";
  173.         // line 112
  174.         echo twig_escape_filter($this->env, (isset($context["step"]) || array_key_exists("step"$context) ? $context["step"] : (function () { throw new RuntimeError('Variable "step" does not exist.'112$this->source); })()), "html"nulltrue);
  175.         $context["step"] = ((isset($context["step"]) || array_key_exists("step"$context) ? $context["step"] : (function () { throw new RuntimeError('Variable "step" does not exist.'112$this->source); })()) + 1);
  176.         // line 113
  177.         echo "                    </div>
  178.                     <div class=\"ec-progress__label\">";
  179.         // line 114
  180.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("カートの商品"), "html"nulltrue);
  181.         echo "
  182.                     </div>
  183.                 </li>
  184.                 ";
  185.         // line 117
  186.         if (($this->extensions['Symfony\Bridge\Twig\Extension\SecurityExtension']->isGranted("ROLE_USER") == false)) {
  187.             // line 118
  188.             echo "                    <li class=\"ec-progress__item\">
  189.                         <div class=\"ec-progress__number\">";
  190.             // line 119
  191.             echo twig_escape_filter($this->env, (isset($context["step"]) || array_key_exists("step"$context) ? $context["step"] : (function () { throw new RuntimeError('Variable "step" does not exist.'119$this->source); })()), "html"nulltrue);
  192.             $context["step"] = ((isset($context["step"]) || array_key_exists("step"$context) ? $context["step"] : (function () { throw new RuntimeError('Variable "step" does not exist.'119$this->source); })()) + 1);
  193.             // line 120
  194.             echo "                        </div>
  195.                         <div class=\"ec-progress__label\">";
  196.             // line 121
  197.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("お客様情報"), "html"nulltrue);
  198.             echo "
  199.                         </div>
  200.                     </li>
  201.                 ";
  202.         }
  203.         // line 125
  204.         echo "                <li class=\"ec-progress__item is-complete\">
  205.                     <div class=\"ec-progress__number\">";
  206.         // line 126
  207.         echo twig_escape_filter($this->env, (isset($context["step"]) || array_key_exists("step"$context) ? $context["step"] : (function () { throw new RuntimeError('Variable "step" does not exist.'126$this->source); })()), "html"nulltrue);
  208.         $context["step"] = ((isset($context["step"]) || array_key_exists("step"$context) ? $context["step"] : (function () { throw new RuntimeError('Variable "step" does not exist.'126$this->source); })()) + 1);
  209.         // line 127
  210.         echo "                    </div>
  211.                     <div class=\"ec-progress__label\">";
  212.         // line 128
  213.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("ご注文手続き"), "html"nulltrue);
  214.         echo "
  215.                     </div>
  216.                 </li>
  217.                 <li class=\"ec-progress__item\">
  218.                     <div class=\"ec-progress__number\">";
  219.         // line 132
  220.         echo twig_escape_filter($this->env, (isset($context["step"]) || array_key_exists("step"$context) ? $context["step"] : (function () { throw new RuntimeError('Variable "step" does not exist.'132$this->source); })()), "html"nulltrue);
  221.         $context["step"] = ((isset($context["step"]) || array_key_exists("step"$context) ? $context["step"] : (function () { throw new RuntimeError('Variable "step" does not exist.'132$this->source); })()) + 1);
  222.         // line 133
  223.         echo "                    </div>
  224.                     <div class=\"ec-progress__label\">";
  225.         // line 134
  226.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("ご注文内容確認"), "html"nulltrue);
  227.         echo "
  228.                     </div>
  229.                 </li>
  230.                 <li class=\"ec-progress__item\">
  231.                     <div class=\"ec-progress__number\">";
  232.         // line 138
  233.         echo twig_escape_filter($this->env, (isset($context["step"]) || array_key_exists("step"$context) ? $context["step"] : (function () { throw new RuntimeError('Variable "step" does not exist.'138$this->source); })()), "html"nulltrue);
  234.         $context["step"] = ((isset($context["step"]) || array_key_exists("step"$context) ? $context["step"] : (function () { throw new RuntimeError('Variable "step" does not exist.'138$this->source); })()) + 1);
  235.         // line 139
  236.         echo "                    </div>
  237.                     <div class=\"ec-progress__label\">";
  238.         // line 140
  239.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("完了"), "html"nulltrue);
  240.         echo "
  241.                     </div>
  242.                 </li>
  243.             </ul>
  244.         </div>
  245.         <!-- アラートメッセージ -->
  246.         ";
  247.         // line 147
  248.         echo twig_include($this->env$context"Shopping/alert.twig");
  249.         echo "
  250.     </div>
  251.     <form id=\"shopping-form\" method=\"post\" action=\"";
  252.         // line 150
  253.         echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("shopping_confirm");
  254.         echo "\">
  255.         ";
  256.         // line 151
  257.         echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(twig_get_attribute($this->env$this->source, (isset($context["form"]) || array_key_exists("form"$context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.'151$this->source); })()), "_token", [], "any"falsefalsefalse151), 'widget');
  258.         echo "
  259.         ";
  260.         // line 152
  261.         echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(twig_get_attribute($this->env$this->source, (isset($context["form"]) || array_key_exists("form"$context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.'152$this->source); })()), "redirect_to", [], "any"falsefalsefalse152), 'widget');
  262.         echo "
  263.         <div class=\"ec-orderRole\">
  264.             <div class=\"ec-orderRole__detail\">
  265.                 <div class=\"ec-orderAccount\">
  266.                     <div class=\"ec-rectHeading\">
  267.                         <h2>";
  268.         // line 157
  269.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("お客様情報"), "html"nulltrue);
  270.         echo "</h2>
  271.                     </div>
  272.                     ";
  273.         // line 159
  274.         if (($this->extensions['Symfony\Bridge\Twig\Extension\SecurityExtension']->isGranted("ROLE_USER") == false)) {
  275.             // line 160
  276.             echo "                        <div class=\"ec-orderAccount__change non-customer-display\">
  277.                             <button id=\"customer\" class=\"ec-inlineBtn\" type=\"button\">";
  278.             // line 161
  279.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("変更"), "html"nulltrue);
  280.             echo "</button>
  281.                         </div>
  282.                     ";
  283.         }
  284.         // line 164
  285.         echo "                    <div class=\"ec-orderAccount__account non-customer-display\">
  286.                         <p class=\"ec-halfInput\">";
  287.         // line 165
  288.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans(""), "html"nulltrue);
  289.         echo "<span class=\"customer-edit customer-name01\">";
  290.         echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["Order"]) || array_key_exists("Order"$context) ? $context["Order"] : (function () { throw new RuntimeError('Variable "Order" does not exist.'165$this->source); })()), "name01", [], "any"falsefalsefalse165), "html"nulltrue);
  291.         echo "</span> <span class=\"customer-edit customer-name02\">";
  292.         echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["Order"]) || array_key_exists("Order"$context) ? $context["Order"] : (function () { throw new RuntimeError('Variable "Order" does not exist.'165$this->source); })()), "name02", [], "any"falsefalsefalse165), "html"nulltrue);
  293.         echo "</span>";
  294.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans(" 様"), "html"nulltrue);
  295.         echo "</p>
  296.                         <p class=\"ec-halfInput\"><span class=\"customer-edit customer-kana01\">";
  297.         // line 166
  298.         echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["Order"]) || array_key_exists("Order"$context) ? $context["Order"] : (function () { throw new RuntimeError('Variable "Order" does not exist.'166$this->source); })()), "kana01", [], "any"falsefalsefalse166), "html"nulltrue);
  299.         echo "</span> <span class=\"customer-edit customer-kana02\">";
  300.         echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["Order"]) || array_key_exists("Order"$context) ? $context["Order"] : (function () { throw new RuntimeError('Variable "Order" does not exist.'166$this->source); })()), "kana02", [], "any"falsefalsefalse166), "html"nulltrue);
  301.         echo "</span></p>
  302.                         <p class=\"ec-input\"><span class=\"customer-edit customer-company_name\">";
  303.         // line 167
  304.         echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["Order"]) || array_key_exists("Order"$context) ? $context["Order"] : (function () { throw new RuntimeError('Variable "Order" does not exist.'167$this->source); })()), "companyName", [], "any"falsefalsefalse167), "html"nulltrue);
  305.         echo "</span></p>
  306.                         <p class=\"ec-zipInput\">〒<span class=\"customer-edit customer-postal_code\">";
  307.         // line 168
  308.         echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["Order"]) || array_key_exists("Order"$context) ? $context["Order"] : (function () { throw new RuntimeError('Variable "Order" does not exist.'168$this->source); })()), "postal_code", [], "any"falsefalsefalse168), "html"nulltrue);
  309.         echo "</span></p>
  310.                         <p class=\"ec-input\"><span class=\"customer-edit customer-pref\">";
  311.         // line 169
  312.         echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["Order"]) || array_key_exists("Order"$context) ? $context["Order"] : (function () { throw new RuntimeError('Variable "Order" does not exist.'169$this->source); })()), "pref", [], "any"falsefalsefalse169), "html"nulltrue);
  313.         echo "</span><span class=\"customer-edit customer-addr01\">";
  314.         echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["Order"]) || array_key_exists("Order"$context) ? $context["Order"] : (function () { throw new RuntimeError('Variable "Order" does not exist.'169$this->source); })()), "addr01", [], "any"falsefalsefalse169), "html"nulltrue);
  315.         echo "</span><span class=\"customer-edit customer-addr02\">";
  316.         echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["Order"]) || array_key_exists("Order"$context) ? $context["Order"] : (function () { throw new RuntimeError('Variable "Order" does not exist.'169$this->source); })()), "addr02", [], "any"falsefalsefalse169), "html"nulltrue);
  317.         echo "</span></p>
  318.                         <p class=\"ec-telInput\"><span class=\"customer-edit customer-phone_number\">";
  319.         // line 170
  320.         echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["Order"]) || array_key_exists("Order"$context) ? $context["Order"] : (function () { throw new RuntimeError('Variable "Order" does not exist.'170$this->source); })()), "phone_number", [], "any"falsefalsefalse170), "html"nulltrue);
  321.         echo "</span></p>
  322.                         <p class=\"ec-input\"><span class=\"customer-edit customer-email\">";
  323.         // line 171
  324.         echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["Order"]) || array_key_exists("Order"$context) ? $context["Order"] : (function () { throw new RuntimeError('Variable "Order" does not exist.'171$this->source); })()), "email", [], "any"falsefalsefalse171), "html"nulltrue);
  325.         echo "</span></p>
  326.                     </div>
  327.                     ";
  328.         // line 173
  329.         if (($this->extensions['Symfony\Bridge\Twig\Extension\SecurityExtension']->isGranted("ROLE_USER") == false)) {
  330.             // line 174
  331.             echo "                        <div class=\"ec-borderedDefs  non-customer-edit\" style=\"display:none;\">
  332.                             <dl>
  333.                                 <dt>
  334.                                     <label class=\"ec-label required\">";
  335.             // line 177
  336.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("お名前"), "html"nulltrue);
  337.             echo "</label>
  338.                                     <span class=\"ec-required\">";
  339.             // line 178
  340.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("必須"), "html"nulltrue);
  341.             echo "</span>
  342.                                 </dt>
  343.                                 <dd>
  344.                                     <div class=\"ec-halfInput\">
  345.                                         <span class=\"customer-form customer-name01\"></span>
  346.                                         <span class=\"customer-form customer-name02\"></span>
  347.                                     </div>
  348.                                 </dd>
  349.                             </dl>
  350.                             <dl>
  351.                                 <dt>
  352.                                     <label class=\"ec-label required\">";
  353.             // line 189
  354.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("お名前(カナ)"), "html"nulltrue);
  355.             echo "</label>
  356.                                     <span class=\"ec-required\">";
  357.             // line 190
  358.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("必須"), "html"nulltrue);
  359.             echo "</span>
  360.                                 </dt>
  361.                                 <dd>
  362.                                     <div class=\"ec-halfInput\">
  363.                                         <span class=\"customer-form customer-kana01\"></span>
  364.                                         <span class=\"customer-form customer-kana02\"></span>
  365.                                     </div>
  366.                                 </dd>
  367.                             </dl>
  368.                             <dl>
  369.                                 <dt>
  370.                                     <label class=\"ec-label\" for=\"nonmember_company_name\">";
  371.             // line 201
  372.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("会社名"), "html"nulltrue);
  373.             echo "</label>
  374.                                 </dt>
  375.                                 <dd>
  376.                                     <div class=\"ec-halfInput\">
  377.                                         <span class=\"customer-form customer-company_name\"></span>
  378.                                     </div>
  379.                                 </dd>
  380.                             </dl>
  381.                             <dl>
  382.                                 <dt>
  383.                                     <label class=\"ec-label required\">";
  384.             // line 211
  385.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("住所"), "html"nulltrue);
  386.             echo "</label>
  387.                                     <span class=\"ec-required\">";
  388.             // line 212
  389.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("必須"), "html"nulltrue);
  390.             echo "</span>
  391.                                 </dt>
  392.                                 <dd>
  393.                                     <div class=\"ec-zipInput\">
  394.                                         <span>";
  395.             // line 216
  396.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("〒"), "html"nulltrue);
  397.             echo "</span>
  398.                                         <span class=\"customer-form customer-postal_code\"></span>
  399.                                         <div class=\"ec-zipInputHelp\">
  400.                                             <div class=\"ec-zipInputHelp__icon\">
  401.                                                 <div class=\"ec-icon\">
  402.                                                     <img src=\"";
  403.             // line 221
  404.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/icon/question-white.svg"), "html"nulltrue);
  405.             echo "\" alt=\"\">
  406.                                                 </div>
  407.                                             </div>
  408.                                             <a href=\"https://www.post.japanpost.jp/zipcode/\" target=\"_blank\">
  409.                                                 <span>";
  410.             // line 225
  411.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("郵便番号検索"), "html"nulltrue);
  412.             echo "</span>
  413.                                             </a>
  414.                                         </div>
  415.                                     </div>
  416.                                     <div class=\"ec-select\">
  417.                                         <span class=\"customer-form customer-address_pref\"></span>
  418.                                     </div>
  419.                                     <div class=\"ec-input\">
  420.                                         <span class=\"customer-form customer-address_addr01\"></span>
  421.                                     </div>
  422.                                     <div class=\"ec-input\">
  423.                                         <span class=\"customer-form customer-address_addr02\"></span>
  424.                                     </div>
  425.                                 </dd>
  426.                             </dl>
  427.                             <dl>
  428.                                 <dt>
  429.                                     <label class=\"ec-label required\" for=\"nonmember_phone_number\">";
  430.             // line 242
  431.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("電話番号"), "html"nulltrue);
  432.             echo "</label>
  433.                                     <span class=\"ec-required\">";
  434.             // line 243
  435.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("必須"), "html"nulltrue);
  436.             echo "</span>
  437.                                 </dt>
  438.                                 <dd>
  439.                                     <div class=\"ec-telInput\">
  440.                                         <span class=\"customer-form customer-phone_number\"></span>
  441.                                     </div>
  442.                                 </dd>
  443.                             </dl>
  444.                             <dl>
  445.                                 <dt>
  446.                                     <label class=\"ec-label required\">";
  447.             // line 253
  448.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("メールアドレス"), "html"nulltrue);
  449.             echo "</label>
  450.                                     <span class=\"ec-required\">";
  451.             // line 254
  452.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("必須"), "html"nulltrue);
  453.             echo "</span>
  454.                                 </dt>
  455.                                 <dd>
  456.                                     <div class=\"ec-input\">
  457.                                         <span class=\"customer-form customer-email\"></span>
  458.                                     </div>
  459.                                 </dd>
  460.                             </dl>
  461.                         </div>
  462.                         <div class=\"mod-button\" style=\"display:none;\">
  463.                             <span id=\"customer-ok\"><button type=\"button\" class=\"ec-inlineBtn\">";
  464.             // line 264
  465.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("OK"), "html"nulltrue);
  466.             echo "</button></span>
  467.                             <span id=\"customer-cancel\"><button type=\"button\" class=\"ec-inlineBtn\">";
  468.             // line 265
  469.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("キャンセル"), "html"nulltrue);
  470.             echo "</button></span>
  471.                         </div>
  472.                         <input type=\"hidden\" id=\"customer-name01\" class=\"customer-in\" name=\"customer_name01\" value=\"";
  473.             // line 267
  474.             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["Order"]) || array_key_exists("Order"$context) ? $context["Order"] : (function () { throw new RuntimeError('Variable "Order" does not exist.'267$this->source); })()), "name01", [], "any"falsefalsefalse267), "html"nulltrue);
  475.             echo "\">
  476.                         <input type=\"hidden\" id=\"customer-name02\" class=\"customer-in\" name=\"customer_name02\" value=\"";
  477.             // line 268
  478.             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["Order"]) || array_key_exists("Order"$context) ? $context["Order"] : (function () { throw new RuntimeError('Variable "Order" does not exist.'268$this->source); })()), "name02", [], "any"falsefalsefalse268), "html"nulltrue);
  479.             echo "\">
  480.                         <input type=\"hidden\" id=\"customer-kana01\" class=\"customer-in\" name=\"customer_kana01\" value=\"";
  481.             // line 269
  482.             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["Order"]) || array_key_exists("Order"$context) ? $context["Order"] : (function () { throw new RuntimeError('Variable "Order" does not exist.'269$this->source); })()), "kana01", [], "any"falsefalsefalse269), "html"nulltrue);
  483.             echo "\">
  484.                         <input type=\"hidden\" id=\"customer-kana02\" class=\"customer-in\" name=\"customer_kana02\" value=\"";
  485.             // line 270
  486.             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["Order"]) || array_key_exists("Order"$context) ? $context["Order"] : (function () { throw new RuntimeError('Variable "Order" does not exist.'270$this->source); })()), "kana02", [], "any"falsefalsefalse270), "html"nulltrue);
  487.             echo "\">
  488.                         <input type=\"hidden\" id=\"customer-company-name\" class=\"customer-in\" name=\"customer_company_name\" value=\"";
  489.             // line 271
  490.             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["Order"]) || array_key_exists("Order"$context) ? $context["Order"] : (function () { throw new RuntimeError('Variable "Order" does not exist.'271$this->source); })()), "companyName", [], "any"falsefalsefalse271), "html"nulltrue);
  491.             echo "\">
  492.                         <input type=\"hidden\" id=\"customer-postal_code\" class=\"customer-in\" name=\"customer_postal_code\" value=\"";
  493.             // line 272
  494.             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["Order"]) || array_key_exists("Order"$context) ? $context["Order"] : (function () { throw new RuntimeError('Variable "Order" does not exist.'272$this->source); })()), "postal_code", [], "any"falsefalsefalse272), "html"nulltrue);
  495.             echo "\">
  496.                         <input type=\"hidden\" id=\"customer-pref\" class=\"customer-in\" name=\"customer_pref\" value=\"";
  497.             // line 273
  498.             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["Order"]) || array_key_exists("Order"$context) ? $context["Order"] : (function () { throw new RuntimeError('Variable "Order" does not exist.'273$this->source); })()), "pref", [], "any"falsefalsefalse273), "html"nulltrue);
  499.             echo "\">
  500.                         <input type=\"hidden\" id=\"customer-addr01\" class=\"customer-in\" name=\"customer_addr01\" value=\"";
  501.             // line 274
  502.             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["Order"]) || array_key_exists("Order"$context) ? $context["Order"] : (function () { throw new RuntimeError('Variable "Order" does not exist.'274$this->source); })()), "addr01", [], "any"falsefalsefalse274), "html"nulltrue);
  503.             echo "\">
  504.                         <input type=\"hidden\" id=\"customer-addr02\" class=\"customer-in\" name=\"customer_addr02\" value=\"";
  505.             // line 275
  506.             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["Order"]) || array_key_exists("Order"$context) ? $context["Order"] : (function () { throw new RuntimeError('Variable "Order" does not exist.'275$this->source); })()), "addr02", [], "any"falsefalsefalse275), "html"nulltrue);
  507.             echo "\">
  508.                         <input type=\"hidden\" id=\"customer-phone_number\" class=\"customer-in\" name=\"customer_phone_number\" value=\"";
  509.             // line 276
  510.             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["Order"]) || array_key_exists("Order"$context) ? $context["Order"] : (function () { throw new RuntimeError('Variable "Order" does not exist.'276$this->source); })()), "phone_number", [], "any"falsefalsefalse276), "html"nulltrue);
  511.             echo "\">
  512.                         <input type=\"hidden\" id=\"customer-email\" class=\"customer-in\" name=\"customer_email\" value=\"";
  513.             // line 277
  514.             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["Order"]) || array_key_exists("Order"$context) ? $context["Order"] : (function () { throw new RuntimeError('Variable "Order" does not exist.'277$this->source); })()), "email", [], "any"falsefalsefalse277), "html"nulltrue);
  515.             echo "\">
  516.                     ";
  517.         }
  518.         // line 279
  519.         echo "                </div>
  520.                 <div class=\"ec-orderDelivery\">
  521.                     <div class=\"ec-rectHeading\">
  522.                         <h2>";
  523.         // line 282
  524.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("配送情報"), "html"nulltrue);
  525.         echo "</h2>
  526.                     </div>
  527.                     ";
  528.         // line 284
  529.         $context['_parent'] = $context;
  530.         $context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env$this->source, (isset($context["Order"]) || array_key_exists("Order"$context) ? $context["Order"] : (function () { throw new RuntimeError('Variable "Order" does not exist.'284$this->source); })()), "shippings", [], "any"falsefalsefalse284));
  531.         $context['loop'] = [
  532.           'parent' => $context['_parent'],
  533.           'index0' => 0,
  534.           'index'  => 1,
  535.           'first'  => true,
  536.         ];
  537.         if (is_array($context['_seq']) || (is_object($context['_seq']) && $context['_seq'] instanceof \Countable)) {
  538.             $length count($context['_seq']);
  539.             $context['loop']['revindex0'] = $length 1;
  540.             $context['loop']['revindex'] = $length;
  541.             $context['loop']['length'] = $length;
  542.             $context['loop']['last'] = === $length;
  543.         }
  544.         foreach ($context['_seq'] as $context["_key"] => $context["shipping"]) {
  545.             // line 285
  546.             echo "                        ";
  547.             $context["idx"] = twig_get_attribute($this->env$this->source$context["loop"], "index0", [], "any"falsefalsefalse285);
  548.             // line 286
  549.             echo "                        ";
  550.             $context["isShowReducedTaxMess"] = false;
  551.             // line 287
  552.             echo "                        <div class=\"ec-orderDelivery__title\">";
  553.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("お届け先"), "html"nulltrue);
  554.             if (twig_get_attribute($this->env$this->source, (isset($context["Order"]) || array_key_exists("Order"$context) ? $context["Order"] : (function () { throw new RuntimeError('Variable "Order" does not exist.'287$this->source); })()), "multiple", [], "any"falsefalsefalse287)) {
  555.                 echo "(";
  556.                 echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["loop"], "index", [], "any"falsefalsefalse287), "html"nulltrue);
  557.                 echo ")";
  558.             }
  559.             // line 288
  560.             echo "                            <div class=\"ec-orderDelivery__change\">
  561.                                 ";
  562.             // line 289
  563.             if ($this->extensions['Symfony\Bridge\Twig\Extension\SecurityExtension']->isGranted("ROLE_USER")) {
  564.                 // line 290
  565.                 echo "                                    <button class=\"ec-inlineBtn\" data-id=\"";
  566.                 echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["shipping"], "id", [], "any"falsefalsefalse290), "html"nulltrue);
  567.                 echo "\" data-trigger=\"click\" data-path=\"";
  568.                 echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("shopping_shipping", ["id" => twig_get_attribute($this->env$this->source$context["shipping"], "id", [], "any"falsefalsefalse290)]), "html"nulltrue);
  569.                 echo "\">";
  570.                 echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("変更"), "html"nulltrue);
  571.                 echo "</button>
  572.                                 ";
  573.             } else {
  574.                 // line 292
  575.                 echo "                                    <button class=\"ec-inlineBtn\" data-id=\"";
  576.                 echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["shipping"], "id", [], "any"falsefalsefalse292), "html"nulltrue);
  577.                 echo "\" data-trigger=\"click\" data-path=\"";
  578.                 echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("shopping_shipping_edit", ["id" => twig_get_attribute($this->env$this->source$context["shipping"], "id", [], "any"falsefalsefalse292)]), "html"nulltrue);
  579.                 echo "\">";
  580.                 echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("変更"), "html"nulltrue);
  581.                 echo "</button>
  582.                                 ";
  583.             }
  584.             // line 294
  585.             echo "                            </div>
  586.                         </div>
  587.                         <div class=\"ec-orderDelivery__item\">
  588.                             <ul class=\"ec-borderedList\">
  589.                                 ";
  590.             // line 298
  591.             $context['_parent'] = $context;
  592.             $context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env$this->source$context["shipping"], "productOrderItems", [], "any"falsefalsefalse298));
  593.             foreach ($context['_seq'] as $context["_key"] => $context["orderItem"]) {
  594.                 // line 299
  595.                 echo "                                    <li>
  596.                                         <div class=\"ec-imageGrid\">
  597.                                             <div class=\"ec-imageGrid__img\"><img src=\"";
  598.                 // line 301
  599.                 echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl($this->extensions['Eccube\Twig\Extension\EccubeExtension']->getNoImageProduct((((null === twig_get_attribute($this->env$this->source$context["orderItem"], "product", [], "any"falsefalsefalse301))) ? (null) : (twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source$context["orderItem"], "product", [], "any"falsefalsefalse301), "MainListImage", [], "any"falsefalsefalse301)))), "save_image"), "html"nulltrue);
  600.                 echo "\" alt=\"";
  601.                 echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["orderItem"], "productName", [], "any"falsefalsefalse301), "html"nulltrue);
  602.                 echo "\"></div>
  603.                                             <div class=\"ec-imageGrid__content\">
  604.                                                 <p>";
  605.                 // line 303
  606.                 echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["orderItem"], "productName", [], "any"falsefalsefalse303), "html"nulltrue);
  607.                 if ($this->extensions['Eccube\Twig\Extension\TaxExtension']->isReducedTaxRate($context["orderItem"])) {
  608.                     echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("※"), "html"nulltrue);
  609.                     $context["isShowReducedTaxMess"] = true;
  610.                 }
  611.                 echo "</p>
  612.                                                 ";
  613.                 // line 304
  614.                 if (( !(null === twig_get_attribute($this->env$this->source$context["orderItem"], "productClass", [], "any"falsefalsefalse304)) && twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source$context["orderItem"], "productClass", [], "any"falsefalsefalse304), "classCategory1", [], "any"falsefalsefalse304))) {
  615.                     // line 305
  616.                     echo "                                                    <p>";
  617.                     echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source$context["orderItem"], "productClass", [], "any"falsefalsefalse305), "classCategory1", [], "any"falsefalsefalse305), "className", [], "any"falsefalsefalse305), "name", [], "any"falsefalsefalse305), "html"nulltrue);
  618.                     echo ":";
  619.                     echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source$context["orderItem"], "productClass", [], "any"falsefalsefalse305), "classCategory1", [], "any"falsefalsefalse305), "html"nulltrue);
  620.                     echo "</p>
  621.                                                 ";
  622.                 }
  623.                 // line 307
  624.                 echo "                                                ";
  625.                 if (( !(null === twig_get_attribute($this->env$this->source$context["orderItem"], "productClass", [], "any"falsefalsefalse307)) && twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source$context["orderItem"], "productClass", [], "any"falsefalsefalse307), "classCategory2", [], "any"falsefalsefalse307))) {
  626.                     // line 308
  627.                     echo "                                                    <p>";
  628.                     echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source$context["orderItem"], "productClass", [], "any"falsefalsefalse308), "classCategory2", [], "any"falsefalsefalse308), "className", [], "any"falsefalsefalse308), "name", [], "any"falsefalsefalse308), "html"nulltrue);
  629.                     echo ":";
  630.                     echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source$context["orderItem"], "productClass", [], "any"falsefalsefalse308), "classCategory2", [], "any"falsefalsefalse308), "html"nulltrue);
  631.                     echo "</p>
  632.                                                 ";
  633.                 }
  634.                 // line 310
  635.                 echo "                                                <p>";
  636.                 echo twig_escape_filter($this->env$this->extensions['Eccube\Twig\Extension\EccubeExtension']->getPriceFilter(twig_get_attribute($this->env$this->source$context["orderItem"], "priceIncTax", [], "any"falsefalsefalse310)), "html"nulltrue);
  637.                 echo " × ";
  638.                 echo twig_escape_filter($this->envtwig_number_format_filter($this->envtwig_get_attribute($this->env$this->source$context["orderItem"], "quantity", [], "any"falsefalsefalse310)), "html"nulltrue);
  639.                 echo "<span>";
  640.                 echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("小計:"), "html"nulltrue);
  641.                 echo twig_escape_filter($this->env$this->extensions['Eccube\Twig\Extension\EccubeExtension']->getPriceFilter(twig_get_attribute($this->env$this->source$context["orderItem"], "totalPrice", [], "any"falsefalsefalse310)), "html"nulltrue);
  642.                 echo "</span></p>
  643.                                             </div>
  644.                                         </div>
  645.                                     </li>
  646.                                 ";
  647.             }
  648.             $_parent $context['_parent'];
  649.             unset($context['_seq'], $context['_iterated'], $context['_key'], $context['orderItem'], $context['_parent'], $context['loop']);
  650.             $context array_intersect_key($context$_parent) + $_parent;
  651.             // line 315
  652.             echo "                            </ul>
  653.                             <p>";
  654.             // line 316
  655.             (((isset($context["isShowReducedTaxMess"]) || array_key_exists("isShowReducedTaxMess"$context) ? $context["isShowReducedTaxMess"] : (function () { throw new RuntimeError('Variable "isShowReducedTaxMess" does not exist.'316$this->source); })())) ? (print (twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("※ は軽減税率対象商品です。"), "html"nulltrue))) : (print ("")));
  656.             echo "</p>
  657.                         </div>
  658.                         <div class=\"ec-orderDelivery__address\">
  659.                             <p>";
  660.             // line 319
  661.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans(""), "html"nulltrue);
  662.             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["shipping"], "name01", [], "any"falsefalsefalse319), "html"nulltrue);
  663.             echo " ";
  664.             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["shipping"], "name02", [], "any"falsefalsefalse319), "html"nulltrue);
  665.             echo " (";
  666.             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["shipping"], "kana01", [], "any"falsefalsefalse319), "html"nulltrue);
  667.             echo " ";
  668.             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["shipping"], "kana02", [], "any"falsefalsefalse319), "html"nulltrue);
  669.             echo ")";
  670.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans(" 様"), "html"nulltrue);
  671.             echo "</p>
  672.                             <p>";
  673.             // line 320
  674.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("〒"), "html"nulltrue);
  675.             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["shipping"], "postal_code", [], "any"falsefalsefalse320), "html"nulltrue);
  676.             echo " ";
  677.             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["shipping"], "pref", [], "any"falsefalsefalse320), "html"nulltrue);
  678.             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["shipping"], "addr01", [], "any"falsefalsefalse320), "html"nulltrue);
  679.             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["shipping"], "addr02", [], "any"falsefalsefalse320), "html"nulltrue);
  680.             echo "</p>
  681.                             <p>";
  682.             // line 321
  683.             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["shipping"], "phone_number", [], "any"falsefalsefalse321), "html"nulltrue);
  684.             echo "</p>
  685.                         </div>
  686.                         <div class=\"ec-orderDelivery__actions\">
  687.                             <div class=\"ec-selects\">
  688.                                 <div class=\"ec-select\">
  689.                                     <label>";
  690.             // line 326
  691.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("配送方法"), "html"nulltrue);
  692.             echo "</label>
  693.                                     ";
  694.             // line 327
  695.             echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["form"]) || array_key_exists("form"$context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.'327$this->source); })()), "Shippings", [], "any"falsefalsefalse327), (isset($context["idx"]) || array_key_exists("idx"$context) ? $context["idx"] : (function () { throw new RuntimeError('Variable "idx" does not exist.'327$this->source); })()), [], "array"falsefalsefalse327), "Delivery", [], "any"falsefalsefalse327), 'widget', ["attr" => ["class" => "form-control""data-trigger" => "change"]]);
  696.             echo "
  697.                                     ";
  698.             // line 328
  699.             echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["form"]) || array_key_exists("form"$context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.'328$this->source); })()), "Shippings", [], "any"falsefalsefalse328), (isset($context["idx"]) || array_key_exists("idx"$context) ? $context["idx"] : (function () { throw new RuntimeError('Variable "idx" does not exist.'328$this->source); })()), [], "array"falsefalsefalse328), "Delivery", [], "any"falsefalsefalse328), 'errors');
  700.             echo "
  701.                                 </div>
  702.                                 <div class=\"ec-select ec-select__delivery\">
  703.                                     <label>※お届け日は1週間後から指定可能です。指定なしの場合、発送の準備ができ次第発送致します。</label>
  704.                                     <label>";
  705.             // line 332
  706.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("お届け日"), "html"nulltrue);
  707.             echo "</label>
  708.                                     ";
  709.             // line 333
  710.             echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["form"]) || array_key_exists("form"$context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.'333$this->source); })()), "Shippings", [], "any"falsefalsefalse333), (isset($context["idx"]) || array_key_exists("idx"$context) ? $context["idx"] : (function () { throw new RuntimeError('Variable "idx" does not exist.'333$this->source); })()), [], "array"falsefalsefalse333), "shipping_delivery_date", [], "any"falsefalsefalse333), 'widget', ["attr" => ["class" => "form-control"]]);
  711.             echo "
  712.                                     ";
  713.             // line 334
  714.             echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["form"]) || array_key_exists("form"$context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.'334$this->source); })()), "Shippings", [], "any"falsefalsefalse334), (isset($context["idx"]) || array_key_exists("idx"$context) ? $context["idx"] : (function () { throw new RuntimeError('Variable "idx" does not exist.'334$this->source); })()), [], "array"falsefalsefalse334), "shipping_delivery_date", [], "any"falsefalsefalse334), 'errors');
  715.             echo "
  716.                                    
  717.                                 </div>
  718.                                 <div class=\"ec-select ec-select__time\">
  719.                                     <label>";
  720.             // line 338
  721.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("お届け時間"), "html"nulltrue);
  722.             echo "</label>
  723.                                     ";
  724.             // line 339
  725.             echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["form"]) || array_key_exists("form"$context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.'339$this->source); })()), "Shippings", [], "any"falsefalsefalse339), (isset($context["idx"]) || array_key_exists("idx"$context) ? $context["idx"] : (function () { throw new RuntimeError('Variable "idx" does not exist.'339$this->source); })()), [], "array"falsefalsefalse339), "DeliveryTime", [], "any"falsefalsefalse339), 'widget', ["attr" => ["class" => "form-control"]]);
  726.             echo "
  727.                                     ";
  728.             // line 340
  729.             echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["form"]) || array_key_exists("form"$context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.'340$this->source); })()), "Shippings", [], "any"falsefalsefalse340), (isset($context["idx"]) || array_key_exists("idx"$context) ? $context["idx"] : (function () { throw new RuntimeError('Variable "idx" does not exist.'340$this->source); })()), [], "array"falsefalsefalse340), "DeliveryTime", [], "any"falsefalsefalse340), 'errors');
  730.             echo "
  731.                                 </div>
  732.                             </div>
  733.                         </div>
  734.                     ";
  735.             ++$context['loop']['index0'];
  736.             ++$context['loop']['index'];
  737.             $context['loop']['first'] = false;
  738.             if (isset($context['loop']['length'])) {
  739.                 --$context['loop']['revindex0'];
  740.                 --$context['loop']['revindex'];
  741.                 $context['loop']['last'] = === $context['loop']['revindex0'];
  742.             }
  743.         }
  744.         $_parent $context['_parent'];
  745.         unset($context['_seq'], $context['_iterated'], $context['_key'], $context['shipping'], $context['_parent'], $context['loop']);
  746.         $context array_intersect_key($context$_parent) + $_parent;
  747.         // line 345
  748.         echo "                    <div class=\"ec-orderDelivery__edit\">
  749.                         <button type=\"button\" class=\"ec-inlineBtn\" data-trigger=\"click\" data-path=\"";
  750.         // line 346
  751.         echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("shopping_shipping_multiple");
  752.         echo "\">";
  753.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("お届け先を追加する"), "html"nulltrue);
  754.         echo "</button>
  755.                     </div>
  756.                 </div>
  757.                 <div class=\"ec-orderPayment\">
  758.                     <div class=\"ec-rectHeading\">
  759.                         <h2>";
  760.         // line 351
  761.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("お支払方法"), "html"nulltrue);
  762.         echo "</h2>
  763.                     </div>
  764.                     <div class=\"ec-radio\">
  765.                         ";
  766.         // line 354
  767.         $context['_parent'] = $context;
  768.         $context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env$this->source, (isset($context["form"]) || array_key_exists("form"$context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.'354$this->source); })()), "Payment", [], "any"falsefalsefalse354));
  769.         foreach ($context['_seq'] as $context["key"] => $context["child"]) {
  770.             // line 355
  771.             echo "                            <div style=\"display: block;\">
  772.                                 ";
  773.             // line 356
  774.             $context["Payment"] = twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["form"]) || array_key_exists("form"$context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.'356$this->source); })()), "Payment", [], "any"falsefalsefalse356), "vars", [], "any"falsefalsefalse356), "choices", [], "any"falsefalsefalse356), $context["key"], [], "array"falsefalsefalse356), "data", [], "any"falsefalsefalse356);
  775.             // line 357
  776.             echo "                                ";
  777.             echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock($context["child"], 'widget', ["attr" => ["data-trigger" => "change"]]);
  778.             echo "
  779.                                 ";
  780.             // line 358
  781.             if ( !(null === twig_get_attribute($this->env$this->source, (isset($context["Payment"]) || array_key_exists("Payment"$context) ? $context["Payment"] : (function () { throw new RuntimeError('Variable "Payment" does not exist.'358$this->source); })()), "payment_image", [], "any"falsefalsefalse358))) {
  782.                 // line 359
  783.                 echo "                                    <p><img src=\"";
  784.                 echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl(twig_get_attribute($this->env$this->source, (isset($context["Payment"]) || array_key_exists("Payment"$context) ? $context["Payment"] : (function () { throw new RuntimeError('Variable "Payment" does not exist.'359$this->source); })()), "payment_image", [], "any"falsefalsefalse359), "save_image"), "html"nulltrue);
  785.                 echo "\"></p>
  786.                                 ";
  787.             }
  788.             // line 361
  789.             echo "                            </div>
  790.                         ";
  791.         }
  792.         $_parent $context['_parent'];
  793.         unset($context['_seq'], $context['_iterated'], $context['key'], $context['child'], $context['_parent'], $context['loop']);
  794.         $context array_intersect_key($context$_parent) + $_parent;
  795.         // line 363
  796.         echo "                    </div>
  797.                     <div class=\"ec-input ";
  798.         // line 364
  799.         echo (($this->extensions['Eccube\Twig\Extension\EccubeExtension']->hasErrors(twig_get_attribute($this->env$this->source, (isset($context["form"]) || array_key_exists("form"$context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.'364$this->source); })()), "Payment", [], "any"falsefalsefalse364))) ? (" error") : (""));
  800.         echo "\">";
  801.         echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(twig_get_attribute($this->env$this->source, (isset($context["form"]) || array_key_exists("form"$context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.'364$this->source); })()), "Payment", [], "any"falsefalsefalse364), 'errors');
  802.         echo "</div>
  803.                 </div>
  804.                 ";
  805.         // line 366
  806.         if ((twig_get_attribute($this->env$this->source, (isset($context["BaseInfo"]) || array_key_exists("BaseInfo"$context) ? $context["BaseInfo"] : (function () { throw new RuntimeError('Variable "BaseInfo" does not exist.'366$this->source); })()), "isOptionPoint", [], "any"falsefalsefalse366) &&  !(null === twig_get_attribute($this->env$this->source, (isset($context["Order"]) || array_key_exists("Order"$context) ? $context["Order"] : (function () { throw new RuntimeError('Variable "Order" does not exist.'366$this->source); })()), "Customer", [], "any"falsefalsefalse366)))) {
  807.             // line 367
  808.             echo "                    <div class=\"ec-orderPayment\">
  809.                         <div class=\"ec-rectHeading\">
  810.                             <h2>";
  811.             // line 369
  812.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("利用ポイント"), "html"nulltrue);
  813.             echo "</h2>
  814.                         </div>
  815.                         <div class=\"ec-input ";
  816.             // line 371
  817.             echo (($this->extensions['Eccube\Twig\Extension\EccubeExtension']->hasErrors(twig_get_attribute($this->env$this->source, (isset($context["form"]) || array_key_exists("form"$context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.'371$this->source); })()), "use_point", [], "any"falsefalsefalse371))) ? (" error") : (""));
  818.             echo "\">
  819.                             <p>";
  820.             // line 372
  821.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("%point% pt が利用可能です。", ["%point%" => twig_number_format_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["Order"]) || array_key_exists("Order"$context) ? $context["Order"] : (function () { throw new RuntimeError('Variable "Order" does not exist.'372$this->source); })()), "Customer", [], "any"falsefalsefalse372), "Point", [], "any"falsefalsefalse372))]), "html"nulltrue);
  822.             echo "</p>
  823.                             ";
  824.             // line 373
  825.             echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(twig_get_attribute($this->env$this->source, (isset($context["form"]) || array_key_exists("form"$context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.'373$this->source); })()), "use_point", [], "any"falsefalsefalse373), 'widget', ["attr" => ["type" => "text""class" => "form-control""data-trigger" => "change"]]);
  826.             echo "
  827.                             ";
  828.             // line 374
  829.             echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(twig_get_attribute($this->env$this->source, (isset($context["form"]) || array_key_exists("form"$context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.'374$this->source); })()), "use_point", [], "any"falsefalsefalse374), 'errors');
  830.             echo "
  831.                         </div>
  832.                     </div>
  833.                 ";
  834.         }
  835.         // line 378
  836.         echo "                <div class=\"ec-orderConfirm\">
  837.                     <div class=\"ec-rectHeading\">
  838.                         <h2>";
  839.         // line 380
  840.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("お問い合わせ"), "html"nulltrue);
  841.         echo "</h2>
  842.                     </div>
  843.                     <div class=\"ec-input\">
  844.                         ";
  845.         // line 383
  846.         echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(twig_get_attribute($this->env$this->source, (isset($context["form"]) || array_key_exists("form"$context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.'383$this->source); })()), "message", [], "any"falsefalsefalse383), 'widget', ["attr" => ["class" => "form-control""placeholder" => $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("お問い合わせ事項がございましたら、こちらにご入力ください。(3000文字まで)"), "rows" => "6"]]);
  847.         echo "
  848.                         ";
  849.         // line 384
  850.         echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(twig_get_attribute($this->env$this->source, (isset($context["form"]) || array_key_exists("form"$context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.'384$this->source); })()), "message", [], "any"falsefalsefalse384), 'errors');
  851.         echo "
  852.                     </div>
  853.                 </div>
  854.                 ";
  855.         // line 387
  856.         $context['_parent'] = $context;
  857.         $context['_seq'] = twig_ensure_traversable(twig_array_filter($this->env, (isset($context["activeTradeLaws"]) || array_key_exists("activeTradeLaws"$context) ? $context["activeTradeLaws"] : (function () { throw new RuntimeError('Variable "activeTradeLaws" does not exist.'387$this->source); })()), function ($__t__) use ($context$macros) { $context["t"] = $__t__; return (twig_get_attribute($this->env$this->source, (isset($context["t"]) || array_key_exists("t"$context) ? $context["t"] : (function () { throw new RuntimeError('Variable "t" does not exist.'387$this->source); })()), "name", [], "any"falsefalsefalse387) && twig_get_attribute($this->env$this->source, (isset($context["t"]) || array_key_exists("t"$context) ? $context["t"] : (function () { throw new RuntimeError('Variable "t" does not exist.'387$this->source); })()), "description", [], "any"falsefalsefalse387)); }));
  858.         foreach ($context['_seq'] as $context["_key"] => $context["activeTradeLaw"]) {
  859.             // line 388
  860.             echo "                    <div class=\"ec-orderConfirm\">
  861.                         <div class=\"ec-rectHeading\">
  862.                             <h2>";
  863.             // line 390
  864.             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["activeTradeLaw"], "name", [], "any"falsefalsefalse390), "html"nulltrue);
  865.             echo "</h2>
  866.                         </div>
  867.                         <div class=\"ec-input\">
  868.                             ";
  869.             // line 393
  870.             echo twig_get_attribute($this->env$this->source$context["activeTradeLaw"], "description", [], "any"falsefalsefalse393);
  871.             echo "
  872.                         </div>
  873.                     </div>
  874.                 ";
  875.         }
  876.         $_parent $context['_parent'];
  877.         unset($context['_seq'], $context['_iterated'], $context['_key'], $context['activeTradeLaw'], $context['_parent'], $context['loop']);
  878.         $context array_intersect_key($context$_parent) + $_parent;
  879.         // line 397
  880.         echo "            </div>
  881.             <div class=\"ec-orderRole__summary\">
  882.                 <div class=\"ec-totalBox\">
  883.                     <dl class=\"ec-totalBox__spec\">
  884.                         <dt>";
  885.         // line 401
  886.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("小計"), "html"nulltrue);
  887.         echo "</dt>
  888.                         <dd class=\"ec-totalBox__specTotal\">";
  889.         // line 402
  890.         echo twig_escape_filter($this->env$this->extensions['Eccube\Twig\Extension\EccubeExtension']->getPriceFilter(twig_get_attribute($this->env$this->source, (isset($context["Order"]) || array_key_exists("Order"$context) ? $context["Order"] : (function () { throw new RuntimeError('Variable "Order" does not exist.'402$this->source); })()), "subtotal", [], "any"falsefalsefalse402)), "html"nulltrue);
  891.         echo "</dd>
  892.                     </dl>
  893.                     <dl class=\"ec-totalBox__spec\">
  894.                         <dt>";
  895.         // line 405
  896.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("手数料"), "html"nulltrue);
  897.         echo "</dt>
  898.                         <dd>";
  899.         // line 406
  900.         echo twig_escape_filter($this->env$this->extensions['Eccube\Twig\Extension\EccubeExtension']->getPriceFilter(twig_get_attribute($this->env$this->source, (isset($context["Order"]) || array_key_exists("Order"$context) ? $context["Order"] : (function () { throw new RuntimeError('Variable "Order" does not exist.'406$this->source); })()), "charge", [], "any"falsefalsefalse406)), "html"nulltrue);
  901.         echo "</dd>
  902.                     </dl>
  903.                     <dl class=\"ec-totalBox__spec\">
  904.                         <dt>";
  905.         // line 409
  906.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("送料"), "html"nulltrue);
  907.         echo "</dt>
  908.                         <dd></dd>
  909. \t\t </dl>
  910. \t\t<dl class=\"ec-totalBox__spec\">
  911.                         <dt>";
  912.         // line 413
  913.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("(クール代+箱・保冷剤)"), "html"nulltrue);
  914.         echo "</dt>
  915.                         <dd>";
  916.         // line 414
  917.         echo twig_escape_filter($this->env$this->extensions['Eccube\Twig\Extension\EccubeExtension']->getPriceFilter(twig_get_attribute($this->env$this->source, (isset($context["Order"]) || array_key_exists("Order"$context) ? $context["Order"] : (function () { throw new RuntimeError('Variable "Order" does not exist.'414$this->source); })()), "deliveryFeeTotal", [], "any"falsefalsefalse414)), "html"nulltrue);
  918.         echo "</dd>
  919.                     </dl>
  920.                     ";
  921.         // line 416
  922.         if ((twig_get_attribute($this->env$this->source, (isset($context["Order"]) || array_key_exists("Order"$context) ? $context["Order"] : (function () { throw new RuntimeError('Variable "Order" does not exist.'416$this->source); })()), "taxable_discount", [], "any"falsefalsefalse416) < 0)) {
  923.             // line 417
  924.             echo "                    <dl class=\"ec-totalBox__spec\">
  925.                         <dt>";
  926.             // line 418
  927.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("値引き"), "html"nulltrue);
  928.             echo "</dt>
  929.                         <dd>";
  930.             // line 419
  931.             echo twig_escape_filter($this->env$this->extensions['Eccube\Twig\Extension\EccubeExtension']->getPriceFilter(twig_get_attribute($this->env$this->source, (isset($context["Order"]) || array_key_exists("Order"$context) ? $context["Order"] : (function () { throw new RuntimeError('Variable "Order" does not exist.'419$this->source); })()), "taxable_discount", [], "any"falsefalsefalse419)), "html"nulltrue);
  932.             echo "</dd>
  933.                     </dl>
  934.                     ";
  935.         }
  936.         // line 422
  937.         echo "                    <div class=\"ec-totalBox__total\">";
  938.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("合計"), "html"nulltrue);
  939.         echo "<span class=\"ec-totalBox__price\">";
  940.         echo twig_escape_filter($this->env$this->extensions['Eccube\Twig\Extension\EccubeExtension']->getPriceFilter(twig_get_attribute($this->env$this->source, (isset($context["Order"]) || array_key_exists("Order"$context) ? $context["Order"] : (function () { throw new RuntimeError('Variable "Order" does not exist.'422$this->source); })()), "taxable_total", [], "any"falsefalsefalse422)), "html"nulltrue);
  941.         echo "</span><span class=\"ec-totalBox__taxLabel\">";
  942.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("税込"), "html"nulltrue);
  943.         echo "</span></div>
  944.                     ";
  945.         // line 423
  946.         $context['_parent'] = $context;
  947.         $context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env$this->source, (isset($context["Order"]) || array_key_exists("Order"$context) ? $context["Order"] : (function () { throw new RuntimeError('Variable "Order" does not exist.'423$this->source); })()), "tax_free_discount_items", [], "any"falsefalsefalse423));
  948.         foreach ($context['_seq'] as $context["_key"] => $context["item"]) {
  949.             // line 424
  950.             echo "                        <dl class=\"ec-totalBox__spec\">
  951.                             <dt>";
  952.             // line 425
  953.             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["item"], "product_name", [], "any"falsefalsefalse425), "html"nulltrue);
  954.             echo "</dt>
  955.                             <dd>";
  956.             // line 426
  957.             echo twig_escape_filter($this->env$this->extensions['Eccube\Twig\Extension\EccubeExtension']->getPriceFilter(twig_get_attribute($this->env$this->source$context["item"], "total_price", [], "any"falsefalsefalse426)), "html"nulltrue);
  958.             echo "</dd>
  959.                         </dl>
  960.                     ";
  961.         }
  962.         $_parent $context['_parent'];
  963.         unset($context['_seq'], $context['_iterated'], $context['_key'], $context['item'], $context['_parent'], $context['loop']);
  964.         $context array_intersect_key($context$_parent) + $_parent;
  965.         // line 429
  966.         echo "                    <div class=\"ec-totalBox__paymentTotal\">";
  967.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("お支払い合計"), "html"nulltrue);
  968.         echo "<span class=\"ec-totalBox__price\">";
  969.         echo twig_escape_filter($this->env$this->extensions['Eccube\Twig\Extension\EccubeExtension']->getPriceFilter(twig_get_attribute($this->env$this->source, (isset($context["Order"]) || array_key_exists("Order"$context) ? $context["Order"] : (function () { throw new RuntimeError('Variable "Order" does not exist.'429$this->source); })()), "payment_total", [], "any"falsefalsefalse429)), "html"nulltrue);
  970.         echo "</span><span class=\"ec-totalBox__taxLabel\">";
  971.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("税込"), "html"nulltrue);
  972.         echo "</span></div>
  973.                     ";
  974.         // line 430
  975.         $context['_parent'] = $context;
  976.         $context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env$this->source, (isset($context["Order"]) || array_key_exists("Order"$context) ? $context["Order"] : (function () { throw new RuntimeError('Variable "Order" does not exist.'430$this->source); })()), "total_by_tax_rate", [], "any"falsefalsefalse430));
  977.         foreach ($context['_seq'] as $context["rate"] => $context["total"]) {
  978.             // line 431
  979.             echo "                    <dl class=\"ec-totalBox__taxRate\">
  980.                         <dt>";
  981.             // line 432
  982.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("税率 %rate% %対象", ["%rate%" => $context["rate"]]), "html"nulltrue);
  983.             echo "</dt>
  984.                         <dd>";
  985.             // line 433
  986.             echo twig_escape_filter($this->env$this->extensions['Eccube\Twig\Extension\EccubeExtension']->getPriceFilter($context["total"]), "html"nulltrue);
  987.             echo " (";
  988.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("内消費税"), "html"nulltrue);
  989.             echo " ";
  990.             echo twig_escape_filter($this->env$this->extensions['Eccube\Twig\Extension\EccubeExtension']->getPriceFilter(twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["Order"]) || array_key_exists("Order"$context) ? $context["Order"] : (function () { throw new RuntimeError('Variable "Order" does not exist.'433$this->source); })()), "tax_by_tax_rate", [], "any"falsefalsefalse433), $context["rate"], [], "array"falsefalsefalse433)), "html"nulltrue);
  991.             echo ")</dd>
  992.                     </dl>
  993.                     ";
  994.         }
  995.         $_parent $context['_parent'];
  996.         unset($context['_seq'], $context['_iterated'], $context['rate'], $context['total'], $context['_parent'], $context['loop']);
  997.         $context array_intersect_key($context$_parent) + $_parent;
  998.         // line 436
  999.         echo "                    ";
  1000.         if ((twig_get_attribute($this->env$this->source, (isset($context["BaseInfo"]) || array_key_exists("BaseInfo"$context) ? $context["BaseInfo"] : (function () { throw new RuntimeError('Variable "BaseInfo" does not exist.'436$this->source); })()), "isOptionPoint", [], "any"falsefalsefalse436) &&  !(null === twig_get_attribute($this->env$this->source, (isset($context["Order"]) || array_key_exists("Order"$context) ? $context["Order"] : (function () { throw new RuntimeError('Variable "Order" does not exist.'436$this->source); })()), "Customer", [], "any"falsefalsefalse436)))) {
  1001.             // line 437
  1002.             echo "                    <div class=\"ec-totalBox__pointBlock\">
  1003.                         <dl class=\"ec-totalBox__spec\">
  1004.                             <dt>";
  1005.             // line 439
  1006.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("ご利用ポイント"), "html"nulltrue);
  1007.             echo "</dt>
  1008.                             <dd>";
  1009.             // line 440
  1010.             echo twig_escape_filter($this->envtwig_number_format_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["Order"]) || array_key_exists("Order"$context) ? $context["Order"] : (function () { throw new RuntimeError('Variable "Order" does not exist.'440$this->source); })()), "UsePoint", [], "any"falsefalsefalse440)), "html"nulltrue);
  1011.             echo " pt</dd>
  1012.                         </dl>
  1013.                         <dl class=\"ec-totalBox__spec\">
  1014.                             <dt><span class=\"ec-font-bold\">";
  1015.             // line 443
  1016.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("加算ポイント"), "html"nulltrue);
  1017.             echo "</span></dt>
  1018.                             <dd><span class=\"ec-font-bold\">";
  1019.             // line 444
  1020.             echo twig_escape_filter($this->envtwig_number_format_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["Order"]) || array_key_exists("Order"$context) ? $context["Order"] : (function () { throw new RuntimeError('Variable "Order" does not exist.'444$this->source); })()), "AddPoint", [], "any"falsefalsefalse444)), "html"nulltrue);
  1021.             echo " pt</span></dd>
  1022.                         </dl>
  1023.                     </div>
  1024.                     ";
  1025.         }
  1026.         // line 448
  1027.         echo "                    <div class=\"ec-totalBox__btn\">
  1028.                         <button type=\"submit\" class=\"ec-blockBtn--action\">";
  1029.         // line 449
  1030.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("確認する"), "html"nulltrue);
  1031.         echo "</button>
  1032.                         <a href=\"";
  1033.         // line 450
  1034.         echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("cart");
  1035.         echo "\" class=\"ec-blockBtn--cancel\">";
  1036.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("カートに戻る"), "html"nulltrue);
  1037.         echo "</a>
  1038.                     </div>
  1039.                 </div>
  1040.             </div>
  1041.         </div>
  1042.     </form>
  1043. ";
  1044.         
  1045.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  1046.         
  1047.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  1048.     }
  1049.     public function getTemplateName()
  1050.     {
  1051.         return "Shopping/index.twig";
  1052.     }
  1053.     public function isTraitable()
  1054.     {
  1055.         return false;
  1056.     }
  1057.     public function getDebugInfo()
  1058.     {
  1059.         return array (  1066 => 450,  1062 => 449,  1059 => 448,  1052 => 444,  1048 => 443,  1042 => 440,  1038 => 439,  1034 => 437,  1031 => 436,  1018 => 433,  1014 => 432,  1011 => 431,  1007 => 430,  998 => 429,  989 => 426,  985 => 425,  982 => 424,  978 => 423,  969 => 422,  963 => 419,  959 => 418,  956 => 417,  954 => 416,  949 => 414,  945 => 413,  938 => 409,  932 => 406,  928 => 405,  922 => 402,  918 => 401,  912 => 397,  902 => 393,  896 => 390,  892 => 388,  888 => 387,  882 => 384,  878 => 383,  872 => 380,  868 => 378,  861 => 374,  857 => 373,  853 => 372,  849 => 371,  844 => 369,  840 => 367,  838 => 366,  831 => 364,  828 => 363,  821 => 361,  815 => 359,  813 => 358,  808 => 357,  806 => 356,  803 => 355,  799 => 354,  793 => 351,  783 => 346,  780 => 345,  761 => 340,  757 => 339,  753 => 338,  746 => 334,  742 => 333,  738 => 332,  731 => 328,  727 => 327,  723 => 326,  715 => 321,  706 => 320,  693 => 319,  687 => 316,  684 => 315,  667 => 310,  659 => 308,  656 => 307,  648 => 305,  646 => 304,  638 => 303,  631 => 301,  627 => 299,  623 => 298,  617 => 294,  607 => 292,  597 => 290,  595 => 289,  592 => 288,  584 => 287,  581 => 286,  578 => 285,  561 => 284,  556 => 282,  551 => 279,  546 => 277,  542 => 276,  538 => 275,  534 => 274,  530 => 273,  526 => 272,  522 => 271,  518 => 270,  514 => 269,  510 => 268,  506 => 267,  501 => 265,  497 => 264,  484 => 254,  480 => 253,  467 => 243,  463 => 242,  443 => 225,  436 => 221,  428 => 216,  421 => 212,  417 => 211,  404 => 201,  390 => 190,  386 => 189,  372 => 178,  368 => 177,  363 => 174,  361 => 173,  356 => 171,  352 => 170,  344 => 169,  340 => 168,  336 => 167,  330 => 166,  320 => 165,  317 => 164,  311 => 161,  308 => 160,  306 => 159,  301 => 157,  293 => 152,  289 => 151,  285 => 150,  279 => 147,  269 => 140,  266 => 139,  263 => 138,  256 => 134,  253 => 133,  250 => 132,  243 => 128,  240 => 127,  237 => 126,  234 => 125,  227 => 121,  224 => 120,  221 => 119,  218 => 118,  216 => 117,  210 => 114,  207 => 113,  204 => 112,  201 => 111,  199 => 110,  189 => 103,  184 => 100,  174 => 99,  162 => 95,  124 => 60,  93 => 31,  91 => 30,  79 => 21,  72 => 16,  62 => 15,  51 => 11,  49 => 13,  36 => 11,);
  1060.     }
  1061.     public function getSourceContext()
  1062.     {
  1063.         return new Source("{#
  1064. This file is part of EC-CUBE
  1065. Copyright(c) EC-CUBE CO.,LTD. All Rights Reserved.
  1066. http://www.ec-cube.co.jp/
  1067. For the full copyright and license information, please view the LICENSE
  1068. file that was distributed with this source code.
  1069. #}
  1070. {% extends 'default_frame.twig' %}
  1071. {% form_theme form 'Form/form_div_layout.twig' %}
  1072. {% block javascript %}
  1073.     <script>
  1074.         \$(function() {
  1075.             var \$redirectCallback = function() {
  1076.                 loadingOverlay();
  1077.                 \$('#shopping_order_redirect_to').val(\$(this).attr('data-path'));
  1078.                 \$('#shopping-form').attr('action', '{{ url(\"shopping_redirect_to\") }}').submit();
  1079.                 setTimeout(function () {
  1080.                     loadingOverlay(\"hide\");
  1081.                 }, 2000);
  1082.             };
  1083.             \$('[data-trigger]').each(function() {
  1084.                 \$(this).on(\$(this).attr('data-trigger'), \$redirectCallback);
  1085.             });
  1086.             {% if is_granted('ROLE_USER') == false %}
  1087.             var edit = \$('.customer-edit');
  1088.             var hidden = \$('.customer-in');
  1089.             var form = \$('.customer-form');
  1090.             \$('#customer').click(function() {
  1091.                 \$(edit).each(function(index) {
  1092.                     var name = \$(this).text();
  1093.                     var input = \$('<input id=\"edit' + index + '\" type=\"text\" />').val(name);
  1094.                     \$(form[index]).empty().append(input);
  1095.                 });
  1096.                 \$('.non-customer-display').hide();
  1097.                 \$('.non-customer-edit').show();
  1098.                 \$('.mod-button').show();
  1099.             });
  1100.             \$('#customer-ok').click(function() {
  1101.                 \$(form).each(function(index) {
  1102.                     \$(hidden[index]).val(\$(form[index]).children('input').val());
  1103.                 });
  1104.                 var postData = {};
  1105.                 \$(hidden).each(function() {
  1106.                     postData[\$(this).attr('name')] = \$(this).val();
  1107.                 });
  1108.                 loadingOverlay();
  1109.                 \$.ajax({
  1110.                     url: \"{{ url('shopping_customer') }}\",
  1111.                     type: 'POST',
  1112.                     data: postData,
  1113.                     dataType: 'json'
  1114.                 }).done(function(data) {
  1115.                     if (data.status == 'OK') {
  1116.                         \$(form).each(function(index) {
  1117.                             \$(edit[index]).empty().text(\$(form[index]).children('input').val());
  1118.                             \$(form[index]).empty();
  1119.                         });
  1120.                         // kana field
  1121.                         \$(edit[2]).empty().text(data.kana01);
  1122.                         \$(edit[3]).empty().text(data.kana02);
  1123.                         \$('#customer-kana01').val(data.kana01);
  1124.                         \$('#customer-kana02').val(data.kana02);
  1125.                     }
  1126.                 }).fail(function() {
  1127.                     alert('更新に失敗しました。入力内容を確認してください。');
  1128.                 }).always(function(data) {
  1129.                     // overlayを無効
  1130.                     loadingOverlay('hide');
  1131.                 });
  1132.                 \$('.non-customer-display').show();
  1133.                 \$('.non-customer-edit').hide();
  1134.                 \$('.mod-button').hide();
  1135.             });
  1136.             \$('#customer-cancel').click(function() {
  1137.                 \$('.non-customer-display').show();
  1138.                 \$('.non-customer-edit').hide();
  1139.                 \$('.mod-button').hide();
  1140.             });
  1141.             {% endif %}
  1142.         });
  1143.     </script>
  1144. {% endblock javascript %}
  1145. {% block main %}
  1146.     <div class=\"ec-role\">
  1147.         <div class=\"ec-pageHeader\">
  1148.             <h1>{{ 'ご注文手続き'|trans }}</h1>
  1149.         </div>
  1150.     </div>
  1151.     <div class=\"ec-cartRole\">
  1152.         <div class=\"ec-cartRole__progress\">
  1153.             <ul class=\"ec-progress\">
  1154.                 {% set step = 1 %}
  1155.                 <li class=\"ec-progress__item\">
  1156.                     <div class=\"ec-progress__number\">{{ step }}{% set step = step + 1 %}
  1157.                     </div>
  1158.                     <div class=\"ec-progress__label\">{{ 'カートの商品'|trans }}
  1159.                     </div>
  1160.                 </li>
  1161.                 {% if is_granted('ROLE_USER') == false %}
  1162.                     <li class=\"ec-progress__item\">
  1163.                         <div class=\"ec-progress__number\">{{ step }}{% set step = step + 1 %}
  1164.                         </div>
  1165.                         <div class=\"ec-progress__label\">{{ 'お客様情報'|trans }}
  1166.                         </div>
  1167.                     </li>
  1168.                 {% endif %}
  1169.                 <li class=\"ec-progress__item is-complete\">
  1170.                     <div class=\"ec-progress__number\">{{ step }}{% set step = step + 1 %}
  1171.                     </div>
  1172.                     <div class=\"ec-progress__label\">{{ 'ご注文手続き'|trans }}
  1173.                     </div>
  1174.                 </li>
  1175.                 <li class=\"ec-progress__item\">
  1176.                     <div class=\"ec-progress__number\">{{ step }}{% set step = step + 1 %}
  1177.                     </div>
  1178.                     <div class=\"ec-progress__label\">{{ 'ご注文内容確認'|trans }}
  1179.                     </div>
  1180.                 </li>
  1181.                 <li class=\"ec-progress__item\">
  1182.                     <div class=\"ec-progress__number\">{{ step }}{% set step = step + 1 %}
  1183.                     </div>
  1184.                     <div class=\"ec-progress__label\">{{ '完了'|trans }}
  1185.                     </div>
  1186.                 </li>
  1187.             </ul>
  1188.         </div>
  1189.         <!-- アラートメッセージ -->
  1190.         {{ include('Shopping/alert.twig') }}
  1191.     </div>
  1192.     <form id=\"shopping-form\" method=\"post\" action=\"{{ url('shopping_confirm') }}\">
  1193.         {{ form_widget(form._token) }}
  1194.         {{ form_widget(form.redirect_to) }}
  1195.         <div class=\"ec-orderRole\">
  1196.             <div class=\"ec-orderRole__detail\">
  1197.                 <div class=\"ec-orderAccount\">
  1198.                     <div class=\"ec-rectHeading\">
  1199.                         <h2>{{ 'お客様情報'|trans }}</h2>
  1200.                     </div>
  1201.                     {% if is_granted('ROLE_USER') == false %}
  1202.                         <div class=\"ec-orderAccount__change non-customer-display\">
  1203.                             <button id=\"customer\" class=\"ec-inlineBtn\" type=\"button\">{{ '変更'|trans }}</button>
  1204.                         </div>
  1205.                     {% endif %}
  1206.                     <div class=\"ec-orderAccount__account non-customer-display\">
  1207.                         <p class=\"ec-halfInput\">{{ ''|trans }}<span class=\"customer-edit customer-name01\">{{ Order.name01 }}</span> <span class=\"customer-edit customer-name02\">{{ Order.name02 }}</span>{{ ' 様'|trans }}</p>
  1208.                         <p class=\"ec-halfInput\"><span class=\"customer-edit customer-kana01\">{{ Order.kana01 }}</span> <span class=\"customer-edit customer-kana02\">{{ Order.kana02 }}</span></p>
  1209.                         <p class=\"ec-input\"><span class=\"customer-edit customer-company_name\">{{ Order.companyName }}</span></p>
  1210.                         <p class=\"ec-zipInput\">〒<span class=\"customer-edit customer-postal_code\">{{ Order.postal_code }}</span></p>
  1211.                         <p class=\"ec-input\"><span class=\"customer-edit customer-pref\">{{ Order.pref }}</span><span class=\"customer-edit customer-addr01\">{{ Order.addr01 }}</span><span class=\"customer-edit customer-addr02\">{{ Order.addr02 }}</span></p>
  1212.                         <p class=\"ec-telInput\"><span class=\"customer-edit customer-phone_number\">{{ Order.phone_number }}</span></p>
  1213.                         <p class=\"ec-input\"><span class=\"customer-edit customer-email\">{{ Order.email }}</span></p>
  1214.                     </div>
  1215.                     {% if is_granted('ROLE_USER') == false %}
  1216.                         <div class=\"ec-borderedDefs  non-customer-edit\" style=\"display:none;\">
  1217.                             <dl>
  1218.                                 <dt>
  1219.                                     <label class=\"ec-label required\">{{ 'お名前'|trans }}</label>
  1220.                                     <span class=\"ec-required\">{{ '必須'|trans }}</span>
  1221.                                 </dt>
  1222.                                 <dd>
  1223.                                     <div class=\"ec-halfInput\">
  1224.                                         <span class=\"customer-form customer-name01\"></span>
  1225.                                         <span class=\"customer-form customer-name02\"></span>
  1226.                                     </div>
  1227.                                 </dd>
  1228.                             </dl>
  1229.                             <dl>
  1230.                                 <dt>
  1231.                                     <label class=\"ec-label required\">{{ 'お名前(カナ)'|trans }}</label>
  1232.                                     <span class=\"ec-required\">{{ '必須'|trans }}</span>
  1233.                                 </dt>
  1234.                                 <dd>
  1235.                                     <div class=\"ec-halfInput\">
  1236.                                         <span class=\"customer-form customer-kana01\"></span>
  1237.                                         <span class=\"customer-form customer-kana02\"></span>
  1238.                                     </div>
  1239.                                 </dd>
  1240.                             </dl>
  1241.                             <dl>
  1242.                                 <dt>
  1243.                                     <label class=\"ec-label\" for=\"nonmember_company_name\">{{ '会社名'|trans }}</label>
  1244.                                 </dt>
  1245.                                 <dd>
  1246.                                     <div class=\"ec-halfInput\">
  1247.                                         <span class=\"customer-form customer-company_name\"></span>
  1248.                                     </div>
  1249.                                 </dd>
  1250.                             </dl>
  1251.                             <dl>
  1252.                                 <dt>
  1253.                                     <label class=\"ec-label required\">{{ '住所'|trans }}</label>
  1254.                                     <span class=\"ec-required\">{{ '必須'|trans }}</span>
  1255.                                 </dt>
  1256.                                 <dd>
  1257.                                     <div class=\"ec-zipInput\">
  1258.                                         <span>{{ '〒'|trans }}</span>
  1259.                                         <span class=\"customer-form customer-postal_code\"></span>
  1260.                                         <div class=\"ec-zipInputHelp\">
  1261.                                             <div class=\"ec-zipInputHelp__icon\">
  1262.                                                 <div class=\"ec-icon\">
  1263.                                                     <img src=\"{{ asset('assets/icon/question-white.svg') }}\" alt=\"\">
  1264.                                                 </div>
  1265.                                             </div>
  1266.                                             <a href=\"https://www.post.japanpost.jp/zipcode/\" target=\"_blank\">
  1267.                                                 <span>{{ '郵便番号検索'|trans }}</span>
  1268.                                             </a>
  1269.                                         </div>
  1270.                                     </div>
  1271.                                     <div class=\"ec-select\">
  1272.                                         <span class=\"customer-form customer-address_pref\"></span>
  1273.                                     </div>
  1274.                                     <div class=\"ec-input\">
  1275.                                         <span class=\"customer-form customer-address_addr01\"></span>
  1276.                                     </div>
  1277.                                     <div class=\"ec-input\">
  1278.                                         <span class=\"customer-form customer-address_addr02\"></span>
  1279.                                     </div>
  1280.                                 </dd>
  1281.                             </dl>
  1282.                             <dl>
  1283.                                 <dt>
  1284.                                     <label class=\"ec-label required\" for=\"nonmember_phone_number\">{{ '電話番号'|trans }}</label>
  1285.                                     <span class=\"ec-required\">{{ '必須'|trans }}</span>
  1286.                                 </dt>
  1287.                                 <dd>
  1288.                                     <div class=\"ec-telInput\">
  1289.                                         <span class=\"customer-form customer-phone_number\"></span>
  1290.                                     </div>
  1291.                                 </dd>
  1292.                             </dl>
  1293.                             <dl>
  1294.                                 <dt>
  1295.                                     <label class=\"ec-label required\">{{ 'メールアドレス'|trans }}</label>
  1296.                                     <span class=\"ec-required\">{{ '必須'|trans }}</span>
  1297.                                 </dt>
  1298.                                 <dd>
  1299.                                     <div class=\"ec-input\">
  1300.                                         <span class=\"customer-form customer-email\"></span>
  1301.                                     </div>
  1302.                                 </dd>
  1303.                             </dl>
  1304.                         </div>
  1305.                         <div class=\"mod-button\" style=\"display:none;\">
  1306.                             <span id=\"customer-ok\"><button type=\"button\" class=\"ec-inlineBtn\">{{ 'OK'|trans }}</button></span>
  1307.                             <span id=\"customer-cancel\"><button type=\"button\" class=\"ec-inlineBtn\">{{ 'キャンセル'|trans }}</button></span>
  1308.                         </div>
  1309.                         <input type=\"hidden\" id=\"customer-name01\" class=\"customer-in\" name=\"customer_name01\" value=\"{{ Order.name01 }}\">
  1310.                         <input type=\"hidden\" id=\"customer-name02\" class=\"customer-in\" name=\"customer_name02\" value=\"{{ Order.name02 }}\">
  1311.                         <input type=\"hidden\" id=\"customer-kana01\" class=\"customer-in\" name=\"customer_kana01\" value=\"{{ Order.kana01 }}\">
  1312.                         <input type=\"hidden\" id=\"customer-kana02\" class=\"customer-in\" name=\"customer_kana02\" value=\"{{ Order.kana02 }}\">
  1313.                         <input type=\"hidden\" id=\"customer-company-name\" class=\"customer-in\" name=\"customer_company_name\" value=\"{{ Order.companyName }}\">
  1314.                         <input type=\"hidden\" id=\"customer-postal_code\" class=\"customer-in\" name=\"customer_postal_code\" value=\"{{ Order.postal_code }}\">
  1315.                         <input type=\"hidden\" id=\"customer-pref\" class=\"customer-in\" name=\"customer_pref\" value=\"{{ Order.pref }}\">
  1316.                         <input type=\"hidden\" id=\"customer-addr01\" class=\"customer-in\" name=\"customer_addr01\" value=\"{{ Order.addr01 }}\">
  1317.                         <input type=\"hidden\" id=\"customer-addr02\" class=\"customer-in\" name=\"customer_addr02\" value=\"{{ Order.addr02 }}\">
  1318.                         <input type=\"hidden\" id=\"customer-phone_number\" class=\"customer-in\" name=\"customer_phone_number\" value=\"{{ Order.phone_number }}\">
  1319.                         <input type=\"hidden\" id=\"customer-email\" class=\"customer-in\" name=\"customer_email\" value=\"{{ Order.email }}\">
  1320.                     {% endif %}
  1321.                 </div>
  1322.                 <div class=\"ec-orderDelivery\">
  1323.                     <div class=\"ec-rectHeading\">
  1324.                         <h2>{{ '配送情報'|trans }}</h2>
  1325.                     </div>
  1326.                     {% for shipping in Order.shippings %}
  1327.                         {% set idx = loop.index0 %}
  1328.                         {% set isShowReducedTaxMess = false %}
  1329.                         <div class=\"ec-orderDelivery__title\">{{ 'お届け先'|trans }}{% if Order.multiple %}({{ loop.index }}){% endif %}
  1330.                             <div class=\"ec-orderDelivery__change\">
  1331.                                 {% if is_granted('ROLE_USER') %}
  1332.                                     <button class=\"ec-inlineBtn\" data-id=\"{{ shipping.id }}\" data-trigger=\"click\" data-path=\"{{ path('shopping_shipping', {'id': shipping.id}) }}\">{{ '変更'|trans }}</button>
  1333.                                 {% else %}
  1334.                                     <button class=\"ec-inlineBtn\" data-id=\"{{ shipping.id }}\" data-trigger=\"click\" data-path=\"{{ path('shopping_shipping_edit', {'id': shipping.id}) }}\">{{ '変更'|trans }}</button>
  1335.                                 {% endif %}
  1336.                             </div>
  1337.                         </div>
  1338.                         <div class=\"ec-orderDelivery__item\">
  1339.                             <ul class=\"ec-borderedList\">
  1340.                                 {% for orderItem in shipping.productOrderItems %}
  1341.                                     <li>
  1342.                                         <div class=\"ec-imageGrid\">
  1343.                                             <div class=\"ec-imageGrid__img\"><img src=\"{{ asset((orderItem.product is null ? null : orderItem.product.MainListImage)|no_image_product, 'save_image') }}\" alt=\"{{ orderItem.productName }}\"></div>
  1344.                                             <div class=\"ec-imageGrid__content\">
  1345.                                                 <p>{{ orderItem.productName }}{% if is_reduced_tax_rate(orderItem) %}{{ '※'|trans }}{% set isShowReducedTaxMess = true %}{% endif %}</p>
  1346.                                                 {% if orderItem.productClass is not null and orderItem.productClass.classCategory1 %}
  1347.                                                     <p>{{ orderItem.productClass.classCategory1.className.name }}:{{ orderItem.productClass.classCategory1 }}</p>
  1348.                                                 {% endif %}
  1349.                                                 {% if orderItem.productClass is not null and orderItem.productClass.classCategory2 %}
  1350.                                                     <p>{{ orderItem.productClass.classCategory2.className.name }}:{{ orderItem.productClass.classCategory2 }}</p>
  1351.                                                 {% endif %}
  1352.                                                 <p>{{ orderItem.priceIncTax|price }} × {{ orderItem.quantity|number_format }}<span>{{ '小計:'|trans }}{{ orderItem.totalPrice|price }}</span></p>
  1353.                                             </div>
  1354.                                         </div>
  1355.                                     </li>
  1356.                                 {% endfor %}
  1357.                             </ul>
  1358.                             <p>{{ isShowReducedTaxMess ? '※ は軽減税率対象商品です。'|trans }}</p>
  1359.                         </div>
  1360.                         <div class=\"ec-orderDelivery__address\">
  1361.                             <p>{{ ''|trans }}{{ shipping.name01 }} {{ shipping.name02 }} ({{ shipping.kana01 }} {{ shipping.kana02 }}){{ ' 様'|trans }}</p>
  1362.                             <p>{{ '〒'|trans }}{{ shipping.postal_code }} {{ shipping.pref }}{{ shipping.addr01 }}{{ shipping.addr02 }}</p>
  1363.                             <p>{{ shipping.phone_number }}</p>
  1364.                         </div>
  1365.                         <div class=\"ec-orderDelivery__actions\">
  1366.                             <div class=\"ec-selects\">
  1367.                                 <div class=\"ec-select\">
  1368.                                     <label>{{ '配送方法'|trans }}</label>
  1369.                                     {{ form_widget(form.Shippings[idx].Delivery, { 'attr': { 'class': 'form-control', 'data-trigger': 'change' }}) }}
  1370.                                     {{ form_errors(form.Shippings[idx].Delivery) }}
  1371.                                 </div>
  1372.                                 <div class=\"ec-select ec-select__delivery\">
  1373.                                     <label>※お届け日は1週間後から指定可能です。指定なしの場合、発送の準備ができ次第発送致します。</label>
  1374.                                     <label>{{ 'お届け日'|trans }}</label>
  1375.                                     {{ form_widget(form.Shippings[idx].shipping_delivery_date, {'attr': {'class': 'form-control'}}) }}
  1376.                                     {{ form_errors(form.Shippings[idx].shipping_delivery_date) }}
  1377.                                    
  1378.                                 </div>
  1379.                                 <div class=\"ec-select ec-select__time\">
  1380.                                     <label>{{ 'お届け時間'|trans }}</label>
  1381.                                     {{ form_widget(form.Shippings[idx].DeliveryTime, {'attr': {'class': 'form-control'}}) }}
  1382.                                     {{ form_errors(form.Shippings[idx].DeliveryTime) }}
  1383.                                 </div>
  1384.                             </div>
  1385.                         </div>
  1386.                     {% endfor %}
  1387.                     <div class=\"ec-orderDelivery__edit\">
  1388.                         <button type=\"button\" class=\"ec-inlineBtn\" data-trigger=\"click\" data-path=\"{{ path('shopping_shipping_multiple') }}\">{{ 'お届け先を追加する'|trans }}</button>
  1389.                     </div>
  1390.                 </div>
  1391.                 <div class=\"ec-orderPayment\">
  1392.                     <div class=\"ec-rectHeading\">
  1393.                         <h2>{{ 'お支払方法'|trans }}</h2>
  1394.                     </div>
  1395.                     <div class=\"ec-radio\">
  1396.                         {% for key, child in form.Payment %}
  1397.                             <div style=\"display: block;\">
  1398.                                 {% set Payment = form.Payment.vars.choices[key].data %}
  1399.                                 {{ form_widget(child, { 'attr': { 'data-trigger': 'change' }}) }}
  1400.                                 {% if Payment.payment_image is not null %}
  1401.                                     <p><img src=\"{{ asset(Payment.payment_image, 'save_image') }}\"></p>
  1402.                                 {% endif %}
  1403.                             </div>
  1404.                         {% endfor %}
  1405.                     </div>
  1406.                     <div class=\"ec-input {{ has_errors(form.Payment) ? ' error' }}\">{{ form_errors(form.Payment) }}</div>
  1407.                 </div>
  1408.                 {% if BaseInfo.isOptionPoint and Order.Customer is not null %}
  1409.                     <div class=\"ec-orderPayment\">
  1410.                         <div class=\"ec-rectHeading\">
  1411.                             <h2>{{ '利用ポイント'|trans }}</h2>
  1412.                         </div>
  1413.                         <div class=\"ec-input {{ has_errors(form.use_point) ? ' error' }}\">
  1414.                             <p>{{ '%point% pt が利用可能です。'|trans({ '%point%': Order.Customer.Point|number_format }) }}</p>
  1415.                             {{ form_widget(form.use_point, { 'attr': { 'type': 'text', 'class': 'form-control', 'data-trigger': 'change' }}) }}
  1416.                             {{ form_errors(form.use_point) }}
  1417.                         </div>
  1418.                     </div>
  1419.                 {% endif %}
  1420.                 <div class=\"ec-orderConfirm\">
  1421.                     <div class=\"ec-rectHeading\">
  1422.                         <h2>{{ 'お問い合わせ'|trans }}</h2>
  1423.                     </div>
  1424.                     <div class=\"ec-input\">
  1425.                         {{ form_widget(form.message, {'attr': {'class': 'form-control', 'placeholder': 'お問い合わせ事項がございましたら、こちらにご入力ください。(3000文字まで)'|trans, 'rows': '6'}}) }}
  1426.                         {{ form_errors(form.message) }}
  1427.                     </div>
  1428.                 </div>
  1429.                 {% for activeTradeLaw in activeTradeLaws|filter(t => t.name and t.description) %}
  1430.                     <div class=\"ec-orderConfirm\">
  1431.                         <div class=\"ec-rectHeading\">
  1432.                             <h2>{{ activeTradeLaw.name }}</h2>
  1433.                         </div>
  1434.                         <div class=\"ec-input\">
  1435.                             {{ activeTradeLaw.description|raw }}
  1436.                         </div>
  1437.                     </div>
  1438.                 {% endfor %}
  1439.             </div>
  1440.             <div class=\"ec-orderRole__summary\">
  1441.                 <div class=\"ec-totalBox\">
  1442.                     <dl class=\"ec-totalBox__spec\">
  1443.                         <dt>{{ '小計'|trans }}</dt>
  1444.                         <dd class=\"ec-totalBox__specTotal\">{{ Order.subtotal|price }}</dd>
  1445.                     </dl>
  1446.                     <dl class=\"ec-totalBox__spec\">
  1447.                         <dt>{{ '手数料'|trans }}</dt>
  1448.                         <dd>{{ Order.charge|price }}</dd>
  1449.                     </dl>
  1450.                     <dl class=\"ec-totalBox__spec\">
  1451.                         <dt>{{ '送料'|trans }}</dt>
  1452.                         <dd></dd>
  1453. \t\t </dl>
  1454. \t\t<dl class=\"ec-totalBox__spec\">
  1455.                         <dt>{{ '(クール代+箱・保冷剤)'|trans }}</dt>
  1456.                         <dd>{{ Order.deliveryFeeTotal|price }}</dd>
  1457.                     </dl>
  1458.                     {% if Order.taxable_discount < 0 %}
  1459.                     <dl class=\"ec-totalBox__spec\">
  1460.                         <dt>{{ '値引き'|trans }}</dt>
  1461.                         <dd>{{ Order.taxable_discount|price }}</dd>
  1462.                     </dl>
  1463.                     {% endif %}
  1464.                     <div class=\"ec-totalBox__total\">{{ '合計'|trans }}<span class=\"ec-totalBox__price\">{{ Order.taxable_total|price }}</span><span class=\"ec-totalBox__taxLabel\">{{ '税込'|trans }}</span></div>
  1465.                     {% for item in Order.tax_free_discount_items %}
  1466.                         <dl class=\"ec-totalBox__spec\">
  1467.                             <dt>{{ item.product_name }}</dt>
  1468.                             <dd>{{ item.total_price|price }}</dd>
  1469.                         </dl>
  1470.                     {% endfor %}
  1471.                     <div class=\"ec-totalBox__paymentTotal\">{{ 'お支払い合計'|trans }}<span class=\"ec-totalBox__price\">{{ Order.payment_total|price }}</span><span class=\"ec-totalBox__taxLabel\">{{ '税込'|trans }}</span></div>
  1472.                     {% for rate, total in Order.total_by_tax_rate %}
  1473.                     <dl class=\"ec-totalBox__taxRate\">
  1474.                         <dt>{{ '税率 %rate% %対象'|trans({ '%rate%': rate }) }}</dt>
  1475.                         <dd>{{ total|price }} ({{ '内消費税'|trans }} {{ Order.tax_by_tax_rate[rate]|price }})</dd>
  1476.                     </dl>
  1477.                     {% endfor %}
  1478.                     {% if BaseInfo.isOptionPoint and Order.Customer is not null %}
  1479.                     <div class=\"ec-totalBox__pointBlock\">
  1480.                         <dl class=\"ec-totalBox__spec\">
  1481.                             <dt>{{ 'ご利用ポイント'|trans }}</dt>
  1482.                             <dd>{{ Order.UsePoint|number_format }} pt</dd>
  1483.                         </dl>
  1484.                         <dl class=\"ec-totalBox__spec\">
  1485.                             <dt><span class=\"ec-font-bold\">{{ '加算ポイント'|trans }}</span></dt>
  1486.                             <dd><span class=\"ec-font-bold\">{{ Order.AddPoint|number_format }} pt</span></dd>
  1487.                         </dl>
  1488.                     </div>
  1489.                     {% endif %}
  1490.                     <div class=\"ec-totalBox__btn\">
  1491.                         <button type=\"submit\" class=\"ec-blockBtn--action\">{{ '確認する'|trans }}</button>
  1492.                         <a href=\"{{ url(\"cart\") }}\" class=\"ec-blockBtn--cancel\">{{ 'カートに戻る'|trans }}</a>
  1493.                     </div>
  1494.                 </div>
  1495.             </div>
  1496.         </div>
  1497.     </form>
  1498. {% endblock %}""Shopping/index.twig""/home/daiwafood/www/ec/app/template/mizunasu/Shopping/index.twig");
  1499.     }
  1500. }