var/cache/dev/twig/f4/f4d3202dc5fe9fed2b2161183c606cce612b71079ceb98a932513b30b8056c89.php line 38

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. /* Mypage/history.twig */
  14. class __TwigTemplate_7930432ef34009f754da308cf97033d618b5108ca875ac74ee746cd12d1152f7 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.             'main' => [$this'block_main'],
  24.         ];
  25.     }
  26.     protected function doGetParent(array $context)
  27.     {
  28.         // line 11
  29.         return "default_frame.twig";
  30.     }
  31.     protected function doDisplay(array $context, array $blocks = [])
  32.     {
  33.         $macros $this->macros;
  34.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  35.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""Mypage/history.twig"));
  36.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  37.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""Mypage/history.twig"));
  38.         // line 13
  39.         $context["mypageno"] = "index";
  40.         // line 15
  41.         $context["body_class"] = "mypage";
  42.         // line 11
  43.         $this->parent $this->loadTemplate("default_frame.twig""Mypage/history.twig"11);
  44.         $this->parent->display($contextarray_merge($this->blocks$blocks));
  45.         
  46.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  47.         
  48.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  49.     }
  50.     // line 17
  51.     public function block_main($context, array $blocks = [])
  52.     {
  53.         $macros $this->macros;
  54.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  55.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""main"));
  56.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  57.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""main"));
  58.         // line 18
  59.         echo "    <div class=\"ec-layoutRole__main\">
  60.         <div class=\"ec-mypageRole\">
  61.             <div class=\"ec-pageHeader\">
  62.                 <h1>";
  63.         // line 21
  64.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("マイページ"), "html"nulltrue);
  65.         echo "/";
  66.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("ご注文履歴詳細"), "html"nulltrue);
  67.         echo "</h1>
  68.             </div>
  69.             ";
  70.         // line 23
  71.         $this->loadTemplate("Mypage/navi.twig""Mypage/history.twig"23)->display($context);
  72.         // line 24
  73.         echo "        </div>
  74.         ";
  75.         // line 26
  76.         $context["remessage"] = false;
  77.         // line 27
  78.         echo "
  79.         <div class=\"ec-orderRole\">
  80.             <div class=\"ec-orderRole__detail\">
  81.                 <div class=\"ec-orderOrder\">
  82.                     <div class=\"ec-definitions\">
  83.                         <dt>";
  84.         // line 32
  85.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("ご注文日時"), "html"nulltrue);
  86.         echo "</dt>
  87.                         <dd>";
  88.         // line 33
  89.         echo twig_escape_filter($this->env$this->extensions['Eccube\Twig\Extension\IntlExtension']->date_sec($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.'33$this->source); })()), "order_date", [], "any"falsefalsefalse33)), "html"nulltrue);
  90.         echo "</dd>
  91.                     </div>
  92.                     <div class=\"ec-definitions\">
  93.                         <dt>";
  94.         // line 36
  95.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("ご注文番号"), "html"nulltrue);
  96.         echo "</dt>
  97.                         <dd>";
  98.         // line 37
  99.         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.'37$this->source); })()), "order_no", [], "any"falsefalsefalse37), "html"nulltrue);
  100.         echo "</dd>
  101.                     </div>
  102.                     ";
  103.         // line 39
  104.         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.'39$this->source); })()), "option_mypage_order_status_display", [], "any"falsefalsefalse39)) {
  105.             // line 40
  106.             echo "                        <div class=\"ec-definitions\">
  107.                             <dt>";
  108.             // line 41
  109.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("ご注文状況"), "html"nulltrue);
  110.             echo "</dt>
  111.                             <dd>";
  112.             // line 42
  113.             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.'42$this->source); })()), "CustomerOrderStatus", [], "any"falsefalsefalse42), "html"nulltrue);
  114.             echo "</dd>
  115.                         </div>
  116.                     ";
  117.         }
  118.         // line 45
  119.         echo "                    ";
  120.         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.'45$this->source); })()), "isOptionPoint", [], "any"falsefalsefalse45)) {
  121.             // line 46
  122.             echo "                        <div class=\"ec-definitions\">
  123.                             <dt>";
  124.             // line 47
  125.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("ご利用ポイント"), "html"nulltrue);
  126.             echo "</dt>
  127.                             <dd>";
  128.             // line 48
  129.             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.'48$this->source); })()), "usePoint", [], "any"falsefalsefalse48)), "html"nulltrue);
  130.             echo " pt</dd>
  131.                         </div>
  132.                         <div class=\"ec-definitions\">
  133.                             <dt>";
  134.             // line 51
  135.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("加算ポイント"), "html"nulltrue);
  136.             echo "</dt>
  137.                             <dd>";
  138.             // line 52
  139.             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.'52$this->source); })()), "addPoint", [], "any"falsefalsefalse52)), "html"nulltrue);
  140.             echo " pt</dd>
  141.                         </div>
  142.                     ";
  143.         }
  144.         // line 55
  145.         echo "
  146.                 </div>
  147.                 <div class=\"ec-orderDelivery\">
  148.                     <div class=\"ec-rectHeading\">
  149.                         <h2>";
  150.         // line 59
  151.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("配送情報"), "html"nulltrue);
  152.         echo "</h2>
  153.                     </div>
  154.                     ";
  155.         // line 61
  156.         $context['_parent'] = $context;
  157.         $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.'61$this->source); })()), "Shippings", [], "any"falsefalsefalse61));
  158.         $context['loop'] = [
  159.           'parent' => $context['_parent'],
  160.           'index0' => 0,
  161.           'index'  => 1,
  162.           'first'  => true,
  163.         ];
  164.         if (is_array($context['_seq']) || (is_object($context['_seq']) && $context['_seq'] instanceof \Countable)) {
  165.             $length count($context['_seq']);
  166.             $context['loop']['revindex0'] = $length 1;
  167.             $context['loop']['revindex'] = $length;
  168.             $context['loop']['length'] = $length;
  169.             $context['loop']['last'] = === $length;
  170.         }
  171.         foreach ($context['_seq'] as $context["_key"] => $context["Shipping"]) {
  172.             // line 62
  173.             echo "                        ";
  174.             $context["isShowReducedTaxMess"] = false;
  175.             // line 63
  176.             echo "                        <div class=\"ec-orderDelivery__title\">";
  177.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("お届け先"), "html"nulltrue);
  178.             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.'63$this->source); })()), "multiple", [], "any"falsefalsefalse63)) {
  179.                 echo "(";
  180.                 echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["loop"], "index", [], "any"falsefalsefalse63), "html"nulltrue);
  181.                 echo ")";
  182.             }
  183.             echo "</div>
  184.                         ";
  185.             // line 64
  186.             $context['_parent'] = $context;
  187.             $context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env$this->source$context["Shipping"], "productOrderItems", [], "any"falsefalsefalse64));
  188.             foreach ($context['_seq'] as $context["_key"] => $context["orderItem"]) {
  189.                 // line 65
  190.                 echo "                            <div class=\"ec-orderDelivery__item\">
  191.                                 <div class=\"ec-imageGrid\">
  192.                                     <div class=\"ec-imageGrid__img\">
  193.                                         ";
  194.                 // line 68
  195.                 if ((null === twig_get_attribute($this->env$this->source$context["orderItem"], "product", [], "any"falsefalsefalse68))) {
  196.                     // line 69
  197.                     echo "                                            <img src=\"";
  198.                     echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl($this->extensions['Eccube\Twig\Extension\EccubeExtension']->getNoImageProduct(""), "save_image"), "html"nulltrue);
  199.                     echo "\"/>
  200.                                         ";
  201.                 } else {
  202.                     // line 71
  203.                     echo "                                            <img src=\"";
  204.                     echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl($this->extensions['Eccube\Twig\Extension\EccubeExtension']->getNoImageProduct(twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source$context["orderItem"], "Product", [], "any"falsefalsefalse71), "MainListImage", [], "any"falsefalsefalse71)), "save_image"), "html"nulltrue);
  205.                     echo "\"
  206.                                                  alt=\"";
  207.                     // line 72
  208.                     echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["orderItem"], "productName", [], "any"falsefalsefalse72), "html"nulltrue);
  209.                     echo "\"/>
  210.                                         ";
  211.                 }
  212.                 // line 74
  213.                 echo "                                    </div>
  214.                                     <div class=\"ec-imageGrid__content\">
  215.                                         <p>
  216.                                             ";
  217.                 // line 77
  218.                 if (( !(null === twig_get_attribute($this->env$this->source$context["orderItem"], "Product", [], "any"falsefalsefalse77)) && (twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source$context["orderItem"], "Product", [], "any"falsefalsefalse77), "Status", [], "any"falsefalsefalse77), "id", [], "any"falsefalsefalse77) == twig_constant("Eccube\\Entity\\Master\\ProductStatus::DISPLAY_SHOW")))) {
  219.                     // line 78
  220.                     echo "                                                <a href=\"";
  221.                     echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("product_detail", ["id" => twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source$context["orderItem"], "Product", [], "any"falsefalsefalse78), "id", [], "any"falsefalsefalse78)]), "html"nulltrue);
  222.                     echo "\">";
  223.                     echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["orderItem"], "productName", [], "any"falsefalsefalse78), "html"nulltrue);
  224.                     echo "</a>
  225.                                             ";
  226.                 } else {
  227.                     // line 80
  228.                     echo "                                                ";
  229.                     echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["orderItem"], "productName", [], "any"falsefalsefalse80), "html"nulltrue);
  230.                     echo "
  231.                                             ";
  232.                 }
  233.                 // line 81
  234.                 echo " ×";
  235.                 echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["orderItem"], "quantity", [], "any"falsefalsefalse81), "html"nulltrue);
  236.                 echo " ";
  237.                 if ($this->extensions['Eccube\Twig\Extension\TaxExtension']->isReducedTaxRate($context["orderItem"])) {
  238.                     echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("※"), "html"nulltrue);
  239.                     $context["isShowReducedTaxMess"] = true;
  240.                 }
  241.                 // line 82
  242.                 echo "                                        </p>
  243.                                         ";
  244.                 // line 83
  245.                 if ( !(null === twig_get_attribute($this->env$this->source$context["orderItem"], "ProductClass", [], "any"falsefalsefalse83))) {
  246.                     // line 84
  247.                     echo "                                            ";
  248.                     if ( !(null === twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source$context["orderItem"], "ProductClass", [], "any"falsefalsefalse84), "ClassCategory1", [], "any"falsefalsefalse84))) {
  249.                         // line 85
  250.                         echo "                                                ";
  251.                         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"falsefalsefalse85), "classCategory1", [], "any"falsefalsefalse85), "className", [], "any"falsefalsefalse85), "name", [], "any"falsefalsefalse85), "html"nulltrue);
  252.                         echo ":";
  253.                         echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source$context["orderItem"], "productClass", [], "any"falsefalsefalse85), "classCategory1", [], "any"falsefalsefalse85), "html"nulltrue);
  254.                         echo "
  255.                                             ";
  256.                     }
  257.                     // line 87
  258.                     echo "                                            ";
  259.                     if (twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source$context["orderItem"], "ProductClass", [], "any"falsefalsefalse87), "ClassCategory2", [], "any"falsefalsefalse87)) {
  260.                         // line 88
  261.                         echo "                                                <br>";
  262.                         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"falsefalsefalse88), "classCategory2", [], "any"falsefalsefalse88), "className", [], "any"falsefalsefalse88), "name", [], "any"falsefalsefalse88), "html"nulltrue);
  263.                         echo ":";
  264.                         echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source$context["orderItem"], "productClass", [], "any"falsefalsefalse88), "classCategory2", [], "any"falsefalsefalse88), "html"nulltrue);
  265.                         echo "
  266.                                             ";
  267.                     }
  268.                     // line 90
  269.                     echo "                                        ";
  270.                 }
  271.                 // line 91
  272.                 echo "                                        <p>";
  273.                 echo twig_escape_filter($this->env$this->extensions['Eccube\Twig\Extension\EccubeExtension']->getPriceFilter(twig_get_attribute($this->env$this->source$context["orderItem"], "price_inc_tax", [], "any"falsefalsefalse91)), "html"nulltrue);
  274.                 echo "
  275.                                             × ";
  276.                 // line 92
  277.                 echo twig_escape_filter($this->envtwig_number_format_filter($this->envtwig_get_attribute($this->env$this->source$context["orderItem"], "quantity", [], "any"falsefalsefalse92)), "html"nulltrue);
  278.                 echo "</p>
  279.                                         ";
  280.                 // line 93
  281.                 if ((twig_get_attribute($this->env$this->source$context["orderItem"], "product", [], "any"falsefalsefalse93) && (twig_get_attribute($this->env$this->source$context["orderItem"], "price_inc_tax", [], "any"falsefalsefalse93) != twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source$context["orderItem"], "productClass", [], "any"falsefalsefalse93), "price02IncTax", [], "any"falsefalsefalse93)))) {
  282.                     // line 94
  283.                     echo "                                            <p class=\"ec-color-accent\">
  284.                                                 ";
  285.                     // line 95
  286.                     echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("【現在価格】"), "html"nulltrue);
  287.                     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$context["orderItem"], "productClass", [], "any"falsefalsefalse95), "price02IncTax", [], "any"falsefalsefalse95)), "html"nulltrue);
  288.                     echo "</p>
  289.                                             ";
  290.                     // line 96
  291.                     $context["remessage"] = true;
  292.                     // line 97
  293.                     echo "                                        ";
  294.                 }
  295.                 // line 98
  296.                 echo "
  297.                                     </div>
  298.                                 </div>
  299.                             </div>
  300.                         ";
  301.             }
  302.             $_parent $context['_parent'];
  303.             unset($context['_seq'], $context['_iterated'], $context['_key'], $context['orderItem'], $context['_parent'], $context['loop']);
  304.             $context array_intersect_key($context$_parent) + $_parent;
  305.             // line 103
  306.             echo "                        <p>";
  307.             (((isset($context["isShowReducedTaxMess"]) || array_key_exists("isShowReducedTaxMess"$context) ? $context["isShowReducedTaxMess"] : (function () { throw new RuntimeError('Variable "isShowReducedTaxMess" does not exist.'103$this->source); })())) ? (print (twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("※ は軽減税率対象商品です。"), "html"nulltrue))) : (print ("")));
  308.             echo "</p>
  309.                         <div class=\"ec-orderDelivery__address\">
  310.                             <p>";
  311.             // line 105
  312.             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["Shipping"], "name01", [], "any"falsefalsefalse105), "html"nulltrue);
  313.             echo "&nbsp;";
  314.             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["Shipping"], "name02", [], "any"falsefalsefalse105), "html"nulltrue);
  315.             echo "&nbsp;
  316.                                 (";
  317.             // line 106
  318.             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["Shipping"], "kana01", [], "any"falsefalsefalse106), "html"nulltrue);
  319.             echo "&nbsp;";
  320.             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["Shipping"], "kana02", [], "any"falsefalsefalse106), "html"nulltrue);
  321.             echo ")</p>
  322.                             <p>";
  323.             // line 107
  324.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("〒"), "html"nulltrue);
  325.             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["Shipping"], "postal_code", [], "any"falsefalsefalse107), "html"nulltrue);
  326.             echo " ";
  327.             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["Shipping"], "Pref", [], "any"falsefalsefalse107), "html"nulltrue);
  328.             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["Shipping"], "addr01", [], "any"falsefalsefalse107), "html"nulltrue);
  329.             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["Shipping"], "addr02", [], "any"falsefalsefalse107), "html"nulltrue);
  330.             echo "</p>
  331.                             <p>";
  332.             // line 108
  333.             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["Shipping"], "phone_number", [], "any"falsefalsefalse108), "html"nulltrue);
  334.             echo "</p>
  335.                         </div>
  336.                         <div class=\"ec-definitions--soft\">
  337.                             <dt>";
  338.             // line 111
  339.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("配送方法"), "html"nulltrue);
  340.             echo " :</dt>
  341.                             <dd>";
  342.             // line 112
  343.             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["Shipping"], "shipping_delivery_name", [], "any"falsefalsefalse112), "html"nulltrue);
  344.             echo "</dd>
  345.                         </div>
  346.                         <div class=\"ec-definitions--soft\">
  347.                             <dt>";
  348.             // line 115
  349.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("お届け日"), "html"nulltrue);
  350.             echo " :</dt>
  351.                             <dd>";
  352.             // line 116
  353.             echo twig_escape_filter($this->env_twig_default_filter($this->extensions['Eccube\Twig\Extension\IntlExtension']->date_day_with_weekday($this->envtwig_get_attribute($this->env$this->source$context["Shipping"], "shipping_delivery_date", [], "any"falsefalsefalse116)), $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("指定なし")), "html"nulltrue);
  354.             echo "</dd>
  355.                         </div>
  356.                         <div class=\"ec-definitions--soft\">
  357.                             <dt>";
  358.             // line 119
  359.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("お届け時間"), "html"nulltrue);
  360.             echo " :</dt>
  361.                             <dd>";
  362.             // line 120
  363.             echo twig_escape_filter($this->env, ((twig_get_attribute($this->env$this->source$context["Shipping"], "shipping_delivery_time", [], "any"truetruefalse120)) ? (_twig_default_filter(twig_get_attribute($this->env$this->source$context["Shipping"], "shipping_delivery_time", [], "any"falsefalsefalse120), $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("指定なし"))) : ($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("指定なし"))), "html"nulltrue);
  364.             echo "</dd>
  365.                         </div>
  366.                     ";
  367.             ++$context['loop']['index0'];
  368.             ++$context['loop']['index'];
  369.             $context['loop']['first'] = false;
  370.             if (isset($context['loop']['length'])) {
  371.                 --$context['loop']['revindex0'];
  372.                 --$context['loop']['revindex'];
  373.                 $context['loop']['last'] = === $context['loop']['revindex0'];
  374.             }
  375.         }
  376.         $_parent $context['_parent'];
  377.         unset($context['_seq'], $context['_iterated'], $context['_key'], $context['Shipping'], $context['_parent'], $context['loop']);
  378.         $context array_intersect_key($context$_parent) + $_parent;
  379.         // line 123
  380.         echo "                </div>
  381.                 <div class=\"ec-orderPayment\">
  382.                     <div class=\"ec-rectHeading\">
  383.                         <h2>";
  384.         // line 126
  385.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("お支払い情報"), "html"nulltrue);
  386.         echo "</h2>
  387.                     </div>
  388.                     <p>";
  389.         // line 128
  390.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("お支払い方法"), "html"nulltrue);
  391.         echo " : ";
  392.         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.'128$this->source); })()), "PaymentMethod", [], "any"falsefalsefalse128), "html"nulltrue);
  393.         echo "</p>
  394.                 </div>
  395.                 <div class=\"ec-orderConfirm\">
  396.                     <div class=\"ec-rectHeading\">
  397.                         <h2>";
  398.         // line 132
  399.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("お問い合わせ"), "html"nulltrue);
  400.         echo "</h2>
  401.                     </div>
  402.                     <p>";
  403.         // line 134
  404.         echo twig_nl2br(twig_escape_filter($this->env, ((twig_get_attribute($this->env$this->source, ($context["Order"] ?? null), "message", [], "any"truetruefalse134)) ? (_twig_default_filter(twig_get_attribute($this->env$this->source, ($context["Order"] ?? null), "message", [], "any"falsefalsefalse134), $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("記載なし"))) : ($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("記載なし"))), "html"nulltrue));
  405.         echo "</p>
  406.                 </div>
  407.                 <div class=\"ec-orderMails\">
  408.                     <div class=\"ec-rectHeading\">
  409.                         <h2>";
  410.         // line 138
  411.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("メール配信履歴一覧"), "html"nulltrue);
  412.         echo "</h2>
  413.                     </div>
  414.                     ";
  415.         // line 140
  416.         $context['_parent'] = $context;
  417.         $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.'140$this->source); })()), "MailHistories", [], "any"falsefalsefalse140));
  418.         $context['_iterated'] = false;
  419.         foreach ($context['_seq'] as $context["_key"] => $context["MailHistory"]) {
  420.             // line 141
  421.             echo "                        <div class=\"ec-orderMail\">
  422.                             <div class=\"ec-orderMail__time\">";
  423.             // line 142
  424.             echo twig_escape_filter($this->env$this->extensions['Eccube\Twig\Extension\IntlExtension']->date_sec($this->envtwig_get_attribute($this->env$this->source$context["MailHistory"], "send_date", [], "any"falsefalsefalse142)), "html"nulltrue);
  425.             echo "</div>
  426.                             <div class=\"ec-orderMail__link\"><a>";
  427.             // line 143
  428.             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["MailHistory"], "mail_subject", [], "any"falsefalsefalse143), "html"nulltrue);
  429.             echo "</a></div>
  430.                             <div class=\"ec-orderMail__body\">";
  431.             // line 144
  432.             echo twig_nl2br(twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["MailHistory"], "mail_body", [], "any"falsefalsefalse144), "html"nulltrue));
  433.             echo "<p class=\"ec-orderMail__close\"><a>";
  434.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("閉じる"), "html"nulltrue);
  435.             echo "</a></p></div>
  436.                         </div>
  437.                     ";
  438.             $context['_iterated'] = true;
  439.         }
  440.         if (!$context['_iterated']) {
  441.             // line 147
  442.             echo "                        <p class=\"ec-reportDescription\">";
  443.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("メール履歴はありません。"), "html"nulltrue);
  444.             echo "</p>
  445.                     ";
  446.         }
  447.         $_parent $context['_parent'];
  448.         unset($context['_seq'], $context['_iterated'], $context['_key'], $context['MailHistory'], $context['_parent'], $context['loop']);
  449.         $context array_intersect_key($context$_parent) + $_parent;
  450.         // line 149
  451.         echo "                </div>
  452.             </div>
  453.             <div class=\"ec-orderRole__summary\">
  454.                 <div class=\"ec-totalBox\">
  455.                     <dl class=\"ec-totalBox__spec\">
  456.                         <dt>";
  457.         // line 155
  458.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("小計"), "html"nulltrue);
  459.         echo "</dt>
  460.                         <dd>";
  461.         // line 156
  462.         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.'156$this->source); })()), "subtotal", [], "any"falsefalsefalse156)), "html"nulltrue);
  463.         echo "</dd>
  464.                     </dl>
  465.                     <dl class=\"ec-totalBox__spec\">
  466.                         <dt>";
  467.         // line 159
  468.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("手数料"), "html"nulltrue);
  469.         echo "</dt>
  470.                         <dd>";
  471.         // line 160
  472.         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.'160$this->source); })()), "charge", [], "any"falsefalsefalse160)), "html"nulltrue);
  473.         echo "</dd>
  474.                     </dl>
  475.                     <dl class=\"ec-totalBox__spec\">
  476.                         <dt>";
  477.         // line 163
  478.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("送料"), "html"nulltrue);
  479.         echo "</dt>
  480.                         <dd>";
  481.         // line 164
  482.         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.'164$this->source); })()), "delivery_fee_total", [], "any"falsefalsefalse164)), "html"nulltrue);
  483.         echo "</dd>
  484.                     </dl>
  485.                     ";
  486.         // line 166
  487.         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.'166$this->source); })()), "taxable_discount", [], "any"falsefalsefalse166) < 0)) {
  488.             // line 167
  489.             echo "                    <dl class=\"ec-totalBox__spec\">
  490.                         <dt>";
  491.             // line 168
  492.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("値引き"), "html"nulltrue);
  493.             echo "</dt>
  494.                         <dd>";
  495.             // line 169
  496.             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.'169$this->source); })()), "taxable_discount", [], "any"falsefalsefalse169)), "html"nulltrue);
  497.             echo "</dd>
  498.                     </dl>
  499.                     ";
  500.         }
  501.         // line 172
  502.         echo "                    <div class=\"ec-totalBox__total\">";
  503.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("合計"), "html"nulltrue);
  504.         echo "<span
  505.                                 class=\"ec-totalBox__price\">";
  506.         // line 173
  507.         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.'173$this->source); })()), "taxable_total", [], "any"falsefalsefalse173)), "html"nulltrue);
  508.         echo "</span><span
  509.                                 class=\"ec-totalBox__taxLabel\">";
  510.         // line 174
  511.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("税込"), "html"nulltrue);
  512.         echo "</span></div>
  513.                     ";
  514.         // line 175
  515.         $context['_parent'] = $context;
  516.         $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.'175$this->source); })()), "tax_free_discount_items", [], "any"falsefalsefalse175));
  517.         foreach ($context['_seq'] as $context["_key"] => $context["item"]) {
  518.             // line 176
  519.             echo "                        <dl class=\"ec-totalBox__spec\">
  520.                             <dt>";
  521.             // line 177
  522.             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["item"], "product_name", [], "any"falsefalsefalse177), "html"nulltrue);
  523.             echo "</dt>
  524.                             <dd>";
  525.             // line 178
  526.             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"falsefalsefalse178)), "html"nulltrue);
  527.             echo "</dd>
  528.                         </dl>
  529.                     ";
  530.         }
  531.         $_parent $context['_parent'];
  532.         unset($context['_seq'], $context['_iterated'], $context['_key'], $context['item'], $context['_parent'], $context['loop']);
  533.         $context array_intersect_key($context$_parent) + $_parent;
  534.         // line 181
  535.         echo "                    <div class=\"ec-totalBox__paymentTotal\">";
  536.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("合計"), "html"nulltrue);
  537.         echo "<span
  538.                                 class=\"ec-totalBox__price\">";
  539.         // line 182
  540.         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.'182$this->source); })()), "payment_total", [], "any"falsefalsefalse182)), "html"nulltrue);
  541.         echo "</span><span
  542.                                 class=\"ec-totalBox__taxLabel\">";
  543.         // line 183
  544.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("税込"), "html"nulltrue);
  545.         echo "</span></div>
  546.                     ";
  547.         // line 184
  548.         $context['_parent'] = $context;
  549.         $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.'184$this->source); })()), "total_by_tax_rate", [], "any"falsefalsefalse184));
  550.         foreach ($context['_seq'] as $context["rate"] => $context["total"]) {
  551.             // line 185
  552.             echo "                        <dl class=\"ec-totalBox__taxRate\">
  553.                             <dt>";
  554.             // line 186
  555.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("税率 %rate% %対象", ["%rate%" => $context["rate"]]), "html"nulltrue);
  556.             echo "</dt>
  557.                             <dd>";
  558.             // line 187
  559.             echo twig_escape_filter($this->env$this->extensions['Eccube\Twig\Extension\EccubeExtension']->getPriceFilter($context["total"]), "html"nulltrue);
  560.             echo " (";
  561.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("内消費税"), "html"nulltrue);
  562.             echo " ";
  563.             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.'187$this->source); })()), "tax_by_tax_rate", [], "any"falsefalsefalse187), $context["rate"], [], "array"falsefalsefalse187)), "html"nulltrue);
  564.             echo ")</dd>
  565.                         </dl>
  566.                     ";
  567.         }
  568.         $_parent $context['_parent'];
  569.         unset($context['_seq'], $context['_iterated'], $context['rate'], $context['total'], $context['_parent'], $context['loop']);
  570.         $context array_intersect_key($context$_parent) + $_parent;
  571.         // line 190
  572.         echo "                    ";
  573.         if ((isset($context["stockOrder"]) || array_key_exists("stockOrder"$context) ? $context["stockOrder"] : (function () { throw new RuntimeError('Variable "stockOrder" does not exist.'190$this->source); })())) {
  574.             // line 191
  575.             echo "                        <a href=\"";
  576.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("mypage_order", ["order_no" => 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.'191$this->source); })()), "order_no", [], "any"falsefalsefalse191)]), "html"nulltrue);
  577.             echo "\"
  578.                        class=\"ec-blockBtn--action load-overlay\" ";
  579.             // line 192
  580.             echo $this->extensions['Eccube\Twig\Extension\CsrfExtension']->getCsrfTokenForAnchor();
  581.             echo " data-method=\"put\"
  582.                        data-confirm=\"false\">";
  583.             // line 193
  584.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("再注文する"), "html"nulltrue);
  585.             echo "</a>
  586.                     ";
  587.         }
  588.         // line 195
  589.         echo "                </div>
  590.                 ";
  591.         // line 196
  592.         if ((isset($context["remessage"]) || array_key_exists("remessage"$context) ? $context["remessage"] : (function () { throw new RuntimeError('Variable "remessage" does not exist.'196$this->source); })())) {
  593.             // line 197
  594.             echo "                    <p class=\"ec-color-accent\">
  595.                         <strong>";
  596.             // line 198
  597.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("※金額が変更されている商品があるため、再注文時はご注意ください。"), "html"nulltrue);
  598.             echo "</strong>
  599.                     </p>
  600.                 ";
  601.         }
  602.         // line 201
  603.         echo "            </div>
  604.         </div>
  605.         <div class=\"ec-role ec-orderRole\">
  606.             <div class=\"ec-orderRole__detail\">
  607.                 <a href=\"";
  608.         // line 205
  609.         echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("mypage");
  610.         echo "\" class=\"ec-inlineBtn ec-font-bold\">";
  611.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("戻る"), "html"nulltrue);
  612.         echo "</a>
  613.             </div>
  614.         </div>
  615.     </div>
  616. ";
  617.         
  618.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  619.         
  620.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  621.     }
  622.     public function getTemplateName()
  623.     {
  624.         return "Mypage/history.twig";
  625.     }
  626.     public function isTraitable()
  627.     {
  628.         return false;
  629.     }
  630.     public function getDebugInfo()
  631.     {
  632.         return array (  625 => 205,  619 => 201,  613 => 198,  610 => 197,  608 => 196,  605 => 195,  600 => 193,  596 => 192,  591 => 191,  588 => 190,  575 => 187,  571 => 186,  568 => 185,  564 => 184,  560 => 183,  556 => 182,  551 => 181,  542 => 178,  538 => 177,  535 => 176,  531 => 175,  527 => 174,  523 => 173,  518 => 172,  512 => 169,  508 => 168,  505 => 167,  503 => 166,  498 => 164,  494 => 163,  488 => 160,  484 => 159,  478 => 156,  474 => 155,  466 => 149,  457 => 147,  447 => 144,  443 => 143,  439 => 142,  436 => 141,  431 => 140,  426 => 138,  419 => 134,  414 => 132,  405 => 128,  400 => 126,  395 => 123,  378 => 120,  374 => 119,  368 => 116,  364 => 115,  358 => 112,  354 => 111,  348 => 108,  339 => 107,  333 => 106,  327 => 105,  321 => 103,  311 => 98,  308 => 97,  306 => 96,  301 => 95,  298 => 94,  296 => 93,  292 => 92,  287 => 91,  284 => 90,  276 => 88,  273 => 87,  265 => 85,  262 => 84,  260 => 83,  257 => 82,  249 => 81,  243 => 80,  235 => 78,  233 => 77,  228 => 74,  223 => 72,  218 => 71,  212 => 69,  210 => 68,  205 => 65,  201 => 64,  191 => 63,  188 => 62,  171 => 61,  166 => 59,  160 => 55,  154 => 52,  150 => 51,  144 => 48,  140 => 47,  137 => 46,  134 => 45,  128 => 42,  124 => 41,  121 => 40,  119 => 39,  114 => 37,  110 => 36,  104 => 33,  100 => 32,  93 => 27,  91 => 26,  87 => 24,  85 => 23,  78 => 21,  73 => 18,  63 => 17,  52 => 11,  50 => 15,  48 => 13,  35 => 11,);
  633.     }
  634.     public function getSourceContext()
  635.     {
  636.         return new Source("{#
  637. This file is part of EC-CUBE
  638. Copyright(c) EC-CUBE CO.,LTD. All Rights Reserved.
  639. http://www.ec-cube.co.jp/
  640. For the full copyright and license information, please view the LICENSE
  641. file that was distributed with this source code.
  642. #}
  643. {% extends 'default_frame.twig' %}
  644. {% set mypageno = 'index' %}
  645. {% set body_class = 'mypage' %}
  646. {% block main %}
  647.     <div class=\"ec-layoutRole__main\">
  648.         <div class=\"ec-mypageRole\">
  649.             <div class=\"ec-pageHeader\">
  650.                 <h1>{{ 'マイページ'|trans }}/{{ 'ご注文履歴詳細'|trans }}</h1>
  651.             </div>
  652.             {% include 'Mypage/navi.twig' %}
  653.         </div>
  654.         {% set remessage = false %}
  655.         <div class=\"ec-orderRole\">
  656.             <div class=\"ec-orderRole__detail\">
  657.                 <div class=\"ec-orderOrder\">
  658.                     <div class=\"ec-definitions\">
  659.                         <dt>{{ 'ご注文日時'|trans }}</dt>
  660.                         <dd>{{ Order.order_date|date_sec }}</dd>
  661.                     </div>
  662.                     <div class=\"ec-definitions\">
  663.                         <dt>{{ 'ご注文番号'|trans }}</dt>
  664.                         <dd>{{ Order.order_no }}</dd>
  665.                     </div>
  666.                     {% if BaseInfo.option_mypage_order_status_display %}
  667.                         <div class=\"ec-definitions\">
  668.                             <dt>{{ 'ご注文状況'|trans }}</dt>
  669.                             <dd>{{ Order.CustomerOrderStatus }}</dd>
  670.                         </div>
  671.                     {% endif %}
  672.                     {% if BaseInfo.isOptionPoint %}
  673.                         <div class=\"ec-definitions\">
  674.                             <dt>{{ 'ご利用ポイント'|trans }}</dt>
  675.                             <dd>{{ Order.usePoint|number_format }} pt</dd>
  676.                         </div>
  677.                         <div class=\"ec-definitions\">
  678.                             <dt>{{ '加算ポイント'|trans }}</dt>
  679.                             <dd>{{ Order.addPoint|number_format }} pt</dd>
  680.                         </div>
  681.                     {% endif %}
  682.                 </div>
  683.                 <div class=\"ec-orderDelivery\">
  684.                     <div class=\"ec-rectHeading\">
  685.                         <h2>{{ '配送情報'|trans }}</h2>
  686.                     </div>
  687.                     {% for Shipping in Order.Shippings %}
  688.                         {% set isShowReducedTaxMess = false %}
  689.                         <div class=\"ec-orderDelivery__title\">{{ 'お届け先'|trans }}{% if Order.multiple %}({{ loop.index }}){% endif %}</div>
  690.                         {% for orderItem in Shipping.productOrderItems %}
  691.                             <div class=\"ec-orderDelivery__item\">
  692.                                 <div class=\"ec-imageGrid\">
  693.                                     <div class=\"ec-imageGrid__img\">
  694.                                         {% if orderItem.product is null %}
  695.                                             <img src=\"{{ asset(''|no_image_product, 'save_image') }}\"/>
  696.                                         {% else %}
  697.                                             <img src=\"{{ asset(orderItem.Product.MainListImage|no_image_product, 'save_image') }}\"
  698.                                                  alt=\"{{ orderItem.productName }}\"/>
  699.                                         {% endif %}
  700.                                     </div>
  701.                                     <div class=\"ec-imageGrid__content\">
  702.                                         <p>
  703.                                             {% if orderItem.Product is not null and orderItem.Product.Status.id == constant('Eccube\\\\Entity\\\\Master\\\\ProductStatus::DISPLAY_SHOW') %}
  704.                                                 <a href=\"{{ url('product_detail', {'id': orderItem.Product.id}) }}\">{{ orderItem.productName }}</a>
  705.                                             {% else %}
  706.                                                 {{ orderItem.productName }}
  707.                                             {% endif %} ×{{ orderItem.quantity }} {% if is_reduced_tax_rate(orderItem) %}{{ '※'|trans }}{% set isShowReducedTaxMess = true %}{% endif %}
  708.                                         </p>
  709.                                         {% if orderItem.ProductClass is not null %}
  710.                                             {% if orderItem.ProductClass.ClassCategory1 is not null %}
  711.                                                 {{ orderItem.productClass.classCategory1.className.name }}:{{ orderItem.productClass.classCategory1 }}
  712.                                             {% endif %}
  713.                                             {% if orderItem.ProductClass.ClassCategory2 %}
  714.                                                 <br>{{ orderItem.productClass.classCategory2.className.name }}:{{ orderItem.productClass.classCategory2 }}
  715.                                             {% endif %}
  716.                                         {% endif %}
  717.                                         <p>{{ orderItem.price_inc_tax|price }}
  718.                                             × {{ orderItem.quantity|number_format }}</p>
  719.                                         {% if orderItem.product and orderItem.price_inc_tax != orderItem.productClass.price02IncTax %}
  720.                                             <p class=\"ec-color-accent\">
  721.                                                 {{ '【現在価格】'|trans }}{{ orderItem.productClass.price02IncTax|price }}</p>
  722.                                             {% set remessage = true %}
  723.                                         {% endif %}
  724.                                     </div>
  725.                                 </div>
  726.                             </div>
  727.                         {% endfor %}
  728.                         <p>{{ isShowReducedTaxMess ? '※ は軽減税率対象商品です。'|trans }}</p>
  729.                         <div class=\"ec-orderDelivery__address\">
  730.                             <p>{{ Shipping.name01 }}&nbsp;{{ Shipping.name02 }}&nbsp;
  731.                                 ({{ Shipping.kana01 }}&nbsp;{{ Shipping.kana02 }})</p>
  732.                             <p>{{ '〒'|trans }}{{ Shipping.postal_code }} {{ Shipping.Pref }}{{ Shipping.addr01 }}{{ Shipping.addr02 }}</p>
  733.                             <p>{{ Shipping.phone_number }}</p>
  734.                         </div>
  735.                         <div class=\"ec-definitions--soft\">
  736.                             <dt>{{ '配送方法'|trans }} :</dt>
  737.                             <dd>{{ Shipping.shipping_delivery_name }}</dd>
  738.                         </div>
  739.                         <div class=\"ec-definitions--soft\">
  740.                             <dt>{{ 'お届け日'|trans }} :</dt>
  741.                             <dd>{{ Shipping.shipping_delivery_date|date_day_with_weekday|default('指定なし'|trans) }}</dd>
  742.                         </div>
  743.                         <div class=\"ec-definitions--soft\">
  744.                             <dt>{{ 'お届け時間'|trans }} :</dt>
  745.                             <dd>{{ Shipping.shipping_delivery_time|default('指定なし'|trans) }}</dd>
  746.                         </div>
  747.                     {% endfor %}
  748.                 </div>
  749.                 <div class=\"ec-orderPayment\">
  750.                     <div class=\"ec-rectHeading\">
  751.                         <h2>{{ 'お支払い情報'|trans }}</h2>
  752.                     </div>
  753.                     <p>{{ 'お支払い方法'|trans }} : {{ Order.PaymentMethod }}</p>
  754.                 </div>
  755.                 <div class=\"ec-orderConfirm\">
  756.                     <div class=\"ec-rectHeading\">
  757.                         <h2>{{ 'お問い合わせ'|trans }}</h2>
  758.                     </div>
  759.                     <p>{{ Order.message|default('記載なし'|trans)|nl2br }}</p>
  760.                 </div>
  761.                 <div class=\"ec-orderMails\">
  762.                     <div class=\"ec-rectHeading\">
  763.                         <h2>{{ 'メール配信履歴一覧'|trans }}</h2>
  764.                     </div>
  765.                     {% for MailHistory in Order.MailHistories %}
  766.                         <div class=\"ec-orderMail\">
  767.                             <div class=\"ec-orderMail__time\">{{ MailHistory.send_date|date_sec }}</div>
  768.                             <div class=\"ec-orderMail__link\"><a>{{ MailHistory.mail_subject }}</a></div>
  769.                             <div class=\"ec-orderMail__body\">{{ MailHistory.mail_body|nl2br }}<p class=\"ec-orderMail__close\"><a>{{ '閉じる'|trans }}</a></p></div>
  770.                         </div>
  771.                     {% else %}
  772.                         <p class=\"ec-reportDescription\">{{ 'メール履歴はありません。'|trans }}</p>
  773.                     {% endfor %}
  774.                 </div>
  775.             </div>
  776.             <div class=\"ec-orderRole__summary\">
  777.                 <div class=\"ec-totalBox\">
  778.                     <dl class=\"ec-totalBox__spec\">
  779.                         <dt>{{ '小計'|trans }}</dt>
  780.                         <dd>{{ Order.subtotal|price }}</dd>
  781.                     </dl>
  782.                     <dl class=\"ec-totalBox__spec\">
  783.                         <dt>{{ '手数料'|trans }}</dt>
  784.                         <dd>{{ Order.charge|price }}</dd>
  785.                     </dl>
  786.                     <dl class=\"ec-totalBox__spec\">
  787.                         <dt>{{ '送料'|trans }}</dt>
  788.                         <dd>{{ Order.delivery_fee_total|price }}</dd>
  789.                     </dl>
  790.                     {% if Order.taxable_discount < 0 %}
  791.                     <dl class=\"ec-totalBox__spec\">
  792.                         <dt>{{ '値引き'|trans }}</dt>
  793.                         <dd>{{ Order.taxable_discount|price }}</dd>
  794.                     </dl>
  795.                     {% endif %}
  796.                     <div class=\"ec-totalBox__total\">{{ '合計'|trans }}<span
  797.                                 class=\"ec-totalBox__price\">{{ Order.taxable_total|price }}</span><span
  798.                                 class=\"ec-totalBox__taxLabel\">{{ '税込'|trans }}</span></div>
  799.                     {% for item in Order.tax_free_discount_items %}
  800.                         <dl class=\"ec-totalBox__spec\">
  801.                             <dt>{{ item.product_name }}</dt>
  802.                             <dd>{{ item.total_price|price }}</dd>
  803.                         </dl>
  804.                     {% endfor %}
  805.                     <div class=\"ec-totalBox__paymentTotal\">{{ '合計'|trans }}<span
  806.                                 class=\"ec-totalBox__price\">{{ Order.payment_total|price }}</span><span
  807.                                 class=\"ec-totalBox__taxLabel\">{{ '税込'|trans }}</span></div>
  808.                     {% for rate, total in Order.total_by_tax_rate %}
  809.                         <dl class=\"ec-totalBox__taxRate\">
  810.                             <dt>{{ '税率 %rate% %対象'|trans({ '%rate%': rate }) }}</dt>
  811.                             <dd>{{ total|price }} ({{ '内消費税'|trans }} {{ Order.tax_by_tax_rate[rate]|price }})</dd>
  812.                         </dl>
  813.                     {% endfor %}
  814.                     {% if stockOrder %}
  815.                         <a href=\"{{ url('mypage_order', {'order_no': Order.order_no }) }}\"
  816.                        class=\"ec-blockBtn--action load-overlay\" {{ csrf_token_for_anchor() }} data-method=\"put\"
  817.                        data-confirm=\"false\">{{ '再注文する'|trans }}</a>
  818.                     {% endif %}
  819.                 </div>
  820.                 {% if remessage %}
  821.                     <p class=\"ec-color-accent\">
  822.                         <strong>{{ '※金額が変更されている商品があるため、再注文時はご注意ください。'|trans }}</strong>
  823.                     </p>
  824.                 {% endif %}
  825.             </div>
  826.         </div>
  827.         <div class=\"ec-role ec-orderRole\">
  828.             <div class=\"ec-orderRole__detail\">
  829.                 <a href=\"{{ url('mypage') }}\" class=\"ec-inlineBtn ec-font-bold\">{{ '戻る'|trans }}</a>
  830.             </div>
  831.         </div>
  832.     </div>
  833. {% endblock %}
  834. ""Mypage/history.twig""/home/daiwafood/www/ec/app/template/mizunasu/Mypage/history.twig");
  835.     }
  836. }