var/cache/dev/twig/5c/5c7f3162eb0c94e2bc6d67ab3a131d92.php line 40
<?php
use Twig\Environment;
use Twig\Error\LoaderError;
use Twig\Error\RuntimeError;
use Twig\Extension\SandboxExtension;
use Twig\Markup;
use Twig\Sandbox\SecurityError;
use Twig\Sandbox\SecurityNotAllowedTagError;
use Twig\Sandbox\SecurityNotAllowedFilterError;
use Twig\Sandbox\SecurityNotAllowedFunctionError;
use Twig\Source;
use Twig\Template;
/* @Flexy/FrontBundle/Themes/CoWorking/templates/pages/reservation-offices.html.twig */
class __TwigTemplate_b7c492d756c2337b18f00bd81536013e extends Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->blocks = [
'stylesheets' => [$this, 'block_stylesheets'],
'body' => [$this, 'block_body'],
'javascripts' => [$this, 'block_javascripts'],
];
}
protected function doGetParent(array $context)
{
// line 1
return "@Flexy/FrontBundle/Themes/CoWorking/templates/layout.html.twig";
}
protected function doDisplay(array $context, array $blocks = [])
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "@Flexy/FrontBundle/Themes/CoWorking/templates/pages/reservation-offices.html.twig"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "@Flexy/FrontBundle/Themes/CoWorking/templates/pages/reservation-offices.html.twig"));
$this->parent = $this->loadTemplate("@Flexy/FrontBundle/Themes/CoWorking/templates/layout.html.twig", "@Flexy/FrontBundle/Themes/CoWorking/templates/pages/reservation-offices.html.twig", 1);
$this->parent->display($context, array_merge($this->blocks, $blocks));
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
}
// line 4
public function block_stylesheets($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "stylesheets"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "stylesheets"));
// line 5
$this->displayParentBlock("stylesheets", $context, $blocks);
echo "
<link rel=\"stylesheet\" href=\"";
// line 6
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("themes/coworking/css/reservation.css"), "html", null, true);
echo "\" />
<link rel=\"stylesheet\" href=\"https://cdnjs.cloudflare.com/ajax/libs/chosen/1.4.2/chosen.css\" />
<style>
.modal-backdrop.fade.show {
display: none;
}
/* css checkbox*/
.fs-5{
font-size: 17px !important;
}
/* css checkbox*/
.title {
font-family: 'Montserrat', sans-serif;
font-weight:bold;
font-size: 12px;
padding-bottom: 0px;
margin-top: 0px;color:black;
}
+
/* hide checkbox */
input[type=\"checkbox\"] {
display: none;
}
/* if checkbox is checked, then do these things */
input[type=\"checkbox\"]:checked + label {
color: white;
background:#FFD86E;
border-radius: 5px;
padding: 0px 10px 0px 10px;
}
/* styles when hovering over options */
label:hover {
cursor: pointer;
/* transitions and animations */
-webkit-transition: color .5s ease;
-moz-transition: color .5s ease;
-ms-transition: color .5s ease;
-o-transition: color .5s ease;
transition: color .5s ease;
}
input.button {
\twidth:130px;
\theight:50px;
\tmargin: 20px 0 30px 0;
\tpadding: 0px 20px 0px 20px;
\tbackground: #e6e6e6;
\tborder-radius:5px;
\tborder: 1px solid #ccc;
\tfont-family: OpenSans, sans-serif;
\tfont-size:16pt;
\tcolor:#444;
}
.Addons label{
font-size:12px !important;
font-family: 'roboto';
font-weight: 500;
border: 1px solid #80808024;
margin: 2px;
padding: 0px 5px 0px 5px;
border-radius: 5px;
}
.multistep-container .active-button li:not(:first-child) .round-btn:before {
position: absolute;
content: '';
width: 141px;
height: 3px;
background-color: #E9F2FA;
left: -120px;
}
.multistep-container .active-button li {
display: inline-block;
width: 140px;
}
.form-check {
line-height: 16px;
}
.col-md-12.col-lg-12.col-sm-12.d-flex.justify-content-end.align-items-end.mb-3{
flex: 0 0 86%;
}
@media (max-width:767px) {
html, body {
overflow-x: hidden !important;
}
body {
position: relative !important;
}
.col-sm-8.reservation-steeps {
padding:0%;
}
.multistep-container .mutistep-form-area .form-box{
position: relative;
top: 33px;
left: 0px;
}
.multistep-container .active-button li{
display: inline-block;
width: 100px;
}
.panel-sticky{
font-size:12px;
}
h6.display-6.header-steeps {
margin-left: 3%;
}
h6.datetime{
margin-left: 3%;
}
a#seeDetails {
margin-bottom: -11%;
}
a#seePrice {
float: right;
margin-right: 52%;
}
}
@media (max-width:767px) {
.multistep-container .mutistep-form-area {
position: relative;
overflow: hidden;
min-height: 100%;
max-height: 100%;
overflow: none;
}
.col-sm-8.reservation-steeps {
box-shadow: none;
}
.multistep-container{
height: auto !important;
}
}
.imageForMobile{
display:none;
}
.imageForDesktop{
display:block;
}
@media (max-width:767px) {
.imageForDesktop{
display:none;
}
.imageForMobile{
display:block;
}
.col-sm-8.reservation-steeps{
top: 0px
}
.divCardsForMobile{
top: 0px !important;
}
.multistep-container .mutistep-form-area{
margin-top: 0px !important;
}
.titre-page{
padding-left: 10px;
font-size: 15px !important;
}
.divCardsSalleReunionMobile{
margin-top: 0px !important;
}
.forMobile{
margin-top: 5% !important;
}
#btnTarifs{
padding: 5px !important;
}
.title{
font-size: 15px !important;
}
#btnInformation{
width: 170px !important;
font-size: 10px !important;
}
#btnReservation{
font-size: 10px !important;
width: 100px!important;
}
.bureaux-desc{
padding: 15px!important;
}
.close{
width:25px !important;
}
}
</style>
</style>
";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
// line 236
public function block_body($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "body"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "body"));
// line 237
echo "
<img loading=\"lazy\" src=\"";
// line 243
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("themes/coworking/front/images/background_BUREAUX.png"), "html", null, true);
echo "\" style=\"width: 100%;height: 520px;\" class=\"img-fluid imageForDesktop\" />
<img loading=\"lazy\" src=\"";
// line 244
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("themes/coworking/front/images/Bg-bureau-Mobile.png"), "html", null, true);
echo "\" style=\"width: 100%;\" class=\"img-fluid imageForMobile\" />
<div class=\"container\">
<div class=\"row\">
<div class=\"col-sm-8 reservation-steeps\" style=\"overflow: hidden;\">
<div class=\"row\">
<div class=\"forMobile\" style=\"display: inline-flex;\">
<div class=\"col-sm-6\">
<h6 class=\"titre-page\">";
// line 261
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Réservation bureau", [], "front"), "html", null, true);
echo "</h6>
</div>
<div class=\"col-sm-6\">
<a href=\"/uploads/front-images/LISTEDEPRIXCOWORK2.pdf\" class=\"btn-res text-center text-light text-uppercase bg-dark\" id=\"btnTarifs\" style=\"float: right;padding: 8px;border-radius: 6px;font-size:13px;\" target=\"_blank\" > Afficher nos tarifs</a>
</div>
</div>
</div>
<div class=\"container\">
<div class=\"row\">
<div class=\"container d-flex justify-content-center align-items-center\">
</div>
<div class=\"col-xl-12 divCardsForMobile\" style=\"top: 17px;\" >
<div class=\"multistep-container\">
<div class=\"mutistep-form-area\">
<div class=\"container\" style=\"margin-top:40px;\">
<div class=\"panel\">
";
// line 284
$context["displayed_categories"] = [];
echo "
";
// line 285
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable((isset($context["products"]) || array_key_exists("products", $context) ? $context["products"] : (function () { throw new RuntimeError('Variable "products" does not exist.', 285, $this->source); })()));
foreach ($context['_seq'] as $context["_key"] => $context["bureau"]) {
echo "
";
// line 286
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env, $this->source, $context["bureau"], "categoriesProduct", [], "any", false, false, false, 286));
foreach ($context['_seq'] as $context["_key"] => $context["cat"]) {
// line 287
echo " ";
if ((!twig_in_filter(twig_get_attribute($this->env, $this->source, $context["cat"], "name", [], "any", false, false, false, 287), (isset($context["displayed_categories"]) || array_key_exists("displayed_categories", $context) ? $context["displayed_categories"] : (function () { throw new RuntimeError('Variable "displayed_categories" does not exist.', 287, $this->source); })())) && (twig_get_attribute($this->env, $this->source, $context["cat"], "name", [], "any", false, false, false, 287) != "Services supplémentaires bureaux"))) {
// line 288
echo "
<div class=\"card-brx row mt-3 panel\" style=\"width:auto; border: none; border-radius:17px; box-shadow: 0 0 12px 5px rgba(0, 0, 0, 0.05);\">
<div class=\"col-md-6 col-lg-6 col-sm-12\">
<img loading=\"lazy\" class=\"img-fluid\" src=\"";
// line 291
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl(("uploads/coworking/" . twig_get_attribute($this->env, $this->source, $context["cat"], "image", [], "any", false, false, false, 291))), "html", null, true);
echo "\" style=\"width:100%; border-radius:6px;margin-top: 10px;\" />
</div>
<div class=\"bureaux-desc col-md-6 col-lg-6 col-sm-12 mt-3\" style=\"font-family:'Roboto',sans-serif; line-height:24px;\">
<div>
<div style=\"float: right;\">
";
// line 298
if ((twig_get_attribute($this->env, $this->source, $context["cat"], "oldId", [], "any", false, false, false, 298) == 1)) {
// line 299
echo "
<i class=\"fa fa-user\" style=\"color:black;\"></i><br>
";
} elseif ((twig_get_attribute($this->env, $this->source, // line 302
$context["cat"], "oldId", [], "any", false, false, false, 302) == 2)) {
// line 303
echo "
<i class=\"fa fa-user\" style=\"color:black;\"></i> <i class=\"fa fa-user\" style=\"color:black;\"></i><br>
";
} elseif ((twig_get_attribute($this->env, $this->source, // line 306
$context["cat"], "oldId", [], "any", false, false, false, 306) == 4)) {
// line 307
echo "
<i class=\"fa fa-user\" style=\"color:black;\"></i><i class=\"fa fa-user\" style=\"color:black;\"></i><i class=\"fa fa-user\" style=\"color:black;\"></i><i class=\"fa fa-user\" style=\"color:black;\"></i><br>
";
} elseif ((twig_get_attribute($this->env, $this->source, // line 309
$context["cat"], "oldId", [], "any", false, false, false, 309) == 0)) {
// line 310
echo "
<i class=\"fa fa-user\" style=\"color:black;\"></i><br>
";
}
// line 313
echo "
</div>
<p class=\"fs-5 title\" style=\"font-weight:bold;padding-bottom: 0px;margin-top: 0px;color:black;\" >";
// line 317
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans(twig_get_attribute($this->env, $this->source, $context["cat"], "name", [], "any", false, false, false, 317), [], "front"), "html", null, true);
echo " </p>
";
// line 320
if ((twig_get_attribute($this->env, $this->source, $context["cat"], "oldId", [], "any", false, false, false, 320) == 1)) {
// line 321
echo " ";
$context["priceBureau"] = "300";
// line 322
echo " ";
} elseif ((twig_get_attribute($this->env, $this->source, $context["cat"], "oldId", [], "any", false, false, false, 322) == 2)) {
// line 323
echo " ";
$context["priceBureau"] = "990";
// line 324
echo " ";
} elseif ((twig_get_attribute($this->env, $this->source, $context["cat"], "oldId", [], "any", false, false, false, 324) == 4)) {
// line 325
echo " ";
$context["priceBureau"] = "1900";
// line 326
echo " ";
} else {
// line 327
echo " ";
$context["priceBureau"] = "220";
// line 328
echo " ";
}
// line 329
echo " <a class=\"float-left\" href=\"#\" id=\"seePrice\" style=\"white-space:nowrap;padding-top: 10px;padding-right: 10px;text-decoration:none;font-size:13px; font-family:'PT Sans', sans-serif; letter-spacing:2px;color: #020202;font-weight: 800;\">À partir de<br> ";
echo twig_escape_filter($this->env, (isset($context["priceBureau"]) || array_key_exists("priceBureau", $context) ? $context["priceBureau"] : (function () { throw new RuntimeError('Variable "priceBureau" does not exist.', 329, $this->source); })()), "html", null, true);
echo "* MAD TTC /
";
// line 331
if (((isset($context["priceBureau"]) || array_key_exists("priceBureau", $context) ? $context["priceBureau"] : (function () { throw new RuntimeError('Variable "priceBureau" does not exist.', 331, $this->source); })()) == 300)) {
// line 332
echo " Journée
";
} elseif (( // line 333
(isset($context["priceBureau"]) || array_key_exists("priceBureau", $context) ? $context["priceBureau"] : (function () { throw new RuntimeError('Variable "priceBureau" does not exist.', 333, $this->source); })()) == 990)) {
// line 334
echo " 3 Jours
";
} elseif (( // line 335
(isset($context["priceBureau"]) || array_key_exists("priceBureau", $context) ? $context["priceBureau"] : (function () { throw new RuntimeError('Variable "priceBureau" does not exist.', 335, $this->source); })()) == 1900)) {
// line 336
echo " Semaine
";
} elseif (( // line 337
(isset($context["priceBureau"]) || array_key_exists("priceBureau", $context) ? $context["priceBureau"] : (function () { throw new RuntimeError('Variable "priceBureau" does not exist.', 337, $this->source); })()) == 220)) {
// line 338
echo " Journée
";
}
// line 339
echo "
</a>
<br><br><br><br>
<a href=\"#\" data-toggle=\"modal\" id=\"seeDetails\" data-target=\"#aynModal";
// line 344
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["cat"], "id", [], "any", false, false, false, 344), "html", null, true);
echo "\"style=\"padding: 10px;text-decoration: none;width: 129px;font-size: 13px;font-family: 'PT Sans', sans-serif;letter-spacing: 2px;/* float: right; */color: #020202;text-decoration: underline;margin-right: 10px;margin-right: 10px;font-weight: 800;\"><u>Voir Details</u></a>
<a href=\"";
// line 345
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("reservationbureauxstep1", ["id" => twig_get_attribute($this->env, $this->source, $context["cat"], "id", [], "any", false, false, false, 345)]), "html", null, true);
echo "\" class=\"btn-res text-center text-light text-uppercase bg-dark ReserveNext__\" style=\"padding:10px; text-decoration:none; width:230px; font-size:12px; font-family:'PT Sans', sans-serif; letter-spacing:2px;\">Réserver</a>
<span class=\"title\" style=\"float: right;text-align: center;\" > </span>
</div>
</div>
</div>
";
}
// line 356
echo " ";
$context["displayed_categories"] = twig_array_merge((isset($context["displayed_categories"]) || array_key_exists("displayed_categories", $context) ? $context["displayed_categories"] : (function () { throw new RuntimeError('Variable "displayed_categories" does not exist.', 356, $this->source); })()), [twig_get_attribute($this->env, $this->source, $context["cat"], "name", [], "any", false, false, false, 356)]);
// line 357
echo "
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['cat'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 358
echo "
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['bureau'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 359
echo "
</div>
</div>
</form>
</div>
<!-- -->
</div>
</div>
</div>
</div>
</div>
";
// line 376
$context["displayed_categories"] = [];
echo "
";
// line 377
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable(twig_sort_filter($this->env, (isset($context["products"]) || array_key_exists("products", $context) ? $context["products"] : (function () { throw new RuntimeError('Variable "products" does not exist.', 377, $this->source); })()), function ($__a__, $__b__) use ($context, $macros) { $context["a"] = $__a__; $context["b"] = $__b__; return ((isset($context["b"]) || array_key_exists("b", $context) ? $context["b"] : (function () { throw new RuntimeError('Variable "b" does not exist.', 377, $this->source); })()) <=> (isset($context["a"]) || array_key_exists("a", $context) ? $context["a"] : (function () { throw new RuntimeError('Variable "a" does not exist.', 377, $this->source); })())); }));
foreach ($context['_seq'] as $context["_key"] => $context["bureau"]) {
echo "
";
// line 378
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env, $this->source, $context["bureau"], "categoriesProduct", [], "any", false, false, false, 378));
foreach ($context['_seq'] as $context["_key"] => $context["cat"]) {
// line 379
echo " ";
if (!twig_in_filter(twig_get_attribute($this->env, $this->source, $context["cat"], "name", [], "any", false, false, false, 379), (isset($context["displayed_categories"]) || array_key_exists("displayed_categories", $context) ? $context["displayed_categories"] : (function () { throw new RuntimeError('Variable "displayed_categories" does not exist.', 379, $this->source); })()))) {
// line 380
echo "
<div class=\"modal fade\" id=\"aynModal";
// line 381
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["cat"], "id", [], "any", false, false, false, 381), "html", null, true);
echo "\">
\t\t\t\t\t\t\t<div class=\"modal-dialog modal-lg\">
\t\t\t\t\t\t\t\t<div
\t\t\t\t\t\t\t\t\tclass=\"modal-content\">
\t\t\t\t\t\t\t\t\t<!-- Modal Header -->
\t\t\t\t\t\t\t\t\t<div class=\"modal-header\" style=\"justify-content: end;\">
\t\t\t\t\t\t\t\t\t\t<button type=\"button\" class=\"close\" data-dismiss=\"modal\" style=\"background: #ffffff;font-size: 27px;width:30px;border: 1px solid #878787;\">×</button>
\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t<div class=\"container\">
\t\t\t\t\t\t\t\t\t\t<div class=\"row\">
\t\t\t\t\t\t\t\t\t\t <h2 class=\"mt-3 title \" style=\"font-size:25px; font-weight:bold;\">";
// line 393
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["cat"], "name", [], "any", false, false, false, 393), "html", null, true);
echo "</h2>
<p class=\"text-muted mt-3\"><small>";
// line 394
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["cat"], "description", [], "any", false, false, false, 394), "html", null, true);
echo "</small></p>
\t\t\t\t\t\t\t\t\t\t\t
\t\t\t\t\t\t\t\t\t\t\t
\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t\t
\t\t\t\t\t\t\t\t\t\t<!-- Modal body -->
\t\t\t\t\t\t\t\t\t
\t\t\t\t\t\t\t\t\t\t<div class=\"modal-body\">
<img loading=\"lazy\" src=\"";
// line 405
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl(("uploads/coworking/" . twig_get_attribute($this->env, $this->source, $context["cat"], "image", [], "any", false, false, false, 405))), "html", null, true);
echo "\" id=\"main\">
<div id=\"thumbnails\">
";
// line 411
echo " </div>
\t\t\t\t\t\t\t\t\t\t\t<div class=\"row\" style=\"margin-top:5%;\">
\t\t\t\t\t\t\t\t\t\t\t";
// line 422
echo "\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"col-md-12\">
\t\t\t\t\t\t\t\t\t\t\t\t\t<p class=\"m-1 fs-6\" style=\"font-weight:bold;\">Services</p>
\t\t\t\t\t\t\t\t\t\t\t\t<ul style=\"font-size:12px;\">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t<li><b>Restaurant Melliber :</b> Dans une atmosphère conviviale et accueillante, notre restaurant partage gracieusement un bouquet de saveurs, du petit déjeuner au dîner</li>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t<li class=\"souligne\"><b>Hammam & Spa :</b> Notre spa offre un refuge tranquille avec une variété de soins relaxants. Profitez de massages apaisants, de hammams revigorants et d'autres thérapies régénérantes conçues pour revitaliser votre corps et votre esprit</li>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t<li class=\"souligne\"><b>Salon de coiffure et de bien-être :</b> Notre salon de beauté et de bien-être propose des services experts de manucure, pédicure et coiffure pour hommes et femmes. C'est l'endroit idéal pour être au meilleur de sa forme.</li>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t<li class=\"souligne\"><b>Parking :</b> Notre établissement dispose également d'un vaste parking, garantissant un stationnement pratique et sécurisé pour tous nos membres et invités</li>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t<li class=\"souligne\"><b>Events & Exhibition : </b>Le Cowork&Live by Melliber propose régulièrement des événements variés, allant des concours de cuisine aux séminaires en comptabilité, en passant par des expositions de peinture. Nous créons ainsi un environnement dynamique qui allie travail, apprentissage et culture pour enrichir vos expériences.</li>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t<li class=\"souligne\"><b>2 kitchenettes :</b> Nos kitchenettes sont entièrement équipées, y compris des minibars et d'autres commodités, offrant à nos membres tout ce dont ils ont besoin pour une expérience culinaire pratique et agréable</li>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t<li class=\"souligne\"><b>Salle de Fitness :</b> Notre centre de fitness est équipé d'installations de premier ordre et propose diverses options d'entraînement pour répondre à tous les besoins et préférences.</li>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t<li class=\"souligne\"><b>Espace gaming :</b> Notre espace de jeux comprend des jeux d'arcade, un baby-foot et une table de billard américain, offrant divertissement et détente à tous nos membres.</li>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t<li class=\"souligne\"><b>Services suplémetaires :</b> Options additionnelles permettant aux clients de personnaliser leur expérience avec des équipements techniques et des services, pour répondre à des besoins spécifiques lors de la location de salles ou de bureaux</li>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t
\t\t\t\t\t\t\t\t\t\t\t\t\t
\t\t\t\t\t\t\t\t\t\t\t\t\t</ul>
\t\t\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t\t\t
\t\t\t\t\t\t\t\t\t\t\t<div class=\"row\">
\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"col-sm-12\">
\t\t\t\t\t\t\t\t\t\t\t\t\t
\t\t\t\t\t\t\t\t\t\t\t\t\t\t<a href=\"/uploads/front-images/LISTEDEPRIXCOWORK2.pdf\" class=\"\" target=\"_blank\" id=\"btnInformation\" style=\"padding:10px; text-decoration:none; width:200px; font-size:12px; font-family:'PT Sans', sans-serif; letter-spacing:2px;float:left;margin-top:5%; margin-bottom:5%;font-size: 13px;text-decoration: underline;font-weight: 800;color:black !important;\">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tPlus d'information
\t\t\t\t\t\t\t\t\t\t\t\t\t\t</a>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<a href=\"";
// line 446
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("reservationbureauxstep1", ["id" => twig_get_attribute($this->env, $this->source, $context["cat"], "id", [], "any", false, false, false, 446)]), "html", null, true);
echo "\" class=\"btn-res text-center text-light text-uppercase bg-dark\" id=\"btnReservation\" style=\"padding:10px; text-decoration:none; width:130px; font-size:12px; font-family:'PT Sans', sans-serif; letter-spacing:2px;float:right;margin-top:5%; margin-bottom:5%;\">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t Réserver
\t\t\t\t\t\t\t\t\t\t\t\t\t\t </a>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t
\t\t\t\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t\t\t\t\t
\t\t\t\t\t\t\t\t\t\t\t\t\t
\t\t\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t</div>
\t\t\t\t\t\t";
}
// line 463
echo " ";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['cat'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 464
echo " ";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['bureau'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 465
echo " </div>
</div>
<div class=\"container\">
<div class=\"row\">
<div class=\"col-xl-12 text-center\" >
<p>*Le prix de revient journalier calculé sur la base d’un abonnement mensuel</p>
</div>
</div>
</div>
";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
// line 489
public function block_javascripts($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "javascripts"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "javascripts"));
// line 490
echo " <!-- MAIN CONTENT -->
<script src=\"https://code.jquery.com/jquery-3.4.1.min.js\" integrity=\"sha256-CSXorXvZcTkaix6Yvo6HppcZGetbYMGWSFlBw8HfCJo=\" crossorigin=\"anonymous\"></script>
<script src=\"https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/js/bootstrap.min.js\" integrity=\"sha384-JjSmVgyd0p3pXB1rRibZUAYoIIy6OrQ6VrjIEaFf/nJGzIxFDsf4x0xIM+B07jRM\" crossorigin=\"anonymous\"></script>
<script type=\"text/javascript\" src=\"chosen/chosen.jquery.min.js\"></script>
<script src=\"https://cdnjs.cloudflare.com/ajax/libs/chosen/1.4.2/chosen.jquery.js\"></script>
<script>
\$(document).ready(function () {
\$(\"#seeDetails\").click(function(){
\$(\".panel-sticky\").css('z-index','0');
});
\$(\".close\").click(function(){
\$(\".panel-sticky\").css('z-index','9999999');
});
\$(\"#selectAdon\").chosen();
\$('.multistep-container .form-box .button-row .next').click(function () {
\$(this).parents('.form-box').fadeOut('fast')
\$(this).parents('.form-box').next().fadeIn('fast')
})
\$('.multistep-container .form-box .button-row .previous').click(function () {
\$(this).parents('.form-box').fadeOut('fast')
\$(this).parents('.form-box').prev().fadeIn('fast')
})
\$('.ReserveNext').click(function () {
\$(this).parents('.form-box').fadeOut('fast')
\$(this).parents('.form-box').next().fadeIn('fast')
})
\$('.ReservePrevious').click(function () {
\$(this).parents('.form-box').fadeOut('fast')
\$(this).parents('.form-box').prev().fadeIn('fast')
})
\$('#demo').daterangepicker({
\"showISOWeekNumbers\": true,
\"timePicker\": true,
\"autoUpdateInput\": true,
\"locale\": {
\"cancelLabel\": 'Clear',
\"format\": \"MMMM DD, YYYY @ h:mm A\",
\"separator\": \" - \",
\"applyLabel\": \"Apply\",
\"cancelLabel\": \"Cancel\",
\"fromLabel\": \"From\",
\"toLabel\": \"To\",
\"customRangeLabel\": \"Custom\",
\"weekLabel\": \"W\",
\"daysOfWeek\": [
\"Su\",
\"Mo\",
\"Tu\",
\"We\",
\"Th\",
\"Fr\",
\"Sa\"
],
\"monthNames\": [
\"January\",
\"February\",
\"March\",
\"April\",
\"May\",
\"June\",
\"July\",
\"August\",
\"September\",
\"October\",
\"November\",
\"December\"
],
\"firstDay\": 1
},
\"linkedCalendars\": true,
\"showCustomRangeLabel\": false,
\"startDate\": 1,
\"endDate\": \"December 31, 2016 @ h:mm A\",
\"opens\": \"center\"
});
/**/
\$('#categorie-bureaux').change(function() {
var selectedOption = \$(this).val();
\$.ajax({
url: '/ajax/getbureauajax',
type: 'GET',
data: {
selected_option: selectedOption,
},
success: function(response) {
console.log(\"Ajax request successful\");
// Clear the container first, if needed
\$('.container-bureau').empty();
// Iterate over each bureau in the response and insert them into the container
response.bureaux.forEach(function(bureau) {
var bureauHtml = `
<div class=\"card-brx row mt-3\" style=\"width:auto; border: none; border-radius:17px; box-shadow: 0 0 12px 5px rgba(0, 0, 0, 0.05);\">
<div class=\"col-md-4 col-lg-4 col-sm-12\">
<img loading=\"lazy\" class=\"img-fluid\" src=\"\${bureau.image}\" style=\"width:90%; border-radius:6px;margin-top: 10px;\" />
</div>
<div class=\"bureaux-desc col-md-8 col-lg-8 col-sm-12 mt-3\" style=\"font-family:'Roboto',sans-serif; line-height:24px;\">
<div>
<img loading=\"lazy\" src=\"";
// line 605
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("/front/images/usershands.png"), "html", null, true);
echo "\" style=\"float: right;\" />
<p class=\"fs-5\" style=\"font-family: Roboto;font-weight:bold;\">\${bureau.title}</p>
<p style=\"color:rgba(51, 51, 51, 1);\">
<i class=\"fa-solid fs-6 fa-location-dot\"></i> <span class=\"m-1 fs-6\" style=\"font-weight:400;\">\${bureau.location}</span>
</p>
<div style=\"color:rgba(107, 111, 123, 1); line-height:20px; font-size:13px; font-weight:400;\">
<p>\${bureau.description1}</p>
<p>
<i class=\"fa-regular fa-lightbulb fs-6\" style=\"color: #e2b653; \"></i> <span>Ideal pour: \${bureau.description}</span>
</p>
</div>
</div>
</div>
<div class=\"col-md-12 col-lg-12 col-sm-12 d-flex justify-content-center align-items-end mb-3\">
<a class=\"btn-res text-center text-light text-uppercase bg-dark\" href=\"\${bureau.reservationLink}\" style=\"padding:10px; text-decoration:none; width:230px; font-size:12px; font-family:'PT Sans', sans-serif; letter-spacing:2px;\">Réserver</a>
</div>
</div>
`;
\$('.container-bureau').append(bureauHtml);
});
// Rest of your code
},
error: function(xhr, status, error) {
// Handle any error that occurred during the AJAX request
console.error(error);
}
});
});
/***/
// alert(\"frfr\");
var thumbnails = document.getElementById(\"thumbnails\")
var imgs = thumbnails.getElementsByTagName(\"img\")
var main = document.getElementById(\"main\")
var counter=0;
for(let i=0;i<imgs.length;i++){
let img=imgs[i]
img.addEventListener(\"click\",function(){
main.src=this.src
})
}
});
/**/
var stickyHeaders = (function() {
var \$window = \$(window),
\$stickies;
var load = function(stickies) {
if (typeof stickies === \"object\" && stickies instanceof jQuery && stickies.length > 0) {
\$stickies = stickies.each(function() {
var \$thisSticky = \$(this).wrap('<div class=\"followWrap\" />');
\$thisSticky
.data('originalPosition', \$thisSticky.offset().top)
.data('originalHeight', \$thisSticky.outerHeight())
.parent()
.height(\$thisSticky.outerHeight()); \t\t\t
});
\$window.off(\"scroll.stickies\").on(\"scroll.stickies\", function() {
\t\t _whenScrolling();\t\t
});
}
};
var _whenScrolling = function() {
\$stickies.each(function(i) {\t\t\t
var \$thisSticky = \$(this),
\$stickyPosition = \$thisSticky.data('originalPosition');
console.log(\$thisSticky.data('num') + ' is at' + \$stickyPosition);
if (\$stickyPosition <= \$window.scrollTop()) {
var \$nextSticky = \$stickies.eq(i + 1),
\$nextStickyPosition = \$nextSticky.data('originalPosition') - \$thisSticky.data('originalHeight');
\$thisSticky.addClass(\"fixed\");
if (\$nextSticky.length > 0 && \$thisSticky.offset().top >= \$nextStickyPosition) {
\$thisSticky.addClass(\"absolute\").css(\"top\", \$nextStickyPosition);
}
} else {
var \$prevSticky = \$stickies.eq(i - 1);
\$thisSticky.removeClass(\"fixed\");
if (\$prevSticky.length > 0 && \$window.scrollTop() <= \$thisSticky.data('originalPosition') - \$thisSticky.data('originalHeight')) {
\$prevSticky.removeClass(\"absolute\").removeAttr(\"style\");
}
}
});
};
return {
load: load
};
})();
\$(function() {
stickyHeaders.load(\$(\".followMeBar\"));
});
</script>
";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
public function getTemplateName()
{
return "@Flexy/FrontBundle/Themes/CoWorking/templates/pages/reservation-offices.html.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 842 => 605, 725 => 490, 715 => 489, 687 => 465, 681 => 464, 675 => 463, 655 => 446, 629 => 422, 624 => 411, 619 => 405, 605 => 394, 601 => 393, 586 => 381, 583 => 380, 580 => 379, 576 => 378, 570 => 377, 566 => 376, 547 => 359, 540 => 358, 533 => 357, 530 => 356, 516 => 345, 512 => 344, 505 => 339, 501 => 338, 499 => 337, 496 => 336, 494 => 335, 491 => 334, 489 => 333, 486 => 332, 484 => 331, 478 => 329, 475 => 328, 472 => 327, 469 => 326, 466 => 325, 463 => 324, 460 => 323, 457 => 322, 454 => 321, 452 => 320, 446 => 317, 440 => 313, 435 => 310, 433 => 309, 429 => 307, 427 => 306, 422 => 303, 420 => 302, 415 => 299, 413 => 298, 403 => 291, 398 => 288, 395 => 287, 391 => 286, 385 => 285, 381 => 284, 355 => 261, 335 => 244, 331 => 243, 323 => 237, 313 => 236, 74 => 6, 70 => 5, 60 => 4, 37 => 1,);
}
public function getSourceContext()
{
return new Source("{% extends '@Flexy/FrontBundle/Themes/CoWorking/templates/layout.html.twig' %}
{% block stylesheets %}
{{ parent() }}
<link rel=\"stylesheet\" href=\"{{ asset('themes/coworking/css/reservation.css') }}\" />
<link rel=\"stylesheet\" href=\"https://cdnjs.cloudflare.com/ajax/libs/chosen/1.4.2/chosen.css\" />
<style>
.modal-backdrop.fade.show {
display: none;
}
/* css checkbox*/
.fs-5{
font-size: 17px !important;
}
/* css checkbox*/
.title {
font-family: 'Montserrat', sans-serif;
font-weight:bold;
font-size: 12px;
padding-bottom: 0px;
margin-top: 0px;color:black;
}
+
/* hide checkbox */
input[type=\"checkbox\"] {
display: none;
}
/* if checkbox is checked, then do these things */
input[type=\"checkbox\"]:checked + label {
color: white;
background:#FFD86E;
border-radius: 5px;
padding: 0px 10px 0px 10px;
}
/* styles when hovering over options */
label:hover {
cursor: pointer;
/* transitions and animations */
-webkit-transition: color .5s ease;
-moz-transition: color .5s ease;
-ms-transition: color .5s ease;
-o-transition: color .5s ease;
transition: color .5s ease;
}
input.button {
\twidth:130px;
\theight:50px;
\tmargin: 20px 0 30px 0;
\tpadding: 0px 20px 0px 20px;
\tbackground: #e6e6e6;
\tborder-radius:5px;
\tborder: 1px solid #ccc;
\tfont-family: OpenSans, sans-serif;
\tfont-size:16pt;
\tcolor:#444;
}
.Addons label{
font-size:12px !important;
font-family: 'roboto';
font-weight: 500;
border: 1px solid #80808024;
margin: 2px;
padding: 0px 5px 0px 5px;
border-radius: 5px;
}
.multistep-container .active-button li:not(:first-child) .round-btn:before {
position: absolute;
content: '';
width: 141px;
height: 3px;
background-color: #E9F2FA;
left: -120px;
}
.multistep-container .active-button li {
display: inline-block;
width: 140px;
}
.form-check {
line-height: 16px;
}
.col-md-12.col-lg-12.col-sm-12.d-flex.justify-content-end.align-items-end.mb-3{
flex: 0 0 86%;
}
@media (max-width:767px) {
html, body {
overflow-x: hidden !important;
}
body {
position: relative !important;
}
.col-sm-8.reservation-steeps {
padding:0%;
}
.multistep-container .mutistep-form-area .form-box{
position: relative;
top: 33px;
left: 0px;
}
.multistep-container .active-button li{
display: inline-block;
width: 100px;
}
.panel-sticky{
font-size:12px;
}
h6.display-6.header-steeps {
margin-left: 3%;
}
h6.datetime{
margin-left: 3%;
}
a#seeDetails {
margin-bottom: -11%;
}
a#seePrice {
float: right;
margin-right: 52%;
}
}
@media (max-width:767px) {
.multistep-container .mutistep-form-area {
position: relative;
overflow: hidden;
min-height: 100%;
max-height: 100%;
overflow: none;
}
.col-sm-8.reservation-steeps {
box-shadow: none;
}
.multistep-container{
height: auto !important;
}
}
.imageForMobile{
display:none;
}
.imageForDesktop{
display:block;
}
@media (max-width:767px) {
.imageForDesktop{
display:none;
}
.imageForMobile{
display:block;
}
.col-sm-8.reservation-steeps{
top: 0px
}
.divCardsForMobile{
top: 0px !important;
}
.multistep-container .mutistep-form-area{
margin-top: 0px !important;
}
.titre-page{
padding-left: 10px;
font-size: 15px !important;
}
.divCardsSalleReunionMobile{
margin-top: 0px !important;
}
.forMobile{
margin-top: 5% !important;
}
#btnTarifs{
padding: 5px !important;
}
.title{
font-size: 15px !important;
}
#btnInformation{
width: 170px !important;
font-size: 10px !important;
}
#btnReservation{
font-size: 10px !important;
width: 100px!important;
}
.bureaux-desc{
padding: 15px!important;
}
.close{
width:25px !important;
}
}
</style>
</style>
{% endblock %}
{% block body %}
<img loading=\"lazy\" src=\"{{asset('themes/coworking/front/images/background_BUREAUX.png')}}\" style=\"width: 100%;height: 520px;\" class=\"img-fluid imageForDesktop\" />
<img loading=\"lazy\" src=\"{{asset('themes/coworking/front/images/Bg-bureau-Mobile.png')}}\" style=\"width: 100%;\" class=\"img-fluid imageForMobile\" />
<div class=\"container\">
<div class=\"row\">
<div class=\"col-sm-8 reservation-steeps\" style=\"overflow: hidden;\">
<div class=\"row\">
<div class=\"forMobile\" style=\"display: inline-flex;\">
<div class=\"col-sm-6\">
<h6 class=\"titre-page\">{{ \"Réservation bureau\"|trans({},\"front\") }}</h6>
</div>
<div class=\"col-sm-6\">
<a href=\"/uploads/front-images/LISTEDEPRIXCOWORK2.pdf\" class=\"btn-res text-center text-light text-uppercase bg-dark\" id=\"btnTarifs\" style=\"float: right;padding: 8px;border-radius: 6px;font-size:13px;\" target=\"_blank\" > Afficher nos tarifs</a>
</div>
</div>
</div>
<div class=\"container\">
<div class=\"row\">
<div class=\"container d-flex justify-content-center align-items-center\">
</div>
<div class=\"col-xl-12 divCardsForMobile\" style=\"top: 17px;\" >
<div class=\"multistep-container\">
<div class=\"mutistep-form-area\">
<div class=\"container\" style=\"margin-top:40px;\">
<div class=\"panel\">
{% set displayed_categories = [] %}
{% for bureau in products %}
{% for cat in bureau.categoriesProduct %}
{% if cat.name not in displayed_categories and cat.name != \"Services supplémentaires bureaux\" %}
<div class=\"card-brx row mt-3 panel\" style=\"width:auto; border: none; border-radius:17px; box-shadow: 0 0 12px 5px rgba(0, 0, 0, 0.05);\">
<div class=\"col-md-6 col-lg-6 col-sm-12\">
<img loading=\"lazy\" class=\"img-fluid\" src=\"{{ asset('uploads/coworking/' ~ cat.image) }}\" style=\"width:100%; border-radius:6px;margin-top: 10px;\" />
</div>
<div class=\"bureaux-desc col-md-6 col-lg-6 col-sm-12 mt-3\" style=\"font-family:'Roboto',sans-serif; line-height:24px;\">
<div>
<div style=\"float: right;\">
{% if cat.oldId == 1 %}
<i class=\"fa fa-user\" style=\"color:black;\"></i><br>
{% elseif cat.oldId == 2 %}
<i class=\"fa fa-user\" style=\"color:black;\"></i> <i class=\"fa fa-user\" style=\"color:black;\"></i><br>
{% elseif cat.oldId == 4 %}
<i class=\"fa fa-user\" style=\"color:black;\"></i><i class=\"fa fa-user\" style=\"color:black;\"></i><i class=\"fa fa-user\" style=\"color:black;\"></i><i class=\"fa fa-user\" style=\"color:black;\"></i><br>
{% elseif cat.oldId == 0 %}
<i class=\"fa fa-user\" style=\"color:black;\"></i><br>
{% endif %}
</div>
<p class=\"fs-5 title\" style=\"font-weight:bold;padding-bottom: 0px;margin-top: 0px;color:black;\" >{{ cat.name|trans({},\"front\") }} </p>
{% if cat.oldId == 1 %}
{% set priceBureau = \"300\" %}
{% elseif cat.oldId == 2 %}
{% set priceBureau = \"990\" %}
{% elseif cat.oldId == 4 %}
{% set priceBureau = \"1900\" %}
{% else %}
{% set priceBureau = \"220\" %}
{% endif %}
<a class=\"float-left\" href=\"#\" id=\"seePrice\" style=\"white-space:nowrap;padding-top: 10px;padding-right: 10px;text-decoration:none;font-size:13px; font-family:'PT Sans', sans-serif; letter-spacing:2px;color: #020202;font-weight: 800;\">À partir de<br> {{priceBureau}}* MAD TTC /
{% if priceBureau == 300 %}
Journée
{% elseif priceBureau == 990 %}
3 Jours
{% elseif priceBureau == 1900 %}
Semaine
{% elseif priceBureau == 220 %}
Journée
{% endif %}
</a>
<br><br><br><br>
<a href=\"#\" data-toggle=\"modal\" id=\"seeDetails\" data-target=\"#aynModal{{ cat.id }}\"style=\"padding: 10px;text-decoration: none;width: 129px;font-size: 13px;font-family: 'PT Sans', sans-serif;letter-spacing: 2px;/* float: right; */color: #020202;text-decoration: underline;margin-right: 10px;margin-right: 10px;font-weight: 800;\"><u>Voir Details</u></a>
<a href=\"{{path(\"reservationbureauxstep1\",{id:cat.id})}}\" class=\"btn-res text-center text-light text-uppercase bg-dark ReserveNext__\" style=\"padding:10px; text-decoration:none; width:230px; font-size:12px; font-family:'PT Sans', sans-serif; letter-spacing:2px;\">Réserver</a>
<span class=\"title\" style=\"float: right;text-align: center;\" > </span>
</div>
</div>
</div>
{% endif %}
{% set displayed_categories = displayed_categories|merge([cat.name]) %}
{% endfor %}
{% endfor %}
</div>
</div>
</form>
</div>
<!-- -->
</div>
</div>
</div>
</div>
</div>
{% set displayed_categories = [] %}
{% for bureau in products|sort((a, b) => b <=> a) %}
{% for cat in bureau.categoriesProduct %}
{% if cat.name not in displayed_categories %}
<div class=\"modal fade\" id=\"aynModal{{cat.id}}\">
\t\t\t\t\t\t\t<div class=\"modal-dialog modal-lg\">
\t\t\t\t\t\t\t\t<div
\t\t\t\t\t\t\t\t\tclass=\"modal-content\">
\t\t\t\t\t\t\t\t\t<!-- Modal Header -->
\t\t\t\t\t\t\t\t\t<div class=\"modal-header\" style=\"justify-content: end;\">
\t\t\t\t\t\t\t\t\t\t<button type=\"button\" class=\"close\" data-dismiss=\"modal\" style=\"background: #ffffff;font-size: 27px;width:30px;border: 1px solid #878787;\">×</button>
\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t<div class=\"container\">
\t\t\t\t\t\t\t\t\t\t<div class=\"row\">
\t\t\t\t\t\t\t\t\t\t <h2 class=\"mt-3 title \" style=\"font-size:25px; font-weight:bold;\">{{ cat.name }}</h2>
<p class=\"text-muted mt-3\"><small>{{ cat.description }}</small></p>
\t\t\t\t\t\t\t\t\t\t\t
\t\t\t\t\t\t\t\t\t\t\t
\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t\t
\t\t\t\t\t\t\t\t\t\t<!-- Modal body -->
\t\t\t\t\t\t\t\t\t
\t\t\t\t\t\t\t\t\t\t<div class=\"modal-body\">
<img loading=\"lazy\" src=\"{{ asset('uploads/coworking/' ~ cat.image) }}\" id=\"main\">
<div id=\"thumbnails\">
{# {% for image in bureau.images %}
<img loading=\"lazy\" src=\"/uploads/coworking/detail/{{image.path}}\" alt=\"Bridge\">
{% endfor %}#}
</div>
\t\t\t\t\t\t\t\t\t\t\t<div class=\"row\" style=\"margin-top:5%;\">
\t\t\t\t\t\t\t\t\t\t\t{#\t<div class=\"col-sm-6\">
\t\t\t\t\t\t\t\t\t\t\t\t\t<p class=\"m-1 fs-6\" style=\"font-weight:bold;\">
\t\t\t\t\t\t\t\t\t\t\t\t\t\tÉquipements</p>
\t\t\t\t\t\t\t\t\t\t\t\t\t<ul style=\"font-size:12px;\">
\t\t\t\t\t\t\t\t\t\t\t\t \t<li></li>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t
\t\t\t\t\t\t\t\t\t\t\t\t\t</ul>
\t\t\t\t\t\t\t\t\t\t\t\t</div>#}
\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"col-md-12\">
\t\t\t\t\t\t\t\t\t\t\t\t\t<p class=\"m-1 fs-6\" style=\"font-weight:bold;\">Services</p>
\t\t\t\t\t\t\t\t\t\t\t\t<ul style=\"font-size:12px;\">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t<li><b>Restaurant Melliber :</b> Dans une atmosphère conviviale et accueillante, notre restaurant partage gracieusement un bouquet de saveurs, du petit déjeuner au dîner</li>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t<li class=\"souligne\"><b>Hammam & Spa :</b> Notre spa offre un refuge tranquille avec une variété de soins relaxants. Profitez de massages apaisants, de hammams revigorants et d'autres thérapies régénérantes conçues pour revitaliser votre corps et votre esprit</li>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t<li class=\"souligne\"><b>Salon de coiffure et de bien-être :</b> Notre salon de beauté et de bien-être propose des services experts de manucure, pédicure et coiffure pour hommes et femmes. C'est l'endroit idéal pour être au meilleur de sa forme.</li>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t<li class=\"souligne\"><b>Parking :</b> Notre établissement dispose également d'un vaste parking, garantissant un stationnement pratique et sécurisé pour tous nos membres et invités</li>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t<li class=\"souligne\"><b>Events & Exhibition : </b>Le Cowork&Live by Melliber propose régulièrement des événements variés, allant des concours de cuisine aux séminaires en comptabilité, en passant par des expositions de peinture. Nous créons ainsi un environnement dynamique qui allie travail, apprentissage et culture pour enrichir vos expériences.</li>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t<li class=\"souligne\"><b>2 kitchenettes :</b> Nos kitchenettes sont entièrement équipées, y compris des minibars et d'autres commodités, offrant à nos membres tout ce dont ils ont besoin pour une expérience culinaire pratique et agréable</li>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t<li class=\"souligne\"><b>Salle de Fitness :</b> Notre centre de fitness est équipé d'installations de premier ordre et propose diverses options d'entraînement pour répondre à tous les besoins et préférences.</li>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t<li class=\"souligne\"><b>Espace gaming :</b> Notre espace de jeux comprend des jeux d'arcade, un baby-foot et une table de billard américain, offrant divertissement et détente à tous nos membres.</li>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t<li class=\"souligne\"><b>Services suplémetaires :</b> Options additionnelles permettant aux clients de personnaliser leur expérience avec des équipements techniques et des services, pour répondre à des besoins spécifiques lors de la location de salles ou de bureaux</li>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t
\t\t\t\t\t\t\t\t\t\t\t\t\t
\t\t\t\t\t\t\t\t\t\t\t\t\t</ul>
\t\t\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t\t\t
\t\t\t\t\t\t\t\t\t\t\t<div class=\"row\">
\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"col-sm-12\">
\t\t\t\t\t\t\t\t\t\t\t\t\t
\t\t\t\t\t\t\t\t\t\t\t\t\t\t<a href=\"/uploads/front-images/LISTEDEPRIXCOWORK2.pdf\" class=\"\" target=\"_blank\" id=\"btnInformation\" style=\"padding:10px; text-decoration:none; width:200px; font-size:12px; font-family:'PT Sans', sans-serif; letter-spacing:2px;float:left;margin-top:5%; margin-bottom:5%;font-size: 13px;text-decoration: underline;font-weight: 800;color:black !important;\">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tPlus d'information
\t\t\t\t\t\t\t\t\t\t\t\t\t\t</a>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<a href=\"{{path(\"reservationbureauxstep1\",{id:cat.id})}}\" class=\"btn-res text-center text-light text-uppercase bg-dark\" id=\"btnReservation\" style=\"padding:10px; text-decoration:none; width:130px; font-size:12px; font-family:'PT Sans', sans-serif; letter-spacing:2px;float:right;margin-top:5%; margin-bottom:5%;\">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t Réserver
\t\t\t\t\t\t\t\t\t\t\t\t\t\t </a>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t
\t\t\t\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t\t\t\t\t
\t\t\t\t\t\t\t\t\t\t\t\t\t
\t\t\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t</div>
\t\t\t\t\t\t{% endif %}
{% endfor %}
{% endfor %}
</div>
</div>
<div class=\"container\">
<div class=\"row\">
<div class=\"col-xl-12 text-center\" >
<p>*Le prix de revient journalier calculé sur la base d’un abonnement mensuel</p>
</div>
</div>
</div>
{% endblock %}
{% block javascripts %}
<!-- MAIN CONTENT -->
<script src=\"https://code.jquery.com/jquery-3.4.1.min.js\" integrity=\"sha256-CSXorXvZcTkaix6Yvo6HppcZGetbYMGWSFlBw8HfCJo=\" crossorigin=\"anonymous\"></script>
<script src=\"https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/js/bootstrap.min.js\" integrity=\"sha384-JjSmVgyd0p3pXB1rRibZUAYoIIy6OrQ6VrjIEaFf/nJGzIxFDsf4x0xIM+B07jRM\" crossorigin=\"anonymous\"></script>
<script type=\"text/javascript\" src=\"chosen/chosen.jquery.min.js\"></script>
<script src=\"https://cdnjs.cloudflare.com/ajax/libs/chosen/1.4.2/chosen.jquery.js\"></script>
<script>
\$(document).ready(function () {
\$(\"#seeDetails\").click(function(){
\$(\".panel-sticky\").css('z-index','0');
});
\$(\".close\").click(function(){
\$(\".panel-sticky\").css('z-index','9999999');
});
\$(\"#selectAdon\").chosen();
\$('.multistep-container .form-box .button-row .next').click(function () {
\$(this).parents('.form-box').fadeOut('fast')
\$(this).parents('.form-box').next().fadeIn('fast')
})
\$('.multistep-container .form-box .button-row .previous').click(function () {
\$(this).parents('.form-box').fadeOut('fast')
\$(this).parents('.form-box').prev().fadeIn('fast')
})
\$('.ReserveNext').click(function () {
\$(this).parents('.form-box').fadeOut('fast')
\$(this).parents('.form-box').next().fadeIn('fast')
})
\$('.ReservePrevious').click(function () {
\$(this).parents('.form-box').fadeOut('fast')
\$(this).parents('.form-box').prev().fadeIn('fast')
})
\$('#demo').daterangepicker({
\"showISOWeekNumbers\": true,
\"timePicker\": true,
\"autoUpdateInput\": true,
\"locale\": {
\"cancelLabel\": 'Clear',
\"format\": \"MMMM DD, YYYY @ h:mm A\",
\"separator\": \" - \",
\"applyLabel\": \"Apply\",
\"cancelLabel\": \"Cancel\",
\"fromLabel\": \"From\",
\"toLabel\": \"To\",
\"customRangeLabel\": \"Custom\",
\"weekLabel\": \"W\",
\"daysOfWeek\": [
\"Su\",
\"Mo\",
\"Tu\",
\"We\",
\"Th\",
\"Fr\",
\"Sa\"
],
\"monthNames\": [
\"January\",
\"February\",
\"March\",
\"April\",
\"May\",
\"June\",
\"July\",
\"August\",
\"September\",
\"October\",
\"November\",
\"December\"
],
\"firstDay\": 1
},
\"linkedCalendars\": true,
\"showCustomRangeLabel\": false,
\"startDate\": 1,
\"endDate\": \"December 31, 2016 @ h:mm A\",
\"opens\": \"center\"
});
/**/
\$('#categorie-bureaux').change(function() {
var selectedOption = \$(this).val();
\$.ajax({
url: '/ajax/getbureauajax',
type: 'GET',
data: {
selected_option: selectedOption,
},
success: function(response) {
console.log(\"Ajax request successful\");
// Clear the container first, if needed
\$('.container-bureau').empty();
// Iterate over each bureau in the response and insert them into the container
response.bureaux.forEach(function(bureau) {
var bureauHtml = `
<div class=\"card-brx row mt-3\" style=\"width:auto; border: none; border-radius:17px; box-shadow: 0 0 12px 5px rgba(0, 0, 0, 0.05);\">
<div class=\"col-md-4 col-lg-4 col-sm-12\">
<img loading=\"lazy\" class=\"img-fluid\" src=\"\${bureau.image}\" style=\"width:90%; border-radius:6px;margin-top: 10px;\" />
</div>
<div class=\"bureaux-desc col-md-8 col-lg-8 col-sm-12 mt-3\" style=\"font-family:'Roboto',sans-serif; line-height:24px;\">
<div>
<img loading=\"lazy\" src=\"{{ asset('/front/images/usershands.png') }}\" style=\"float: right;\" />
<p class=\"fs-5\" style=\"font-family: Roboto;font-weight:bold;\">\${bureau.title}</p>
<p style=\"color:rgba(51, 51, 51, 1);\">
<i class=\"fa-solid fs-6 fa-location-dot\"></i> <span class=\"m-1 fs-6\" style=\"font-weight:400;\">\${bureau.location}</span>
</p>
<div style=\"color:rgba(107, 111, 123, 1); line-height:20px; font-size:13px; font-weight:400;\">
<p>\${bureau.description1}</p>
<p>
<i class=\"fa-regular fa-lightbulb fs-6\" style=\"color: #e2b653; \"></i> <span>Ideal pour: \${bureau.description}</span>
</p>
</div>
</div>
</div>
<div class=\"col-md-12 col-lg-12 col-sm-12 d-flex justify-content-center align-items-end mb-3\">
<a class=\"btn-res text-center text-light text-uppercase bg-dark\" href=\"\${bureau.reservationLink}\" style=\"padding:10px; text-decoration:none; width:230px; font-size:12px; font-family:'PT Sans', sans-serif; letter-spacing:2px;\">Réserver</a>
</div>
</div>
`;
\$('.container-bureau').append(bureauHtml);
});
// Rest of your code
},
error: function(xhr, status, error) {
// Handle any error that occurred during the AJAX request
console.error(error);
}
});
});
/***/
// alert(\"frfr\");
var thumbnails = document.getElementById(\"thumbnails\")
var imgs = thumbnails.getElementsByTagName(\"img\")
var main = document.getElementById(\"main\")
var counter=0;
for(let i=0;i<imgs.length;i++){
let img=imgs[i]
img.addEventListener(\"click\",function(){
main.src=this.src
})
}
});
/**/
var stickyHeaders = (function() {
var \$window = \$(window),
\$stickies;
var load = function(stickies) {
if (typeof stickies === \"object\" && stickies instanceof jQuery && stickies.length > 0) {
\$stickies = stickies.each(function() {
var \$thisSticky = \$(this).wrap('<div class=\"followWrap\" />');
\$thisSticky
.data('originalPosition', \$thisSticky.offset().top)
.data('originalHeight', \$thisSticky.outerHeight())
.parent()
.height(\$thisSticky.outerHeight()); \t\t\t
});
\$window.off(\"scroll.stickies\").on(\"scroll.stickies\", function() {
\t\t _whenScrolling();\t\t
});
}
};
var _whenScrolling = function() {
\$stickies.each(function(i) {\t\t\t
var \$thisSticky = \$(this),
\$stickyPosition = \$thisSticky.data('originalPosition');
console.log(\$thisSticky.data('num') + ' is at' + \$stickyPosition);
if (\$stickyPosition <= \$window.scrollTop()) {
var \$nextSticky = \$stickies.eq(i + 1),
\$nextStickyPosition = \$nextSticky.data('originalPosition') - \$thisSticky.data('originalHeight');
\$thisSticky.addClass(\"fixed\");
if (\$nextSticky.length > 0 && \$thisSticky.offset().top >= \$nextStickyPosition) {
\$thisSticky.addClass(\"absolute\").css(\"top\", \$nextStickyPosition);
}
} else {
var \$prevSticky = \$stickies.eq(i - 1);
\$thisSticky.removeClass(\"fixed\");
if (\$prevSticky.length > 0 && \$window.scrollTop() <= \$thisSticky.data('originalPosition') - \$thisSticky.data('originalHeight')) {
\$prevSticky.removeClass(\"absolute\").removeAttr(\"style\");
}
}
});
};
return {
load: load
};
})();
\$(function() {
stickyHeaders.load(\$(\".followMeBar\"));
});
</script>
{% endblock %}
", "@Flexy/FrontBundle/Themes/CoWorking/templates/pages/reservation-offices.html.twig", "/home/gebcloud/public_html/cowork.gebanalysis.cloud/src/Flexy/FrontBundle/Themes/CoWorking/templates/pages/reservation-offices.html.twig");
}
}