app/template/osechi/Fuji/reserved.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. {% block javascript %}
  10.     <script>
  11.         //Googleカレンダー予約状況
  12.         reservedInfo=[];
  13.         dt = new Date();
  14. //        dt.setDate(dt.getDate() + 2);
  15. //        console.log(dt);
  16.         
  17.         calendar_start_date=`${dt.getFullYear()}-${dt.getMonth() + 1}-${dt.getDate()}`;
  18. /*
  19.         for (let key in reservedInfo) {
  20.           console.log('key:' + key);
  21.           console.log(reservedInfo[key].length);
  22.         }
  23. */
  24.     </script>
  25.     <script src="https://cdn.jsdelivr.net/npm/flatpickr"></script>
  26.     <script src="{{ asset('assets/js/hotelinfo].js') }}?{{ env('CSS_PARAM') }}"></script>
  27.     <script src="{{ asset('assets/js/rental_common.js') }}?{{ env('CSS_PARAM') }}"></script>
  28.     <script src="{{ asset('assets/js/fujireserve.js') }}?{{ env('CSS_PARAM') }}"></script>
  29. {% endblock %}
  30. {% block stylesheet %}
  31.     <link rel="stylesheet" href="//unpkg.com/flatpickr/dist/flatpickr.min.css">
  32.     <link rel="stylesheet" href="{{ asset('assets/css/fuji_reserve.css') }}">
  33. {% endblock %}
  34. {% set title = [
  35.                     '',
  36.                     'Day Trip Around Mt.Fuji',
  37.                     'Oshino Hakkai',
  38.                     'Hakone Superdrive Experience',
  39.                     'Private Experience',
  40.                     'Experience Driving',
  41.                 ] %}
  42. {% set capacity = [
  43.                     '',
  44.                     '4',
  45.                     '4',
  46.                     '4',
  47.                     '4',
  48.                     '4',
  49.                 ] %}
  50. {% block main %}
  51.     <div class="ec-role">
  52.         <div class="ec-pageHeader">
  53.             <h1>Complete Your Reservation Request for the "{{title[id]}}"!</h1>
  54.         </div>
  55.     </div>
  56.     <div class="ec-contactCompleteRole">
  57.         <p class="ec-reportDescription">
  58.             Please select your preferred date and time, enter your information, and submit it. A customer service representative will review your request and contact you within 24 hours.
  59.         </p>
  60. <!-- ↓ FROM -->
  61.         <p class="reserevedError" style="display:none;">Reservation information is not set correctly</p>
  62.         <form name="reserveForm" action="{{ url('fuji_complete') }}" method="post" class="reserveForm">
  63.             <input type="hidden" name="course" class="cruise" value="{{title[id]}}">
  64.             <section class="container">
  65.                 <div class="Form-Item name">
  66.                     <p class="Form-Item-Label">Date</p>
  67.                     <input name="date" type="text" class="Form-Item-Input flatpickr flatpickr-input date" placeholder="2024-01-01" id="myCal" value="">
  68.                     <span class="Form-Item-Error date" style="display: none;">*Please select</span>
  69.                 </div>
  70.                 <div class="Form-Item">
  71.                     <p class="Form-Item-Label block-line">Start Time</p>
  72.                     <select name="starttime" class="Form-Item-Input">
  73.                         <option value="7:00">7:00</option>
  74.                         <option value="7:30">7:30</option>
  75.                         <option value="8:00">8:00</option>
  76.                         <option value="8:30">8:30</option>
  77.                         <option value="9:00">9:00</option>
  78.                         <option value="9:30">9:30</option>
  79.                         <option value="10:00" selected>10:00</option>
  80.                         <option value="10:30">10:30</option>
  81.                         <option value="11:00">11:00</option>
  82.                         <option value="11:30">11:30</option>
  83.                         <option value="12:00">12:00</option>
  84.                         <option value="12:30">12:30</option>
  85.                         <option value="13:00">13:00</option>
  86.                         <option value="13:30">13:30</option>
  87.                         <option value="14:00">14:00</option>
  88.                         <option value="14:30">14:30</option>
  89.                         <option value="15:00">15:00</option>
  90.                         <option value="15:30">15:30</option>
  91.                         <option value="16:00">16:00</option>
  92.                         <option value="16:30">16:30</option>
  93.                         <option value="17:00">17:00</option>
  94.                         <option value="17:30">17:30</option>
  95.                         <option value="18:00">18:00</option>
  96.                         <option value="18:30">18:30</option>
  97.                         <option value="19:00">19:00</option>
  98.                         <option value="19:30">19:30</option>
  99.                         <option value="20:00">20:00</option>
  100.                         <option value="20:30">20:30</option>
  101.                         <option value="21:00">21:00</option>
  102.                         <option value="21:30">21:30</option>
  103.                     </select>
  104.                     <span class="Form-Item-Error starttime" style="display: none;">*Please select</span>
  105.                 </div>
  106. {#
  107.                 <div class="Form-Item">
  108.                     <p class="Form-Item-Label block-line">time utilization</p>
  109.                     <select name="time" class="Form-Item-Input participants">
  110.                         <option value="90min">90min</option>
  111.                         <option value="120min">120min</option>
  112.                         <option value="150min">150min</option>
  113.                         <option value="180min">180min</option>
  114.                         <option value="210min">210min</option>
  115.                         <option value="240min">240min</option>
  116.                         <option value="270min">270min</option>
  117.                         <option value="300min">300min</option>
  118.                         <option value="360min">360min</option>
  119.                         <option value="420min">420min</option>
  120.                         <option value="480min">480min</option>
  121.                         <option value="540min">540min</option>
  122.                         <option value="600min">600min</option>
  123.                         <option value="660min">660min</option>
  124.                         <option value="720min">720min</option>
  125.                     </select>
  126.                 </div>
  127. #}
  128.                 <div class="Form-Item">
  129.                     <p class="Form-Item-Label block-line">Number of Participants</p>
  130.                     <select name="participants" class="Form-Item-Input participants">
  131. {% for i in range(1, capacity[id]) %}
  132.                         <option value="{{loop.index}}">{{loop.index}}</option>
  133. {% endfor %}
  134.                     </select>
  135.                 </div>
  136.                 <div class="Form-Item name">
  137.                     <p class="Form-Item-Label">Name</p>
  138.                     <input name="name" type="text" class="Form-Item-Input name" placeholder="John Smith" value="">
  139.                     <span class="Form-Item-Error name" style="display: none;">*Please enter</span>
  140.                 </div>
  141.                 <div class="Form-Item name">
  142.                     <p class="Form-Item-Label">Country</p>
  143.                     <input name="country" type="text" class="Form-Item-Input country" placeholder="Australia" value="">
  144.                     <span class="Form-Item-Error country" style="display: none;">*Please enter</span>
  145.                 </div>
  146.                 <div class="Form-Item email">
  147.                     <p class="Form-Item-Label">Mail</p>
  148.                     <input name="email" type="email" class="Form-Item-Input email" placeholder="example@gmail.com" value="">
  149.                     <span class="Form-Item-Error email" style="display: none;">*Please enter</span>
  150.                 </div>
  151.                 <div class="Form-Item tel">
  152.                     <p class="Form-Item-Label">Tel</p>
  153.                     <select name="telcode" class="Form-Item-Input telcode">
  154.                         {% include 'Common/tellist.twig' %}
  155.                     </select>
  156.                     <input name="tel" type="tel" class="Form-Item-Input tel" placeholder="112222333" value="">
  157.                     <span class="Form-Item-Error tel" style="display: none;">*Please select and enter</span>
  158.                 </div>
  159.                 <div class="Form-Item">
  160.                     <p class="Form-Item-Label">PickUp Location</p>
  161.                     <input name="pickup" type="text" class="Form-Item-Input pickup" placeholder="hotel aman tokyo" value="">
  162.                     <span class="Form-Item-Error pickup" style="display: none;">*Please enter</span>
  163.                 </div>
  164.             </section>
  165.             <section>
  166.                 <div class="Form-Item">
  167.                     <p class="Form-Item-Label">Comment</p>
  168.                     <span class="note">*If you have any requests, please enter them.</span>
  169.                     <textarea rows="5" class="Form-Item-Textarea" name="message"></textarea>
  170.                     <span class="Form-Item-Error" style="display: none;">*Please enter</span>
  171.                 </div>
  172.             </section>
  173.             <section class="container btn">
  174.                 <div class="Form-Item"></div>
  175.                 <div class="Form-Item"></div>
  176.                 <a class="ec-shopCollectionBtn submit w100" href="javascript:void(0)">Send</a>
  177.             </section>
  178.         </form>
  179. <!-- ↑ FROM -->
  180.     </div>
  181. {% endblock %}