source = $this->getSourceContext(); $this->parent = false; $this->blocks = [ ]; } protected function doDisplay(array $context, array $blocks = []) { $macros = $this->macros; $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"]; $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "default/components/booking/fewoSummary.html.twig")); // line 1 if ((isset($context["isPossible"]) || array_key_exists("isPossible", $context) ? $context["isPossible"] : (function () { throw new RuntimeError('Variable "isPossible" does not exist.', 1, $this->source); })())) { // line 2 echo " "; // line 16 $context['_parent'] = $context; $context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env, $this->source, (isset($context["priceResult"]) || array_key_exists("priceResult", $context) ? $context["priceResult"] : (function () { throw new RuntimeError('Variable "priceResult" does not exist.', 16, $this->source); })()), "season", [], "any", false, false, false, 16)); foreach ($context['_seq'] as $context["season"] => $context["values"]) { // line 17 echo " "; } $_parent = $context['_parent']; unset($context['_seq'], $context['_iterated'], $context['season'], $context['values'], $context['_parent'], $context['loop']); $context = array_intersect_key($context, $_parent) + $_parent; // line 49 echo "
Datum: "; // line 9 echo twig_escape_filter($this->env, twig_date_format_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["fewo_booking_request"]) || array_key_exists("fewo_booking_request", $context) ? $context["fewo_booking_request"] : (function () { throw new RuntimeError('Variable "fewo_booking_request" does not exist.', 9, $this->source); })()), "fromDate", [], "any", false, false, false, 9)), "html", null, true); echo " - "; echo twig_escape_filter($this->env, twig_date_format_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["fewo_booking_request"]) || array_key_exists("fewo_booking_request", $context) ? $context["fewo_booking_request"] : (function () { throw new RuntimeError('Variable "fewo_booking_request" does not exist.', 9, $this->source); })()), "toDate", [], "any", false, false, false, 9)), "html", null, true); echo "

Saison: "; // line 22 echo twig_escape_filter($this->env, $context["season"], "html", null, true); echo "
Mindestbelegung: "; // line 30 echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["values"], "minimumStay", [], "any", false, false, false, 30), "html", null, true); echo " "; echo (((twig_get_attribute($this->env, $this->source, $context["values"], "minimumStay", [], "any", false, false, false, 30) < 2)) ? ("Nacht") : ("Nächte")); echo "
+ "; // line 37 echo twig_escape_filter($this->env, twig_number_format_filter($this->env, twig_get_attribute($this->env, $this->source, $context["values"], "price", [], "any", false, false, false, 37), 2), "html", null, true); echo " € "; // line 40 echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["values"], "numberDays", [], "any", false, false, false, 40), "html", null, true); echo " "; echo (((twig_get_attribute($this->env, $this->source, $context["values"], "numberDays", [], "any", false, false, false, 40) < 2)) ? ("Nacht") : ("Nächte")); echo " x "; echo twig_escape_filter($this->env, twig_number_format_filter($this->env, twig_get_attribute($this->env, $this->source, $context["values"], "perNight", [], "any", false, false, false, 40), 2), "html", null, true); echo " €

+ "; // line 51 echo twig_escape_filter($this->env, twig_number_format_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["priceResult"]) || array_key_exists("priceResult", $context) ? $context["priceResult"] : (function () { throw new RuntimeError('Variable "priceResult" does not exist.', 51, $this->source); })()), "flatPrice", [], "any", false, false, false, 51), 2), "html", null, true); echo " € Service-Gebühr
+ "; // line 59 echo twig_escape_filter($this->env, twig_number_format_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["priceResult"]) || array_key_exists("priceResult", $context) ? $context["priceResult"] : (function () { throw new RuntimeError('Variable "priceResult" does not exist.', 59, $this->source); })()), "deposit", [], "any", false, false, false, 59), 2), "html", null, true); echo " € Kaution
= "; // line 67 echo twig_escape_filter($this->env, twig_number_format_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["priceResult"]) || array_key_exists("priceResult", $context) ? $context["priceResult"] : (function () { throw new RuntimeError('Variable "priceResult" does not exist.', 67, $this->source); })()), "total_price", [], "any", false, false, false, 67), 2), "html", null, true); echo " € Miete inkl. Kaution
"; } else { // line 74 echo " Leider ist der gewünschter Zeitraum ist nicht buchbar.
Bitte ändern Sie das Datum, rote Felder sind bereits gebucht. "; } $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof); } public function getTemplateName() { return "default/components/booking/fewoSummary.html.twig"; } public function isTraitable() { return false; } public function getDebugInfo() { return array ( 158 => 74, 148 => 67, 137 => 59, 126 => 51, 122 => 49, 103 => 40, 97 => 37, 85 => 30, 74 => 22, 67 => 17, 63 => 16, 51 => 9, 42 => 2, 40 => 1,); } public function getSourceContext() { return new Source("{% if(isPossible) %} {% for season, values in priceResult.season %} {% endfor %}
Datum: {{ fewo_booking_request.fromDate|date }} - {{ fewo_booking_request.toDate|date }}

Saison: {{ season }}
Mindestbelegung: {{ values.minimumStay }} {{ values.minimumStay < 2 ? 'Nacht' : 'Nächte' }}
+ {{ values.price|number_format(2) }} € {{ values.numberDays }} {{ values.numberDays < 2 ? 'Nacht' : 'Nächte' }} x {{ values.perNight|number_format(2) }} €

+ {{ priceResult.flatPrice|number_format(2) }} € Service-Gebühr
+ {{ priceResult.deposit|number_format(2) }} € Kaution
= {{ priceResult.total_price|number_format(2) }} € Miete inkl. Kaution
{% else %} Leider ist der gewünschter Zeitraum ist nicht buchbar.
Bitte ändern Sie das Datum, rote Felder sind bereits gebucht. {% endif %}", "default/components/booking/fewoSummary.html.twig", "/Users/kadmin/Websites/sterntours-3/app/Resources/views/default/components/booking/fewoSummary.html.twig"); } }