app/template/mizunasu/Shopping/complete.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. {% extends 'default_frame.twig' %}
  9. {% set body_class = 'cart_page' %}
  10. {% block main %}
  11. <div class="ec-role">
  12.     <div class="ec-pageHeader">
  13.         <h1>{{ 'ご注文完了'|trans }}</h1>
  14.     </div>
  15. </div>
  16. <div class="ec-cartRole">
  17.     <div class="ec-cartRole__progress">
  18.         <ul class="ec-progress">
  19.             {% set step = 1 %}
  20.             <li class="ec-progress__item">
  21.                 <div class="ec-progress__number">{{ step }}{% set step = step + 1 %}
  22.                 </div>
  23.                 <div class="ec-progress__label">{{ 'カートの商品'|trans }}
  24.                 </div>
  25.             </li>
  26.             {% if is_granted('ROLE_USER') == false %}
  27.                 <li class="ec-progress__item">
  28.                     <div class="ec-progress__number">{{ step }}{% set step = step + 1 %}
  29.                     </div>
  30.                     <div class="ec-progress__label">{{ 'お客様情報'|trans }}
  31.                     </div>
  32.                 </li>
  33.             {% endif %}
  34.             <li class="ec-progress__item">
  35.                 <div class="ec-progress__number">{{ step }}{% set step = step + 1 %}
  36.                 </div>
  37.                 <div class="ec-progress__label">{{ 'ご注文手続き'|trans }}
  38.                 </div>
  39.             </li>
  40.             <li class="ec-progress__item">
  41.                 <div class="ec-progress__number">{{ step }}{% set step = step + 1 %}
  42.                 </div>
  43.                 <div class="ec-progress__label">{{ 'ご注文内容確認'|trans }}
  44.                 </div>
  45.             </li>
  46.             <li class="ec-progress__item  is-complete">
  47.                 <div class="ec-progress__number">{{ step }}{% set step = step + 1 %}
  48.                 </div>
  49.                 <div class="ec-progress__label">{{ '完了'|trans }}
  50.                 </div>
  51.             </li>
  52.         </ul>
  53.     </div>
  54. </div>
  55. <div class="ec-cartCompleteRole">
  56.     <div class="ec-reportHeading">
  57.         <h2>{{ 'ご注文ありがとうございました'|trans }}</h2>
  58.     </div>
  59.     <div class="ec-off3Grid ec-text-ac">
  60.         <div class="ec-off3Grid__cell">
  61.             <p class="ec-reportDescription">
  62.                 {{ 'ただいま、ご注文の確認メールをお送りさせていただきました。
  63. 万一、ご確認メールが届かない場合は、トラブルの可能性もありますので大変お手数ではございますがお問い合わせくださいますようお願いいたします。
  64. '|trans|nl2br }}
  65.                 {% if Order.id %}
  66.                     <br /><br /><strong>{{ 'ご注文番号'|trans }} : {{ Order.orderNo }}</strong>
  67.                 {% endif %}
  68.             </p>
  69.             {% if Order.complete_message is not empty %}
  70.                 {{ Order.complete_message|raw|purify }}
  71.             {% endif %}
  72.         </div>
  73.     </div>
  74.     <div class="ec-off4Grid">
  75.         {% if hasNextCart %}
  76.             <div class="ec-off4Grid__cell"><a class="ec-blockBtn--primary" href="{{ url('cart') }}">{{ '購入を続ける'|trans }}</a></div>
  77.         {% else %}
  78.             <div class="ec-off4Grid__cell"><a class="ec-blockBtn--cancel" href="{{ url('homepage') }}">{{ 'トップページへ'|trans }}</a></div>
  79.         {% endif %}
  80.     </div>
  81. </div>
  82. {% endblock %}