init without trunk

This commit is contained in:
Kevin Adametz 2020-07-09 12:49:32 +02:00
parent ed24ac4994
commit bb809e7233
14652 changed files with 177862 additions and 94817 deletions

View file

@ -0,0 +1,265 @@
<?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;
/* default/components/booking/fewoSummary.html.twig */
class __TwigTemplate_dace8def07eec357cb9581e9ad74f4d08ed9a490c2e5ada0df3be8ff4965115c extends \Twig\Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->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 "<table class=\"st-booking-table\">
<tbody>
<tr>
<td class=\"st-position-price-col\">
Datum:
</td>
<td class=\"st-position-name-col\">
";
// 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 "
</td>
</tr>
<tr>
<td colspan=\"2\"><hr style=\"margin-top: 0; margin-bottom: 0\"></td>
</tr>
";
// 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 " <tr>
<td class=\"st-position-price-col\">
Saison:
</td>
<td class=\"st-position-name-col\">
";
// line 22
echo twig_escape_filter($this->env, $context["season"], "html", null, true);
echo "
</td>
</tr>
<tr>
<td class=\"st-position-price-col\">
Mindestbelegung:
</td>
<td class=\"st-position-name-col\">
";
// 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 "
</td>
</tr>
<tr>
<td class=\"st-position-price-col\">
+ ";
// 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 "
</td>
<td class=\"st-position-name-col\">
";
// 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 "
</td>
</tr>
<tr>
<td colspan=\"2\"><hr style=\"margin-top: 0; margin-bottom: 0\"></td>
</tr>
";
}
$_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 " <tr>
<td class=\"st-position-price-col\">
+ ";
// 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 "
</td>
<td class=\"st-position-name-col\">
Service-Gebühr
</td>
</tr>
<tr>
<td class=\"st-position-price-col\">
+ ";
// 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 "
</td>
<td class=\"st-position-name-col\">
Kaution
</td>
</tr>
<tr class=\"st-total-tr\">
<td class=\"st-position-price-col\">
<span class=\"st-total-price\">= ";
// 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 " €</span>
</td>
<td class=\"st-position-name-col\">Miete inkl. Kaution</td>
</tr>
</tbody>
</table>
";
} else {
// line 74
echo "
Leider ist der gewünschter Zeitraum ist nicht buchbar.<br>
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) %}
<table class=\"st-booking-table\">
<tbody>
<tr>
<td class=\"st-position-price-col\">
Datum:
</td>
<td class=\"st-position-name-col\">
{{ fewo_booking_request.fromDate|date }} - {{ fewo_booking_request.toDate|date }}
</td>
</tr>
<tr>
<td colspan=\"2\"><hr style=\"margin-top: 0; margin-bottom: 0\"></td>
</tr>
{% for season, values in priceResult.season %}
<tr>
<td class=\"st-position-price-col\">
Saison:
</td>
<td class=\"st-position-name-col\">
{{ season }}
</td>
</tr>
<tr>
<td class=\"st-position-price-col\">
Mindestbelegung:
</td>
<td class=\"st-position-name-col\">
{{ values.minimumStay }} {{ values.minimumStay < 2 ? 'Nacht' : 'Nächte' }}
</td>
</tr>
<tr>
<td class=\"st-position-price-col\">
+ {{ values.price|number_format(2) }}
</td>
<td class=\"st-position-name-col\">
{{ values.numberDays }} {{ values.numberDays < 2 ? 'Nacht' : 'Nächte' }} x {{ values.perNight|number_format(2) }}
</td>
</tr>
<tr>
<td colspan=\"2\"><hr style=\"margin-top: 0; margin-bottom: 0\"></td>
</tr>
{% endfor %}
<tr>
<td class=\"st-position-price-col\">
+ {{ priceResult.flatPrice|number_format(2) }}
</td>
<td class=\"st-position-name-col\">
Service-Gebühr
</td>
</tr>
<tr>
<td class=\"st-position-price-col\">
+ {{ priceResult.deposit|number_format(2) }}
</td>
<td class=\"st-position-name-col\">
Kaution
</td>
</tr>
<tr class=\"st-total-tr\">
<td class=\"st-position-price-col\">
<span class=\"st-total-price\">= {{ priceResult.total_price|number_format(2) }} €</span>
</td>
<td class=\"st-position-name-col\">Miete inkl. Kaution</td>
</tr>
</tbody>
</table>
{% else %}
Leider ist der gewünschter Zeitraum ist nicht buchbar.<br>
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");
}
}