templates/themes/ottcomputer/includes/wicam-calendar.html.twig line 1

Open in your IDE?
  1. {% if toEdit and isRepresentativeOrAdmin %}
  2. <div class="callout margin-top-1">
  3.     <span class="label alert hide" id="msgErrorNote">{{ "You must be insert a note."|trans }}</span>
  4.     <div>
  5.         <label>{{ "Note"|trans }}:</label>
  6.         <textarea name="note" id="note" class="margin-bottom-1"></textarea>
  7.         <button type="button" class="button right width-100" id="btAddNote" data-url="{{ path('admin_orders_add_notes') }}">{{ "Add Note"|trans }}</button>
  8.     </div>
  9.     <div class="notes">
  10.         {{ include('includes/wicam-notes.html.twig',{'notes':notes}) }}
  11.     </div>
  12. </div>
  13. {% endif %}
  14. <div class="headerCalendar">
  15. </div>
  16. <div id="mobiscroll"></div>
  17. <div id="calendar-legend">
  18. </div>
  19. <br>
  20. <form action="{{ path('wi_cam_print_offer') }}" method="post" target="_blank">
  21.     <input type="hidden" id="code-of" name="code-of" value="{{ WH is not empty ? WH.Id : "" }}">
  22.     <button type="submit" id="btPrintOffer" class="button expanded" style="display:none;" >{{ "Angebot erzeugen"|trans }}</button>
  23. </form>
  24. <span class="label alert hide" id="error_message_empty" style="width: 100%;margin-bottom: 1em;">{{ "Some fields are empty, please select an option."|trans }}</span>
  25. {% if not toEdit %}
  26.     <a href="{{ path('wi_cam_create_order') }}" id="btCreateOrder" style="display:none;height: 60px; font-size: 18px;" class="button secondary expanded">
  27.         <b>{{ "Jetzt zum genannten Preis bestellen" |trans }}</b></a>
  28. {% endif %}
  29. <script>
  30.     /* document.querySelector('#btCreateOrder').addEventListener("click",function(e){
  31.          e.preventDefault();
  32.          alert('test');
  33.          const container = document.querySelector('#fileResponse');
  34.          const matches = container.querySelectorAll('input[type=number]');
  35.          console.log(matches);
  36.          $('#fileResponse').find('input[type=number]:visible,select:visible').each(function(){
  37.          });
  38.          var href = this.href;
  39.          //code
  40.          location.href = href;
  41.     });*/
  42. </script>
  43. <!--<button type="button" id="btPrintOffer" class="button expanded" style="display:none;" data-url="{{ path('wi_cam_print_offer') }}">{{ "Angebot erzeugen"|trans }}</button>-->
  44. <style>
  45.     .circle{
  46.         display: inline-block;
  47.         min-width: 25px;
  48.         height: 25px;
  49.         padding: 1px 6px;
  50.         border-radius: 15px;
  51.         margin-right: 5px;
  52.         /* line-height: 40px; */
  53.         margin-top: 5px;
  54.     }
  55. </style>