var/cache/dev/twig/03/03379ea7838e4bd0509eccb5e20389d8.php line 45

Open in your IDE?
  1. <?php
  2. use Twig\Environment;
  3. use Twig\Error\LoaderError;
  4. use Twig\Error\RuntimeError;
  5. use Twig\Extension\CoreExtension;
  6. use Twig\Extension\SandboxExtension;
  7. use Twig\Markup;
  8. use Twig\Sandbox\SecurityError;
  9. use Twig\Sandbox\SecurityNotAllowedTagError;
  10. use Twig\Sandbox\SecurityNotAllowedFilterError;
  11. use Twig\Sandbox\SecurityNotAllowedFunctionError;
  12. use Twig\Source;
  13. use Twig\Template;
  14. /* admin/experience/edit/editPrice.html.twig */
  15. class __TwigTemplate_948ba85d19eda7626b36ff4614f15868 extends Template
  16. {
  17.     private $source;
  18.     private $macros = [];
  19.     public function __construct(Environment $env)
  20.     {
  21.         parent::__construct($env);
  22.         $this->source $this->getSourceContext();
  23.         $this->blocks = [
  24.             'page_title' => [$this'block_page_title'],
  25.             'breadcump_main' => [$this'block_breadcump_main'],
  26.             'breadcump_subtitle' => [$this'block_breadcump_subtitle'],
  27.             'menu_left_sidebar' => [$this'block_menu_left_sidebar'],
  28.             'stylesheets' => [$this'block_stylesheets'],
  29.             'content' => [$this'block_content'],
  30.             'javascripts' => [$this'block_javascripts'],
  31.         ];
  32.     }
  33.     protected function doGetParent(array $context)
  34.     {
  35.         // line 1
  36.         return "admin/baseAdmin.html.twig";
  37.     }
  38.     protected function doDisplay(array $context, array $blocks = [])
  39.     {
  40.         $macros $this->macros;
  41.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  42.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""admin/experience/edit/editPrice.html.twig"));
  43.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  44.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""admin/experience/edit/editPrice.html.twig"));
  45.         $this->parent $this->loadTemplate("admin/baseAdmin.html.twig""admin/experience/edit/editPrice.html.twig"1);
  46.         yield from $this->parent->unwrap()->yield($contextarray_merge($this->blocks$blocks));
  47.         
  48.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  49.         
  50.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  51.     }
  52.     // line 2
  53.     public function block_page_title($context, array $blocks = [])
  54.     {
  55.         $macros $this->macros;
  56.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  57.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""page_title"));
  58.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  59.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""page_title"));
  60.         yield "Modifier tarrification ";
  61.         
  62.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  63.         
  64.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  65.         return; yield '';
  66.     }
  67.     // line 3
  68.     public function block_breadcump_main($context, array $blocks = [])
  69.     {
  70.         $macros $this->macros;
  71.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  72.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""breadcump_main"));
  73.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  74.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""breadcump_main"));
  75.         yield "Prix";
  76.         
  77.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  78.         
  79.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  80.         return; yield '';
  81.     }
  82.     // line 4
  83.     public function block_breadcump_subtitle($context, array $blocks = [])
  84.     {
  85.         $macros $this->macros;
  86.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  87.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""breadcump_subtitle"));
  88.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  89.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""breadcump_subtitle"));
  90.         yield "Modification";
  91.         
  92.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  93.         
  94.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  95.         return; yield '';
  96.     }
  97.     // line 5
  98.     public function block_menu_left_sidebar($context, array $blocks = [])
  99.     {
  100.         $macros $this->macros;
  101.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  102.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""menu_left_sidebar"));
  103.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  104.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""menu_left_sidebar"));
  105.         // line 6
  106.         yield "    ";
  107.         yield from         $this->loadTemplate("include/menu/menuAdmin.html.twig""admin/experience/edit/editPrice.html.twig"6)->unwrap()->yield(CoreExtension::merge($context, ["menu_active_event" => "2"]));
  108.         
  109.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  110.         
  111.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  112.         return; yield '';
  113.     }
  114.     // line 8
  115.     public function block_stylesheets($context, array $blocks = [])
  116.     {
  117.         $macros $this->macros;
  118.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  119.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""stylesheets"));
  120.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  121.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""stylesheets"));
  122.         // line 9
  123.         yield "    <link href=\"";
  124.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("admin/libs/select2/css/select2.min.css"), "html"nulltrue);
  125.         yield "\" rel=\"stylesheet\" type=\"text/css\">
  126.     <link href=\"";
  127.         // line 10
  128.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("admin/css/tailwind.min.css"), "html"nulltrue);
  129.         yield "\" rel=\"stylesheet\" type=\"text/css\">
  130.     <link href=\"";
  131.         // line 11
  132.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("admin/css/tailwind2.css"), "html"nulltrue);
  133.         yield "\" rel=\"stylesheet\" type=\"text/css\">
  134.     <link href=\"";
  135.         // line 12
  136.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("admin/libs/bootstrap-datepicker/css/bootstrap-datepicker.min.css"), "html"nulltrue);
  137.         yield "\" rel=\"stylesheet\" type=\"text/css\">
  138.     <link href=\"";
  139.         // line 13
  140.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("admin/libs/@chenfengyuan/datepicker/datepicker.min.css"), "html"nulltrue);
  141.         yield "\" rel=\"stylesheet\" type=\"text/css\">
  142. ";
  143.         
  144.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  145.         
  146.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  147.         return; yield '';
  148.     }
  149.     // line 16
  150.     public function block_content($context, array $blocks = [])
  151.     {
  152.         $macros $this->macros;
  153.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  154.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""content"));
  155.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  156.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""content"));
  157.         // line 17
  158.         yield "    <form id=\"form-general\" class=\"general-info custom-validation\" method=\"POST\" action=\"";
  159.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("edit_price", ["id" => CoreExtension::getAttribute($this->env$this->source, (isset($context["experience"]) || array_key_exists("experience"$context) ? $context["experience"] : (function () { throw new RuntimeError('Variable "experience" does not exist.'17$this->source); })()), "id", [], "any"falsefalsefalse17)]), "html"nulltrue);
  160.         yield "\" enctype=\"multipart/form-data\"  >
  161.         <div class=\"container-fluid\">
  162.             <div class=\"row\">
  163.                 <div class=\"col-xl-12 px-0\">
  164.                     <div class=\"card\">
  165.                         <div class=\"card-body\">
  166.                             <div class=\"sm:p-4 p-2 pb-0 pt-1\">
  167.                                 <h5 class=\"text-lg font-semibold mt-2 mb-2 \">Prix et tarification </h5>
  168.                                 <p class=\"pb-1 text-gray-700 text-sm\">Calculer le prix de l'expérience, en excluant le prix de l'hébergement standard si c'est le cas d'hebergement.
  169.                                 </p>
  170.                                 <div class=\"mt-10  flex justify-center gap-5\">
  171.                                     <div class=\"flex gap-2 w-8/12 \">
  172.                                         <div class=\"w-10/12\">
  173.                                             <h6 class=\"text-13 dark:text-white font-semibold mb-2\">Le prix de l'éxperience</h6>
  174.                                             <div class=\"relative h-16 w-full\">
  175.                                                 <input value=\"";
  176.         // line 39
  177.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source, (isset($context["experience"]) || array_key_exists("experience"$context) ? $context["experience"] : (function () { throw new RuntimeError('Variable "experience" does not exist.'39$this->source); })()), "price", [], "any"falsefalsefalse39), "html"nulltrue);
  178.         yield "\" style=\"font-size: 1.5rem;COLOR: #f8853b;text-align: center;\" required=\"\" name=\"price\" type=\"number\" id=\"floating_outlined\" class=\"appearance-none bg-transparent block border border-gray-400 dark:bg-transparent dark:border-zink-50 dark:placeholder:text-zink-200 dark:text-zink-200 focus:border-blue-600 focus:outline-none focus:ring-0 h-100 pb-2.5 peer pt-4 px-2.5 rounded-lg text-gray-900 text-sm w-full\" placeholder=\" \">
  179.                                                 <label for=\"floating_outlined\" class=\"absolute text-sm text-gray-600 duration-300 transform -translate-y-4 scale-75 top-2 z-10 origin-[0] bg-white px-2 peer-focus:px-2 peer-focus:text-blue-600 peer-focus:dark:text-blue-500 peer-placeholder-shown:scale-100 peer-placeholder-shown:-translate-y-1/2 peer-placeholder-shown:top-1/2 peer-focus:top-2 peer-focus:scale-75 peer-focus:-translate-y-4 left-1 dark:bg-transparent\">Prix</label>
  180.                                             </div>
  181.                                         </div>
  182.                                         <div class=\"w-1/6\">
  183.                                             <h6 class=\"text-13 dark:text-white font-semibold mb-2\">Devise</h6>
  184.                                             <div class=\"relative h-16\">
  185.                                                 <select required=\"\" name='currency' placeholder=\"choisir le type d'accomodation\" class=\"h-100 text-sm form-control \" aria-invalid=\"false\">
  186.                                                     <option ";
  187.         // line 47
  188.         if ((CoreExtension::getAttribute($this->env$this->source, (isset($context["experience"]) || array_key_exists("experience"$context) ? $context["experience"] : (function () { throw new RuntimeError('Variable "experience" does not exist.'47$this->source); })()), "currency", [], "any"falsefalsefalse47) == "usd")) {
  189.             yield "selected=\"\"";
  190.         }
  191.         yield " value=\"usd\">\$ USD</option>
  192.                                                     <option ";
  193.         // line 48
  194.         if ((CoreExtension::getAttribute($this->env$this->source, (isset($context["experience"]) || array_key_exists("experience"$context) ? $context["experience"] : (function () { throw new RuntimeError('Variable "experience" does not exist.'48$this->source); })()), "currency", [], "any"falsefalsefalse48) == "eur")) {
  195.             yield "selected=\"\"";
  196.         }
  197.         yield " value=\"eur\">€ EUR</option>
  198.                                                     <option ";
  199.         // line 49
  200.         if ((CoreExtension::getAttribute($this->env$this->source, (isset($context["experience"]) || array_key_exists("experience"$context) ? $context["experience"] : (function () { throw new RuntimeError('Variable "experience" does not exist.'49$this->source); })()), "currency", [], "any"falsefalsefalse49) == "GBP")) {
  201.             yield "selected=\"\"";
  202.         }
  203.         yield " value=\"gbp\">£ GBP</option>
  204.                                                     <option ";
  205.         // line 50
  206.         if ((CoreExtension::getAttribute($this->env$this->source, (isset($context["experience"]) || array_key_exists("experience"$context) ? $context["experience"] : (function () { throw new RuntimeError('Variable "experience" does not exist.'50$this->source); })()), "currency", [], "any"falsefalsefalse50) == "mad")) {
  207.             yield "selected=\"\"";
  208.         }
  209.         yield " value=\"gbp\">dh MAD</option>
  210.                                                 </select>
  211.                                             </div>
  212.                                         </div>
  213.                                     </div>
  214.                                 </div>
  215.                             </div>
  216.                             <!-- end row -->
  217.                             <h5 class=\"text-lg font-semibold mt-5 \">Politique d'annulation </h5>
  218.                             <p class=\"pb-1 text-gray-700 text-sm\">Pour mieux servir tout le monde, nous avons standardisé les politiques d'annulation pour les retraites. Moins de confusion. Plus de clarté. Les deux conduisent à plus de réservations et moins de maux de tête pour vous. 
  219.                             </p>
  220.                             <div class=\"flex items-start mt-3\">
  221.                                 <p for=\"\" class=\"form-label font-medium text-sm mr-2 col-3\"> Choisir un choix:  </p>
  222.                                 <div class=\"row col-9\">
  223.                                     <div class=\"relative col-3 py-4\">
  224.                                         <div class=\"flex items-center mb-3\">
  225.                                             <label class=\"flex items-start gratuit\" >
  226.                                                 <input ";
  227.         // line 74
  228.         if ((CoreExtension::getAttribute($this->env$this->source, (isset($context["experience"]) || array_key_exists("experience"$context) ? $context["experience"] : (function () { throw new RuntimeError('Variable "experience" does not exist.'74$this->source); })()), "cancellation", [], "any"falsefalsefalse74) == "0")) {
  229.             yield " checked ";
  230.         }
  231.         yield "  value=\"0\" type=\"radio\"  name=\"cancellation\" class=\"form-checkbox h-5 w-6 text-blue-600 me-3\">
  232.                                                 <span class=\" text-sm\">Gratuit</span>
  233.                                             </label>
  234.                                         </div>
  235.                                         <div class=\"flex items-center mb-3 flexible\" >
  236.                                             <label class=\"flex items-start\">
  237.                                                 <input ";
  238.         // line 81
  239.         if ((CoreExtension::getAttribute($this->env$this->source, (isset($context["experience"]) || array_key_exists("experience"$context) ? $context["experience"] : (function () { throw new RuntimeError('Variable "experience" does not exist.'81$this->source); })()), "cancellation", [], "any"falsefalsefalse81) == "1")) {
  240.             yield " checked ";
  241.         }
  242.         yield " value=\"1\" type=\"radio\"  name=\"cancellation\" class=\"form-checkbox h-5 w-6 text-blue-600 me-3\">
  243.                                                 <span class=\" text-sm\">Flexible</span>
  244.                                             </label>
  245.                                         </div>
  246.                                         <div class=\"flex items-center mb-3 modere\">
  247.                                             <label class=\"flex items-start\">
  248.                                                 <input ";
  249.         // line 87
  250.         if ((CoreExtension::getAttribute($this->env$this->source, (isset($context["experience"]) || array_key_exists("experience"$context) ? $context["experience"] : (function () { throw new RuntimeError('Variable "experience" does not exist.'87$this->source); })()), "cancellation", [], "any"falsefalsefalse87) == "2")) {
  251.             yield " checked ";
  252.         }
  253.         yield " value=\"2\" type=\"radio\" name=\"cancellation\" class=\"form-checkbox h-5 w-6 text-blue-600 me-3\">
  254.                                                 <span class=\" text-sm\">Modérée</span>
  255.                                             </label>
  256.                                         </div>
  257.                                     </div>
  258.                                     <div class=\"col-9\">
  259.                                         <div id=\"alert-gratuit\" class=\"p-4 mb-4 text-green-800 border border-green-300 rounded-lg bg-green-50 \" role=\"alert\">
  260.                                             <div class=\"flex items-center justify-center\">
  261.                                                 <svg class=\"flex-shrink-0 w-4 h-4 me-2\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"currentColor\" viewBox=\"0 0 20 20\">
  262.                                                 <path d=\"M10 .5a9.5 9.5 0 1 0 9.5 9.5A9.51 9.51 0 0 0 10 .5ZM9.5 4a1.5 1.5 0 1 1 0 3 1.5 1.5 0 0 1 0-3ZM12 15H8a1 1 0 0 1 0-2h1v-3H8a1 1 0 0 1 0-2h2a1 1 0 0 1 1 1v4h1a1 1 0 0 1 0 2Z\"></path>
  263.                                                 </svg>
  264.                                                 <h3 class=\"text-lg font-medium\">Gratuit</h3>
  265.                                             </div>
  266.                                             <div class=\"my-2 text-sm\" >
  267.                                                 <ul style=\"list-style: disc;\">
  268.                                                     <li>1+ days before the retreat start date.</li>
  269.                                                     <li>The remaining balance is due upon arrival.</li>
  270.                                                     <li>If paid at the time of booking, a full refund of the remaining balance is available up to the day before your retreat start date.</li>
  271.                                                 </ul>
  272.                                             </div>
  273.                                         </div>
  274.                                         <div id=\"alert-flexible\" style=\"display: none;\" class=\"p-4 mb-4 text-green-800 border border-green-300 rounded-lg bg-green-50 \" role=\"alert\">
  275.                                             <div class=\"flex items-center justify-center \">
  276.                                                 <svg class=\"flex-shrink-0 w-4 h-4 me-2\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"currentColor\" viewBox=\"0 0 20 20\">
  277.                                                 <path d=\"M10 .5a9.5 9.5 0 1 0 9.5 9.5A9.51 9.51 0 0 0 10 .5ZM9.5 4a1.5 1.5 0 1 1 0 3 1.5 1.5 0 0 1 0-3ZM12 15H8a1 1 0 0 1 0-2h1v-3H8a1 1 0 0 1 0-2h2a1 1 0 0 1 1 1v4h1a1 1 0 0 1 0 2Z\"></path>
  278.                                                 </svg>
  279.                                                 <h3 class=\"text-lg font-medium\"> Flexible</h3>
  280.                                             </div>
  281.                                             <div class=\"my-2 text-sm\" >
  282.                                                 <ul style=\"list-style: disc;\">
  283.                                                     <li>50% deposit refund for cancellation 15-29 days before retreat start date.</li>
  284.                                                     <li>0% deposit refund for cancellation 0-14 days before retreat start date.</li>
  285.                                                     <li>The remaining balance is due upon arrival.</li>
  286.                                                     <li> If paid at the time of booking, a full refund of the remaining balance is available up to the day before your retreat start date.</li>
  287.                                                 </ul>
  288.                                             </div>
  289.                                         </div>
  290.                                         <div id=\"alert-moderate\" style=\"display: none;\" class=\"p-4 mb-4 text-green-800 border border-green-300 rounded-lg bg-green-50 \" role=\"alert\">
  291.                                             <div class=\"flex items-center justify-center\">
  292.                                                 <svg class=\"flex-shrink-0 w-4 h-4 me-2\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"currentColor\" viewBox=\"0 0 20 20\">
  293.                                                 <path d=\"M10 .5a9.5 9.5 0 1 0 9.5 9.5A9.51 9.51 0 0 0 10 .5ZM9.5 4a1.5 1.5 0 1 1 0 3 1.5 1.5 0 0 1 0-3ZM12 15H8a1 1 0 0 1 0-2h1v-3H8a1 1 0 0 1 0-2h2a1 1 0 0 1 1 1v4h1a1 1 0 0 1 0 2Z\"></path>
  294.                                                 </svg>
  295.                                                 <h3 class=\"text-lg font-medium\">Moderate</h3>
  296.                                             </div>
  297.                                             <div class=\"my-2 text-sm\" >
  298.                                                 <ul style=\"list-style: disc;\">
  299.                                                     <li>100% deposit refund for cancellation 60+ days before retreat start date.</li>
  300.                                                     <li>50% deposit refund for cancellation 30-59 days before retreat start date.</li>
  301.                                                     <li>0% deposit refund for cancellation 0-29 days before retreat start date.</li>
  302.                                                 </ul>
  303.                                                 </span>
  304.                                             </div>
  305.                                         </div>
  306.                                     </div>
  307.                                 </div>
  308.                             </div>
  309.                         </div>
  310.                     </div>
  311.                 </div>
  312.             </div>
  313.             <div class=\"row\">
  314.                 <div class=\"col-lg-12 px-0\"
  315.                      <!-- end card body -->
  316.                      <div class=\"card\">
  317.                         <div class=\"card-body\">
  318.                             <div class=\"mt-1\">
  319.                                 <h5 class=\"text-lg font-semibold mt-2 mb-2 \">Promotion</h5>
  320.                                 <p class=\"card-title-desc\">
  321.                                     <small>Proposer des réductions de prix pour acroitre plus de ventes, vous trouverez tous les outils necessaires pour cette fin en activant le mode promotion.</small> 
  322.                                 </p>
  323.                                 <div class=\"mb-3\">
  324.                                     <h5 class=\"font-size-14\" >
  325.                                         Activer la promotion ?
  326.                                     </h5>
  327.                                     <input ";
  328.         // line 174
  329.         if ((CoreExtension::getAttribute($this->env$this->source, (isset($context["experience"]) || array_key_exists("experience"$context) ? $context["experience"] : (function () { throw new RuntimeError('Variable "experience" does not exist.'174$this->source); })()), "onpromo", [], "any"falsefalsefalse174) == "1")) {
  330.             yield " checked ";
  331.         }
  332.         yield " name=\"onpromo\" type=\"checkbox\" id=\"switch1\" switch=\"success\" data-bs-toggle=\"collapse\" href=\"#promotionbloc\" aria-expanded=\"false\" aria-controls=\"promotionbloc\" />
  333.                                     <label for=\"switch1\" data-on-label=\"Oui\" data-off-label=\"Non\"></label>
  334.                                 </div>
  335.                                 <div class=\"collapse ";
  336.         // line 177
  337.         if ((CoreExtension::getAttribute($this->env$this->source, (isset($context["experience"]) || array_key_exists("experience"$context) ? $context["experience"] : (function () { throw new RuntimeError('Variable "experience" does not exist.'177$this->source); })()), "onpromo", [], "any"falsefalsefalse177) == "1")) {
  338.             yield " show ";
  339.         }
  340.         yield "\" id=\"promotionbloc\">
  341.                                     <div class=\"card border shadow-none card-body text-muted mb-0\">
  342.                                         <div class=\"row \">
  343.                                             <div class=\"mt-3 mb-3 col-md-6\">
  344.                                                 <label for=\"formrow-firstname-input\" class=\"form-label\">Pourcentage</label>
  345.                                                 <div class=\"input-group\">
  346.                                                     <div class=\"input-group-text\">%</div>
  347.                                                     <input value=\"";
  348.         // line 184
  349.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source, (isset($context["experience"]) || array_key_exists("experience"$context) ? $context["experience"] : (function () { throw new RuntimeError('Variable "experience" does not exist.'184$this->source); })()), "promotion", [], "any"falsefalsefalse184), "percent", [], "any"falsefalsefalse184), "html"nulltrue);
  350.         yield "\" required=\"\" name=\"percent\"  type=\"number\" class=\"form-control\" id=\"autoSizingInputGroup\" placeholder=\"Taper le pourcentage de la promo\">
  351.                                                 </div>
  352.                                             </div>
  353.                                         </div>
  354.                                         <div class=\"row \">
  355.                                             <div class=\"mb-4\">
  356.                                                 <label>Durée de la promoation</label>
  357.                                                 <div class=\"input-daterange input-group\" id=\"datepicker6\" data-date-format=\"dd M, yyyy\" data-date-autoclose=\"true\" data-provide=\"datepicker\" data-date-container='#datepicker6'>
  358.                                                     <input value=\"";
  359.         // line 193
  360.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Twig\Extension\CoreExtension']->formatDate(CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source, (isset($context["experience"]) || array_key_exists("experience"$context) ? $context["experience"] : (function () { throw new RuntimeError('Variable "experience" does not exist.'193$this->source); })()), "promotion", [], "any"falsefalsefalse193), "datestart", [], "any"falsefalsefalse193), "m/d/Y"), "html"nulltrue);
  361.         yield "\" required=\"\" type=\"text\" class=\"form-control\" name=\"datestart\" placeholder=\"Date debut\" />
  362.                                                     <input value=\"";
  363.         // line 194
  364.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Twig\Extension\CoreExtension']->formatDate(CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source, (isset($context["experience"]) || array_key_exists("experience"$context) ? $context["experience"] : (function () { throw new RuntimeError('Variable "experience" does not exist.'194$this->source); })()), "promotion", [], "any"falsefalsefalse194), "dateend", [], "any"falsefalsefalse194), "m/d/Y"), "html"nulltrue);
  365.         yield "\" required=\"\" type=\"text\" class=\"form-control\" name=\"dateend\" placeholder=\"Date Fin\" />
  366.                                                 </div>
  367.                                             </div>
  368.                                         </div>
  369.                                     </div>
  370.                                 </div>
  371.                             </div>
  372.                         </div>
  373.                     </div>
  374.                     <div class=\"card\">
  375.                         <div class=\"card-body\">
  376.                             <div  class=\"mt-3 \" >
  377.                                 <h5 class=\"text-lg font-semibold mt-2 mb-2 \">Prix des chambres</h5>
  378.                                 <p class=\"card-title-desc\">
  379.                                     <small>Si vos proposer aux utilisateurs des chambres pour l'éxperience, vous devez mentionner le prix de chaque chambre.</small> 
  380.                                 </p>
  381.                                 <div class=\"mb-3\">
  382.                                     <h5 class=\"font-size-14\" >
  383.                                         Hebergement ?
  384.                                     </h5>
  385.                                     <input ";
  386.         // line 215
  387.         if ((CoreExtension::getAttribute($this->env$this->source, (isset($context["experience"]) || array_key_exists("experience"$context) ? $context["experience"] : (function () { throw new RuntimeError('Variable "experience" does not exist.'215$this->source); })()), "hashebergement", [], "any"falsefalsefalse215) == "1")) {
  388.             yield " checked ";
  389.         }
  390.         yield " name=\"hashebergement\" type=\"checkbox\" id=\"switch2\" switch=\"success\" data-bs-toggle=\"collapse\" href=\"#hashebergementbloc\" aria-expanded=\"false\" aria-controls=\"hashebergementbloc\" />
  391.                                     <label for=\"switch2\" data-on-label=\"Oui\" data-off-label=\"Non\"></label>
  392.                                 </div>
  393.                                 <div class=\"collapse ";
  394.         // line 218
  395.         if ((CoreExtension::getAttribute($this->env$this->source, (isset($context["experience"]) || array_key_exists("experience"$context) ? $context["experience"] : (function () { throw new RuntimeError('Variable "experience" does not exist.'218$this->source); })()), "hashebergement", [], "any"falsefalsefalse218) == "1")) {
  396.             yield " show ";
  397.         }
  398.         yield " \" id=\"hashebergementbloc\">
  399.                                     <div class=\"card border shadow-none card-body text-muted mb-0\">
  400.                                         <p class=\"text-sm\"><small>Veuillez mentionner les prix des chambres que vous avez ajouter à cette éxperience, le prix total des réservations sera celui de l'éxperience avec l'hébergement sélectionné.</small></p>
  401.                                         <div id=\"price-forms\" class=\"row text-sm  \">
  402.                                             ";
  403.         // line 222
  404.         $context['_parent'] = $context;
  405.         $context['_seq'] = CoreExtension::ensureTraversable(CoreExtension::getAttribute($this->env$this->source, (isset($context["experience"]) || array_key_exists("experience"$context) ? $context["experience"] : (function () { throw new RuntimeError('Variable "experience" does not exist.'222$this->source); })()), "hebergements", [], "any"falsefalsefalse222));
  406.         $context['loop'] = [
  407.           'parent' => $context['_parent'],
  408.           'index0' => 0,
  409.           'index'  => 1,
  410.           'first'  => true,
  411.         ];
  412.         if (is_array($context['_seq']) || (is_object($context['_seq']) && $context['_seq'] instanceof \Countable)) {
  413.             $length count($context['_seq']);
  414.             $context['loop']['revindex0'] = $length 1;
  415.             $context['loop']['revindex'] = $length;
  416.             $context['loop']['length'] = $length;
  417.             $context['loop']['last'] = === $length;
  418.         }
  419.         foreach ($context['_seq'] as $context["_key"] => $context["hebergement"]) {
  420.             // line 223
  421.             yield "                                                <div class=\"price-item mt-4\">
  422.                                                     <p for=\"\" class=\"form-label text-sm font-semibold col-2\">Chambre ";
  423.             // line 224
  424.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source$context["loop"], "index", [], "any"falsefalsefalse224), "html"nulltrue);
  425.             yield " </p>
  426.                                                     <div class=\"row mb-3\" >
  427.                                                         <div class=\" col-lg-6  lg:mb-0\">
  428.                                                             <p for=\"\" class=\"form-label font-medium \">Nom de la chambre</p>
  429.                                                             <div class=\"relative w-full \">
  430.                                                                 <input value=\"";
  431.             // line 230
  432.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source$context["hebergement"], "id", [], "any"falsefalsefalse230), "html"nulltrue);
  433.             yield "\" placeholder=\"#";
  434.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source$context["hebergement"], "id", [], "any"falsefalsefalse230), "html"nulltrue);
  435.             yield " - ";
  436.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source$context["hebergement"], "name", [], "any"falsefalsefalse230), "html"nulltrue);
  437.             yield "\" readonly=\"\" type=\"text\" name=\"n-chambre\" class=\"form-control sm:text-sm rounded-lg focus:ring-primary-600 focus:border-primary-600 block w-full p-2.5 ps-3 \"  >
  438.                                                                 <input  value=\"";
  439.             // line 231
  440.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source$context["hebergement"], "id", [], "any"falsefalsefalse231), "html"nulltrue);
  441.             yield "\" hidden=\"\" type=\"text\" name=\"idhebergements[]\" class=\"form-control sm:text-sm rounded-lg focus:ring-primary-600 focus:border-primary-600 block w-full p-2.5 ps-3 \"  placeholder=\"Titre \">
  442.                                                             </div>
  443.                                                         </div>
  444.                                                         <div class=\"  col-lg-6\">
  445.                                                             <p for=\"\" class=\"form-label font-medium \">Prix </p>
  446.                                                             <div class=\"relative w-full \">
  447.                                                                 <input required=\"\" value=\"";
  448.             // line 237
  449.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source$context["hebergement"], "price", [], "any"falsefalsefalse237), "html"nulltrue);
  450.             yield "\" type=\"number\" name=\"pricehebergements[]\" class=\"form-control sm:text-sm rounded-lg focus:ring-primary-600 focus:border-primary-600 block w-full p-2.5 ps-3 \"  placeholder=\"Prix \">
  451.                                                             </div>
  452.                                                         </div>
  453.                                                     </div>
  454.                                                 </div>
  455.                                             ";
  456.             ++$context['loop']['index0'];
  457.             ++$context['loop']['index'];
  458.             $context['loop']['first'] = false;
  459.             if (isset($context['loop']['length'])) {
  460.                 --$context['loop']['revindex0'];
  461.                 --$context['loop']['revindex'];
  462.                 $context['loop']['last'] = === $context['loop']['revindex0'];
  463.             }
  464.         }
  465.         $_parent $context['_parent'];
  466.         unset($context['_seq'], $context['_iterated'], $context['_key'], $context['hebergement'], $context['_parent'], $context['loop']);
  467.         $context array_intersect_key($context$_parent) + $_parent;
  468.         // line 243
  469.         yield "                                        </div>
  470.                                     </div>
  471.                                 </div>                                                   
  472.                             </div>
  473.                         </div>                                                   
  474.                     </div>
  475.                 </div>
  476.                 <!-- end card -->
  477.             </div>
  478.             <!-- end col -->
  479.             <div class=\"row\">
  480.                 <div class=\"col-lg-12\">
  481.                     <div class=\"card\">
  482.                         <div class=\"card-body\">
  483.                             <div class=\"flex mt-4 row\">
  484.                                 <div class=\"col-md-6\">
  485.                                     <p class=\"text-xs  text-gray-900 mb-2\">En cliquant sur le bouton de Enregistrer, vous mettez à jours les informations envoyé dans ce formulaire </p>
  486.                                 </div>
  487.                                 <div class=\"col-md flex justify-end\">
  488.                                     <button type=\"reset\" style=\" color: #ffaa00; border: 1px solid;\" class=\"font-medium h-10  py-2.5 rounded-lg text-center text-sm  w-40 me-2\">
  489.                                         Annuler</button>
  490.                                     <button type=\"submit\" style=\" background: #ffaa00;\" class=\"font-medium hover:bg-primary-700 h-10  py-2.5 rounded-lg text-center text-sm text-white w-40\">Enregistrer</button>
  491.                                 </div>
  492.                             </div>
  493.                         </div>
  494.                     </div>
  495.                 </div>
  496.             </div>
  497.             <!-- end col -->
  498.         </div>
  499.         <!-- End Page-content -->
  500.     </div><!-- container-fluid -->
  501. </form>
  502. ";
  503.         
  504.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  505.         
  506.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  507.         return; yield '';
  508.     }
  509.     // line 289
  510.     public function block_javascripts($context, array $blocks = [])
  511.     {
  512.         $macros $this->macros;
  513.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  514.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""javascripts"));
  515.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  516.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""javascripts"));
  517.         // line 290
  518.         yield "    <!-- apexcharts -->
  519.     <script src=\"";
  520.         // line 291
  521.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("admin/libs/parsleyjs/parsley.min.js"), "html"nulltrue);
  522.         yield "\"></script>
  523.     <script src=\"";
  524.         // line 292
  525.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("admin/libs/select2/js/select2.min.js"), "html"nulltrue);
  526.         yield "\"></script>
  527.     <script src=\"";
  528.         // line 293
  529.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("admin/libs/bootstrap-maxlength/bootstrap-maxlength.min.js"), "html"nulltrue);
  530.         yield "\"></script>
  531.     <script src=\"";
  532.         // line 294
  533.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("admin/libs/bootstrap-datepicker/js/bootstrap-datepicker.min.js"), "html"nulltrue);
  534.         yield "\"></script>
  535.     <script src=\"";
  536.         // line 295
  537.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("admin/libs/@chenfengyuan/datepicker/datepicker.min.js"), "html"nulltrue);
  538.         yield "\"></script>
  539.     <script src=\"";
  540.         // line 297
  541.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("admin/js/pages/form-validation.init.js"), "html"nulltrue);
  542.         yield "\"></script>
  543.     <script src=\"";
  544.         // line 299
  545.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("admin/js/app.js"), "html"nulltrue);
  546.         yield "\"></script>
  547.     <script>
  548.         /*
  549.          Template Name: Skote - Admin & Dashboard Template
  550.          Author: Themesbrand
  551.          Website: https://themesbrand.com/
  552.          Contact: themesbrand@gmail.com
  553.          File: Form Advanced Js File
  554.          */
  555.         !function (\$) {
  556.             \"use strict\";
  557.             var AdvancedForm = function () { };
  558.             AdvancedForm.prototype.init = function () {
  559.                 // Select2
  560.                 if (\$('.select2').length > 0) {
  561.                     \$(\".select2\").select2();
  562.                 }
  563.                 if (\$('.select2-tags').length > 0) {
  564.                     \$(\".select2-tags\").select2({
  565.                         tags: true
  566.                     });
  567.                 }
  568.                 if (\$('.select2-limiting-3').length > 0) {
  569.                     \$(\".select2-limiting-3\").select2({
  570.                         maximumSelectionLength: 3
  571.                     });
  572.                 }
  573.                 //Bootstrap-MaxLength
  574.                 \$('input#defaultconfig').maxlength({
  575.                     warningClass: \"badge bg-info\",
  576.                     limitReachedClass: \"badge bg-warning\"
  577.                 });
  578.                 \$('input#thresholdconfig').maxlength({
  579.                     threshold: 20,
  580.                     warningClass: \"badge bg-info\",
  581.                     limitReachedClass: \"badge bg-warning\"
  582.                 });
  583.                 \$('input#moreoptions').maxlength({
  584.                     alwaysShow: true,
  585.                     warningClass: \"badge bg-success\",
  586.                     limitReachedClass: \"badge bg-danger\"
  587.                 });
  588.                 \$('input#alloptions').maxlength({
  589.                     alwaysShow: true,
  590.                     warningClass: \"badge bg-success\",
  591.                     limitReachedClass: \"badge bg-danger\",
  592.                     separator: ' out of ',
  593.                     preText: 'You typed ',
  594.                     postText: ' chars available.',
  595.                     validate: true
  596.                 });
  597.                 \$('textarea#textarea').maxlength({
  598.                     alwaysShow: true,
  599.                     warningClass: \"badge bg-info\",
  600.                     limitReachedClass: \"badge bg-warning\"
  601.                 });
  602.                 \$('input#placement').maxlength({
  603.                     alwaysShow: true,
  604.                     placement: 'top-left',
  605.                     warningClass: \"badge bg-info\",
  606.                     limitReachedClass: \"badge bg-warning\"
  607.                 });
  608.             },
  609.                     //init
  610.                     \$.AdvancedForm = new AdvancedForm, \$.AdvancedForm.Constructor = AdvancedForm
  611.         }(window.jQuery),
  612.                 //Datepicker
  613.                         function (\$) {
  614.                             \"use strict\";
  615.                             \$.AdvancedForm.init();
  616.                         }(window.jQuery);
  617.     </script>
  618. ";
  619.         
  620.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  621.         
  622.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  623.         return; yield '';
  624.     }
  625.     /**
  626.      * @codeCoverageIgnore
  627.      */
  628.     public function getTemplateName()
  629.     {
  630.         return "admin/experience/edit/editPrice.html.twig";
  631.     }
  632.     /**
  633.      * @codeCoverageIgnore
  634.      */
  635.     public function isTraitable()
  636.     {
  637.         return false;
  638.     }
  639.     /**
  640.      * @codeCoverageIgnore
  641.      */
  642.     public function getDebugInfo()
  643.     {
  644.         return array (  635 => 299,  630 => 297,  625 => 295,  621 => 294,  617 => 293,  613 => 292,  609 => 291,  606 => 290,  596 => 289,  540 => 243,  520 => 237,  511 => 231,  503 => 230,  494 => 224,  491 => 223,  474 => 222,  465 => 218,  457 => 215,  433 => 194,  429 => 193,  417 => 184,  405 => 177,  397 => 174,  305 => 87,  294 => 81,  282 => 74,  253 => 50,  247 => 49,  241 => 48,  235 => 47,  224 => 39,  198 => 17,  188 => 16,  174 => 13,  170 => 12,  166 => 11,  162 => 10,  157 => 9,  147 => 8,  135 => 6,  125 => 5,  105 => 4,  85 => 3,  65 => 2,  42 => 1,);
  645.     }
  646.     public function getSourceContext()
  647.     {
  648.         return new Source("{% extends 'admin/baseAdmin.html.twig' %}
  649. {% block page_title %}Modifier tarrification {% endblock %}
  650. {% block breadcump_main %}Prix{% endblock %}
  651. {% block breadcump_subtitle %}Modification{% endblock %}
  652. {% block menu_left_sidebar %}
  653.     {% include 'include/menu/menuAdmin.html.twig' with { menu_active_event : '2'} %}
  654. {% endblock %}
  655. {% block stylesheets %}
  656.     <link href=\"{{ asset('admin/libs/select2/css/select2.min.css') }}\" rel=\"stylesheet\" type=\"text/css\">
  657.     <link href=\"{{ asset('admin/css/tailwind.min.css') }}\" rel=\"stylesheet\" type=\"text/css\">
  658.     <link href=\"{{ asset('admin/css/tailwind2.css') }}\" rel=\"stylesheet\" type=\"text/css\">
  659.     <link href=\"{{ asset('admin/libs/bootstrap-datepicker/css/bootstrap-datepicker.min.css') }}\" rel=\"stylesheet\" type=\"text/css\">
  660.     <link href=\"{{ asset('admin/libs/@chenfengyuan/datepicker/datepicker.min.css') }}\" rel=\"stylesheet\" type=\"text/css\">
  661. {% endblock %}
  662. {% block content %}
  663.     <form id=\"form-general\" class=\"general-info custom-validation\" method=\"POST\" action=\"{{ path('edit_price',{'id':experience.id}) }}\" enctype=\"multipart/form-data\"  >
  664.         <div class=\"container-fluid\">
  665.             <div class=\"row\">
  666.                 <div class=\"col-xl-12 px-0\">
  667.                     <div class=\"card\">
  668.                         <div class=\"card-body\">
  669.                             <div class=\"sm:p-4 p-2 pb-0 pt-1\">
  670.                                 <h5 class=\"text-lg font-semibold mt-2 mb-2 \">Prix et tarification </h5>
  671.                                 <p class=\"pb-1 text-gray-700 text-sm\">Calculer le prix de l'expérience, en excluant le prix de l'hébergement standard si c'est le cas d'hebergement.
  672.                                 </p>
  673.                                 <div class=\"mt-10  flex justify-center gap-5\">
  674.                                     <div class=\"flex gap-2 w-8/12 \">
  675.                                         <div class=\"w-10/12\">
  676.                                             <h6 class=\"text-13 dark:text-white font-semibold mb-2\">Le prix de l'éxperience</h6>
  677.                                             <div class=\"relative h-16 w-full\">
  678.                                                 <input value=\"{{ experience.price }}\" style=\"font-size: 1.5rem;COLOR: #f8853b;text-align: center;\" required=\"\" name=\"price\" type=\"number\" id=\"floating_outlined\" class=\"appearance-none bg-transparent block border border-gray-400 dark:bg-transparent dark:border-zink-50 dark:placeholder:text-zink-200 dark:text-zink-200 focus:border-blue-600 focus:outline-none focus:ring-0 h-100 pb-2.5 peer pt-4 px-2.5 rounded-lg text-gray-900 text-sm w-full\" placeholder=\" \">
  679.                                                 <label for=\"floating_outlined\" class=\"absolute text-sm text-gray-600 duration-300 transform -translate-y-4 scale-75 top-2 z-10 origin-[0] bg-white px-2 peer-focus:px-2 peer-focus:text-blue-600 peer-focus:dark:text-blue-500 peer-placeholder-shown:scale-100 peer-placeholder-shown:-translate-y-1/2 peer-placeholder-shown:top-1/2 peer-focus:top-2 peer-focus:scale-75 peer-focus:-translate-y-4 left-1 dark:bg-transparent\">Prix</label>
  680.                                             </div>
  681.                                         </div>
  682.                                         <div class=\"w-1/6\">
  683.                                             <h6 class=\"text-13 dark:text-white font-semibold mb-2\">Devise</h6>
  684.                                             <div class=\"relative h-16\">
  685.                                                 <select required=\"\" name='currency' placeholder=\"choisir le type d'accomodation\" class=\"h-100 text-sm form-control \" aria-invalid=\"false\">
  686.                                                     <option {% if experience.currency == 'usd' %}selected=\"\"{% endif %} value=\"usd\">\$ USD</option>
  687.                                                     <option {% if experience.currency == 'eur' %}selected=\"\"{% endif %} value=\"eur\">€ EUR</option>
  688.                                                     <option {% if experience.currency == 'GBP' %}selected=\"\"{% endif %} value=\"gbp\">£ GBP</option>
  689.                                                     <option {% if experience.currency == 'mad' %}selected=\"\"{% endif %} value=\"gbp\">dh MAD</option>
  690.                                                 </select>
  691.                                             </div>
  692.                                         </div>
  693.                                     </div>
  694.                                 </div>
  695.                             </div>
  696.                             <!-- end row -->
  697.                             <h5 class=\"text-lg font-semibold mt-5 \">Politique d'annulation </h5>
  698.                             <p class=\"pb-1 text-gray-700 text-sm\">Pour mieux servir tout le monde, nous avons standardisé les politiques d'annulation pour les retraites. Moins de confusion. Plus de clarté. Les deux conduisent à plus de réservations et moins de maux de tête pour vous. 
  699.                             </p>
  700.                             <div class=\"flex items-start mt-3\">
  701.                                 <p for=\"\" class=\"form-label font-medium text-sm mr-2 col-3\"> Choisir un choix:  </p>
  702.                                 <div class=\"row col-9\">
  703.                                     <div class=\"relative col-3 py-4\">
  704.                                         <div class=\"flex items-center mb-3\">
  705.                                             <label class=\"flex items-start gratuit\" >
  706.                                                 <input {% if experience.cancellation == '0' %} checked {% endif %}  value=\"0\" type=\"radio\"  name=\"cancellation\" class=\"form-checkbox h-5 w-6 text-blue-600 me-3\">
  707.                                                 <span class=\" text-sm\">Gratuit</span>
  708.                                             </label>
  709.                                         </div>
  710.                                         <div class=\"flex items-center mb-3 flexible\" >
  711.                                             <label class=\"flex items-start\">
  712.                                                 <input {% if experience.cancellation == '1' %} checked {% endif %} value=\"1\" type=\"radio\"  name=\"cancellation\" class=\"form-checkbox h-5 w-6 text-blue-600 me-3\">
  713.                                                 <span class=\" text-sm\">Flexible</span>
  714.                                             </label>
  715.                                         </div>
  716.                                         <div class=\"flex items-center mb-3 modere\">
  717.                                             <label class=\"flex items-start\">
  718.                                                 <input {% if experience.cancellation == '2' %} checked {% endif %} value=\"2\" type=\"radio\" name=\"cancellation\" class=\"form-checkbox h-5 w-6 text-blue-600 me-3\">
  719.                                                 <span class=\" text-sm\">Modérée</span>
  720.                                             </label>
  721.                                         </div>
  722.                                     </div>
  723.                                     <div class=\"col-9\">
  724.                                         <div id=\"alert-gratuit\" class=\"p-4 mb-4 text-green-800 border border-green-300 rounded-lg bg-green-50 \" role=\"alert\">
  725.                                             <div class=\"flex items-center justify-center\">
  726.                                                 <svg class=\"flex-shrink-0 w-4 h-4 me-2\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"currentColor\" viewBox=\"0 0 20 20\">
  727.                                                 <path d=\"M10 .5a9.5 9.5 0 1 0 9.5 9.5A9.51 9.51 0 0 0 10 .5ZM9.5 4a1.5 1.5 0 1 1 0 3 1.5 1.5 0 0 1 0-3ZM12 15H8a1 1 0 0 1 0-2h1v-3H8a1 1 0 0 1 0-2h2a1 1 0 0 1 1 1v4h1a1 1 0 0 1 0 2Z\"></path>
  728.                                                 </svg>
  729.                                                 <h3 class=\"text-lg font-medium\">Gratuit</h3>
  730.                                             </div>
  731.                                             <div class=\"my-2 text-sm\" >
  732.                                                 <ul style=\"list-style: disc;\">
  733.                                                     <li>1+ days before the retreat start date.</li>
  734.                                                     <li>The remaining balance is due upon arrival.</li>
  735.                                                     <li>If paid at the time of booking, a full refund of the remaining balance is available up to the day before your retreat start date.</li>
  736.                                                 </ul>
  737.                                             </div>
  738.                                         </div>
  739.                                         <div id=\"alert-flexible\" style=\"display: none;\" class=\"p-4 mb-4 text-green-800 border border-green-300 rounded-lg bg-green-50 \" role=\"alert\">
  740.                                             <div class=\"flex items-center justify-center \">
  741.                                                 <svg class=\"flex-shrink-0 w-4 h-4 me-2\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"currentColor\" viewBox=\"0 0 20 20\">
  742.                                                 <path d=\"M10 .5a9.5 9.5 0 1 0 9.5 9.5A9.51 9.51 0 0 0 10 .5ZM9.5 4a1.5 1.5 0 1 1 0 3 1.5 1.5 0 0 1 0-3ZM12 15H8a1 1 0 0 1 0-2h1v-3H8a1 1 0 0 1 0-2h2a1 1 0 0 1 1 1v4h1a1 1 0 0 1 0 2Z\"></path>
  743.                                                 </svg>
  744.                                                 <h3 class=\"text-lg font-medium\"> Flexible</h3>
  745.                                             </div>
  746.                                             <div class=\"my-2 text-sm\" >
  747.                                                 <ul style=\"list-style: disc;\">
  748.                                                     <li>50% deposit refund for cancellation 15-29 days before retreat start date.</li>
  749.                                                     <li>0% deposit refund for cancellation 0-14 days before retreat start date.</li>
  750.                                                     <li>The remaining balance is due upon arrival.</li>
  751.                                                     <li> If paid at the time of booking, a full refund of the remaining balance is available up to the day before your retreat start date.</li>
  752.                                                 </ul>
  753.                                             </div>
  754.                                         </div>
  755.                                         <div id=\"alert-moderate\" style=\"display: none;\" class=\"p-4 mb-4 text-green-800 border border-green-300 rounded-lg bg-green-50 \" role=\"alert\">
  756.                                             <div class=\"flex items-center justify-center\">
  757.                                                 <svg class=\"flex-shrink-0 w-4 h-4 me-2\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"currentColor\" viewBox=\"0 0 20 20\">
  758.                                                 <path d=\"M10 .5a9.5 9.5 0 1 0 9.5 9.5A9.51 9.51 0 0 0 10 .5ZM9.5 4a1.5 1.5 0 1 1 0 3 1.5 1.5 0 0 1 0-3ZM12 15H8a1 1 0 0 1 0-2h1v-3H8a1 1 0 0 1 0-2h2a1 1 0 0 1 1 1v4h1a1 1 0 0 1 0 2Z\"></path>
  759.                                                 </svg>
  760.                                                 <h3 class=\"text-lg font-medium\">Moderate</h3>
  761.                                             </div>
  762.                                             <div class=\"my-2 text-sm\" >
  763.                                                 <ul style=\"list-style: disc;\">
  764.                                                     <li>100% deposit refund for cancellation 60+ days before retreat start date.</li>
  765.                                                     <li>50% deposit refund for cancellation 30-59 days before retreat start date.</li>
  766.                                                     <li>0% deposit refund for cancellation 0-29 days before retreat start date.</li>
  767.                                                 </ul>
  768.                                                 </span>
  769.                                             </div>
  770.                                         </div>
  771.                                     </div>
  772.                                 </div>
  773.                             </div>
  774.                         </div>
  775.                     </div>
  776.                 </div>
  777.             </div>
  778.             <div class=\"row\">
  779.                 <div class=\"col-lg-12 px-0\"
  780.                      <!-- end card body -->
  781.                      <div class=\"card\">
  782.                         <div class=\"card-body\">
  783.                             <div class=\"mt-1\">
  784.                                 <h5 class=\"text-lg font-semibold mt-2 mb-2 \">Promotion</h5>
  785.                                 <p class=\"card-title-desc\">
  786.                                     <small>Proposer des réductions de prix pour acroitre plus de ventes, vous trouverez tous les outils necessaires pour cette fin en activant le mode promotion.</small> 
  787.                                 </p>
  788.                                 <div class=\"mb-3\">
  789.                                     <h5 class=\"font-size-14\" >
  790.                                         Activer la promotion ?
  791.                                     </h5>
  792.                                     <input {% if experience.onpromo == '1' %} checked {% endif %} name=\"onpromo\" type=\"checkbox\" id=\"switch1\" switch=\"success\" data-bs-toggle=\"collapse\" href=\"#promotionbloc\" aria-expanded=\"false\" aria-controls=\"promotionbloc\" />
  793.                                     <label for=\"switch1\" data-on-label=\"Oui\" data-off-label=\"Non\"></label>
  794.                                 </div>
  795.                                 <div class=\"collapse {% if experience.onpromo == '1' %} show {% endif %}\" id=\"promotionbloc\">
  796.                                     <div class=\"card border shadow-none card-body text-muted mb-0\">
  797.                                         <div class=\"row \">
  798.                                             <div class=\"mt-3 mb-3 col-md-6\">
  799.                                                 <label for=\"formrow-firstname-input\" class=\"form-label\">Pourcentage</label>
  800.                                                 <div class=\"input-group\">
  801.                                                     <div class=\"input-group-text\">%</div>
  802.                                                     <input value=\"{{ experience.promotion.percent }}\" required=\"\" name=\"percent\"  type=\"number\" class=\"form-control\" id=\"autoSizingInputGroup\" placeholder=\"Taper le pourcentage de la promo\">
  803.                                                 </div>
  804.                                             </div>
  805.                                         </div>
  806.                                         <div class=\"row \">
  807.                                             <div class=\"mb-4\">
  808.                                                 <label>Durée de la promoation</label>
  809.                                                 <div class=\"input-daterange input-group\" id=\"datepicker6\" data-date-format=\"dd M, yyyy\" data-date-autoclose=\"true\" data-provide=\"datepicker\" data-date-container='#datepicker6'>
  810.                                                     <input value=\"{{ experience.promotion.datestart|date(\"m/d/Y\") }}\" required=\"\" type=\"text\" class=\"form-control\" name=\"datestart\" placeholder=\"Date debut\" />
  811.                                                     <input value=\"{{ experience.promotion.dateend|date(\"m/d/Y\") }}\" required=\"\" type=\"text\" class=\"form-control\" name=\"dateend\" placeholder=\"Date Fin\" />
  812.                                                 </div>
  813.                                             </div>
  814.                                         </div>
  815.                                     </div>
  816.                                 </div>
  817.                             </div>
  818.                         </div>
  819.                     </div>
  820.                     <div class=\"card\">
  821.                         <div class=\"card-body\">
  822.                             <div  class=\"mt-3 \" >
  823.                                 <h5 class=\"text-lg font-semibold mt-2 mb-2 \">Prix des chambres</h5>
  824.                                 <p class=\"card-title-desc\">
  825.                                     <small>Si vos proposer aux utilisateurs des chambres pour l'éxperience, vous devez mentionner le prix de chaque chambre.</small> 
  826.                                 </p>
  827.                                 <div class=\"mb-3\">
  828.                                     <h5 class=\"font-size-14\" >
  829.                                         Hebergement ?
  830.                                     </h5>
  831.                                     <input {% if experience.hashebergement == '1' %} checked {% endif %} name=\"hashebergement\" type=\"checkbox\" id=\"switch2\" switch=\"success\" data-bs-toggle=\"collapse\" href=\"#hashebergementbloc\" aria-expanded=\"false\" aria-controls=\"hashebergementbloc\" />
  832.                                     <label for=\"switch2\" data-on-label=\"Oui\" data-off-label=\"Non\"></label>
  833.                                 </div>
  834.                                 <div class=\"collapse {% if experience.hashebergement == '1' %} show {% endif %} \" id=\"hashebergementbloc\">
  835.                                     <div class=\"card border shadow-none card-body text-muted mb-0\">
  836.                                         <p class=\"text-sm\"><small>Veuillez mentionner les prix des chambres que vous avez ajouter à cette éxperience, le prix total des réservations sera celui de l'éxperience avec l'hébergement sélectionné.</small></p>
  837.                                         <div id=\"price-forms\" class=\"row text-sm  \">
  838.                                             {% for hebergement in experience.hebergements %}
  839.                                                 <div class=\"price-item mt-4\">
  840.                                                     <p for=\"\" class=\"form-label text-sm font-semibold col-2\">Chambre {{ loop.index }} </p>
  841.                                                     <div class=\"row mb-3\" >
  842.                                                         <div class=\" col-lg-6  lg:mb-0\">
  843.                                                             <p for=\"\" class=\"form-label font-medium \">Nom de la chambre</p>
  844.                                                             <div class=\"relative w-full \">
  845.                                                                 <input value=\"{{hebergement.id}}\" placeholder=\"#{{hebergement.id}} - {{ hebergement.name }}\" readonly=\"\" type=\"text\" name=\"n-chambre\" class=\"form-control sm:text-sm rounded-lg focus:ring-primary-600 focus:border-primary-600 block w-full p-2.5 ps-3 \"  >
  846.                                                                 <input  value=\"{{hebergement.id}}\" hidden=\"\" type=\"text\" name=\"idhebergements[]\" class=\"form-control sm:text-sm rounded-lg focus:ring-primary-600 focus:border-primary-600 block w-full p-2.5 ps-3 \"  placeholder=\"Titre \">
  847.                                                             </div>
  848.                                                         </div>
  849.                                                         <div class=\"  col-lg-6\">
  850.                                                             <p for=\"\" class=\"form-label font-medium \">Prix </p>
  851.                                                             <div class=\"relative w-full \">
  852.                                                                 <input required=\"\" value=\"{{ hebergement.price }}\" type=\"number\" name=\"pricehebergements[]\" class=\"form-control sm:text-sm rounded-lg focus:ring-primary-600 focus:border-primary-600 block w-full p-2.5 ps-3 \"  placeholder=\"Prix \">
  853.                                                             </div>
  854.                                                         </div>
  855.                                                     </div>
  856.                                                 </div>
  857.                                             {% endfor %}
  858.                                         </div>
  859.                                     </div>
  860.                                 </div>                                                   
  861.                             </div>
  862.                         </div>                                                   
  863.                     </div>
  864.                 </div>
  865.                 <!-- end card -->
  866.             </div>
  867.             <!-- end col -->
  868.             <div class=\"row\">
  869.                 <div class=\"col-lg-12\">
  870.                     <div class=\"card\">
  871.                         <div class=\"card-body\">
  872.                             <div class=\"flex mt-4 row\">
  873.                                 <div class=\"col-md-6\">
  874.                                     <p class=\"text-xs  text-gray-900 mb-2\">En cliquant sur le bouton de Enregistrer, vous mettez à jours les informations envoyé dans ce formulaire </p>
  875.                                 </div>
  876.                                 <div class=\"col-md flex justify-end\">
  877.                                     <button type=\"reset\" style=\" color: #ffaa00; border: 1px solid;\" class=\"font-medium h-10  py-2.5 rounded-lg text-center text-sm  w-40 me-2\">
  878.                                         Annuler</button>
  879.                                     <button type=\"submit\" style=\" background: #ffaa00;\" class=\"font-medium hover:bg-primary-700 h-10  py-2.5 rounded-lg text-center text-sm text-white w-40\">Enregistrer</button>
  880.                                 </div>
  881.                             </div>
  882.                         </div>
  883.                     </div>
  884.                 </div>
  885.             </div>
  886.             <!-- end col -->
  887.         </div>
  888.         <!-- End Page-content -->
  889.     </div><!-- container-fluid -->
  890. </form>
  891. {% endblock %}
  892. {% block javascripts %}
  893.     <!-- apexcharts -->
  894.     <script src=\"{{ asset('admin/libs/parsleyjs/parsley.min.js')}}\"></script>
  895.     <script src=\"{{ asset('admin/libs/select2/js/select2.min.js')}}\"></script>
  896.     <script src=\"{{ asset('admin/libs/bootstrap-maxlength/bootstrap-maxlength.min.js')}}\"></script>
  897.     <script src=\"{{ asset('admin/libs/bootstrap-datepicker/js/bootstrap-datepicker.min.js')}}\"></script>
  898.     <script src=\"{{ asset('admin/libs/@chenfengyuan/datepicker/datepicker.min.js')}}\"></script>
  899.     <script src=\"{{ asset('admin/js/pages/form-validation.init.js')}}\"></script>
  900.     <script src=\"{{ asset('admin/js/app.js')}}\"></script>
  901.     <script>
  902.         /*
  903.          Template Name: Skote - Admin & Dashboard Template
  904.          Author: Themesbrand
  905.          Website: https://themesbrand.com/
  906.          Contact: themesbrand@gmail.com
  907.          File: Form Advanced Js File
  908.          */
  909.         !function (\$) {
  910.             \"use strict\";
  911.             var AdvancedForm = function () { };
  912.             AdvancedForm.prototype.init = function () {
  913.                 // Select2
  914.                 if (\$('.select2').length > 0) {
  915.                     \$(\".select2\").select2();
  916.                 }
  917.                 if (\$('.select2-tags').length > 0) {
  918.                     \$(\".select2-tags\").select2({
  919.                         tags: true
  920.                     });
  921.                 }
  922.                 if (\$('.select2-limiting-3').length > 0) {
  923.                     \$(\".select2-limiting-3\").select2({
  924.                         maximumSelectionLength: 3
  925.                     });
  926.                 }
  927.                 //Bootstrap-MaxLength
  928.                 \$('input#defaultconfig').maxlength({
  929.                     warningClass: \"badge bg-info\",
  930.                     limitReachedClass: \"badge bg-warning\"
  931.                 });
  932.                 \$('input#thresholdconfig').maxlength({
  933.                     threshold: 20,
  934.                     warningClass: \"badge bg-info\",
  935.                     limitReachedClass: \"badge bg-warning\"
  936.                 });
  937.                 \$('input#moreoptions').maxlength({
  938.                     alwaysShow: true,
  939.                     warningClass: \"badge bg-success\",
  940.                     limitReachedClass: \"badge bg-danger\"
  941.                 });
  942.                 \$('input#alloptions').maxlength({
  943.                     alwaysShow: true,
  944.                     warningClass: \"badge bg-success\",
  945.                     limitReachedClass: \"badge bg-danger\",
  946.                     separator: ' out of ',
  947.                     preText: 'You typed ',
  948.                     postText: ' chars available.',
  949.                     validate: true
  950.                 });
  951.                 \$('textarea#textarea').maxlength({
  952.                     alwaysShow: true,
  953.                     warningClass: \"badge bg-info\",
  954.                     limitReachedClass: \"badge bg-warning\"
  955.                 });
  956.                 \$('input#placement').maxlength({
  957.                     alwaysShow: true,
  958.                     placement: 'top-left',
  959.                     warningClass: \"badge bg-info\",
  960.                     limitReachedClass: \"badge bg-warning\"
  961.                 });
  962.             },
  963.                     //init
  964.                     \$.AdvancedForm = new AdvancedForm, \$.AdvancedForm.Constructor = AdvancedForm
  965.         }(window.jQuery),
  966.                 //Datepicker
  967.                         function (\$) {
  968.                             \"use strict\";
  969.                             \$.AdvancedForm.init();
  970.                         }(window.jQuery);
  971.     </script>
  972. {% endblock %}""admin/experience/edit/editPrice.html.twig""/home/bookoachroot/public_html/templates/admin/experience/edit/editPrice.html.twig");
  973.     }
  974. }