templates/FrontBundle/Partial/calendar.html.twig line 1

Open in your IDE?
  1. {# {% for venue in venues %}
  2.   {% if venue.id == 80 %}
  3.   {{ dump(venue.title|e('js')) }}
  4. {% endif %}
  5. {% endfor %} #}
  6. <section class="calendar">
  7.   <div class="title">{{ 'reservation_title'|tr(tr)|raw }}</div>
  8.           <a href="/front/deroulement-spectacle.pdf" target="_blank" class="download">{{ 'btn_deroulement'|tr(tr)|raw }} 
  9.             <svg width="26px" height="26px" version="1.1" id="Composant_6_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="26px" y="26px" viewBox="0 0 26 26" style="enable-background:new 0 0 26 26;" xml:space="preserve">
  10.             <style type="text/css">
  11.               .st0{fill:none;}
  12.                 .st1{fill:#ffffff;stroke:#ffffff;}
  13.                 .st2{fill:none;stroke:#000000;stroke-linecap:round;}
  14.             </style>
  15.             <g id="Ellipse_29">
  16.               <circle class="st0" cx="13" cy="13" r="13"></circle>
  17.               <circle class="st1" cx="13" cy="13" r="12.5"></circle>
  18.             </g>
  19.             <g id="Groupe_322" transform="translate(880 -1705.565) rotate(90)">
  20.               <line id="Ligne_66" class="st2" x1="1712.9" y1="867" x2="1724.2" y2="867"></line>
  21.               <line id="Ligne_67" class="st2" x1="1720.7" y1="864" x2="1724.2" y2="867"></line>
  22.               <line id="Ligne_68" class="st2" x1="1720.7" y1="870" x2="1724.2" y2="867"></line>
  23.             </g>
  24.             </svg>
  25.           </a>
  26.   <div id='calendar'><span class="calendar-close"><img alt="close" src="/front/img/calendar-cross.svg"></span></div>
  27. </section>
  28.   {% block stylesheets %}
  29.     <link href="/front/css/calendar.min.css" rel="stylesheet">
  30.     <style>
  31.       tr.isfull,
  32.       a.isfull{
  33.         color: lightgrey !important;
  34.         opacity: 20% !important;
  35.         pointer-events: none !important;
  36.       }
  37.       .download {
  38.         background-color: transparent;
  39.         border: 1px solid #FFFFFF;
  40.         color: #FFFFFF;
  41.         padding: 2px 3px 2px 22px;
  42.         font-size: 13px;
  43.         float: left;
  44.         border-radius: 20px;
  45.         text-decoration: none;
  46.       }
  47.       .download:hover {
  48.         color: #FFFFFF;
  49.       }
  50.       .download svg {
  51.         margin-left: 10px;
  52.       }
  53.       .co span.description,
  54.       span.description {
  55.         display: none;
  56.       }
  57.       @media (max-width: 430px)
  58.       {
  59.         .download {
  60.           margin-top: 20px;
  61.         }
  62.       }
  63.       .fc-h-event {
  64.         background-color: transparent;
  65.         border-color: transparent;
  66.       }
  67.       @media screen and (min-width: 1023px) {
  68.         .fc-list-event-title .fc-event-time,
  69.         .fc-list-event-title .fc-daygrid-event-dot {
  70.           display: none;
  71.         }
  72.       }
  73.       @media screen and (max-width: 1023px) {
  74.         .co span.description {
  75.           display: initial;
  76.         }
  77.       }
  78.     </style>
  79.   {% endblock %}
  80.   {% block javascripts %}
  81.     <script src="/front/js/calendar.min.js"></script>
  82.     <script>
  83.       var contentHeight = 600;
  84.       if( window.innerWidth <= 1200 ){
  85.         contentHeight = window.innerHeight - 200;
  86.         // if( $('body').hasClass('page_reservation') ){
  87.         //   contentHeight = window.innerHeight - 160;
  88.         // }
  89.       }
  90.       
  91.       var initialView = 'dayGridMonth';
  92.       if( window.innerWidth <= 1023 ){
  93.         initialView = 'listMonth';
  94.       }
  95.         var calendar;
  96.       document.addEventListener('DOMContentLoaded', function() {
  97.         var calendarEl = document.getElementById('calendar');
  98.             calendar = new FullCalendar.Calendar(calendarEl, {
  99.               initialView: initialView, 
  100.               views: {
  101.                 timeGrid: {
  102.                   eventLimit: 6 // adjust to 6 only for timeGridWeek/timeGridDay
  103.                 }
  104.               },
  105.               moreLinkText: 'de plus',
  106.               eventLimit: false,
  107.               // contentHeight: 580,
  108.               contentHeight: contentHeight,
  109.               locale: '{{app.request.locale}}',
  110.               headerToolbar: {
  111.                 center: 'prev title next',
  112.                 left: null,
  113.                 // right: 'dayGridMonth,timeGridWeek,timeGridDay,listMonth'
  114.                 right: null
  115.               },
  116.               firstDay: 1,
  117.               dayHeaderFormat: { weekday: 'short', omitCommas: true },
  118.               // initialDate: '2020-09-12',
  119.               weekNumbers: false,
  120.               navLinks: false, // can click day/week names to navigate views
  121.               editable: false,
  122.               selectable: true,
  123.               nowIndicator: true,
  124.               dayMaxEvents: true, // allow "more" link when too many events
  125.               // showNonCurrentDates: false,
  126.               events: [
  127.               {% for venue in venues %}
  128.               {% set title = venue.title|replace({" (avec goûter)": "", "Grand Amour Spécial Saint-Valentin": "Grand Amour ♥", "Grand Amour Spécial Pâques": "Grand Amour 🔔", "Saint-Sylvestre Formule 1": "Saint-Sylvestre", "Saint-Sylvestre Formule 2": "Saint-Sylvestre"})|e("js") %}
  129.               {% set title_save = title %}
  130.               {% if venue.venuetype.id in [3, 8, 23, 24] %}
  131.                 {% set title =  'menu_concerts'|tr(tr)|raw|slice(0,-1) %}
  132.               {% endif %}
  133.                 {
  134.                     id: '{{ venue.id }}',
  135.                     title: '{{ title }}',
  136.                     description: '{{ title_save }}',
  137.                     venuetype: '{{ venue.venuetype.slug }}',
  138.                     start: '{{ venue.start|date('Y-m-d#H:i:s')|replace({'#': 'T'}) }}',
  139.                     end: '{{ venue.end|date('Y-m-d#H:i:s')|replace({'#': 'T'}) }}',
  140.                     className: '{{ venue.className }} {{ (venue.isfull) ? 'isfull' : '' }}'
  141.                 },
  142.               {% endfor %}
  143.                 // {
  144.                 //     id: 999,
  145.                 //     title: 'FLASH2211',
  146.                 //     description: '',
  147.                 //     start: '2023-11-22',
  148.                 //     end: '2023-11-22',
  149.                 //     className: ''
  150.                 // },
  151. /*                {
  152.                     id: 999,
  153.                     title: 'Vente flash (Femmes)',
  154.                     description: '',
  155.                     start: '2024-03-08',
  156.                     end: '2024-03-08',
  157.                     className: ''
  158.                 },*/
  159.                 // {
  160.                 //   title: 'All Day Event',
  161.                 //   start: '2020-09-01'
  162.                 // },
  163.                 // {
  164.                 //   title: 'Long Event',
  165.                 //   start: '2020-09-07',
  166.                 //   end: '2020-09-10'
  167.                 // },
  168.                 // {
  169.                 //   groupId: 999,
  170.                 //   title: 'Repeating Event',
  171.                 //   start: '2020-09-09T16:00:00'
  172.                 // },
  173.                 // {
  174.                 //   groupId: 999,
  175.                 //   title: 'Repeating Event',
  176.                 //   start: '2020-09-16T16:00:00'
  177.                 // },
  178.                 // {
  179.                 //   title: 'Conference',
  180.                 //   start: '2020-09-11',
  181.                 //   end: '2020-09-13'
  182.                 // },
  183.                 // {
  184.                 //   title: 'Meeting',
  185.                 //   start: '2020-09-12T10:30:00',
  186.                 //   end: '2020-09-12T12:30:00'
  187.                 // },
  188.                 // {
  189.                 //   title: 'Lunch',
  190.                 //   start: '2020-09-12T12:00:00'
  191.                 // },
  192.                 // {
  193.                 //   title: 'Meeting',
  194.                 //   start: '2020-09-12T14:30:00'
  195.                 // },
  196.                 // {
  197.                 //   title: 'Happy Hour',
  198.                 //   start: '2020-09-12T17:30:00'
  199.                 // },
  200.                 // {
  201.                 //   title: 'Dinner',
  202.                 //   start: '2020-09-12T20:00:00'
  203.                 // },
  204.                 // {
  205.                 //   title: 'Frénésie',
  206.                 //   start: '2020-09-13T14:30:00'
  207.                 // },
  208.                 // {
  209.                 //   title: 'Frénésie',
  210.                 //   start: '2020-09-13T22:15:00'
  211.                 // },
  212.                 // {
  213.                 //   title: 'Frénésie',
  214.                 //   start: '2020-09-27T14:30:00'
  215.                 // },
  216.                 // {
  217.                 //   title: 'Frénésie',
  218.                 //   start: '2020-09-27T22:15:00'
  219.                 // },
  220.                 // {
  221.                 //   title: 'Click for Google',
  222.                 //   url: 'http://google.com/',
  223.                 //   start: '2020-09-28'
  224.                 // }
  225.               ],
  226.               // eventClick: function(info) {
  227.               //   alert('Event: ' + info.event.title);
  228.               //   alert('Coordinates: ' + info.jsEvent.pageX + ',' + info.jsEvent.pageY);
  229.               //   alert('View: ' + info.view.type);
  230.               //   // change the border color just for fun
  231.               //   info.el.style.borderColor = 'red';
  232.               // }
  233.               eventClick: function(info) {
  234.                 // console.log('Event: ' + info.event.title);
  235.                 // console.log('id: ' + info.event.id);
  236.                 loadEvent(info.event.id);
  237.               },
  238.               // eventDidMount: function() {
  239.               //   console.log('eventAfterRender');
  240.               //   if( $( window ).width() <= 1200 ){
  241.               //     $('.fc.fc-media-screen').css('scale', '0.75');
  242.               //   }
  243.               // }
  244.               eventContent: function( info ) {
  245.                 if(info.event.start.getMinutes() == 0){
  246.                   var minutes = '00';
  247.                 } else {
  248.                   var minutes = info.event.start.getMinutes();
  249.                 }
  250.                   return {html: '<div class="fc-daygrid-event-dot"></div><div class="fc-event-time" >'+info.event.start.getHours()+':'+minutes+'</div><div class="fc-event-title tooltiper '+info.event.extendedProps.venuetype+'" data-desc="'+info.event.extendedProps.description+'">'+info.event.title+'<span class="description"> : '+info.event.extendedProps.description+'</span></div>'};
  251.               },
  252.             });
  253.             calendar.render();
  254.           tooltiping();
  255.           $('.fc-button').on('click', function(){
  256.             tooltiping();
  257.           });
  258.       });
  259.       function tooltiping(){
  260.         console.log('tooltiping');
  261.         $('.tooltiper.co').each(function(index, value) {
  262.           $(this).tooltipster({
  263.             content: $(this).data('desc'),
  264.             //delay: 200,
  265.             contentAsHTML: true,
  266.             //trigger: 'click'
  267.           });
  268.         });
  269.         //FIX NOEL D'OR
  270.         $('.tooltiper[data-desc="Noël d’Or"]').each(function(index, value) {
  271.           var no_desc = "Spectacle Parfum d'étoiles avec final de Noël";
  272.           if($('html').attr('lang') == 'de'){
  273.             no_desc = "Show Parfum d'étoiles mit weihnachtlichem Finale";
  274.           }
  275.           if($('html').attr('lang') == 'en'){
  276.             no_desc = "Parfum d'étoiles show with Christmas finale";
  277.           }
  278.           $(this).tooltipster({
  279.             content: no_desc,
  280.             //delay: 200,
  281.             contentAsHTML: true,
  282.             //trigger: 'click'
  283.           });
  284.         });
  285.         //END FIX NOEL D'OR`
  286.       }
  287.       function loadEvent(id){
  288.         console.log('loadevent'+id);
  289.         // MISS ALSACE
  290.         if(id == 1951){
  291.           window.location.href = "/{{app.request.locale }}/miss-alsace";
  292.           return 0;
  293.         }
  294.         // END MISS ALSACE
  295.         // AFTERWORK 2023
  296.         if(id > 339 && id < 345){
  297.           window.location.href = "/{{app.request.locale }}/afterwork?v="+id;
  298.           return 0;
  299.         }
  300.         // END AFTERWORK 2023
  301.         // // FLASH2211 2023
  302.         // if(id == 999){
  303.         //   window.location.href = "/{{app.request.locale }}/flash";
  304.         //   return 0;
  305.         // }
  306.         // // END FLASH2211 2023
  307.         // AFTERWORK 2023
  308.         if(id >= 351 && id <= 355){
  309.           window.location.href = "/{{app.request.locale }}/housh-ma-housh";
  310.           return 0;
  311.         }
  312.         // END AFTERWORK 2023
  313.         // ROBIN LEON
  314.         if(id >= 1673 && id <= 1674){
  315.           window.location.href = "/{{app.request.locale }}/robin-leon-show";
  316.           return 0;
  317.         }
  318.         // ROBIN LEON
  319.         // elixir-magique
  320.         if(id == 1563 || id == 1570 || id == 1597 || id == 1604){
  321.           window.location.href = "/{{app.request.locale }}/elixir-magique";
  322.           return 0;
  323.         }
  324.         // elixir-magique
  325.         // carnaval-de-venise
  326.         if(id == 358){
  327.           window.location.href = "/{{app.request.locale }}/carnaval-de-venise";
  328.           return 0;
  329.         }
  330.         // carnaval-de-venise
  331.         // FLASH droits-de-la-femme
  332.         if(id == 999){
  333.           window.location.href = "/{{app.request.locale }}/droits-de-la-femme";
  334.           return 0;
  335.         }
  336.         // END FLASH droits-de-la-femme
  337.         {#
  338.         // FLASH black-friday
  339.         const ids = [
  340.           '1546',
  341.           '1555',
  342.           '1577',
  343.           '1583',
  344.           '1594',
  345.           '1601'
  346.         ];
  347.         if (ids.includes(id)) {
  348.           window.location.href = `/{{ app.request.locale }}/black-friday?v=${id}`;
  349.           return 0;
  350.         }
  351.         // END FLASH black-friday
  352.         #}
  353.          $.ajax({
  354.              type: "POST",
  355.              url: "/tunnel/calendar/load",
  356.              data: {
  357.                 id: id,
  358.                 lang: '{{app.request.locale }}'
  359.              },
  360.              dataType: "json",
  361.              success: function(response) {
  362.               if(response.success == false){
  363.                 console.log('Erreur de chargement');
  364.               } else {
  365.                 console.log(response);
  366.                 //BUILD RESA
  367.                 var formula = 'sansrepas';
  368.                 if( response.form.typeSlug == 'main' ){
  369.                   var step1 = {
  370.                     group: 'individuel',
  371.                     participants: 1,
  372.                     formula: null,
  373.                     gift: false,
  374.                   };
  375.                   var step2 = {
  376.                     resto: null,
  377.                     // resto: 'majestic',
  378.                     selection: [],
  379.                   };
  380.                 } else if( response.form.typeSlug == 'sv' ){ //SAINT VALENTIN
  381.                   var step1 = {
  382.                     group: 'individuel',
  383.                     participants: 1,
  384.                     formula: null,
  385.                     gift: false,
  386.                   };
  387.                   var step2 = {
  388.                     resto: null,
  389.                     // resto: 'majestic',
  390.                     selection: [],
  391.                   };
  392.                 } else if( response.form.typeSlug == 'pa' ){ //PAQUES
  393.                   var step1 = {
  394.                     group: 'individuel',
  395.                     participants: 1,
  396.                     formula: null,
  397.                     gift: false,
  398.                   };
  399.                   var step2 = {
  400.                     resto: null,
  401.                     // resto: 'majestic',
  402.                     selection: [],
  403.                   };
  404.                 } else if( response.form.typeSlug == 'ss' ){ //SAINT SYLVESTRE
  405.                   var ss_formula = 'sansrepas';
  406.                   if(response.form.title == 'Gala Saint-Sylvestre'){
  407.                     var ss_formula = 'avecrepas';
  408.                   }
  409.                   var step1 = {
  410.                     group: 'individuel',
  411.                     participants: 1,
  412.                     formula: ss_formula,
  413.                     gift: false,
  414.                   };
  415.                   var step2 = {
  416.                     resto: null,
  417.                     // resto: 'majestic',
  418.                     selection: [],
  419.                   };
  420.                 } else if( response.form.typeSlug == 'no' ){ // NOEL
  421.                   var no_formula = null;
  422.                   if( response.form.food == 'false' ){
  423.                     no_formula = 'sansrepas';
  424.                   }
  425.                   var step1 = {
  426.                     group: 'individuel',
  427.                     participants: 1,
  428.                     formula: no_formula,
  429.                     gift: false,
  430.                   };
  431.                   var step2 = {
  432.                     // resto: null,
  433.                     resto: 'majestic',
  434.                     selection: [],
  435.                   };
  436.                 } else if( response.form.typeSlug == 'ok' ){ // OKTOBERFEST
  437.                   var step1 = {
  438.                     group: 'individuel',
  439.                     participants: 1,
  440.                     formula: 'avecrepas',
  441.                     gift: false,
  442.                   };
  443.                   var step2 = {
  444.                     // resto: null,
  445.                     resto: 'majestic',
  446.                     selection: [],
  447.                   };
  448.                 } else if( response.form.typeSlug == 'af' ){ // AFTERWORK
  449.                   var step1 = {
  450.                     group: 'individuel',
  451.                     participants: 1,
  452.                     formula: formula,
  453.                     gift: false,
  454.                   };
  455.                   var step2 = {
  456.                     resto: null,
  457.                     // resto: 'majestic',
  458.                     selection: [],
  459.                   };
  460.                 } else if( response.form.typeSlug == 'co' ){ // CONCERT
  461.                   var co_formula = null;
  462.                   if( response.form.food == 'false' ){
  463.                     co_formula = 'sansrepas';
  464.                   }
  465.                   var step1 = {
  466.                     group: 'individuel',
  467.                     participants: 1,
  468.                     formula: co_formula,
  469.                     gift: false,
  470.                   };
  471.                   var step2 = {
  472.                     resto: null,
  473.                     // resto: 'majestic',
  474.                     selection: [],
  475.                   };
  476.                 }
  477.                 var step3 = {
  478.                   pn: 0,
  479.                   ph: 0,
  480.                   vip: 0,
  481.                 };
  482.                 var palace_resa = {
  483.                   resume: true,
  484.                   show: {
  485.                     id: response.form.id,
  486.                     type: response.form.typeSlug,
  487.                     season: response.form.season,
  488.                     title: response.form.title,
  489.                     desc: response.form.description,
  490.                     desc_venue: response.form.description_venue,
  491.                     img: response.form.thumbnail,
  492.                     date: response.form.date,
  493.                     hour: response.form.hour,
  494.                     day: response.form.day,
  495.                     dateStr: response.form.dateStr,
  496.                     food: response.form.food.toString(),
  497.                     pn: response.form.pn,
  498.                     ph: response.form.ph,
  499.                     vip: response.form.vip,
  500.                   },
  501.                   step1: step1,
  502.                   step2: step2,
  503.                   step3: step3,
  504.                 };
  505.                 //END BUILD RESA
  506.                 localStorage.setItem('palace_resa', JSON.stringify(palace_resa));
  507.                 
  508.                 setTimeout(function(){ window.location.href = "/{{app.request.locale }}/reservation/tunnel?show_id="+palace_resa.show.id; }, 250);
  509.             
  510. // //FAKE RESA
  511. // const palace_resa = {
  512. //  resume: true,
  513. //  show: {
  514. //    type: 'main',
  515. //    title: 'Frénésie',
  516. //    desc: 'Depuis des générations, l’énigmatique rêverie hôtel est le lieu où se croisent les plus prestigieux artistes et voyageurs du monde.',
  517. //    img: '/front/img/frenesie-min.jpg',
  518. //    date: '2022-09-13',
  519. //    hour: '22:50',
  520. //    day: 'd2',
  521. //    dateStr: 'Vendredi 15 juillet 22h15',
  522. //  },
  523. //  step1: {
  524. //    group: 'individuel',
  525. //    formula: 'avecrepas',
  526. //  },
  527. //  step2: {
  528. //    // resto: null,
  529. //    resto: 'majestic',
  530. //    selection: [
  531. //      {
  532. //        ref: 'mj-m1',
  533. //        qty: 1,
  534. //        option: null,
  535. //      },
  536. //      // {
  537. //      //  ref: 'mj-m3',
  538. //      //  qty: 1,
  539. //      //  option: 'm4',
  540. //      // },
  541. //      // {
  542. //      //  ref: 'mj-me',
  543. //      //  qty: 1,
  544. //      //  option: null,
  545. //      // },
  546. //      // {
  547. //      //  ref: 'tk10',
  548. //      //  qty: 1,
  549. //      //  option: null,
  550. //      // },
  551. //      {
  552. //        ref: 'in-b1',
  553. //        qty: 1,
  554. //        option: null,
  555. //      },
  556. //    ],
  557. //  },
  558. //  step3: {
  559. //    pn: 1,
  560. //    ph: 1,
  561. //  },
  562. // };
  563. // //END FAKE RESA
  564. // //FAKE RESA NOEL
  565. // const palace_resa = {
  566. //  resume: true,
  567. //  show: {
  568. //    type: 'no',
  569. //    title: 'Noël des enfants',
  570. //    desc: 'Depuis des générations, l’énigmatique rêverie hôtel est le lieu où se croisent les plus prestigieux artistes et voyageurs du monde.',
  571. //    img: '/front/img/frenesie-min.jpg',
  572. //    date: '2022-09-13',
  573. //    hour: '22:50',
  574. //    day: 'd2',
  575. //    dateStr: 'Vendredi 15 juillet 22h15',
  576. //  },
  577. //  step1: {
  578. //    group: null,
  579. //    formula: 'avecrepas',
  580. //    gift: false,
  581. //  },
  582. //  step2: {
  583. //    // resto: null,
  584. //    resto: 'majestic',
  585. //    selection: [
  586. //      // {
  587. //      //  ref: 'in-b1',
  588. //      //  qty: 1,
  589. //      //  option: null,
  590. //      // },
  591. //    ],
  592. //  },
  593. //  step3: {
  594. //    pn: 0,
  595. //    ph: 0,
  596. //  },
  597. // };
  598. // //FAKE RESA NOEL
  599. // //FAKE RESA OKTOBER
  600. // const palace_resa = {
  601. //  resume: true,
  602. //  show: {
  603. //    type: 'ok',
  604. //    title: 'Oktoberfest',
  605. //    desc: 'Depuis des générations, l’énigmatique rêverie hôtel est le lieu où se croisent les plus prestigieux artistes et voyageurs du monde.',
  606. //    img: '/front/img/frenesie-min.jpg',
  607. //    date: '2022-09-13',
  608. //    hour: '22:50',
  609. //    day: 'd2',
  610. //    dateStr: 'Vendredi 15 juillet 22h15',
  611. //  },
  612. //  step1: {
  613. //    group: 'individuel',
  614. //    formula: 'avecrepas',
  615. //    gift: false,
  616. //  },
  617. //  step2: {
  618. //    // resto: null,
  619. //    resto: 'majestic',
  620. //    selection: [
  621. //      {
  622. //        ref: 'okm',
  623. //        qty: 2,
  624. //        option: null,
  625. //      },
  626. //      {
  627. //        ref: 'ok',
  628. //        qty: 3,
  629. //        option: null,
  630. //      },
  631. //      {
  632. //        ref: 'ms',
  633. //        qty: 3,
  634. //        option: null,
  635. //      },
  636. //    ],
  637. //  },
  638. //  step3: {
  639. //    pn: 0,
  640. //    ph: 0,
  641. //  },
  642. // };
  643. // //FAKE RESA OKTOBER
  644. // //FAKE RESA AFTERWORK
  645. // const palace_resa = {
  646. //  resume: true,
  647. //  show: {
  648. //    type: 'af',
  649. //    title: 'Afterwork',
  650. //    desc: 'Depuis des générations, l’énigmatique rêverie hôtel est le lieu où se croisent les plus prestigieux artistes et voyageurs du monde.',
  651. //    img: '/front/img/frenesie-min.jpg',
  652. //    date: '2022-09-13',
  653. //    hour: '22:50',
  654. //    day: 'd2',
  655. //    dateStr: 'Vendredi 15 juillet 22h15',
  656. //  },
  657. //  step1: {
  658. //    group: 'individuel',
  659. //    formula: 'sansrepas',
  660. //    gift: false,
  661. //  },
  662. //  step2: {
  663. //    resto: null,
  664. //    selection: [
  665. //      // {
  666. //      //  ref: 'af',
  667. //      //  qty: 5,
  668. //      //  option: null,
  669. //      // },
  670. //    ],
  671. //  },
  672. //  step3: {
  673. //    pn: 0,
  674. //    ph: 0,
  675. //  },
  676. // };
  677. // //FAKE RESA AFTERWORK
  678.               }
  679.              }
  680.          });
  681.       }
  682.     </script>
  683.   {% endblock %}