app/template/mizunasu/Mail/order.html.twig line 1

Open in your IDE?
  1. {#
  2. This file is part of EC-CUBE
  3. Copyright(c) EC-CUBE CO.,LTD. All Rights Reserved.
  4. http://www.ec-cube.co.jp/
  5. For the full copyright and license information, please view the LICENSE
  6. file that was distributed with this source code.
  7. #}
  8. <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
  9. <html xmlns="http://www.w3.org/1999/xhtml">
  10. <body bgcolor="#F0F0F0" leftmargin="0" topmargin="0" marginwidth="0" marginheight="0" style="margin-top:0;margin-bottom:0;margin-right:0;margin-left:0;padding-top:0;padding-bottom:0;padding-right:0;padding-left:0;-ms-text-size-adjust:100%;-webkit-text-size-adjust:100%;">
  11. <br>
  12. <br>
  13. <div align="center"><a href="{{ url('homepage') }}" style="font-family:Helvetica, Arial, sans-serif;font-size:30px;color:#333333;text-decoration:none;">{{ BaseInfo.shop_name }}</a></div>
  14. <!-- 100% background wrapper (grey background) -->
  15. <table border="0" width="100%" height="100%" cellpadding="0" cellspacing="0" bgcolor="#F0F0F0" style="border-spacing:0;mso-table-lspace:0pt;mso-table-rspace:0pt;">
  16.     <tr>
  17.         <td align="center" valign="top" bgcolor="#F0F0F0" style="background-color:#F0F0F0;border-collapse:collapse;">
  18.             <br>
  19.             <!-- 600px container (white background) -->
  20.             <table id="html-mail-table1" border="0" width="600px" cellpadding="10" cellspacing="0" class="container" style="border-spacing:0;mso-table-lspace:0pt;mso-table-rspace:0pt;">
  21.                 <tr>
  22.                     <td class="container-padding content" align="left" style="border-collapse:collapse;padding-left:24px;padding-right:24px;padding-top:12px;padding-bottom:12px;background-color:#ffffff;">
  23.                         <br>
  24.                         <div class="title" style="font-family:Helvetica, Arial, sans-serif;font-size:18px;font-weight:600;color:#374550;">この度はご注文いただき誠にありがとうございます。</div>
  25.                         <br>
  26.                         <div class="body-text" style="font-family:Helvetica, Arial, sans-serif;font-size:14px;line-height:20px;text-align:left;color:#333333;">
  27.                             {{ Order.name01 }} {{ Order.name02 }} 様<br/>
  28.                             <br/>
  29.                             下記ご注文内容にお間違えがないかご確認下さい。<br/>
  30.                             <br/>
  31.                             <hr style="border-top: 3px double #8c8b8b;">
  32.                              ご請求金額<br/>
  33.                             <hr style="border-top: 3px double #8c8b8b;">
  34.                             ご注文日時:{{ Order.order_date|date_sec }}<br/>
  35.                             ご注文番号:{{ Order.order_no }}<br/>
  36.                             お支払い合計:{{ Order.payment_total|price }}<br/>
  37.                             お支払い方法:{{ Order.payment_method }}<br/>
  38.                             {% if BaseInfo.isOptionPoint and Order.Customer is not null %}
  39.                             ご利用ポイント:{{ Order.usePoint|number_format }} pt<br/>
  40.                             加算ポイント:{{ Order.addPoint|number_format }} pt<br/>
  41.                             {% endif %}
  42.                             お問い合わせ:{{ Order.message }}<br/>
  43.                             <br/>
  44.                             <hr style="border-top: 3px double #8c8b8b;">
  45.                              ご注文商品明細<br/>
  46.                             <hr style="border-top: 3px double #8c8b8b;">
  47.                             {% set isShowReducedTaxMess = false %}
  48.                             {% for OrderItem in Order.MergedProductOrderItems %}
  49.                                 商品コード:{{ OrderItem.product_code }}<br/>
  50.                                 商品名:{{ OrderItem.product_name }}  {{ OrderItem.classcategory_name1 }}  {{ OrderItem.classcategory_name2 }}{% if is_reduced_tax_rate(OrderItem) %}※{% set isShowReducedTaxMess = true %}{% endif %}<br/>
  51.                                 単価:{{ OrderItem.price_inctax|price }}<br/>
  52.                                 数量:{{ OrderItem.quantity|number_format }}<br/>
  53.                                 <br/>
  54.                             {% endfor %}
  55.                             {% if isShowReducedTaxMess %}※は軽減税率対象商品です。{% endif %}
  56.                             <hr style="border-top: 2px dashed #8c8b8b;">
  57.                             小 計:{{ Order.subtotal|price }}<br/>
  58.                             手数料:{{ Order.charge|price }}<br/>
  59.                             送 料:{{ Order.delivery_fee_total|price }}<br/>
  60.                             {% if Order.taxable_discount < 0 %}
  61.                             値引き:{{ Order.taxable_discount|price }}<br/>
  62.                             {% endif %}
  63.                             <hr style="border-top: 1px dotted #8c8b8b;">
  64.                             合 計:{{ Order.taxable_total|price }}<br/>
  65.                             {% for item in Order.tax_free_discount_items %}
  66.                                 <hr style="border-top: 1px dotted #8c8b8b;">
  67.                                 {{ item.product_name }}:{{ item.total_price|price }}<br/>
  68.                             {% endfor %}
  69.                             <hr style="border-top: 1px dotted #8c8b8b;">
  70.                             お支払い合計:{{ Order.payment_total|price }}
  71.                             {% for rate, total in Order.total_by_tax_rate %}
  72.                                 ({{ rate }} %対象:{{ total|price }} 内消費税: {{ Order.tax_by_tax_rate[rate]|price }})<br/>
  73.                             {% endfor %}
  74.                             <br/>
  75.                             <hr style="border-top: 3px double #8c8b8b;">
  76.                             ご注文者情報<br/>
  77.                             <hr style="border-top: 3px double #8c8b8b;">
  78.                             お名前:{{ Order.name01 }} {{ Order.name02 }} 様<br/>
  79.                             お名前(カナ):{{ Order.kana01 }} {{ Order.kana02 }} 様<br/>
  80.                             {% if Order.company_name %}
  81.                                 会社名:{{ Order.company_name }}<br/>
  82.                             {% endif %}
  83.                             郵便番号:〒{{ Order.postal_code }}<br/>
  84.                             住所:{{ Order.Pref.name }}{{ Order.addr01 }}{{ Order.addr02 }}<br/>
  85.                             電話番号:{{ Order.phone_number }}<br/>
  86.                             メールアドレス:{{ Order.email }}<br/>
  87.                             <br/>
  88.                             <hr style="border-top: 3px double #8c8b8b;">
  89.                              配送情報<br/>
  90.                             <hr style="border-top: 3px double #8c8b8b;">
  91.                             {% for Shipping in Order.Shippings %}
  92.                                 ◎お届け先{% if Order.multiple %}{{ loop.index }}{% endif %}<br/>
  93.                                 <br/>
  94.                                 お名前:{{ Shipping.name01 }} {{ Shipping.name02 }} 様<br/>
  95.                                 お名前(カナ):{{ Shipping.kana01 }} {{ Shipping.kana02 }} 様<br/>
  96.                                 {% if Shipping.company_name %}
  97.                                     会社名:{{ Shipping.company_name }}<br/>
  98.                                 {% endif %}
  99.                                 郵便番号:〒{{ Shipping.postal_code }}<br/>
  100.                                 住所:{{ Shipping.Pref.name }}{{ Shipping.addr01 }}{{ Shipping.addr02 }}<br/>
  101.                                 電話番号:{{ Shipping.phone_number }}<br/>
  102.                                 <br/>
  103.                                 配送方法:{{ Shipping.shipping_delivery_name }}<br/>
  104.                                 お届け日:{{ Shipping.shipping_delivery_date is empty ? '指定なし' : Shipping.shipping_delivery_date|date_day }}<br/>
  105.                                 お届け時間:{{ Shipping.shipping_delivery_time|default('指定なし') }}<br/>
  106.                                 <br/>
  107.                                 {% for OrderItem in Shipping.productOrderItems %}
  108.                                     商品コード:{{ OrderItem.product_code }}<br/>
  109.                                     商品名:{{ OrderItem.product_name }}  {{ OrderItem.classcategory_name1 }}  {{ OrderItem.classcategory_name2 }}<br/>
  110.                                     数量:{{ OrderItem.quantity|number_format }}<br/>
  111.                                     <br/>
  112.                                 {% endfor %}
  113.                                 {% set config = repository('Plugin\\Noshidelivery\\Entity\\NoshideliveryConfig').get %}
  114.                                 のし変数:{{ Shipping.NoshideliveryCheck }}
  115.                                 {% if Shipping.NoshideliveryCheck == '希望する' %}
  116.                                     のし:希望する<br/>
  117.                                     {% if config.gift_kind %}のしの種類:{{ Shipping.NoshideliveryKind|default('選択されていません。') }}<br/>{% endif %}
  118.                                     {% if config.gift_tie %}表書き(上段):{{ Shipping.NoshideliveryTie|default('なし') }}<br/>
  119.                                     {% if Shipping.gp_title is not empty %}表書き[その他]:{{ Shipping.gp_title }}<br/>{% endif %}{% endif %}
  120.                                     {% if config.gift_name %}お名前(下段):{{ Shipping.gp_name|default('なし') }}<br/>{% endif %}
  121.                                 {% else %}
  122.                                     のし:希望しない<br/>
  123.                                 {% endif %}
  124.                                 <br/>
  125.                             {% endfor %}
  126.                             <hr style="border-top: 3px double #8c8b8b;">
  127.                             お振込み口座<br/>
  128.                             <hr style="border-top: 3px double #8c8b8b;">
  129.                             銀行振り込みのお客様は、下記の口座にお振込みください。<br/>
  130.                             入金確認後の発送となります。<br/>
  131.                             <br/>
  132.                             PayPay銀行<br/>
  133.                             ビジネス営業部(005)<br/>
  134.                             普通:2693109<br/>
  135.                             名義:ダイワフード(カ)オツケモノドコロイセヤ<br/>
  136.                             <hr style="border-top: 2px dotted #8c8b8b;">
  137.                             このメッセージはお客様へのお知らせ専用ですので、<br/>
  138.                             このメッセージへの返信としてご質問をお送りいただいても回答できません。<br/>
  139.                             ご了承ください。<br/>
  140.                         </div>
  141.                     </td>
  142.                 </tr>
  143.             </table>
  144.             <!--/600px container -->
  145.             <br>
  146.             <br>
  147.             <table id="html-mail-table2" border="0" width="600px" cellpadding="10" cellspacing="0" class="container" style="border-spacing:0;mso-table-lspace:0pt;mso-table-rspace:0pt;">
  148.                 <tr>
  149.                     <td class="container-padding content footer-text" align="left" style="border-collapse:collapse;font-family:Helvetica, Arial, sans-serif;font-size:12px;line-height:16px;color:#aaaaaa;padding-left:24px;padding-right:24px;padding-top:12px;padding-bottom:12px;background-color:#ffffff;">
  150.                         本メールは、{{ BaseInfo.shop_name }}より送信しております。<br/>
  151.                         もしお心当たりが無い場合は、その旨 <a href="mailto:{{ BaseInfo.email02 }}" style="text-decoration:none;">{{ BaseInfo.email02 }}</a> までご連絡いただければ幸いです。<br/>
  152.                         <br/>
  153.                         <div class="title" style="font-size:14px;font-family:Helvetica, Arial, sans-serif;font-weight:600;color:#374550;"><a href="{{ url('homepage') }}" style="color:#aaaaaa;text-decoration:none;">{{ BaseInfo.shop_name }}</a></div>
  154.                         <div>copyright &copy; {{ BaseInfo.shop_name }} all rights reserved.</div>
  155.                     </td>
  156.                 </tr>
  157.             </table>
  158.         </td>
  159.     </tr>
  160. </table>
  161. <!--/100% background wrapper-->
  162. <br>
  163. <br>
  164. </body>
  165. </html>