<?php
use Twig\Environment;
use Twig\Error\LoaderError;
use Twig\Error\RuntimeError;
use Twig\Extension\SandboxExtension;
use Twig\Markup;
use Twig\Sandbox\SecurityError;
use Twig\Sandbox\SecurityNotAllowedTagError;
use Twig\Sandbox\SecurityNotAllowedFilterError;
use Twig\Sandbox\SecurityNotAllowedFunctionError;
use Twig\Source;
use Twig\Template;
/* Mail/order.twig */
class __TwigTemplate_c41a9fb0cc6c2ac6694867f1feb836a9 extends \Eccube\Twig\Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->parent = false;
$this->blocks = [
];
}
protected function doDisplay(array $context, array $blocks = [])
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "Mail/order.twig"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "Mail/order.twig"));
// line 12
echo twig_escape_filter($this->env, 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.', 12, $this->source); })()), "name01", [], "any", false, false, false, 12), "safe_textmail", null, true);
echo " ";
echo twig_escape_filter($this->env, 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.', 12, $this->source); })()), "name02", [], "any", false, false, false, 12), "safe_textmail", null, true);
echo " 様
この度はご注文いただき誠にありがとうございます。下記ご注文内容にお間違えがないかご確認下さい。
************************************************
ご請求金額
************************************************
ご注文日時:";
// line 20
echo twig_escape_filter($this->env, $this->extensions['Eccube\Twig\Extension\IntlExtension']->date_sec($this->env, 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.', 20, $this->source); })()), "order_date", [], "any", false, false, false, 20)), "safe_textmail", null, true);
echo "
ご注文番号:";
// line 21
echo twig_escape_filter($this->env, 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.', 21, $this->source); })()), "order_no", [], "any", false, false, false, 21), "safe_textmail", null, true);
echo "
お支払い合計:";
// line 22
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", false, false, false, 22)), "safe_textmail", null, true);
echo "
お支払い方法:";
// line 23
echo twig_escape_filter($this->env, 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.', 23, $this->source); })()), "payment_method", [], "any", false, false, false, 23), "safe_textmail", null, true);
echo "
";
// line 24
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", false, false, false, 24) && !(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", false, false, false, 24)))) {
// line 25
echo "ご利用ポイント:";
echo twig_escape_filter($this->env, twig_number_format_filter($this->env, 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.', 25, $this->source); })()), "usePoint", [], "any", false, false, false, 25)), "safe_textmail", null, true);
echo " pt
加算ポイント:";
// line 26
echo twig_escape_filter($this->env, twig_number_format_filter($this->env, 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.', 26, $this->source); })()), "addPoint", [], "any", false, false, false, 26)), "safe_textmail", null, true);
echo " pt
";
}
// line 28
echo "お問い合わせ:";
echo twig_escape_filter($this->env, 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.', 28, $this->source); })()), "message", [], "any", false, false, false, 28), "safe_textmail", null, true);
echo "
************************************************
ご注文商品明細
************************************************
";
// line 35
$context["isShowReducedTaxMess"] = false;
// line 36
$context['_parent'] = $context;
$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", false, false, false, 36));
foreach ($context['_seq'] as $context["_key"] => $context["OrderItem"]) {
// line 37
echo "商品コード:";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["OrderItem"], "product_code", [], "any", false, false, false, 37), "safe_textmail", null, true);
echo "
商品名:";
// line 38
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["OrderItem"], "product_name", [], "any", false, false, false, 38), "safe_textmail", null, true);
echo " ";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["OrderItem"], "classcategory_name1", [], "any", false, false, false, 38), "safe_textmail", null, true);
echo " ";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["OrderItem"], "classcategory_name2", [], "any", false, false, false, 38), "safe_textmail", null, true);
echo " ";
if ($this->extensions['Eccube\Twig\Extension\TaxExtension']->isReducedTaxRate($context["OrderItem"])) {
echo "※";
$context["isShowReducedTaxMess"] = true;
}
// line 39
echo "
単価:";
// line 40
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", false, false, false, 40)), "safe_textmail", null, true);
echo "
数量:";
// line 41
echo twig_escape_filter($this->env, twig_number_format_filter($this->env, twig_get_attribute($this->env, $this->source, $context["OrderItem"], "quantity", [], "any", false, false, false, 41)), "safe_textmail", null, true);
echo "
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['OrderItem'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 44
if ((isset($context["isShowReducedTaxMess"]) || array_key_exists("isShowReducedTaxMess", $context) ? $context["isShowReducedTaxMess"] : (function () { throw new RuntimeError('Variable "isShowReducedTaxMess" does not exist.', 44, $this->source); })())) {
echo "※は軽減税率対象商品です。
";
}
// line 46
echo "-------------------------------------------------
小 計:";
// line 47
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", false, false, false, 47)), "safe_textmail", null, true);
echo "
";
// line 48
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", false, false, false, 48) < 0)) {
// line 49
echo "値引き:";
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", false, false, false, 49)), "safe_textmail", null, true);
echo "
";
}
// line 51
echo "-------------------------------------------------
合 計:";
// line 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.', 52, $this->source); })()), "taxable_total", [], "any", false, false, false, 52)), "safe_textmail", null, true);
echo "
";
// line 53
$context['_parent'] = $context;
$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", false, false, false, 53));
foreach ($context['_seq'] as $context["_key"] => $context["item"]) {
// line 54
echo "-------------------------------------------------
";
// line 55
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["item"], "product_name", [], "any", false, false, false, 55), "safe_textmail", null, true);
echo ":";
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", false, false, false, 55)), "safe_textmail", null, true);
echo "
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['item'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 57
echo "============================================
お支払い合計:";
// line 58
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", false, false, false, 58)), "safe_textmail", null, true);
echo "
";
// line 59
$context['_parent'] = $context;
$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", false, false, false, 59));
foreach ($context['_seq'] as $context["rate"] => $context["total"]) {
// line 60
echo " (";
echo twig_escape_filter($this->env, $context["rate"], "safe_textmail", null, true);
echo " %対象:";
echo twig_escape_filter($this->env, $this->extensions['Eccube\Twig\Extension\EccubeExtension']->getPriceFilter($context["total"]), "safe_textmail", null, true);
echo " 内消費税:";
echo twig_escape_filter($this->env, $this->extensions['Eccube\Twig\Extension\EccubeExtension']->getPriceFilter(twig_get_attribute($this->env, $this->source, 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.', 60, $this->source); })()), "tax_by_tax_rate", [], "any", false, false, false, 60), $context["rate"], [], "array", false, false, false, 60)), "safe_textmail", null, true);
echo ")
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['rate'], $context['total'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 62
echo "
************************************************
ご注文者情報
************************************************
お名前:";
// line 66
echo twig_escape_filter($this->env, 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.', 66, $this->source); })()), "name01", [], "any", false, false, false, 66), "safe_textmail", null, true);
echo " ";
echo twig_escape_filter($this->env, 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.', 66, $this->source); })()), "name02", [], "any", false, false, false, 66), "safe_textmail", null, true);
echo " 様
お名前(カナ):";
// line 67
echo twig_escape_filter($this->env, 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.', 67, $this->source); })()), "kana01", [], "any", false, false, false, 67), "safe_textmail", null, true);
echo " ";
echo twig_escape_filter($this->env, 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.', 67, $this->source); })()), "kana02", [], "any", false, false, false, 67), "safe_textmail", null, true);
echo " 様
";
// line 68
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", false, false, false, 68)) {
// line 69
echo "会社名:";
echo twig_escape_filter($this->env, 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.', 69, $this->source); })()), "company_name", [], "any", false, false, false, 69), "safe_textmail", null, true);
echo "
";
}
// line 71
echo "郵便番号:〒";
echo twig_escape_filter($this->env, 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.', 71, $this->source); })()), "postal_code", [], "any", false, false, false, 71), "safe_textmail", null, true);
echo "
住所:";
// line 72
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, 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.', 72, $this->source); })()), "Pref", [], "any", false, false, false, 72), "name", [], "any", false, false, false, 72), "safe_textmail", null, true);
echo twig_escape_filter($this->env, 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.', 72, $this->source); })()), "addr01", [], "any", false, false, false, 72), "safe_textmail", null, true);
echo twig_escape_filter($this->env, 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.', 72, $this->source); })()), "addr02", [], "any", false, false, false, 72), "safe_textmail", null, true);
echo "
電話番号:";
// line 73
echo twig_escape_filter($this->env, 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.', 73, $this->source); })()), "phone_number", [], "any", false, false, false, 73), "safe_textmail", null, true);
echo "
メールアドレス:";
// line 74
echo twig_escape_filter($this->env, 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.', 74, $this->source); })()), "email", [], "any", false, false, false, 74), "safe_textmail", null, true);
echo "
************************************************
配送情報
************************************************
";
// line 80
$context['_parent'] = $context;
$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", false, false, false, 80));
$context['loop'] = [
'parent' => $context['_parent'],
'index0' => 0,
'index' => 1,
'first' => true,
];
if (is_array($context['_seq']) || (is_object($context['_seq']) && $context['_seq'] instanceof \Countable)) {
$length = count($context['_seq']);
$context['loop']['revindex0'] = $length - 1;
$context['loop']['revindex'] = $length;
$context['loop']['length'] = $length;
$context['loop']['last'] = 1 === $length;
}
foreach ($context['_seq'] as $context["_key"] => $context["Shipping"]) {
// line 81
echo "◎お届け先";
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", false, false, false, 81)) {
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["loop"], "index", [], "any", false, false, false, 81), "safe_textmail", null, true);
}
// line 82
echo "
お名前:";
// line 83
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["Shipping"], "name01", [], "any", false, false, false, 83), "safe_textmail", null, true);
echo " ";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["Shipping"], "name02", [], "any", false, false, false, 83), "safe_textmail", null, true);
echo " 様
お名前(カナ):";
// line 84
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["Shipping"], "kana01", [], "any", false, false, false, 84), "safe_textmail", null, true);
echo " ";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["Shipping"], "kana02", [], "any", false, false, false, 84), "safe_textmail", null, true);
echo " 様
";
// line 85
if (twig_get_attribute($this->env, $this->source, $context["Shipping"], "company_name", [], "any", false, false, false, 85)) {
// line 86
echo "会社名:";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["Shipping"], "company_name", [], "any", false, false, false, 86), "safe_textmail", null, true);
echo "
";
}
// line 88
echo "郵便番号:〒";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["Shipping"], "postal_code", [], "any", false, false, false, 88), "safe_textmail", null, true);
echo "
住所:";
// line 89
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, $context["Shipping"], "Pref", [], "any", false, false, false, 89), "name", [], "any", false, false, false, 89), "safe_textmail", null, true);
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["Shipping"], "addr01", [], "any", false, false, false, 89), "safe_textmail", null, true);
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["Shipping"], "addr02", [], "any", false, false, false, 89), "safe_textmail", null, true);
echo "
電話番号:";
// line 90
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["Shipping"], "phone_number", [], "any", false, false, false, 90), "safe_textmail", null, true);
echo "
配送方法:";
// line 92
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["Shipping"], "shipping_delivery_name", [], "any", false, false, false, 92), "safe_textmail", null, true);
echo "
お届け日:";
// line 93
((twig_test_empty(twig_get_attribute($this->env, $this->source, $context["Shipping"], "shipping_delivery_date", [], "any", false, false, false, 93))) ? (print ("指定なし")) : (print (twig_escape_filter($this->env, $this->extensions['Eccube\Twig\Extension\IntlExtension']->date_day($this->env, twig_get_attribute($this->env, $this->source, $context["Shipping"], "shipping_delivery_date", [], "any", false, false, false, 93)), "safe_textmail", null, true))));
echo "
お届け時間:";
// line 94
echo twig_escape_filter($this->env, ((twig_get_attribute($this->env, $this->source, $context["Shipping"], "shipping_delivery_time", [], "any", true, true, false, 94)) ? (_twig_default_filter(twig_get_attribute($this->env, $this->source, $context["Shipping"], "shipping_delivery_time", [], "any", false, false, false, 94), "指定なし")) : ("指定なし")), "safe_textmail", null, true);
echo "
";
// line 95
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env, $this->source, $context["Shipping"], "productOrderItems", [], "any", false, false, false, 95));
foreach ($context['_seq'] as $context["_key"] => $context["OrderItem"]) {
// line 96
echo "商品コード:";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["OrderItem"], "product_code", [], "any", false, false, false, 96), "safe_textmail", null, true);
echo "
商品名:";
// line 97
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["OrderItem"], "product_name", [], "any", false, false, false, 97), "safe_textmail", null, true);
echo " ";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["OrderItem"], "classcategory_name1", [], "any", false, false, false, 97), "safe_textmail", null, true);
echo " ";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["OrderItem"], "classcategory_name2", [], "any", false, false, false, 97), "safe_textmail", null, true);
echo "
数量:";
// line 98
echo twig_escape_filter($this->env, twig_number_format_filter($this->env, twig_get_attribute($this->env, $this->source, $context["OrderItem"], "quantity", [], "any", false, false, false, 98)), "safe_textmail", null, true);
echo "
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['OrderItem'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
++$context['loop']['index0'];
++$context['loop']['index'];
$context['loop']['first'] = false;
if (isset($context['loop']['length'])) {
--$context['loop']['revindex0'];
--$context['loop']['revindex'];
$context['loop']['last'] = 0 === $context['loop']['revindex0'];
}
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['Shipping'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 102
echo "
";
// line 103
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", false, false, false, 103))) {
// line 104
echo twig_escape_filter($this->env, 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.', 104, $this->source); })()), "complete_mail_message", [], "any", false, false, false, 104), "safe_textmail", null, true);
echo "
";
}
// line 106
echo "
============================================
このメッセージはお客様へのお知らせ専用ですので、
このメッセージへの返信としてご質問をお送りいただいても回答できません。
ご了承ください。
";
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
}
public function getTemplateName()
{
return "Mail/order.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
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,);
}
public function getSourceContext()
{
return new Source("{#
This file is part of EC-CUBE
Copyright(c) EC-CUBE CO.,LTD. All Rights Reserved.
http://www.ec-cube.co.jp/
For the full copyright and license information, please view the LICENSE
file that was distributed with this source code.
#}
{% autoescape 'safe_textmail' %}
{{ Order.name01 }} {{ Order.name02 }} 様
この度はご注文いただき誠にありがとうございます。下記ご注文内容にお間違えがないかご確認下さい。
************************************************
ご請求金額
************************************************
ご注文日時:{{ Order.order_date|date_sec }}
ご注文番号:{{ Order.order_no }}
お支払い合計:{{ Order.payment_total|price}}
お支払い方法:{{ Order.payment_method }}
{% if BaseInfo.isOptionPoint and Order.Customer is not null %}
ご利用ポイント:{{ Order.usePoint|number_format }} pt
加算ポイント:{{ Order.addPoint|number_format }} pt
{% endif %}
お問い合わせ:{{ Order.message }}
************************************************
ご注文商品明細
************************************************
{% set isShowReducedTaxMess = false %}
{% for OrderItem in Order.MergedProductOrderItems %}
商品コード:{{ OrderItem.product_code }}
商品名:{{ OrderItem.product_name }} {{ OrderItem.classcategory_name1 }} {{ OrderItem.classcategory_name2 }} {% if is_reduced_tax_rate(OrderItem) %}※{% set isShowReducedTaxMess = true %}{% endif %}
単価:{{ OrderItem.price_inctax|price }}
数量:{{ OrderItem.quantity|number_format }}
{% endfor %}
{% if isShowReducedTaxMess %}※は軽減税率対象商品です。
{% endif %}
-------------------------------------------------
小 計:{{ Order.subtotal|price }}
{% if Order.taxable_discount < 0 %}
値引き:{{ Order.taxable_discount|price }}
{% endif %}
-------------------------------------------------
合 計:{{ Order.taxable_total|price }}
{% for item in Order.tax_free_discount_items %}
-------------------------------------------------
{{ item.product_name }}:{{ item.total_price|price }}
{% endfor %}
============================================
お支払い合計:{{ Order.payment_total|price }}
{% for rate, total in Order.total_by_tax_rate %}
({{ rate }} %対象:{{ total|price }} 内消費税:{{ Order.tax_by_tax_rate[rate]|price }})
{% endfor %}
************************************************
ご注文者情報
************************************************
お名前:{{ Order.name01 }} {{ Order.name02 }} 様
お名前(カナ):{{ Order.kana01 }} {{ Order.kana02 }} 様
{% if Order.company_name %}
会社名:{{ Order.company_name }}
{% endif %}
郵便番号:〒{{ Order.postal_code }}
住所:{{ Order.Pref.name }}{{ Order.addr01 }}{{ Order.addr02 }}
電話番号:{{ Order.phone_number }}
メールアドレス:{{ Order.email }}
************************************************
配送情報
************************************************
{% for Shipping in Order.Shippings %}
◎お届け先{% if Order.multiple %}{{ loop.index }}{% endif %}
お名前:{{ Shipping.name01 }} {{ Shipping.name02 }} 様
お名前(カナ):{{ Shipping.kana01 }} {{ Shipping.kana02 }} 様
{% if Shipping.company_name %}
会社名:{{ Shipping.company_name }}
{% endif %}
郵便番号:〒{{ Shipping.postal_code }}
住所:{{ Shipping.Pref.name }}{{ Shipping.addr01 }}{{ Shipping.addr02 }}
電話番号:{{ Shipping.phone_number }}
配送方法:{{ Shipping.shipping_delivery_name }}
お届け日:{{ Shipping.shipping_delivery_date is empty ? '指定なし' : Shipping.shipping_delivery_date|date_day }}
お届け時間:{{ Shipping.shipping_delivery_time|default('指定なし') }}
{% for OrderItem in Shipping.productOrderItems %}
商品コード:{{ OrderItem.product_code }}
商品名:{{ OrderItem.product_name }} {{ OrderItem.classcategory_name1 }} {{ OrderItem.classcategory_name2 }}
数量:{{ OrderItem.quantity|number_format }}
{% endfor %}
{% endfor %}
{% if Order.complete_mail_message is not empty %}
{{ Order.complete_mail_message }}
{% endif %}
============================================
このメッセージはお客様へのお知らせ専用ですので、
このメッセージへの返信としてご質問をお送りいただいても回答できません。
ご了承ください。
{% endautoescape %}", "Mail/order.twig", "/home/saloassi/salon-assistant.net/public_html/anju-inc1/app/template/default/Mail/order.twig");
}
}