var/cache/dev/twig/71/71cfb5f7613ef57bb2915cfab98ae763.php line 33

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. /* Mail/order.twig */
  14. class __TwigTemplate_c41a9fb0cc6c2ac6694867f1feb836a9 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->parent false;
  23.         $this->blocks = [
  24.         ];
  25.     }
  26.     protected function doDisplay(array $context, array $blocks = [])
  27.     {
  28.         $macros $this->macros;
  29.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  30.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""Mail/order.twig"));
  31.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  32.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""Mail/order.twig"));
  33.         // line 12
  34.         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.'12$this->source); })()), "name01", [], "any"falsefalsefalse12), "safe_textmail"nulltrue);
  35.         echo " ";
  36.         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.'12$this->source); })()), "name02", [], "any"falsefalsefalse12), "safe_textmail"nulltrue);
  37.         echo " 様
  38. この度はご注文いただき誠にありがとうございます。下記ご注文内容にお間違えがないかご確認下さい。
  39. ************************************************
  40.  ご請求金額
  41. ************************************************
  42. ご注文日時:";
  43.         // line 20
  44.         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.'20$this->source); })()), "order_date", [], "any"falsefalsefalse20)), "safe_textmail"nulltrue);
  45.         echo "
  46. ご注文番号:";
  47.         // line 21
  48.         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.'21$this->source); })()), "order_no", [], "any"falsefalsefalse21), "safe_textmail"nulltrue);
  49.         echo "
  50. お支払い合計:";
  51.         // line 22
  52.         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.'22$this->source); })()), "payment_total", [], "any"falsefalsefalse22)), "safe_textmail"nulltrue);
  53.         echo "
  54. お支払い方法:";
  55.         // line 23
  56.         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.'23$this->source); })()), "payment_method", [], "any"falsefalsefalse23), "safe_textmail"nulltrue);
  57.         echo "
  58. ";
  59.         // line 24
  60.         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.'24$this->source); })()), "isOptionPoint", [], "any"falsefalsefalse24) &&  !(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.'24$this->source); })()), "Customer", [], "any"falsefalsefalse24)))) {
  61.             // line 25
  62.             echo "ご利用ポイント:";
  63.             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.'25$this->source); })()), "usePoint", [], "any"falsefalsefalse25)), "safe_textmail"nulltrue);
  64.             echo " pt
  65. 加算ポイント:";
  66.             // line 26
  67.             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.'26$this->source); })()), "addPoint", [], "any"falsefalsefalse26)), "safe_textmail"nulltrue);
  68.             echo " pt
  69. ";
  70.         }
  71.         // line 28
  72.         echo "お問い合わせ:";
  73.         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.'28$this->source); })()), "message", [], "any"falsefalsefalse28), "safe_textmail"nulltrue);
  74.         echo "
  75. ************************************************
  76.  ご注文商品明細
  77. ************************************************
  78. ";
  79.         // line 35
  80.         $context["isShowReducedTaxMess"] = false;
  81.         // line 36
  82.         $context['_parent'] = $context;
  83.         $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.'36$this->source); })()), "MergedProductOrderItems", [], "any"falsefalsefalse36));
  84.         foreach ($context['_seq'] as $context["_key"] => $context["OrderItem"]) {
  85.             // line 37
  86.             echo "商品コード:";
  87.             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["OrderItem"], "product_code", [], "any"falsefalsefalse37), "safe_textmail"nulltrue);
  88.             echo "
  89. 商品名:";
  90.             // line 38
  91.             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["OrderItem"], "product_name", [], "any"falsefalsefalse38), "safe_textmail"nulltrue);
  92.             echo "  ";
  93.             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["OrderItem"], "classcategory_name1", [], "any"falsefalsefalse38), "safe_textmail"nulltrue);
  94.             echo "  ";
  95.             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["OrderItem"], "classcategory_name2", [], "any"falsefalsefalse38), "safe_textmail"nulltrue);
  96.             echo " ";
  97.             if ($this->extensions['Eccube\Twig\Extension\TaxExtension']->isReducedTaxRate($context["OrderItem"])) {
  98.                 echo "※";
  99.                 $context["isShowReducedTaxMess"] = true;
  100.             }
  101.             // line 39
  102.             echo "
  103. 単価:";
  104.             // line 40
  105.             echo twig_escape_filter($this->env$this->extensions['Eccube\Twig\Extension\EccubeExtension']->getPriceFilter(twig_get_attribute($this->env$this->source$context["OrderItem"], "price_inctax", [], "any"falsefalsefalse40)), "safe_textmail"nulltrue);
  106.             echo "
  107. 数量:";
  108.             // line 41
  109.             echo twig_escape_filter($this->envtwig_number_format_filter($this->envtwig_get_attribute($this->env$this->source$context["OrderItem"], "quantity", [], "any"falsefalsefalse41)), "safe_textmail"nulltrue);
  110.             echo "
  111. ";
  112.         }
  113.         $_parent $context['_parent'];
  114.         unset($context['_seq'], $context['_iterated'], $context['_key'], $context['OrderItem'], $context['_parent'], $context['loop']);
  115.         $context array_intersect_key($context$_parent) + $_parent;
  116.         // line 44
  117.         if ((isset($context["isShowReducedTaxMess"]) || array_key_exists("isShowReducedTaxMess"$context) ? $context["isShowReducedTaxMess"] : (function () { throw new RuntimeError('Variable "isShowReducedTaxMess" does not exist.'44$this->source); })())) {
  118.             echo "※は軽減税率対象商品です。
  119. ";
  120.         }
  121.         // line 46
  122.         echo "-------------------------------------------------
  123. 小 計:";
  124.         // line 47
  125.         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.'47$this->source); })()), "subtotal", [], "any"falsefalsefalse47)), "safe_textmail"nulltrue);
  126.         echo "
  127. ";
  128.         // line 48
  129.         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.'48$this->source); })()), "taxable_discount", [], "any"falsefalsefalse48) < 0)) {
  130.             // line 49
  131.             echo "値引き:";
  132.             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.'49$this->source); })()), "taxable_discount", [], "any"falsefalsefalse49)), "safe_textmail"nulltrue);
  133.             echo "
  134. ";
  135.         }
  136.         // line 51
  137.         echo "-------------------------------------------------
  138. 合 計:";
  139.         // line 52
  140.         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.'52$this->source); })()), "taxable_total", [], "any"falsefalsefalse52)), "safe_textmail"nulltrue);
  141.         echo "
  142. ";
  143.         // line 53
  144.         $context['_parent'] = $context;
  145.         $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.'53$this->source); })()), "tax_free_discount_items", [], "any"falsefalsefalse53));
  146.         foreach ($context['_seq'] as $context["_key"] => $context["item"]) {
  147.             // line 54
  148.             echo "-------------------------------------------------
  149. ";
  150.             // line 55
  151.             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["item"], "product_name", [], "any"falsefalsefalse55), "safe_textmail"nulltrue);
  152.             echo ":";
  153.             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"falsefalsefalse55)), "safe_textmail"nulltrue);
  154.             echo "
  155. ";
  156.         }
  157.         $_parent $context['_parent'];
  158.         unset($context['_seq'], $context['_iterated'], $context['_key'], $context['item'], $context['_parent'], $context['loop']);
  159.         $context array_intersect_key($context$_parent) + $_parent;
  160.         // line 57
  161.         echo "============================================
  162. お支払い合計:";
  163.         // line 58
  164.         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.'58$this->source); })()), "payment_total", [], "any"falsefalsefalse58)), "safe_textmail"nulltrue);
  165.         echo "
  166.   ";
  167.         // line 59
  168.         $context['_parent'] = $context;
  169.         $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.'59$this->source); })()), "total_by_tax_rate", [], "any"falsefalsefalse59));
  170.         foreach ($context['_seq'] as $context["rate"] => $context["total"]) {
  171.             // line 60
  172.             echo "  (";
  173.             echo twig_escape_filter($this->env$context["rate"], "safe_textmail"nulltrue);
  174.             echo " %対象:";
  175.             echo twig_escape_filter($this->env$this->extensions['Eccube\Twig\Extension\EccubeExtension']->getPriceFilter($context["total"]), "safe_textmail"nulltrue);
  176.             echo " 内消費税:";
  177.             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.'60$this->source); })()), "tax_by_tax_rate", [], "any"falsefalsefalse60), $context["rate"], [], "array"falsefalsefalse60)), "safe_textmail"nulltrue);
  178.             echo ")
  179.   ";
  180.         }
  181.         $_parent $context['_parent'];
  182.         unset($context['_seq'], $context['_iterated'], $context['rate'], $context['total'], $context['_parent'], $context['loop']);
  183.         $context array_intersect_key($context$_parent) + $_parent;
  184.         // line 62
  185.         echo "
  186. ************************************************
  187.  ご注文者情報
  188. ************************************************
  189. お名前:";
  190.         // line 66
  191.         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.'66$this->source); })()), "name01", [], "any"falsefalsefalse66), "safe_textmail"nulltrue);
  192.         echo " ";
  193.         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.'66$this->source); })()), "name02", [], "any"falsefalsefalse66), "safe_textmail"nulltrue);
  194.         echo " 様
  195. お名前(カナ):";
  196.         // line 67
  197.         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.'67$this->source); })()), "kana01", [], "any"falsefalsefalse67), "safe_textmail"nulltrue);
  198.         echo " ";
  199.         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.'67$this->source); })()), "kana02", [], "any"falsefalsefalse67), "safe_textmail"nulltrue);
  200.         echo " 様
  201. ";
  202.         // line 68
  203.         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.'68$this->source); })()), "company_name", [], "any"falsefalsefalse68)) {
  204.             // line 69
  205.             echo "会社名:";
  206.             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.'69$this->source); })()), "company_name", [], "any"falsefalsefalse69), "safe_textmail"nulltrue);
  207.             echo "
  208. ";
  209.         }
  210.         // line 71
  211.         echo "郵便番号:〒";
  212.         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.'71$this->source); })()), "postal_code", [], "any"falsefalsefalse71), "safe_textmail"nulltrue);
  213.         echo "
  214. 住所:";
  215.         // line 72
  216.         echo twig_escape_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.'72$this->source); })()), "Pref", [], "any"falsefalsefalse72), "name", [], "any"falsefalsefalse72), "safe_textmail"nulltrue);
  217.         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.'72$this->source); })()), "addr01", [], "any"falsefalsefalse72), "safe_textmail"nulltrue);
  218.         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.'72$this->source); })()), "addr02", [], "any"falsefalsefalse72), "safe_textmail"nulltrue);
  219.         echo "
  220. 電話番号:";
  221.         // line 73
  222.         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.'73$this->source); })()), "phone_number", [], "any"falsefalsefalse73), "safe_textmail"nulltrue);
  223.         echo "
  224. メールアドレス:";
  225.         // line 74
  226.         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.'74$this->source); })()), "email", [], "any"falsefalsefalse74), "safe_textmail"nulltrue);
  227.         echo "
  228. ************************************************
  229.  配送情報
  230. ************************************************
  231. ";
  232.         // line 80
  233.         $context['_parent'] = $context;
  234.         $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.'80$this->source); })()), "Shippings", [], "any"falsefalsefalse80));
  235.         $context['loop'] = [
  236.           'parent' => $context['_parent'],
  237.           'index0' => 0,
  238.           'index'  => 1,
  239.           'first'  => true,
  240.         ];
  241.         if (is_array($context['_seq']) || (is_object($context['_seq']) && $context['_seq'] instanceof \Countable)) {
  242.             $length count($context['_seq']);
  243.             $context['loop']['revindex0'] = $length 1;
  244.             $context['loop']['revindex'] = $length;
  245.             $context['loop']['length'] = $length;
  246.             $context['loop']['last'] = === $length;
  247.         }
  248.         foreach ($context['_seq'] as $context["_key"] => $context["Shipping"]) {
  249.             // line 81
  250.             echo "◎お届け先";
  251.             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.'81$this->source); })()), "multiple", [], "any"falsefalsefalse81)) {
  252.                 echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["loop"], "index", [], "any"falsefalsefalse81), "safe_textmail"nulltrue);
  253.             }
  254.             // line 82
  255.             echo "
  256. お名前:";
  257.             // line 83
  258.             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["Shipping"], "name01", [], "any"falsefalsefalse83), "safe_textmail"nulltrue);
  259.             echo " ";
  260.             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["Shipping"], "name02", [], "any"falsefalsefalse83), "safe_textmail"nulltrue);
  261.             echo " 様
  262. お名前(カナ):";
  263.             // line 84
  264.             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["Shipping"], "kana01", [], "any"falsefalsefalse84), "safe_textmail"nulltrue);
  265.             echo " ";
  266.             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["Shipping"], "kana02", [], "any"falsefalsefalse84), "safe_textmail"nulltrue);
  267.             echo " 様
  268. ";
  269.             // line 85
  270.             if (twig_get_attribute($this->env$this->source$context["Shipping"], "company_name", [], "any"falsefalsefalse85)) {
  271.                 // line 86
  272.                 echo "会社名:";
  273.                 echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["Shipping"], "company_name", [], "any"falsefalsefalse86), "safe_textmail"nulltrue);
  274.                 echo "
  275. ";
  276.             }
  277.             // line 88
  278.             echo "郵便番号:〒";
  279.             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["Shipping"], "postal_code", [], "any"falsefalsefalse88), "safe_textmail"nulltrue);
  280.             echo "
  281. 住所:";
  282.             // line 89
  283.             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source$context["Shipping"], "Pref", [], "any"falsefalsefalse89), "name", [], "any"falsefalsefalse89), "safe_textmail"nulltrue);
  284.             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["Shipping"], "addr01", [], "any"falsefalsefalse89), "safe_textmail"nulltrue);
  285.             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["Shipping"], "addr02", [], "any"falsefalsefalse89), "safe_textmail"nulltrue);
  286.             echo "
  287. 電話番号:";
  288.             // line 90
  289.             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["Shipping"], "phone_number", [], "any"falsefalsefalse90), "safe_textmail"nulltrue);
  290.             echo "
  291. 配送方法:";
  292.             // line 92
  293.             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["Shipping"], "shipping_delivery_name", [], "any"falsefalsefalse92), "safe_textmail"nulltrue);
  294.             echo "
  295. お届け日:";
  296.             // line 93
  297.             ((twig_test_empty(twig_get_attribute($this->env$this->source$context["Shipping"], "shipping_delivery_date", [], "any"falsefalsefalse93))) ? (print ("指定なし")) : (print (twig_escape_filter($this->env$this->extensions['Eccube\Twig\Extension\IntlExtension']->date_day($this->envtwig_get_attribute($this->env$this->source$context["Shipping"], "shipping_delivery_date", [], "any"falsefalsefalse93)), "safe_textmail"nulltrue))));
  298.             echo "
  299. お届け時間:";
  300.             // line 94
  301.             echo twig_escape_filter($this->env, ((twig_get_attribute($this->env$this->source$context["Shipping"], "shipping_delivery_time", [], "any"truetruefalse94)) ? (_twig_default_filter(twig_get_attribute($this->env$this->source$context["Shipping"], "shipping_delivery_time", [], "any"falsefalsefalse94), "指定なし")) : ("指定なし")), "safe_textmail"nulltrue);
  302.             echo "
  303. ";
  304.             // line 95
  305.             $context['_parent'] = $context;
  306.             $context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env$this->source$context["Shipping"], "productOrderItems", [], "any"falsefalsefalse95));
  307.             foreach ($context['_seq'] as $context["_key"] => $context["OrderItem"]) {
  308.                 // line 96
  309.                 echo "商品コード:";
  310.                 echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["OrderItem"], "product_code", [], "any"falsefalsefalse96), "safe_textmail"nulltrue);
  311.                 echo "
  312. 商品名:";
  313.                 // line 97
  314.                 echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["OrderItem"], "product_name", [], "any"falsefalsefalse97), "safe_textmail"nulltrue);
  315.                 echo "  ";
  316.                 echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["OrderItem"], "classcategory_name1", [], "any"falsefalsefalse97), "safe_textmail"nulltrue);
  317.                 echo "  ";
  318.                 echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["OrderItem"], "classcategory_name2", [], "any"falsefalsefalse97), "safe_textmail"nulltrue);
  319.                 echo "
  320. 数量:";
  321.                 // line 98
  322.                 echo twig_escape_filter($this->envtwig_number_format_filter($this->envtwig_get_attribute($this->env$this->source$context["OrderItem"], "quantity", [], "any"falsefalsefalse98)), "safe_textmail"nulltrue);
  323.                 echo "
  324. ";
  325.             }
  326.             $_parent $context['_parent'];
  327.             unset($context['_seq'], $context['_iterated'], $context['_key'], $context['OrderItem'], $context['_parent'], $context['loop']);
  328.             $context array_intersect_key($context$_parent) + $_parent;
  329.             ++$context['loop']['index0'];
  330.             ++$context['loop']['index'];
  331.             $context['loop']['first'] = false;
  332.             if (isset($context['loop']['length'])) {
  333.                 --$context['loop']['revindex0'];
  334.                 --$context['loop']['revindex'];
  335.                 $context['loop']['last'] = === $context['loop']['revindex0'];
  336.             }
  337.         }
  338.         $_parent $context['_parent'];
  339.         unset($context['_seq'], $context['_iterated'], $context['_key'], $context['Shipping'], $context['_parent'], $context['loop']);
  340.         $context array_intersect_key($context$_parent) + $_parent;
  341.         // line 102
  342.         echo "
  343. ";
  344.         // line 103
  345.         if ( !twig_test_empty(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.'103$this->source); })()), "complete_mail_message", [], "any"falsefalsefalse103))) {
  346.             // line 104
  347.             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.'104$this->source); })()), "complete_mail_message", [], "any"falsefalsefalse104), "safe_textmail"nulltrue);
  348.             echo "
  349. ";
  350.         }
  351.         // line 106
  352.         echo "
  353. ============================================
  354. このメッセージはお客様へのお知らせ専用ですので、
  355. このメッセージへの返信としてご質問をお送りいただいても回答できません。
  356. ご了承ください。
  357. ";
  358.         
  359.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  360.         
  361.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  362.     }
  363.     public function getTemplateName()
  364.     {
  365.         return "Mail/order.twig";
  366.     }
  367.     public function isTraitable()
  368.     {
  369.         return false;
  370.     }
  371.     public function getDebugInfo()
  372.     {
  373.         return array (  372 => 106,  367 => 104,  365 => 103,  362 => 102,  341 => 98,  333 => 97,  328 => 96,  324 => 95,  320 => 94,  316 => 93,  312 => 92,  307 => 90,  301 => 89,  296 => 88,  290 => 86,  288 => 85,  282 => 84,  276 => 83,  273 => 82,  268 => 81,  251 => 80,  242 => 74,  238 => 73,  232 => 72,  227 => 71,  221 => 69,  219 => 68,  213 => 67,  207 => 66,  201 => 62,  188 => 60,  184 => 59,  180 => 58,  177 => 57,  167 => 55,  164 => 54,  160 => 53,  156 => 52,  153 => 51,  147 => 49,  145 => 48,  141 => 47,  138 => 46,  133 => 44,  124 => 41,  120 => 40,  117 => 39,  106 => 38,  101 => 37,  97 => 36,  95 => 35,  84 => 28,  79 => 26,  74 => 25,  72 => 24,  68 => 23,  64 => 22,  60 => 21,  56 => 20,  43 => 12,);
  374.     }
  375.     public function getSourceContext()
  376.     {
  377.         return new Source("{#
  378. This file is part of EC-CUBE
  379. Copyright(c) EC-CUBE CO.,LTD. All Rights Reserved.
  380. http://www.ec-cube.co.jp/
  381. For the full copyright and license information, please view the LICENSE
  382. file that was distributed with this source code.
  383. #}
  384. {% autoescape 'safe_textmail' %}
  385. {{ Order.name01 }} {{ Order.name02 }} 様
  386. この度はご注文いただき誠にありがとうございます。下記ご注文内容にお間違えがないかご確認下さい。
  387. ************************************************
  388.  ご請求金額
  389. ************************************************
  390. ご注文日時:{{ Order.order_date|date_sec }}
  391. ご注文番号:{{ Order.order_no }}
  392. お支払い合計:{{ Order.payment_total|price}}
  393. お支払い方法:{{ Order.payment_method }}
  394. {% if BaseInfo.isOptionPoint and Order.Customer is not null %}
  395. ご利用ポイント:{{ Order.usePoint|number_format }} pt
  396. 加算ポイント:{{ Order.addPoint|number_format }} pt
  397. {% endif %}
  398. お問い合わせ:{{ Order.message }}
  399. ************************************************
  400.  ご注文商品明細
  401. ************************************************
  402. {% set isShowReducedTaxMess = false %}
  403. {% for OrderItem in Order.MergedProductOrderItems %}
  404. 商品コード:{{ OrderItem.product_code }}
  405. 商品名:{{ OrderItem.product_name }}  {{ OrderItem.classcategory_name1 }}  {{ OrderItem.classcategory_name2 }} {% if is_reduced_tax_rate(OrderItem) %}※{% set isShowReducedTaxMess = true %}{% endif %}
  406. 単価:{{ OrderItem.price_inctax|price }}
  407. 数量:{{ OrderItem.quantity|number_format }}
  408. {% endfor %}
  409. {% if isShowReducedTaxMess %}※は軽減税率対象商品です。
  410. {% endif %}
  411. -------------------------------------------------
  412. 小 計:{{ Order.subtotal|price }}
  413. {% if Order.taxable_discount < 0 %}
  414. 値引き:{{ Order.taxable_discount|price }}
  415. {% endif %}
  416. -------------------------------------------------
  417. 合 計:{{ Order.taxable_total|price }}
  418. {% for item in Order.tax_free_discount_items %}
  419. -------------------------------------------------
  420. {{ item.product_name }}:{{ item.total_price|price }}
  421. {% endfor %}
  422. ============================================
  423. お支払い合計:{{ Order.payment_total|price }}
  424.   {% for rate, total in Order.total_by_tax_rate %}
  425.   ({{ rate }} %対象:{{ total|price }} 内消費税:{{ Order.tax_by_tax_rate[rate]|price }})
  426.   {% endfor %}
  427. ************************************************
  428.  ご注文者情報
  429. ************************************************
  430. お名前:{{ Order.name01 }} {{ Order.name02 }} 様
  431. お名前(カナ):{{ Order.kana01 }} {{ Order.kana02 }} 様
  432. {% if Order.company_name %}
  433. 会社名:{{ Order.company_name }}
  434. {% endif %}
  435. 郵便番号:〒{{ Order.postal_code }}
  436. 住所:{{ Order.Pref.name }}{{ Order.addr01 }}{{ Order.addr02 }}
  437. 電話番号:{{ Order.phone_number }}
  438. メールアドレス:{{ Order.email }}
  439. ************************************************
  440.  配送情報
  441. ************************************************
  442. {%  for Shipping in Order.Shippings %}
  443. ◎お届け先{% if Order.multiple %}{{ loop.index }}{% endif %}
  444. お名前:{{ Shipping.name01 }} {{ Shipping.name02 }} 様
  445. お名前(カナ):{{ Shipping.kana01 }} {{ Shipping.kana02 }} 様
  446. {% if Shipping.company_name %}
  447. 会社名:{{ Shipping.company_name }}
  448. {% endif %}
  449. 郵便番号:〒{{ Shipping.postal_code }}
  450. 住所:{{ Shipping.Pref.name }}{{ Shipping.addr01 }}{{ Shipping.addr02 }}
  451. 電話番号:{{ Shipping.phone_number }}
  452. 配送方法:{{ Shipping.shipping_delivery_name }}
  453. お届け日:{{ Shipping.shipping_delivery_date is empty ? '指定なし' : Shipping.shipping_delivery_date|date_day }}
  454. お届け時間:{{ Shipping.shipping_delivery_time|default('指定なし') }}
  455. {%  for OrderItem in Shipping.productOrderItems %}
  456. 商品コード:{{ OrderItem.product_code }}
  457. 商品名:{{ OrderItem.product_name }}  {{ OrderItem.classcategory_name1 }}  {{ OrderItem.classcategory_name2 }}
  458. 数量:{{ OrderItem.quantity|number_format }}
  459. {% endfor %}
  460. {% endfor %}
  461. {% if Order.complete_mail_message is not empty %}
  462. {{ Order.complete_mail_message }}
  463. {% endif %}
  464. ============================================
  465. このメッセージはお客様へのお知らせ専用ですので、
  466. このメッセージへの返信としてご質問をお送りいただいても回答できません。
  467. ご了承ください。
  468. {% endautoescape %}""Mail/order.twig""/home/saloassi/salon-assistant.net/public_html/anju-inc1/app/template/default/Mail/order.twig");
  469.     }
  470. }