<?php
use Twig\Environment;
use Twig\Error\LoaderError;
use Twig\Error\RuntimeError;
use Twig\Extension\CoreExtension;
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\Sandbox\SecurityNotAllowedTestError;
use Twig\Source;
use Twig\Template;
use Twig\TemplateWrapper;
/* pages/_includes/details/_other-departures-table.html.twig */
class __TwigTemplate_e34b8613f19eef1ba7a4f923c056e1ac extends Template
{
private Source $source;
/**
* @var array<string, Template>
*/
private array $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 = []): iterable
{
$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", "pages/_includes/details/_other-departures-table.html.twig"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "pages/_includes/details/_other-departures-table.html.twig"));
// line 1
$macros["dateMacros"] = $this->macros["dateMacros"] = $this->load("_snippets/components/macros/date.html.twig", 1)->unwrap();
// line 2
yield "
";
// line 3
$context["companiesWithFullWeb"] = $this->extensions['App\Twig\Company\CompanyExtension']->getCompaniesWithFullWeb();
// line 4
$context["companiesWithFullWebIds"] = Twig\Extension\CoreExtension::map($this->env, $this->env->hasExtension(\Twig\Extension\SandboxExtension::class) && $this->env->getExtension(\Twig\Extension\SandboxExtension::class)->isSandboxed($this->source), (isset($context["companiesWithFullWeb"]) || array_key_exists("companiesWithFullWeb", $context) ? $context["companiesWithFullWeb"] : (function () { throw new RuntimeError('Variable "companiesWithFullWeb" does not exist.', 4, $this->source); })()), function ($__c__) use ($context, $macros) { $context["c"] = $__c__; return CoreExtension::getAttribute($this->env, $this->source, (isset($context["c"]) || array_key_exists("c", $context) ? $context["c"] : (function () { throw new RuntimeError('Variable "c" does not exist.', 4, $this->source); })()), "id", [], "any", false, false, false, 4); });
// line 5
yield "
<div class=\"other-departures-view other-departures-view--table is-active\" data-view-panel=\"table\">
\t<div class=\"pricing-table-wrapper\">
\t\t<div class=\"pricing-table-scroll\">
\t\t\t<table class=\"pricing-table\">
\t\t\t\t<colgroup>
\t\t\t\t\t<col class=\"pricing-table-col-sticky\">
\t\t\t\t\t<col class=\"pricing-table-col-arrow\">
\t\t\t\t\t";
// line 13
$context['_parent'] = $context;
$context['_seq'] = CoreExtension::ensureTraversable((isset($context["allDepartures"]) || array_key_exists("allDepartures", $context) ? $context["allDepartures"] : (function () { throw new RuntimeError('Variable "allDepartures" does not exist.', 13, $this->source); })()));
foreach ($context['_seq'] as $context["_key"] => $context["departureCruise"]) {
// line 14
yield "\t\t\t\t\t\t<col class=\"pricing-table-col-date\">
\t\t\t\t\t";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_key'], $context['departureCruise'], $context['_parent']);
$context = array_intersect_key($context, $_parent);
$context += $_parent;
// line 16
yield "\t\t\t\t\t<col class=\"pricing-table-col-arrow\">
\t\t\t\t</colgroup>
\t\t\t\t<thead>
\t\t\t\t\t<tr>
\t\t\t\t\t\t<th scope=\"col\" class=\"pricing-table-corner sticky-col\">
\t\t\t\t\t\t\t<span class=\"text-md-sbd color-primary-color\">";
// line 21
yield (string) $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("details.cabin_choice.pricing_table.double_occupancy_rates"), "html", null, true);
yield "</span>
\t\t\t\t\t\t\t<span class=\"text-xs-rg color-grey-text\">";
// line 22
yield (string) $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("details.cabin_choice.pricing_table.mandatory_service_fees"), "html", null, true);
yield "</span>
\t\t\t\t\t\t</th>
\t\t\t\t\t\t<th scope=\"col\" class=\"pricing-table-arrow-col pricing-table-arrow-col--left sticky-arrow-col\" aria-hidden=\"true\"></th>
\t\t\t\t\t\t";
// line 25
$context['_parent'] = $context;
$context['_seq'] = CoreExtension::ensureTraversable((isset($context["allDepartures"]) || array_key_exists("allDepartures", $context) ? $context["allDepartures"] : (function () { throw new RuntimeError('Variable "allDepartures" does not exist.', 25, $this->source); })()));
$context['loop'] = [
'parent' => $context['_parent'],
'index0' => 0,
'index' => 1,
'first' => true,
];
if (is_array($context['_seq']) || (is_object($context['_seq']) && $context['_seq'] instanceof \Countable)) {
$length = count($context['_seq']);
$context['loop']['revindex0'] = $length - 1;
$context['loop']['revindex'] = $length;
$context['loop']['length'] = $length;
$context['loop']['last'] = 1 === $length;
}
foreach ($context['_seq'] as $context["_key"] => $context["departureCruise"]) {
// line 26
yield "\t\t\t\t\t\t\t";
$context["isSelectedDeparture"] = (((($tmp = CoreExtension::getAttribute($this->env, $this->source, $context["departureCruise"], "departureDate", [], "any", false, false, false, 26)) && $tmp instanceof Markup ? (string) $tmp : $tmp) && (($tmp = CoreExtension::getAttribute($this->env, $this->source, (isset($context["currentCruise"]) || array_key_exists("currentCruise", $context) ? $context["currentCruise"] : (function () { throw new RuntimeError('Variable "currentCruise" does not exist.', 26, $this->source); })()), "departureDate", [], "any", false, false, false, 26)) && $tmp instanceof Markup ? (string) $tmp : $tmp)) && ($this->extensions['Twig\Extension\CoreExtension']->formatDate(CoreExtension::getAttribute($this->env, $this->source, $context["departureCruise"], "departureDate", [], "any", false, false, false, 26), "Y-m-d") == $this->extensions['Twig\Extension\CoreExtension']->formatDate(CoreExtension::getAttribute($this->env, $this->source, (isset($context["currentCruise"]) || array_key_exists("currentCruise", $context) ? $context["currentCruise"] : (function () { throw new RuntimeError('Variable "currentCruise" does not exist.', 26, $this->source); })()), "departureDate", [], "any", false, false, false, 26), "Y-m-d")));
// line 27
yield "\t\t\t\t\t\t\t";
$context["departureMonth"] = (((($tmp = CoreExtension::getAttribute($this->env, $this->source, $context["departureCruise"], "departureDate", [], "any", false, false, false, 27)) && $tmp instanceof Markup ? (string) $tmp : $tmp)) ? ($this->extensions['Twig\Extension\CoreExtension']->formatDate(CoreExtension::getAttribute($this->env, $this->source, $context["departureCruise"], "departureDate", [], "any", false, false, false, 27), "n")) : (0));
// line 28
yield "\t\t\t\t\t\t\t<th scope=\"col\" class=\"pricing-table-header";
if ((($tmp = (isset($context["isSelectedDeparture"]) || array_key_exists("isSelectedDeparture", $context) ? $context["isSelectedDeparture"] : (function () { throw new RuntimeError('Variable "isSelectedDeparture" does not exist.', 28, $this->source); })())) && $tmp instanceof Markup ? (string) $tmp : $tmp)) {
yield " is-selected";
}
yield "\" data-departure-index=\"";
yield (string) $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["loop"], "index0", [], "any", false, false, false, 28), "html", null, true);
yield "\">
\t\t\t\t\t\t\t\t<span class=\"date text-sm-md\">
\t\t\t\t\t\t\t\t\t";
// line 30
if ((($tmp = CoreExtension::getAttribute($this->env, $this->source, $context["departureCruise"], "departureDate", [], "any", false, false, false, 30)) && $tmp instanceof Markup ? (string) $tmp : $tmp)) {
// line 31
yield "\t\t\t\t\t\t\t\t\t\t";
yield (string) $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Twig\Extension\CoreExtension']->formatDate(CoreExtension::getAttribute($this->env, $this->source, $context["departureCruise"], "departureDate", [], "any", false, false, false, 31), "d"), "html", null, true);
yield "
\t\t\t\t\t\t\t\t\t\t";
// line 32
yield (string) $macros["dateMacros"]->getTemplateForMacro("macro_short_month_fr", $context, 32, $this->getSourceContext())->macro_short_month_fr(...[(isset($context["departureMonth"]) || array_key_exists("departureMonth", $context) ? $context["departureMonth"] : (function () { throw new RuntimeError('Variable "departureMonth" does not exist.', 32, $this->source); })())]);
yield "
\t\t\t\t\t\t\t\t\t\t";
// line 33
yield (string) $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Twig\Extension\CoreExtension']->formatDate(CoreExtension::getAttribute($this->env, $this->source, $context["departureCruise"], "departureDate", [], "any", false, false, false, 33), "Y"), "html", null, true);
yield "
\t\t\t\t\t\t\t\t\t";
}
// line 35
yield "\t\t\t\t\t\t\t\t</span>
\t\t\t\t\t\t\t\t";
// line 36
if ((($tmp = (isset($context["isSelectedDeparture"]) || array_key_exists("isSelectedDeparture", $context) ? $context["isSelectedDeparture"] : (function () { throw new RuntimeError('Variable "isSelectedDeparture" does not exist.', 36, $this->source); })())) && $tmp instanceof Markup ? (string) $tmp : $tmp)) {
// line 37
yield "\t\t\t\t\t\t\t\t\t<span class=\"selected-label text-2xs-rg color-grey-text\">";
yield (string) $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("details.cabin_choice.pricing_table.selected_departure"), "html", null, true);
yield "</span>
\t\t\t\t\t\t\t\t";
}
// line 39
yield "\t\t\t\t\t\t\t</th>
\t\t\t\t\t\t";
++$context['loop']['index0'];
++$context['loop']['index'];
$context['loop']['first'] = false;
if (isset($context['loop']['revindex0'], $context['loop']['revindex'])) {
--$context['loop']['revindex0'];
--$context['loop']['revindex'];
$context['loop']['last'] = 0 === $context['loop']['revindex0'];
}
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_key'], $context['departureCruise'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent);
$context += $_parent;
// line 41
yield "\t\t\t\t\t\t<th scope=\"col\" class=\"pricing-table-arrow-col pricing-table-arrow-col--right sticky-arrow-col-right\" aria-hidden=\"true\"></th>
\t\t\t\t\t</tr>
\t\t\t\t</thead>
\t\t\t\t<tbody>
\t\t\t\t\t";
// line 45
$context['_parent'] = $context;
$context['_seq'] = CoreExtension::ensureTraversable((isset($context["subTypes"]) || array_key_exists("subTypes", $context) ? $context["subTypes"] : (function () { throw new RuntimeError('Variable "subTypes" does not exist.', 45, $this->source); })()));
$context['loop'] = [
'parent' => $context['_parent'],
'index0' => 0,
'index' => 1,
'first' => true,
];
if (is_array($context['_seq']) || (is_object($context['_seq']) && $context['_seq'] instanceof \Countable)) {
$length = count($context['_seq']);
$context['loop']['revindex0'] = $length - 1;
$context['loop']['revindex'] = $length;
$context['loop']['length'] = $length;
$context['loop']['last'] = 1 === $length;
}
foreach ($context['_seq'] as $context["_key"] => $context["subType"]) {
// line 46
yield "\t\t\t\t\t\t";
$context["subtypeShortLabel"] = Twig\Extension\CoreExtension::trim(((CoreExtension::getAttribute($this->env, $this->source, $context["subType"], "shortName", [], "any", true, true, false, 46)) ? (Twig\Extension\CoreExtension::default(CoreExtension::getAttribute($this->env, $this->source, $context["subType"], "shortName", [], "any", false, false, false, 46), "")) : ("")));
// line 47
yield "\t\t\t\t\t\t";
if (Twig\Extension\CoreExtension::testEmpty((isset($context["subtypeShortLabel"]) || array_key_exists("subtypeShortLabel", $context) ? $context["subtypeShortLabel"] : (function () { throw new RuntimeError('Variable "subtypeShortLabel" does not exist.', 47, $this->source); })()))) {
// line 48
yield "\t\t\t\t\t\t\t";
$context["subtypeShortLabel"] = Twig\Extension\CoreExtension::trim(((CoreExtension::getAttribute($this->env, $this->source, $context["subType"], "name", [], "any", true, true, false, 48)) ? (Twig\Extension\CoreExtension::default(CoreExtension::getAttribute($this->env, $this->source, $context["subType"], "name", [], "any", false, false, false, 48), "")) : ("")));
// line 49
yield "\t\t\t\t\t\t";
}
// line 50
yield "\t\t\t\t\t\t";
if (Twig\Extension\CoreExtension::testEmpty((isset($context["subtypeShortLabel"]) || array_key_exists("subtypeShortLabel", $context) ? $context["subtypeShortLabel"] : (function () { throw new RuntimeError('Variable "subtypeShortLabel" does not exist.', 50, $this->source); })()))) {
// line 51
yield "\t\t\t\t\t\t\t";
$context["subtypeShortLabel"] = Twig\Extension\CoreExtension::sprintf("%02d", CoreExtension::getAttribute($this->env, $this->source, $context["loop"], "index0", [], "any", false, false, false, 51));
// line 52
yield "\t\t\t\t\t\t";
}
// line 53
yield "\t\t\t\t\t\t";
$context["cabinTypeId"] = ((CoreExtension::getAttribute($this->env, $this->source, ($context["subtypeCabinTypeMap"] ?? null), (CoreExtension::getAttribute($this->env, $this->source, $context["subType"], "id", [], "any", false, false, false, 53) . ""), [], "array", true, true, false, 53)) ? (Twig\Extension\CoreExtension::default(CoreExtension::getAttribute($this->env, $this->source, (isset($context["subtypeCabinTypeMap"]) || array_key_exists("subtypeCabinTypeMap", $context) ? $context["subtypeCabinTypeMap"] : (function () { throw new RuntimeError('Variable "subtypeCabinTypeMap" does not exist.', 53, $this->source); })()), (CoreExtension::getAttribute($this->env, $this->source, $context["subType"], "id", [], "any", false, false, false, 53) . ""), [], "array", false, false, false, 53), ((CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, $context["subType"], "cabinType", [], "any", false, true, false, 53), "id", [], "any", true, true, false, 53)) ? (Twig\Extension\CoreExtension::default(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, $context["subType"], "cabinType", [], "any", false, false, false, 53), "id", [], "any", false, false, false, 53), "")) : ("")))) : (((CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, $context["subType"], "cabinType", [], "any", false, true, false, 53), "id", [], "any", true, true, false, 53)) ? (Twig\Extension\CoreExtension::default(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, $context["subType"], "cabinType", [], "any", false, false, false, 53), "id", [], "any", false, false, false, 53), "")) : (""))));
// line 54
yield "\t\t\t\t\t\t";
$context["tableModalMinPrice"] = null;
// line 55
yield "\t\t\t\t\t\t";
$context['_parent'] = $context;
$context['_seq'] = CoreExtension::ensureTraversable((isset($context["allDepartures"]) || array_key_exists("allDepartures", $context) ? $context["allDepartures"] : (function () { throw new RuntimeError('Variable "allDepartures" does not exist.', 55, $this->source); })()));
foreach ($context['_seq'] as $context["_key"] => $context["departureCruise"]) {
// line 56
yield "\t\t\t\t\t\t\t";
$context["bestPriceObj"] = $this->extensions['App\Twig\Price\PriceExtension']->getBestPriceForCruiseCabinSubType($context["departureCruise"], $context["subType"]);
// line 57
yield "\t\t\t\t\t\t\t";
$context["priceValue"] = (((($tmp = (isset($context["bestPriceObj"]) || array_key_exists("bestPriceObj", $context) ? $context["bestPriceObj"] : (function () { throw new RuntimeError('Variable "bestPriceObj" does not exist.', 57, $this->source); })())) && $tmp instanceof Markup ? (string) $tmp : $tmp)) ? (Twig\Extension\CoreExtension::round(((CoreExtension::getAttribute($this->env, $this->source, ($context["bestPriceObj"] ?? null), "baseCostDouble", [], "any", true, true, false, 57)) ? (Twig\Extension\CoreExtension::default(CoreExtension::getAttribute($this->env, $this->source, (isset($context["bestPriceObj"]) || array_key_exists("bestPriceObj", $context) ? $context["bestPriceObj"] : (function () { throw new RuntimeError('Variable "bestPriceObj" does not exist.', 57, $this->source); })()), "baseCostDouble", [], "any", false, false, false, 57), 0)) : (0)), 0, "ceil")) : (0));
// line 58
yield "\t\t\t\t\t\t\t";
if ((((isset($context["priceValue"]) || array_key_exists("priceValue", $context) ? $context["priceValue"] : (function () { throw new RuntimeError('Variable "priceValue" does not exist.', 58, $this->source); })()) > 0) && ((null === (isset($context["tableModalMinPrice"]) || array_key_exists("tableModalMinPrice", $context) ? $context["tableModalMinPrice"] : (function () { throw new RuntimeError('Variable "tableModalMinPrice" does not exist.', 58, $this->source); })())) || ((isset($context["priceValue"]) || array_key_exists("priceValue", $context) ? $context["priceValue"] : (function () { throw new RuntimeError('Variable "priceValue" does not exist.', 58, $this->source); })()) < (isset($context["tableModalMinPrice"]) || array_key_exists("tableModalMinPrice", $context) ? $context["tableModalMinPrice"] : (function () { throw new RuntimeError('Variable "tableModalMinPrice" does not exist.', 58, $this->source); })()))))) {
// line 59
yield "\t\t\t\t\t\t\t\t";
$context["tableModalMinPrice"] = (isset($context["priceValue"]) || array_key_exists("priceValue", $context) ? $context["priceValue"] : (function () { throw new RuntimeError('Variable "priceValue" does not exist.', 59, $this->source); })());
// line 60
yield "\t\t\t\t\t\t\t";
}
// line 61
yield "\t\t\t\t\t\t";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_key'], $context['departureCruise'], $context['_parent']);
$context = array_intersect_key($context, $_parent);
$context += $_parent;
// line 62
yield "
\t\t\t\t\t\t<tr>
\t\t\t\t\t\t\t<th scope=\"row\" class=\"pricing-table-row-label sticky-col\" data-subtype-id=\"";
// line 64
yield (string) $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["subType"], "id", [], "any", false, false, false, 64), "html", null, true);
yield "\">
\t\t\t\t\t\t\t\t";
// line 65
yield from $this->load("pages/_includes/details/_other-departures-table.html.twig", 65, 1)->unwrap()->yield(CoreExtension::merge($context, ["cabinTypeId" => // line 66
(isset($context["cabinTypeId"]) || array_key_exists("cabinTypeId", $context) ? $context["cabinTypeId"] : (function () { throw new RuntimeError('Variable "cabinTypeId" does not exist.', 66, $this->source); })()), "subTypeId" => CoreExtension::getAttribute($this->env, $this->source, // line 67
$context["subType"], "id", [], "any", false, false, false, 67), "linkClass" => "pricing-table-row-label-link", "modalMinPrice" => // line 69
(isset($context["tableModalMinPrice"]) || array_key_exists("tableModalMinPrice", $context) ? $context["tableModalMinPrice"] : (function () { throw new RuntimeError('Variable "tableModalMinPrice" does not exist.', 69, $this->source); })())]));
// line 76
yield "\t\t\t\t\t\t\t</th>
\t\t\t\t\t\t\t";
// line 78
if ((($tmp = CoreExtension::getAttribute($this->env, $this->source, $context["loop"], "first", [], "any", false, false, false, 78)) && $tmp instanceof Markup ? (string) $tmp : $tmp)) {
// line 79
yield "\t\t\t\t\t\t\t\t<td class=\"pricing-table-arrow-col pricing-table-arrow-col--left sticky-arrow-col\" rowspan=\"";
yield (string) $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(Twig\Extension\CoreExtension::length($this->env->getCharset(), (isset($context["subTypes"]) || array_key_exists("subTypes", $context) ? $context["subTypes"] : (function () { throw new RuntimeError('Variable "subTypes" does not exist.', 79, $this->source); })())), "html", null, true);
yield "\">
\t\t\t\t\t\t\t\t\t<button type=\"button\" class=\"arrow left-arrow br1\" aria-label=\"";
// line 80
yield (string) $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("details.cabin_choice.pricing_table.scroll_left"), "html", null, true);
yield "\">
\t\t\t\t\t\t\t\t\t\t<div class=\"icon\">";
// line 81
yield (string) $this->env->getFunction('getLucidIcon')->getCallable()("chevron-left");
yield "</div>
\t\t\t\t\t\t\t\t\t</button>
\t\t\t\t\t\t\t\t</td>
\t\t\t\t\t\t\t";
}
// line 85
yield "\t\t\t\t\t\t\t";
$context['_parent'] = $context;
$context['_seq'] = CoreExtension::ensureTraversable((isset($context["allDepartures"]) || array_key_exists("allDepartures", $context) ? $context["allDepartures"] : (function () { throw new RuntimeError('Variable "allDepartures" does not exist.', 85, $this->source); })()));
$context['loop'] = [
'parent' => $context['_parent'],
'index0' => 0,
'index' => 1,
'first' => true,
];
if (is_array($context['_seq']) || (is_object($context['_seq']) && $context['_seq'] instanceof \Countable)) {
$length = count($context['_seq']);
$context['loop']['revindex0'] = $length - 1;
$context['loop']['revindex'] = $length;
$context['loop']['length'] = $length;
$context['loop']['last'] = 1 === $length;
}
foreach ($context['_seq'] as $context["_key"] => $context["departureCruise"]) {
// line 86
yield "\t\t\t\t\t\t\t\t";
$context["isSelectedDeparture"] = (((($tmp = CoreExtension::getAttribute($this->env, $this->source, $context["departureCruise"], "departureDate", [], "any", false, false, false, 86)) && $tmp instanceof Markup ? (string) $tmp : $tmp) && (($tmp = CoreExtension::getAttribute($this->env, $this->source, (isset($context["currentCruise"]) || array_key_exists("currentCruise", $context) ? $context["currentCruise"] : (function () { throw new RuntimeError('Variable "currentCruise" does not exist.', 86, $this->source); })()), "departureDate", [], "any", false, false, false, 86)) && $tmp instanceof Markup ? (string) $tmp : $tmp)) && ($this->extensions['Twig\Extension\CoreExtension']->formatDate(CoreExtension::getAttribute($this->env, $this->source, $context["departureCruise"], "departureDate", [], "any", false, false, false, 86), "Y-m-d") == $this->extensions['Twig\Extension\CoreExtension']->formatDate(CoreExtension::getAttribute($this->env, $this->source, (isset($context["currentCruise"]) || array_key_exists("currentCruise", $context) ? $context["currentCruise"] : (function () { throw new RuntimeError('Variable "currentCruise" does not exist.', 86, $this->source); })()), "departureDate", [], "any", false, false, false, 86), "Y-m-d")));
// line 87
yield "\t\t\t\t\t\t\t\t";
$context["cellBestPriceObj"] = $this->extensions['App\Twig\Price\PriceExtension']->getBestPriceForCruiseCabinSubType($context["departureCruise"], $context["subType"]);
// line 88
yield "\t\t\t\t\t\t\t\t";
$context["rawBestPrice"] = (((($tmp = (isset($context["cellBestPriceObj"]) || array_key_exists("cellBestPriceObj", $context) ? $context["cellBestPriceObj"] : (function () { throw new RuntimeError('Variable "cellBestPriceObj" does not exist.', 88, $this->source); })())) && $tmp instanceof Markup ? (string) $tmp : $tmp)) ? (Twig\Extension\CoreExtension::round(((CoreExtension::getAttribute($this->env, $this->source, ($context["cellBestPriceObj"] ?? null), "baseCostDouble", [], "any", true, true, false, 88)) ? (Twig\Extension\CoreExtension::default(CoreExtension::getAttribute($this->env, $this->source, (isset($context["cellBestPriceObj"]) || array_key_exists("cellBestPriceObj", $context) ? $context["cellBestPriceObj"] : (function () { throw new RuntimeError('Variable "cellBestPriceObj" does not exist.', 88, $this->source); })()), "baseCostDouble", [], "any", false, false, false, 88), 0)) : (0)), 0, "ceil")) : (0));
// line 89
yield "\t\t\t\t\t\t\t\t";
$context["departureCompany"] = ((CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, $context["departureCruise"], "ship", [], "any", false, true, false, 89), "company", [], "any", true, true, false, 89)) ? (Twig\Extension\CoreExtension::default(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, $context["departureCruise"], "ship", [], "any", false, false, false, 89), "company", [], "any", false, false, false, 89), null)) : (null));
// line 90
yield "\t\t\t\t\t\t\t\t";
$context["departureCompanyName"] = ((CoreExtension::getAttribute($this->env, $this->source, ($context["departureCompany"] ?? null), "name", [], "any", true, true, false, 90)) ? (Twig\Extension\CoreExtension::default(CoreExtension::getAttribute($this->env, $this->source, (isset($context["departureCompany"]) || array_key_exists("departureCompany", $context) ? $context["departureCompany"] : (function () { throw new RuntimeError('Variable "departureCompany" does not exist.', 90, $this->source); })()), "name", [], "any", false, false, false, 90), "")) : (""));
// line 91
yield "\t\t\t\t\t\t\t\t";
$context["hasDirectOnline"] = CoreExtension::inFilter(((CoreExtension::getAttribute($this->env, $this->source, ($context["departureCompany"] ?? null), "id", [], "any", true, true, false, 91)) ? (Twig\Extension\CoreExtension::default(CoreExtension::getAttribute($this->env, $this->source, (isset($context["departureCompany"]) || array_key_exists("departureCompany", $context) ? $context["departureCompany"] : (function () { throw new RuntimeError('Variable "departureCompany" does not exist.', 91, $this->source); })()), "id", [], "any", false, false, false, 91), null)) : (null)), (isset($context["companiesWithFullWebIds"]) || array_key_exists("companiesWithFullWebIds", $context) ? $context["companiesWithFullWebIds"] : (function () { throw new RuntimeError('Variable "companiesWithFullWebIds" does not exist.', 91, $this->source); })()));
// line 92
yield "\t\t\t\t\t\t\t\t<td class=\"pricing-table-cell";
if (((isset($context["rawBestPrice"]) || array_key_exists("rawBestPrice", $context) ? $context["rawBestPrice"] : (function () { throw new RuntimeError('Variable "rawBestPrice" does not exist.', 92, $this->source); })()) <= 0)) {
yield " is-full";
}
if ((($tmp = (isset($context["isSelectedDeparture"]) || array_key_exists("isSelectedDeparture", $context) ? $context["isSelectedDeparture"] : (function () { throw new RuntimeError('Variable "isSelectedDeparture" does not exist.', 92, $this->source); })())) && $tmp instanceof Markup ? (string) $tmp : $tmp)) {
yield " is-selected";
}
yield " ";
yield (string) ((((isset($context["rawBestPrice"]) || array_key_exists("rawBestPrice", $context) ? $context["rawBestPrice"] : (function () { throw new RuntimeError('Variable "rawBestPrice" does not exist.', 92, $this->source); })()) == (isset($context["bestUpComingPrice"]) || array_key_exists("bestUpComingPrice", $context) ? $context["bestUpComingPrice"] : (function () { throw new RuntimeError('Variable "bestUpComingPrice" does not exist.', 92, $this->source); })()))) ? ("is-best-price") : (""));
yield "\" data-departure-index=\"";
yield (string) $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["loop"], "index0", [], "any", false, false, false, 92), "html", null, true);
yield "\">
\t\t\t\t\t\t\t\t\t";
// line 93
if (((isset($context["rawBestPrice"]) || array_key_exists("rawBestPrice", $context) ? $context["rawBestPrice"] : (function () { throw new RuntimeError('Variable "rawBestPrice" does not exist.', 93, $this->source); })()) > 0)) {
// line 94
yield "\t\t\t\t\t\t\t\t\t\t";
$context["departureDateLabel"] = (((($tmp = CoreExtension::getAttribute($this->env, $this->source, $context["departureCruise"], "departureDate", [], "any", false, false, false, 94)) && $tmp instanceof Markup ? (string) $tmp : $tmp)) ? ($this->extensions['Twig\Extension\CoreExtension']->formatDate(CoreExtension::getAttribute($this->env, $this->source, $context["departureCruise"], "departureDate", [], "any", false, false, false, 94), "d/m/Y")) : (""));
// line 95
yield "\t\t\t\t\t\t\t\t\t\t";
$context["dddUrl"] = ((((("details/reservation?croisiere=" . CoreExtension::getAttribute($this->env, $this->source, $context["departureCruise"], "id", [], "any", false, false, false, 95)) . "&type=") . (isset($context["cabinTypeId"]) || array_key_exists("cabinTypeId", $context) ? $context["cabinTypeId"] : (function () { throw new RuntimeError('Variable "cabinTypeId" does not exist.', 95, $this->source); })())) . "&subtype=") . CoreExtension::getAttribute($this->env, $this->source, $context["subType"], "id", [], "any", false, false, false, 95));
// line 96
yield "\t\t\t\t\t\t\t\t\t\t<button
\t\t\t\t\t\t\t\t\t\t\ttype=\"button\"
\t\t\t\t\t\t\t\t\t\t\tclass=\"pricing-table-cell-link\"
\t\t\t\t\t\t\t\t\t\t\tdata-cruise-id=\"";
// line 99
yield (string) $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["departureCruise"], "id", [], "any", false, false, false, 99), "html", null, true);
yield "\"
\t\t\t\t\t\t\t\t\t\t\tdata-subtype-id=\"";
// line 100
yield (string) $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["subType"], "id", [], "any", false, false, false, 100), "html", null, true);
yield "\"
\t\t\t\t\t\t\t\t\t\t\tdata-cabin-type-id=\"";
// line 101
yield (string) $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((isset($context["cabinTypeId"]) || array_key_exists("cabinTypeId", $context) ? $context["cabinTypeId"] : (function () { throw new RuntimeError('Variable "cabinTypeId" does not exist.', 101, $this->source); })()), "html", null, true);
yield "\"
\t\t\t\t\t\t\t\t\t\t\tdata-price=\"";
// line 102
yield (string) $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((isset($context["rawBestPrice"]) || array_key_exists("rawBestPrice", $context) ? $context["rawBestPrice"] : (function () { throw new RuntimeError('Variable "rawBestPrice" does not exist.', 102, $this->source); })()), "html", null, true);
yield "\"
\t\t\t\t\t\t\t\t\t\t\tdata-departure-date=\"";
// line 103
yield (string) $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((isset($context["departureDateLabel"]) || array_key_exists("departureDateLabel", $context) ? $context["departureDateLabel"] : (function () { throw new RuntimeError('Variable "departureDateLabel" does not exist.', 103, $this->source); })()), "html", null, true);
yield "\"
\t\t\t\t\t\t\t\t\t\t\tdata-subtype-name=\"";
// line 104
yield (string) $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["subType"], "name", [], "any", false, false, false, 104), "html", null, true);
yield "\"
\t\t\t\t\t\t\t\t\t\t\tdata-company-name=\"";
// line 105
yield (string) $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((isset($context["departureCompanyName"]) || array_key_exists("departureCompanyName", $context) ? $context["departureCompanyName"] : (function () { throw new RuntimeError('Variable "departureCompanyName" does not exist.', 105, $this->source); })()), "html", null, true);
yield "\"
\t\t\t\t\t\t\t\t\t\t\tdata-direct-online=\"";
// line 106
yield (string) (((($tmp = (isset($context["hasDirectOnline"]) || array_key_exists("hasDirectOnline", $context) ? $context["hasDirectOnline"] : (function () { throw new RuntimeError('Variable "hasDirectOnline" does not exist.', 106, $this->source); })())) && $tmp instanceof Markup ? (string) $tmp : $tmp)) ? ("1") : ("0"));
yield "\"
\t\t\t\t\t\t\t\t\t\t\tdata-ddd-url=\"";
// line 107
yield (string) $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((isset($context["dddUrl"]) || array_key_exists("dddUrl", $context) ? $context["dddUrl"] : (function () { throw new RuntimeError('Variable "dddUrl" does not exist.', 107, $this->source); })()), "html", null, true);
yield "\"
\t\t\t\t\t\t\t\t\t\t\tdata-reservation-url=\"";
// line 108
yield (string) $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((isset($context["dddUrl"]) || array_key_exists("dddUrl", $context) ? $context["dddUrl"] : (function () { throw new RuntimeError('Variable "dddUrl" does not exist.', 108, $this->source); })()), "html", null, true);
yield "\"
\t\t\t\t\t\t\t\t\t\t\taria-label=\"";
// line 109
yield (string) $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("details.type_of_quote.open_for", ["%cabin%" => CoreExtension::getAttribute($this->env, $this->source, $context["subType"], "name", [], "any", false, false, false, 109), "%date%" => (isset($context["departureDateLabel"]) || array_key_exists("departureDateLabel", $context) ? $context["departureDateLabel"] : (function () { throw new RuntimeError('Variable "departureDateLabel" does not exist.', 109, $this->source); })())]), "html", null, true);
yield "\"
\t\t\t\t\t\t\t\t\t\t>
\t\t\t\t\t\t\t\t\t\t\t<span class=\"from text-sm-rg color-grey-text\">";
// line 111
yield (string) $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("details.cabin_choice.pricing_table.from_label"), "html", null, true);
yield "</span>
\t\t\t\t\t\t\t\t\t\t\t<span class=\"value text-lg-sebd color-price-tags-primary\">";
// line 112
yield (string) $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Twig\Extension\CoreExtension']->formatNumber((isset($context["rawBestPrice"]) || array_key_exists("rawBestPrice", $context) ? $context["rawBestPrice"] : (function () { throw new RuntimeError('Variable "rawBestPrice" does not exist.', 112, $this->source); })()), 0, ",", " "), "html", null, true);
yield " €</span>
\t\t\t\t\t\t\t\t\t\t</button>
\t\t\t\t\t\t\t\t\t";
} else {
// line 115
yield "\t\t\t\t\t\t\t\t\t\t<div class=\"pricing-table-cell-link pricing-table-cell-link--static\">
\t\t\t\t\t\t\t\t\t\t\t<span class=\"full text-md-bd color-grey\">";
// line 116
yield (string) $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("details.cabin_choice.pricing_table.full"), "html", null, true);
yield "</span>
\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t";
}
// line 119
yield "\t\t\t\t\t\t\t\t</td>
\t\t\t\t\t\t\t";
++$context['loop']['index0'];
++$context['loop']['index'];
$context['loop']['first'] = false;
if (isset($context['loop']['revindex0'], $context['loop']['revindex'])) {
--$context['loop']['revindex0'];
--$context['loop']['revindex'];
$context['loop']['last'] = 0 === $context['loop']['revindex0'];
}
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_key'], $context['departureCruise'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent);
$context += $_parent;
// line 121
yield "\t\t\t\t\t\t\t";
if ((($tmp = CoreExtension::getAttribute($this->env, $this->source, $context["loop"], "first", [], "any", false, false, false, 121)) && $tmp instanceof Markup ? (string) $tmp : $tmp)) {
// line 122
yield "\t\t\t\t\t\t\t\t<td class=\"pricing-table-arrow-col pricing-table-arrow-col--right sticky-arrow-col-right\" rowspan=\"";
yield (string) $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(Twig\Extension\CoreExtension::length($this->env->getCharset(), (isset($context["subTypes"]) || array_key_exists("subTypes", $context) ? $context["subTypes"] : (function () { throw new RuntimeError('Variable "subTypes" does not exist.', 122, $this->source); })())), "html", null, true);
yield "\">
\t\t\t\t\t\t\t\t\t<button type=\"button\" class=\"arrow right-arrow br1\" aria-label=\"";
// line 123
yield (string) $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("details.cabin_choice.pricing_table.scroll_right"), "html", null, true);
yield "\">
\t\t\t\t\t\t\t\t\t\t<div class=\"icon\">";
// line 124
yield (string) $this->env->getFunction('getLucidIcon')->getCallable()("chevron-right");
yield "</div>
\t\t\t\t\t\t\t\t\t</button>
\t\t\t\t\t\t\t\t</td>
\t\t\t\t\t\t\t";
}
// line 128
yield "\t\t\t\t\t\t</tr>
\t\t\t\t\t";
++$context['loop']['index0'];
++$context['loop']['index'];
$context['loop']['first'] = false;
if (isset($context['loop']['revindex0'], $context['loop']['revindex'])) {
--$context['loop']['revindex0'];
--$context['loop']['revindex'];
$context['loop']['last'] = 0 === $context['loop']['revindex0'];
}
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_key'], $context['subType'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent);
$context += $_parent;
// line 130
yield "\t\t\t\t</tbody>
\t\t\t</table>
\t\t</div>
\t</div>
</div>
";
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
yield from [];
}
/**
* @codeCoverageIgnore
*/
public function getTemplateName(): string
{
return "pages/_includes/details/_other-departures-table.html.twig";
}
/**
* @codeCoverageIgnore
*/
public function isTraitable(): bool
{
return false;
}
/**
* @codeCoverageIgnore
*/
public function getDebugInfo(): array
{
return array ( 463 => 130, 447 => 128, 440 => 124, 436 => 123, 431 => 122, 428 => 121, 412 => 119, 406 => 116, 403 => 115, 397 => 112, 393 => 111, 388 => 109, 384 => 108, 380 => 107, 376 => 106, 372 => 105, 368 => 104, 364 => 103, 360 => 102, 356 => 101, 352 => 100, 348 => 99, 343 => 96, 340 => 95, 337 => 94, 335 => 93, 321 => 92, 318 => 91, 315 => 90, 312 => 89, 309 => 88, 306 => 87, 303 => 86, 285 => 85, 278 => 81, 274 => 80, 269 => 79, 267 => 78, 263 => 76, 261 => 69, 260 => 67, 259 => 66, 258 => 65, 254 => 64, 250 => 62, 243 => 61, 240 => 60, 237 => 59, 234 => 58, 231 => 57, 228 => 56, 223 => 55, 220 => 54, 217 => 53, 214 => 52, 211 => 51, 208 => 50, 205 => 49, 202 => 48, 199 => 47, 196 => 46, 179 => 45, 173 => 41, 157 => 39, 151 => 37, 149 => 36, 146 => 35, 141 => 33, 137 => 32, 132 => 31, 130 => 30, 120 => 28, 117 => 27, 114 => 26, 97 => 25, 91 => 22, 87 => 21, 80 => 16, 72 => 14, 68 => 13, 58 => 5, 56 => 4, 54 => 3, 51 => 2, 49 => 1,);
}
public function getSourceContext(): Source
{
return new Source("{% import \x27_snippets/components/macros/date.html.twig\x27 as dateMacros %}
{% set companiesWithFullWeb = getCompaniesWithFullWeb() %}
{% set companiesWithFullWebIds = companiesWithFullWeb|map(c => c.id) %}
<div class=\"other-departures-view other-departures-view--table is-active\" data-view-panel=\"table\">
\t<div class=\"pricing-table-wrapper\">
\t\t<div class=\"pricing-table-scroll\">
\t\t\t<table class=\"pricing-table\">
\t\t\t\t<colgroup>
\t\t\t\t\t<col class=\"pricing-table-col-sticky\">
\t\t\t\t\t<col class=\"pricing-table-col-arrow\">
\t\t\t\t\t{% for departureCruise in allDepartures %}
\t\t\t\t\t\t<col class=\"pricing-table-col-date\">
\t\t\t\t\t{% endfor %}
\t\t\t\t\t<col class=\"pricing-table-col-arrow\">
\t\t\t\t</colgroup>
\t\t\t\t<thead>
\t\t\t\t\t<tr>
\t\t\t\t\t\t<th scope=\"col\" class=\"pricing-table-corner sticky-col\">
\t\t\t\t\t\t\t<span class=\"text-md-sbd color-primary-color\">{{ \x27details.cabin_choice.pricing_table.double_occupancy_rates\x27|trans }}</span>
\t\t\t\t\t\t\t<span class=\"text-xs-rg color-grey-text\">{{ \x27details.cabin_choice.pricing_table.mandatory_service_fees\x27|trans }}</span>
\t\t\t\t\t\t</th>
\t\t\t\t\t\t<th scope=\"col\" class=\"pricing-table-arrow-col pricing-table-arrow-col--left sticky-arrow-col\" aria-hidden=\"true\"></th>
\t\t\t\t\t\t{% for departureCruise in allDepartures %}
\t\t\t\t\t\t\t{% set isSelectedDeparture = departureCruise.departureDate and currentCruise.departureDate and departureCruise.departureDate|date(\x27Y-m-d\x27) == currentCruise.departureDate|date(\x27Y-m-d\x27) %}
\t\t\t\t\t\t\t{% set departureMonth = departureCruise.departureDate ? departureCruise.departureDate|date(\x27n\x27) : 0 %}
\t\t\t\t\t\t\t<th scope=\"col\" class=\"pricing-table-header{% if isSelectedDeparture %} is-selected{% endif %}\" data-departure-index=\"{{ loop.index0 }}\">
\t\t\t\t\t\t\t\t<span class=\"date text-sm-md\">
\t\t\t\t\t\t\t\t\t{% if departureCruise.departureDate %}
\t\t\t\t\t\t\t\t\t\t{{ departureCruise.departureDate|date(\x27d\x27) }}
\t\t\t\t\t\t\t\t\t\t{{ dateMacros.short_month_fr(departureMonth) }}
\t\t\t\t\t\t\t\t\t\t{{ departureCruise.departureDate|date(\x27Y\x27) }}
\t\t\t\t\t\t\t\t\t{% endif %}
\t\t\t\t\t\t\t\t</span>
\t\t\t\t\t\t\t\t{% if isSelectedDeparture %}
\t\t\t\t\t\t\t\t\t<span class=\"selected-label text-2xs-rg color-grey-text\">{{ \x27details.cabin_choice.pricing_table.selected_departure\x27|trans }}</span>
\t\t\t\t\t\t\t\t{% endif %}
\t\t\t\t\t\t\t</th>
\t\t\t\t\t\t{% endfor %}
\t\t\t\t\t\t<th scope=\"col\" class=\"pricing-table-arrow-col pricing-table-arrow-col--right sticky-arrow-col-right\" aria-hidden=\"true\"></th>
\t\t\t\t\t</tr>
\t\t\t\t</thead>
\t\t\t\t<tbody>
\t\t\t\t\t{% for subType in subTypes %}
\t\t\t\t\t\t{% set subtypeShortLabel = subType.shortName|default(\x27\x27)|trim %}
\t\t\t\t\t\t{% if subtypeShortLabel is empty %}
\t\t\t\t\t\t\t{% set subtypeShortLabel = subType.name|default(\x27\x27)|trim %}
\t\t\t\t\t\t{% endif %}
\t\t\t\t\t\t{% if subtypeShortLabel is empty %}
\t\t\t\t\t\t\t{% set subtypeShortLabel = \x27%02d\x27|format(loop.index0) %}
\t\t\t\t\t\t{% endif %}
\t\t\t\t\t\t{% set cabinTypeId = subtypeCabinTypeMap[subType.id ~ \x27\x27]|default(subType.cabinType.id|default(\x27\x27)) %}
\t\t\t\t\t\t{% set tableModalMinPrice = null %}
\t\t\t\t\t\t{% for departureCruise in allDepartures %}
\t\t\t\t\t\t\t{% set bestPriceObj = getBestPriceForCruiseCabinSubType(departureCruise, subType) %}
\t\t\t\t\t\t\t{% set priceValue = bestPriceObj ? bestPriceObj.baseCostDouble|default(0)|round(0, \x27ceil\x27) : 0 %}
\t\t\t\t\t\t\t{% if priceValue > 0 and (tableModalMinPrice is null or priceValue < tableModalMinPrice) %}
\t\t\t\t\t\t\t\t{% set tableModalMinPrice = priceValue %}
\t\t\t\t\t\t\t{% endif %}
\t\t\t\t\t\t{% endfor %}
\t\t\t\t\t\t<tr>
\t\t\t\t\t\t\t<th scope=\"row\" class=\"pricing-table-row-label sticky-col\" data-subtype-id=\"{{ subType.id }}\">
\t\t\t\t\t\t\t\t{% embed \x27pages/_includes/partials/_cabin-modal-link.html.twig\x27 with {
\t\t\t\t\t\t\t\t\tcabinTypeId: cabinTypeId,
\t\t\t\t\t\t\t\t\tsubTypeId: subType.id,
\t\t\t\t\t\t\t\t\tlinkClass: \x27pricing-table-row-label-link\x27,
\t\t\t\t\t\t\t\t\tmodalMinPrice: tableModalMinPrice
\t\t\t\t\t\t\t\t} %}
\t\t\t\t\t\t\t\t\t{% block link_content %}
\t\t\t\t\t\t\t\t\t\t<span class=\"subtype-code text-xs-bd\">{{ subtypeShortLabel }}</span>
\t\t\t\t\t\t\t\t\t\t<span class=\"subtype-name text-md-sbd\">{{ getLucidIcon(\x27info\x27) }} {{ subType.name }}</span>
\t\t\t\t\t\t\t\t\t{% endblock %}
\t\t\t\t\t\t\t\t{% endembed %}
\t\t\t\t\t\t\t</th>
\t\t\t\t\t\t\t{% if loop.first %}
\t\t\t\t\t\t\t\t<td class=\"pricing-table-arrow-col pricing-table-arrow-col--left sticky-arrow-col\" rowspan=\"{{ subTypes|length }}\">
\t\t\t\t\t\t\t\t\t<button type=\"button\" class=\"arrow left-arrow br1\" aria-label=\"{{ \x27details.cabin_choice.pricing_table.scroll_left\x27|trans }}\">
\t\t\t\t\t\t\t\t\t\t<div class=\"icon\">{{ getLucidIcon(\x27chevron-left\x27) }}</div>
\t\t\t\t\t\t\t\t\t</button>
\t\t\t\t\t\t\t\t</td>
\t\t\t\t\t\t\t{% endif %}
\t\t\t\t\t\t\t{% for departureCruise in allDepartures %}
\t\t\t\t\t\t\t\t{% set isSelectedDeparture = departureCruise.departureDate and currentCruise.departureDate and departureCruise.departureDate|date(\x27Y-m-d\x27) == currentCruise.departureDate|date(\x27Y-m-d\x27) %}
\t\t\t\t\t\t\t\t{% set cellBestPriceObj = getBestPriceForCruiseCabinSubType(departureCruise, subType) %}
\t\t\t\t\t\t\t\t{% set rawBestPrice = cellBestPriceObj ? cellBestPriceObj.baseCostDouble|default(0)|round(0, \x27ceil\x27) : 0 %}
\t\t\t\t\t\t\t\t{% set departureCompany = departureCruise.ship.company|default(null) %}
\t\t\t\t\t\t\t\t{% set departureCompanyName = departureCompany.name|default(\x27\x27) %}
\t\t\t\t\t\t\t\t{% set hasDirectOnline = departureCompany.id|default(null) in companiesWithFullWebIds %}
\t\t\t\t\t\t\t\t<td class=\"pricing-table-cell{% if rawBestPrice <= 0 %} is-full{% endif %}{% if isSelectedDeparture %} is-selected{% endif %} {{ rawBestPrice == bestUpComingPrice ? \x27is-best-price\x27 : \x27\x27 }}\" data-departure-index=\"{{ loop.index0 }}\">
\t\t\t\t\t\t\t\t\t{% if rawBestPrice > 0 %}
\t\t\t\t\t\t\t\t\t\t{% set departureDateLabel = departureCruise.departureDate ? departureCruise.departureDate|date(\x27d/m/Y\x27) : \x27\x27 %}
\t\t\t\t\t\t\t\t\t\t{% set dddUrl = \x27details/reservation?croisiere=\x27 ~ departureCruise.id ~ \x27&type=\x27 ~ cabinTypeId ~ \x27&subtype=\x27 ~ subType.id %}
\t\t\t\t\t\t\t\t\t\t<button
\t\t\t\t\t\t\t\t\t\t\ttype=\"button\"
\t\t\t\t\t\t\t\t\t\t\tclass=\"pricing-table-cell-link\"
\t\t\t\t\t\t\t\t\t\t\tdata-cruise-id=\"{{ departureCruise.id }}\"
\t\t\t\t\t\t\t\t\t\t\tdata-subtype-id=\"{{ subType.id }}\"
\t\t\t\t\t\t\t\t\t\t\tdata-cabin-type-id=\"{{ cabinTypeId }}\"
\t\t\t\t\t\t\t\t\t\t\tdata-price=\"{{ rawBestPrice }}\"
\t\t\t\t\t\t\t\t\t\t\tdata-departure-date=\"{{ departureDateLabel }}\"
\t\t\t\t\t\t\t\t\t\t\tdata-subtype-name=\"{{ subType.name }}\"
\t\t\t\t\t\t\t\t\t\t\tdata-company-name=\"{{ departureCompanyName }}\"
\t\t\t\t\t\t\t\t\t\t\tdata-direct-online=\"{{ hasDirectOnline ? \x271\x27 : \x270\x27 }}\"
\t\t\t\t\t\t\t\t\t\t\tdata-ddd-url=\"{{ dddUrl }}\"
\t\t\t\t\t\t\t\t\t\t\tdata-reservation-url=\"{{ dddUrl }}\"
\t\t\t\t\t\t\t\t\t\t\taria-label=\"{{ \x27details.type_of_quote.open_for\x27|trans({\x27%cabin%\x27: subType.name, \x27%date%\x27: departureDateLabel}) }}\"
\t\t\t\t\t\t\t\t\t\t>
\t\t\t\t\t\t\t\t\t\t\t<span class=\"from text-sm-rg color-grey-text\">{{ \x27details.cabin_choice.pricing_table.from_label\x27|trans }}</span>
\t\t\t\t\t\t\t\t\t\t\t<span class=\"value text-lg-sebd color-price-tags-primary\">{{ rawBestPrice|number_format(0, \x27,\x27, \x27 \x27) }} €</span>
\t\t\t\t\t\t\t\t\t\t</button>
\t\t\t\t\t\t\t\t\t{% else %}
\t\t\t\t\t\t\t\t\t\t<div class=\"pricing-table-cell-link pricing-table-cell-link--static\">
\t\t\t\t\t\t\t\t\t\t\t<span class=\"full text-md-bd color-grey\">{{ \x27details.cabin_choice.pricing_table.full\x27|trans }}</span>
\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t{% endif %}
\t\t\t\t\t\t\t\t</td>
\t\t\t\t\t\t\t{% endfor %}
\t\t\t\t\t\t\t{% if loop.first %}
\t\t\t\t\t\t\t\t<td class=\"pricing-table-arrow-col pricing-table-arrow-col--right sticky-arrow-col-right\" rowspan=\"{{ subTypes|length }}\">
\t\t\t\t\t\t\t\t\t<button type=\"button\" class=\"arrow right-arrow br1\" aria-label=\"{{ \x27details.cabin_choice.pricing_table.scroll_right\x27|trans }}\">
\t\t\t\t\t\t\t\t\t\t<div class=\"icon\">{{ getLucidIcon(\x27chevron-right\x27) }}</div>
\t\t\t\t\t\t\t\t\t</button>
\t\t\t\t\t\t\t\t</td>
\t\t\t\t\t\t\t{% endif %}
\t\t\t\t\t\t</tr>
\t\t\t\t\t{% endfor %}
\t\t\t\t</tbody>
\t\t\t</table>
\t\t</div>
\t</div>
</div>
", "pages/_includes/details/_other-departures-table.html.twig", "/home/croisiland-pp/www/f0312421abff37637dabe6f4d57b6afd95d16263/templates/pages/_includes/details/_other-departures-table.html.twig");
}
}
/* pages/_includes/details/_other-departures-table.html.twig */
class __TwigTemplate_e34b8613f19eef1ba7a4f923c056e1ac___1 extends Template
{
private Source $source;
/**
* @var array<string, Template>
*/
private array $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->blocks = [
'link_content' => [$this, 'block_link_content'],
];
}
protected function doGetParent(array $context): bool|string|Template|TemplateWrapper
{
// line 65
return "pages/_includes/partials/_cabin-modal-link.html.twig";
}
protected function doDisplay(array $context, array $blocks = []): iterable
{
$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", "pages/_includes/details/_other-departures-table.html.twig"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "pages/_includes/details/_other-departures-table.html.twig"));
$this->parent = $this->load("pages/_includes/partials/_cabin-modal-link.html.twig", 65);
yield from $this->parent->unwrap()->yield($context, array_merge($this->blocks, $blocks));
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
}
// line 71
/**
* @return iterable<null|scalar|\Stringable>
*/
public function block_link_content(array $context, array $blocks = []): iterable
{
$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", "link_content"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "link_content"));
// line 72
yield "\t\t\t\t\t\t\t\t\t\t<span class=\"subtype-code text-xs-bd\">";
yield (string) $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((isset($context["subtypeShortLabel"]) || array_key_exists("subtypeShortLabel", $context) ? $context["subtypeShortLabel"] : (function () { throw new RuntimeError('Variable "subtypeShortLabel" does not exist.', 72, $this->source); })()), "html", null, true);
yield "</span>
\t\t\t\t\t\t\t\t\t\t<span class=\"subtype-name text-md-sbd\">";
// line 73
yield (string) $this->env->getFunction('getLucidIcon')->getCallable()("info");
yield " ";
yield (string) $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, (isset($context["subType"]) || array_key_exists("subType", $context) ? $context["subType"] : (function () { throw new RuntimeError('Variable "subType" does not exist.', 73, $this->source); })()), "name", [], "any", false, false, false, 73), "html", null, true);
yield "</span>
\t\t\t\t\t\t\t\t\t";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
yield from [];
}
/**
* @codeCoverageIgnore
*/
public function getTemplateName(): string
{
return "pages/_includes/details/_other-departures-table.html.twig";
}
/**
* @codeCoverageIgnore
*/
public function isTraitable(): bool
{
return false;
}
/**
* @codeCoverageIgnore
*/
public function getDebugInfo(): array
{
return array ( 707 => 73, 702 => 72, 689 => 71, 666 => 65, 463 => 130, 447 => 128, 440 => 124, 436 => 123, 431 => 122, 428 => 121, 412 => 119, 406 => 116, 403 => 115, 397 => 112, 393 => 111, 388 => 109, 384 => 108, 380 => 107, 376 => 106, 372 => 105, 368 => 104, 364 => 103, 360 => 102, 356 => 101, 352 => 100, 348 => 99, 343 => 96, 340 => 95, 337 => 94, 335 => 93, 321 => 92, 318 => 91, 315 => 90, 312 => 89, 309 => 88, 306 => 87, 303 => 86, 285 => 85, 278 => 81, 274 => 80, 269 => 79, 267 => 78, 263 => 76, 261 => 69, 260 => 67, 259 => 66, 258 => 65, 254 => 64, 250 => 62, 243 => 61, 240 => 60, 237 => 59, 234 => 58, 231 => 57, 228 => 56, 223 => 55, 220 => 54, 217 => 53, 214 => 52, 211 => 51, 208 => 50, 205 => 49, 202 => 48, 199 => 47, 196 => 46, 179 => 45, 173 => 41, 157 => 39, 151 => 37, 149 => 36, 146 => 35, 141 => 33, 137 => 32, 132 => 31, 130 => 30, 120 => 28, 117 => 27, 114 => 26, 97 => 25, 91 => 22, 87 => 21, 80 => 16, 72 => 14, 68 => 13, 58 => 5, 56 => 4, 54 => 3, 51 => 2, 49 => 1,);
}
public function getSourceContext(): Source
{
return new Source("{% import \x27_snippets/components/macros/date.html.twig\x27 as dateMacros %}
{% set companiesWithFullWeb = getCompaniesWithFullWeb() %}
{% set companiesWithFullWebIds = companiesWithFullWeb|map(c => c.id) %}
<div class=\"other-departures-view other-departures-view--table is-active\" data-view-panel=\"table\">
\t<div class=\"pricing-table-wrapper\">
\t\t<div class=\"pricing-table-scroll\">
\t\t\t<table class=\"pricing-table\">
\t\t\t\t<colgroup>
\t\t\t\t\t<col class=\"pricing-table-col-sticky\">
\t\t\t\t\t<col class=\"pricing-table-col-arrow\">
\t\t\t\t\t{% for departureCruise in allDepartures %}
\t\t\t\t\t\t<col class=\"pricing-table-col-date\">
\t\t\t\t\t{% endfor %}
\t\t\t\t\t<col class=\"pricing-table-col-arrow\">
\t\t\t\t</colgroup>
\t\t\t\t<thead>
\t\t\t\t\t<tr>
\t\t\t\t\t\t<th scope=\"col\" class=\"pricing-table-corner sticky-col\">
\t\t\t\t\t\t\t<span class=\"text-md-sbd color-primary-color\">{{ \x27details.cabin_choice.pricing_table.double_occupancy_rates\x27|trans }}</span>
\t\t\t\t\t\t\t<span class=\"text-xs-rg color-grey-text\">{{ \x27details.cabin_choice.pricing_table.mandatory_service_fees\x27|trans }}</span>
\t\t\t\t\t\t</th>
\t\t\t\t\t\t<th scope=\"col\" class=\"pricing-table-arrow-col pricing-table-arrow-col--left sticky-arrow-col\" aria-hidden=\"true\"></th>
\t\t\t\t\t\t{% for departureCruise in allDepartures %}
\t\t\t\t\t\t\t{% set isSelectedDeparture = departureCruise.departureDate and currentCruise.departureDate and departureCruise.departureDate|date(\x27Y-m-d\x27) == currentCruise.departureDate|date(\x27Y-m-d\x27) %}
\t\t\t\t\t\t\t{% set departureMonth = departureCruise.departureDate ? departureCruise.departureDate|date(\x27n\x27) : 0 %}
\t\t\t\t\t\t\t<th scope=\"col\" class=\"pricing-table-header{% if isSelectedDeparture %} is-selected{% endif %}\" data-departure-index=\"{{ loop.index0 }}\">
\t\t\t\t\t\t\t\t<span class=\"date text-sm-md\">
\t\t\t\t\t\t\t\t\t{% if departureCruise.departureDate %}
\t\t\t\t\t\t\t\t\t\t{{ departureCruise.departureDate|date(\x27d\x27) }}
\t\t\t\t\t\t\t\t\t\t{{ dateMacros.short_month_fr(departureMonth) }}
\t\t\t\t\t\t\t\t\t\t{{ departureCruise.departureDate|date(\x27Y\x27) }}
\t\t\t\t\t\t\t\t\t{% endif %}
\t\t\t\t\t\t\t\t</span>
\t\t\t\t\t\t\t\t{% if isSelectedDeparture %}
\t\t\t\t\t\t\t\t\t<span class=\"selected-label text-2xs-rg color-grey-text\">{{ \x27details.cabin_choice.pricing_table.selected_departure\x27|trans }}</span>
\t\t\t\t\t\t\t\t{% endif %}
\t\t\t\t\t\t\t</th>
\t\t\t\t\t\t{% endfor %}
\t\t\t\t\t\t<th scope=\"col\" class=\"pricing-table-arrow-col pricing-table-arrow-col--right sticky-arrow-col-right\" aria-hidden=\"true\"></th>
\t\t\t\t\t</tr>
\t\t\t\t</thead>
\t\t\t\t<tbody>
\t\t\t\t\t{% for subType in subTypes %}
\t\t\t\t\t\t{% set subtypeShortLabel = subType.shortName|default(\x27\x27)|trim %}
\t\t\t\t\t\t{% if subtypeShortLabel is empty %}
\t\t\t\t\t\t\t{% set subtypeShortLabel = subType.name|default(\x27\x27)|trim %}
\t\t\t\t\t\t{% endif %}
\t\t\t\t\t\t{% if subtypeShortLabel is empty %}
\t\t\t\t\t\t\t{% set subtypeShortLabel = \x27%02d\x27|format(loop.index0) %}
\t\t\t\t\t\t{% endif %}
\t\t\t\t\t\t{% set cabinTypeId = subtypeCabinTypeMap[subType.id ~ \x27\x27]|default(subType.cabinType.id|default(\x27\x27)) %}
\t\t\t\t\t\t{% set tableModalMinPrice = null %}
\t\t\t\t\t\t{% for departureCruise in allDepartures %}
\t\t\t\t\t\t\t{% set bestPriceObj = getBestPriceForCruiseCabinSubType(departureCruise, subType) %}
\t\t\t\t\t\t\t{% set priceValue = bestPriceObj ? bestPriceObj.baseCostDouble|default(0)|round(0, \x27ceil\x27) : 0 %}
\t\t\t\t\t\t\t{% if priceValue > 0 and (tableModalMinPrice is null or priceValue < tableModalMinPrice) %}
\t\t\t\t\t\t\t\t{% set tableModalMinPrice = priceValue %}
\t\t\t\t\t\t\t{% endif %}
\t\t\t\t\t\t{% endfor %}
\t\t\t\t\t\t<tr>
\t\t\t\t\t\t\t<th scope=\"row\" class=\"pricing-table-row-label sticky-col\" data-subtype-id=\"{{ subType.id }}\">
\t\t\t\t\t\t\t\t{% embed \x27pages/_includes/partials/_cabin-modal-link.html.twig\x27 with {
\t\t\t\t\t\t\t\t\tcabinTypeId: cabinTypeId,
\t\t\t\t\t\t\t\t\tsubTypeId: subType.id,
\t\t\t\t\t\t\t\t\tlinkClass: \x27pricing-table-row-label-link\x27,
\t\t\t\t\t\t\t\t\tmodalMinPrice: tableModalMinPrice
\t\t\t\t\t\t\t\t} %}
\t\t\t\t\t\t\t\t\t{% block link_content %}
\t\t\t\t\t\t\t\t\t\t<span class=\"subtype-code text-xs-bd\">{{ subtypeShortLabel }}</span>
\t\t\t\t\t\t\t\t\t\t<span class=\"subtype-name text-md-sbd\">{{ getLucidIcon(\x27info\x27) }} {{ subType.name }}</span>
\t\t\t\t\t\t\t\t\t{% endblock %}
\t\t\t\t\t\t\t\t{% endembed %}
\t\t\t\t\t\t\t</th>
\t\t\t\t\t\t\t{% if loop.first %}
\t\t\t\t\t\t\t\t<td class=\"pricing-table-arrow-col pricing-table-arrow-col--left sticky-arrow-col\" rowspan=\"{{ subTypes|length }}\">
\t\t\t\t\t\t\t\t\t<button type=\"button\" class=\"arrow left-arrow br1\" aria-label=\"{{ \x27details.cabin_choice.pricing_table.scroll_left\x27|trans }}\">
\t\t\t\t\t\t\t\t\t\t<div class=\"icon\">{{ getLucidIcon(\x27chevron-left\x27) }}</div>
\t\t\t\t\t\t\t\t\t</button>
\t\t\t\t\t\t\t\t</td>
\t\t\t\t\t\t\t{% endif %}
\t\t\t\t\t\t\t{% for departureCruise in allDepartures %}
\t\t\t\t\t\t\t\t{% set isSelectedDeparture = departureCruise.departureDate and currentCruise.departureDate and departureCruise.departureDate|date(\x27Y-m-d\x27) == currentCruise.departureDate|date(\x27Y-m-d\x27) %}
\t\t\t\t\t\t\t\t{% set cellBestPriceObj = getBestPriceForCruiseCabinSubType(departureCruise, subType) %}
\t\t\t\t\t\t\t\t{% set rawBestPrice = cellBestPriceObj ? cellBestPriceObj.baseCostDouble|default(0)|round(0, \x27ceil\x27) : 0 %}
\t\t\t\t\t\t\t\t{% set departureCompany = departureCruise.ship.company|default(null) %}
\t\t\t\t\t\t\t\t{% set departureCompanyName = departureCompany.name|default(\x27\x27) %}
\t\t\t\t\t\t\t\t{% set hasDirectOnline = departureCompany.id|default(null) in companiesWithFullWebIds %}
\t\t\t\t\t\t\t\t<td class=\"pricing-table-cell{% if rawBestPrice <= 0 %} is-full{% endif %}{% if isSelectedDeparture %} is-selected{% endif %} {{ rawBestPrice == bestUpComingPrice ? \x27is-best-price\x27 : \x27\x27 }}\" data-departure-index=\"{{ loop.index0 }}\">
\t\t\t\t\t\t\t\t\t{% if rawBestPrice > 0 %}
\t\t\t\t\t\t\t\t\t\t{% set departureDateLabel = departureCruise.departureDate ? departureCruise.departureDate|date(\x27d/m/Y\x27) : \x27\x27 %}
\t\t\t\t\t\t\t\t\t\t{% set dddUrl = \x27details/reservation?croisiere=\x27 ~ departureCruise.id ~ \x27&type=\x27 ~ cabinTypeId ~ \x27&subtype=\x27 ~ subType.id %}
\t\t\t\t\t\t\t\t\t\t<button
\t\t\t\t\t\t\t\t\t\t\ttype=\"button\"
\t\t\t\t\t\t\t\t\t\t\tclass=\"pricing-table-cell-link\"
\t\t\t\t\t\t\t\t\t\t\tdata-cruise-id=\"{{ departureCruise.id }}\"
\t\t\t\t\t\t\t\t\t\t\tdata-subtype-id=\"{{ subType.id }}\"
\t\t\t\t\t\t\t\t\t\t\tdata-cabin-type-id=\"{{ cabinTypeId }}\"
\t\t\t\t\t\t\t\t\t\t\tdata-price=\"{{ rawBestPrice }}\"
\t\t\t\t\t\t\t\t\t\t\tdata-departure-date=\"{{ departureDateLabel }}\"
\t\t\t\t\t\t\t\t\t\t\tdata-subtype-name=\"{{ subType.name }}\"
\t\t\t\t\t\t\t\t\t\t\tdata-company-name=\"{{ departureCompanyName }}\"
\t\t\t\t\t\t\t\t\t\t\tdata-direct-online=\"{{ hasDirectOnline ? \x271\x27 : \x270\x27 }}\"
\t\t\t\t\t\t\t\t\t\t\tdata-ddd-url=\"{{ dddUrl }}\"
\t\t\t\t\t\t\t\t\t\t\tdata-reservation-url=\"{{ dddUrl }}\"
\t\t\t\t\t\t\t\t\t\t\taria-label=\"{{ \x27details.type_of_quote.open_for\x27|trans({\x27%cabin%\x27: subType.name, \x27%date%\x27: departureDateLabel}) }}\"
\t\t\t\t\t\t\t\t\t\t>
\t\t\t\t\t\t\t\t\t\t\t<span class=\"from text-sm-rg color-grey-text\">{{ \x27details.cabin_choice.pricing_table.from_label\x27|trans }}</span>
\t\t\t\t\t\t\t\t\t\t\t<span class=\"value text-lg-sebd color-price-tags-primary\">{{ rawBestPrice|number_format(0, \x27,\x27, \x27 \x27) }} €</span>
\t\t\t\t\t\t\t\t\t\t</button>
\t\t\t\t\t\t\t\t\t{% else %}
\t\t\t\t\t\t\t\t\t\t<div class=\"pricing-table-cell-link pricing-table-cell-link--static\">
\t\t\t\t\t\t\t\t\t\t\t<span class=\"full text-md-bd color-grey\">{{ \x27details.cabin_choice.pricing_table.full\x27|trans }}</span>
\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t{% endif %}
\t\t\t\t\t\t\t\t</td>
\t\t\t\t\t\t\t{% endfor %}
\t\t\t\t\t\t\t{% if loop.first %}
\t\t\t\t\t\t\t\t<td class=\"pricing-table-arrow-col pricing-table-arrow-col--right sticky-arrow-col-right\" rowspan=\"{{ subTypes|length }}\">
\t\t\t\t\t\t\t\t\t<button type=\"button\" class=\"arrow right-arrow br1\" aria-label=\"{{ \x27details.cabin_choice.pricing_table.scroll_right\x27|trans }}\">
\t\t\t\t\t\t\t\t\t\t<div class=\"icon\">{{ getLucidIcon(\x27chevron-right\x27) }}</div>
\t\t\t\t\t\t\t\t\t</button>
\t\t\t\t\t\t\t\t</td>
\t\t\t\t\t\t\t{% endif %}
\t\t\t\t\t\t</tr>
\t\t\t\t\t{% endfor %}
\t\t\t\t</tbody>
\t\t\t</table>
\t\t</div>
\t</div>
</div>
", "pages/_includes/details/_other-departures-table.html.twig", "/home/croisiland-pp/www/f0312421abff37637dabe6f4d57b6afd95d16263/templates/pages/_includes/details/_other-departures-table.html.twig");
}
}