<?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;
/* Registrations/record.html.twig */
class __TwigTemplate_f817fd4560762fc535830bce0dc02a9a9baa63180ff2bf279af6a0ee478fb112 extends Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->parent = false;
$this->blocks = [
];
$macros["_self"] = $this->macros["_self"] = $this;
}
protected function doDisplay(array $context, array $blocks = [])
{
$macros = $this->macros;
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "Registrations/record.html.twig"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "Registrations/record.html.twig"));
// line 1
$context["public"] = ((array_key_exists("public", $context)) ? ((isset($context["public"]) || array_key_exists("public", $context) ? $context["public"] : (function () { throw new RuntimeError('Variable "public" does not exist.', 1, $this->source); })())) : (false));
// line 2
echo "
";
// line 12
echo "
<div class=\" ";
// line 13
echo ((call_user_func_array($this->env->getFunction('isMobile')->getCallable(), [])) ? ("padding-10") : ("padding-20"));
echo " h4\" style=\"min-height: 100%\">
<div class='record-box bg-white bottom-20 text-left ";
// line 14
echo twig_escape_filter($this->env, call_user_func_array($this->env->getFunction('desktop')->getCallable(), ["flex row"]), "html", null, true);
echo " ";
echo twig_escape_filter($this->env, call_user_func_array($this->env->getFunction('mobile')->getCallable(), ["flex col center"]), "html", null, true);
echo "'>
<div class=\"flex row space bottom-20 ";
// line 15
echo twig_escape_filter($this->env, call_user_func_array($this->env->getFunction('desktop')->getCallable(), ["right-40 third top-25-in"]), "html", null, true);
echo "\">
<div class=\"flex col center w100\">
<figure class=\"w100 hoverflow relative shadow-alt ";
// line 17
echo (( !twig_get_attribute($this->env, $this->source, (isset($context["item"]) || array_key_exists("item", $context) ? $context["item"] : (function () { throw new RuntimeError('Variable "item" does not exist.', 17, $this->source); })()), "picture", [], "any", false, false, false, 17)) ? ("padding-20") : (""));
echo "\" style=\"\">
";
// line 18
if (twig_get_attribute($this->env, $this->source, (isset($context["item"]) || array_key_exists("item", $context) ? $context["item"] : (function () { throw new RuntimeError('Variable "item" does not exist.', 18, $this->source); })()), "picture", [], "any", false, false, false, 18)) {
// line 19
echo " <img src=\"";
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl(twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["item"]) || array_key_exists("item", $context) ? $context["item"] : (function () { throw new RuntimeError('Variable "item" does not exist.', 19, $this->source); })()), "picture", [], "any", false, false, false, 19), "thumbnail", [], "any", false, false, false, 19)), "html", null, true);
echo "\" class=\"block w100 os-image \" data-image=\"";
((twig_get_attribute($this->env, $this->source, (isset($context["item"]) || array_key_exists("item", $context) ? $context["item"] : (function () { throw new RuntimeError('Variable "item" does not exist.', 19, $this->source); })()), "picture", [], "any", false, false, false, 19)) ? (print (twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl(twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["item"]) || array_key_exists("item", $context) ? $context["item"] : (function () { throw new RuntimeError('Variable "item" does not exist.', 19, $this->source); })()), "picture", [], "any", false, false, false, 19), "file", [], "any", false, false, false, 19)), "html", null, true))) : (print ("")));
echo "\">
";
}
// line 21
echo " </figure>
<div>
<h3 class=\"success-alt top-20\">";
// line 23
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["item"]) || array_key_exists("item", $context) ? $context["item"] : (function () { throw new RuntimeError('Variable "item" does not exist.', 23, $this->source); })()), "lname", [], "any", false, false, false, 23), "html", null, true);
echo " ";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["item"]) || array_key_exists("item", $context) ? $context["item"] : (function () { throw new RuntimeError('Variable "item" does not exist.', 23, $this->source); })()), "fname", [], "any", false, false, false, 23), "html", null, true);
echo "</h3>
</div>
</div>
</div>
<table class=\"record w100\">
<tbody>
<tr>
<td class=\"nopadding\" colspan=\"";
// line 30
echo twig_escape_filter($this->env, call_user_func_array($this->env->getFunction('desktop')->getCallable(), ["2"]), "html", null, true);
echo "\">
<strong class=\"extrabold h4 success-alt top-25-in bottom-10-in block\">ÉTAT CIVIL</strong>
</td>
</tr>
<tr>";
// line 34
echo twig_call_macro($macros["_self"], "macro_cell", ["Civilité :", twig_get_attribute($this->env, $this->source, (isset($context["item"]) || array_key_exists("item", $context) ? $context["item"] : (function () { throw new RuntimeError('Variable "item" does not exist.', 34, $this->source); })()), "civility", [], "any", false, false, false, 34)], 34, $context, $this->getSourceContext());
echo "</tr>
<tr>";
// line 35
echo twig_call_macro($macros["_self"], "macro_cell", ["Nom :", twig_get_attribute($this->env, $this->source, (isset($context["item"]) || array_key_exists("item", $context) ? $context["item"] : (function () { throw new RuntimeError('Variable "item" does not exist.', 35, $this->source); })()), "fname", [], "any", false, false, false, 35)], 35, $context, $this->getSourceContext());
echo "</tr>
<tr>";
// line 36
echo twig_call_macro($macros["_self"], "macro_cell", ["Prénom(s) :", twig_get_attribute($this->env, $this->source, (isset($context["item"]) || array_key_exists("item", $context) ? $context["item"] : (function () { throw new RuntimeError('Variable "item" does not exist.', 36, $this->source); })()), "lname", [], "any", false, false, false, 36)], 36, $context, $this->getSourceContext());
echo "</tr>
";
// line 37
if (twig_get_attribute($this->env, $this->source, (isset($context["item"]) || array_key_exists("item", $context) ? $context["item"] : (function () { throw new RuntimeError('Variable "item" does not exist.', 37, $this->source); })()), "status", [], "any", false, false, false, 37)) {
// line 38
echo " <tr>";
echo twig_call_macro($macros["_self"], "macro_cell", ["Statut :", twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["item"]) || array_key_exists("item", $context) ? $context["item"] : (function () { throw new RuntimeError('Variable "item" does not exist.', 38, $this->source); })()), "status", [], "any", false, false, false, 38), "label", [], "any", false, false, false, 38)], 38, $context, $this->getSourceContext());
echo "</tr>
";
}
// line 40
echo " <tr>";
echo twig_call_macro($macros["_self"], "macro_cell", ["Fonction :", twig_get_attribute($this->env, $this->source, (isset($context["item"]) || array_key_exists("item", $context) ? $context["item"] : (function () { throw new RuntimeError('Variable "item" does not exist.', 40, $this->source); })()), "function", [], "any", false, false, false, 40)], 40, $context, $this->getSourceContext());
echo "</tr>
<tr>";
// line 41
echo twig_call_macro($macros["_self"], "macro_cell", ["Nationalité :", ((twig_get_attribute($this->env, $this->source, (isset($context["item"]) || array_key_exists("item", $context) ? $context["item"] : (function () { throw new RuntimeError('Variable "item" does not exist.', 41, $this->source); })()), "nationality", [], "any", false, false, false, 41)) ? (call_user_func_array($this->env->getFilter('country')->getCallable(), [twig_get_attribute($this->env, $this->source, (isset($context["item"]) || array_key_exists("item", $context) ? $context["item"] : (function () { throw new RuntimeError('Variable "item" does not exist.', 41, $this->source); })()), "nationality", [], "any", false, false, false, 41)])) : (""))], 41, $context, $this->getSourceContext());
echo "</tr>
<tr>
<td class=\"nopadding\" colspan=\"";
// line 44
echo twig_escape_filter($this->env, call_user_func_array($this->env->getFunction('desktop')->getCallable(), ["2"]), "html", null, true);
echo "\">
<strong class=\"extrabold h4 success-alt top-25-in bottom-10-in block\">ENTITÉ</strong>
</td>
</tr>
<tr>";
// line 48
echo twig_call_macro($macros["_self"], "macro_cell", ["Structure :", twig_get_attribute($this->env, $this->source, (isset($context["item"]) || array_key_exists("item", $context) ? $context["item"] : (function () { throw new RuntimeError('Variable "item" does not exist.', 48, $this->source); })()), "company", [], "any", false, false, false, 48)], 48, $context, $this->getSourceContext());
echo "</tr>
<tr>";
// line 49
echo twig_call_macro($macros["_self"], "macro_cell", ["Pays :", ((twig_get_attribute($this->env, $this->source, (isset($context["item"]) || array_key_exists("item", $context) ? $context["item"] : (function () { throw new RuntimeError('Variable "item" does not exist.', 49, $this->source); })()), "country", [], "any", false, false, false, 49)) ? (call_user_func_array($this->env->getFilter('country')->getCallable(), [twig_get_attribute($this->env, $this->source, (isset($context["item"]) || array_key_exists("item", $context) ? $context["item"] : (function () { throw new RuntimeError('Variable "item" does not exist.', 49, $this->source); })()), "country", [], "any", false, false, false, 49)])) : (""))], 49, $context, $this->getSourceContext());
echo "</tr>
<tr>";
// line 50
echo twig_call_macro($macros["_self"], "macro_cell", ["Ville :", twig_get_attribute($this->env, $this->source, (isset($context["item"]) || array_key_exists("item", $context) ? $context["item"] : (function () { throw new RuntimeError('Variable "item" does not exist.', 50, $this->source); })()), "town", [], "any", false, false, false, 50)], 50, $context, $this->getSourceContext());
echo "</tr>
<tr>";
// line 51
echo twig_call_macro($macros["_self"], "macro_cell", ["Adresse :", twig_get_attribute($this->env, $this->source, (isset($context["item"]) || array_key_exists("item", $context) ? $context["item"] : (function () { throw new RuntimeError('Variable "item" does not exist.', 51, $this->source); })()), "address", [], "any", false, false, false, 51)], 51, $context, $this->getSourceContext());
echo "</tr>
<tr>
<td class=\"nopadding\" colspan=\"";
// line 54
echo twig_escape_filter($this->env, call_user_func_array($this->env->getFunction('desktop')->getCallable(), ["2"]), "html", null, true);
echo "\">
<strong class=\"extrabold h4 success-alt top-25-in bottom-10-in block\">CONTACTS ET RÉSEAUX SOCIAUX</strong>
</td>
</tr>
<tr>";
// line 58
echo twig_call_macro($macros["_self"], "macro_cell", ["Email :", twig_get_attribute($this->env, $this->source, (isset($context["item"]) || array_key_exists("item", $context) ? $context["item"] : (function () { throw new RuntimeError('Variable "item" does not exist.', 58, $this->source); })()), "email", [], "any", false, false, false, 58)], 58, $context, $this->getSourceContext());
echo "</tr>
<tr>";
// line 59
echo twig_call_macro($macros["_self"], "macro_cell", ["Téléphone :", twig_get_attribute($this->env, $this->source, (isset($context["item"]) || array_key_exists("item", $context) ? $context["item"] : (function () { throw new RuntimeError('Variable "item" does not exist.', 59, $this->source); })()), "phone", [], "any", false, false, false, 59)], 59, $context, $this->getSourceContext());
echo "</tr>
<tr>";
// line 60
echo twig_call_macro($macros["_self"], "macro_cell", ["Facebook :", twig_get_attribute($this->env, $this->source, (isset($context["item"]) || array_key_exists("item", $context) ? $context["item"] : (function () { throw new RuntimeError('Variable "item" does not exist.', 60, $this->source); })()), "facebook", [], "any", false, false, false, 60)], 60, $context, $this->getSourceContext());
echo "</tr>
<tr>";
// line 61
echo twig_call_macro($macros["_self"], "macro_cell", ["Twitter :", twig_get_attribute($this->env, $this->source, (isset($context["item"]) || array_key_exists("item", $context) ? $context["item"] : (function () { throw new RuntimeError('Variable "item" does not exist.', 61, $this->source); })()), "twitter", [], "any", false, false, false, 61)], 61, $context, $this->getSourceContext());
echo "</tr>
<tr>";
// line 62
echo twig_call_macro($macros["_self"], "macro_cell", ["LinkedIn :", twig_get_attribute($this->env, $this->source, (isset($context["item"]) || array_key_exists("item", $context) ? $context["item"] : (function () { throw new RuntimeError('Variable "item" does not exist.', 62, $this->source); })()), "linkedin", [], "any", false, false, false, 62)], 62, $context, $this->getSourceContext());
echo "</tr>
<tr>";
// line 63
echo twig_call_macro($macros["_self"], "macro_cell", ["Whatsapp :", twig_get_attribute($this->env, $this->source, (isset($context["item"]) || array_key_exists("item", $context) ? $context["item"] : (function () { throw new RuntimeError('Variable "item" does not exist.', 63, $this->source); })()), "whatsapp", [], "any", false, false, false, 63)], 63, $context, $this->getSourceContext());
echo "</tr>
<tr>
<td class=\"nopadding\" colspan=\"";
// line 66
echo twig_escape_filter($this->env, call_user_func_array($this->env->getFunction('desktop')->getCallable(), ["2"]), "html", null, true);
echo "\">
<strong class=\"extrabold h4 success-alt top-25-in bottom-10-in block\">DOCUMENT DE VOYAGE</strong>
</td>
</tr>
<tr>";
// line 70
echo twig_call_macro($macros["_self"], "macro_cell", ["Type de document :", twig_get_attribute($this->env, $this->source, (isset($context["item"]) || array_key_exists("item", $context) ? $context["item"] : (function () { throw new RuntimeError('Variable "item" does not exist.', 70, $this->source); })()), "passeportType", [], "any", false, false, false, 70)], 70, $context, $this->getSourceContext());
echo "</tr>
<tr>";
// line 71
echo twig_call_macro($macros["_self"], "macro_cell", ["N° du document :", twig_get_attribute($this->env, $this->source, (isset($context["item"]) || array_key_exists("item", $context) ? $context["item"] : (function () { throw new RuntimeError('Variable "item" does not exist.', 71, $this->source); })()), "passeport", [], "any", false, false, false, 71)], 71, $context, $this->getSourceContext());
echo "</tr>
<tr>";
// line 72
echo twig_call_macro($macros["_self"], "macro_cell", ["Date de délivrance :", ((twig_get_attribute($this->env, $this->source, (isset($context["item"]) || array_key_exists("item", $context) ? $context["item"] : (function () { throw new RuntimeError('Variable "item" does not exist.', 72, $this->source); })()), "passeportIssueDate", [], "any", false, false, false, 72)) ? (call_user_func_array($this->env->getFilter('frdate')->getCallable(), [twig_get_attribute($this->env, $this->source, (isset($context["item"]) || array_key_exists("item", $context) ? $context["item"] : (function () { throw new RuntimeError('Variable "item" does not exist.', 72, $this->source); })()), "passeportIssueDate", [], "any", false, false, false, 72)])) : (""))], 72, $context, $this->getSourceContext());
echo "</tr>
<tr>";
// line 73
echo twig_call_macro($macros["_self"], "macro_cell", ["Date d'expiration :", ((twig_get_attribute($this->env, $this->source, (isset($context["item"]) || array_key_exists("item", $context) ? $context["item"] : (function () { throw new RuntimeError('Variable "item" does not exist.', 73, $this->source); })()), "passeportExpirationDate", [], "any", false, false, false, 73)) ? (call_user_func_array($this->env->getFilter('frdate')->getCallable(), [twig_get_attribute($this->env, $this->source, (isset($context["item"]) || array_key_exists("item", $context) ? $context["item"] : (function () { throw new RuntimeError('Variable "item" does not exist.', 73, $this->source); })()), "passeportExpirationDate", [], "any", false, false, false, 73)])) : (""))], 73, $context, $this->getSourceContext());
echo "</tr>
<tr>
<td class=\"nopadding\" colspan=\"";
// line 76
echo twig_escape_filter($this->env, call_user_func_array($this->env->getFunction('desktop')->getCallable(), ["2"]), "html", null, true);
echo "\">
<strong class=\"extrabold h4 success-alt top-25-in bottom-10-in block\">TRAJET VERS COTONOU</strong>
</td>
</tr>
<tr>";
// line 80
echo twig_call_macro($macros["_self"], "macro_cell", ["Compagnie de voyage :", twig_get_attribute($this->env, $this->source, (isset($context["item"]) || array_key_exists("item", $context) ? $context["item"] : (function () { throw new RuntimeError('Variable "item" does not exist.', 80, $this->source); })()), "travelArrivalCompany", [], "any", false, false, false, 80)], 80, $context, $this->getSourceContext());
echo "</tr>
<tr>";
// line 81
echo twig_call_macro($macros["_self"], "macro_cell", ["Numéro de vol :", twig_get_attribute($this->env, $this->source, (isset($context["item"]) || array_key_exists("item", $context) ? $context["item"] : (function () { throw new RuntimeError('Variable "item" does not exist.', 81, $this->source); })()), "travelArrivalFlight", [], "any", false, false, false, 81)], 81, $context, $this->getSourceContext());
echo "</tr>
<tr>";
// line 82
echo twig_call_macro($macros["_self"], "macro_cell", ["Point d'arrivée :", twig_get_attribute($this->env, $this->source, (isset($context["item"]) || array_key_exists("item", $context) ? $context["item"] : (function () { throw new RuntimeError('Variable "item" does not exist.', 82, $this->source); })()), "travelArrivalPoint", [], "any", false, false, false, 82)], 82, $context, $this->getSourceContext());
echo "</tr>
<tr>";
// line 83
echo twig_call_macro($macros["_self"], "macro_cell", ["Date d'arrivée :", ((twig_get_attribute($this->env, $this->source, (isset($context["item"]) || array_key_exists("item", $context) ? $context["item"] : (function () { throw new RuntimeError('Variable "item" does not exist.', 83, $this->source); })()), "travelArrivalDate", [], "any", false, false, false, 83)) ? (call_user_func_array($this->env->getFilter('frdate')->getCallable(), [twig_get_attribute($this->env, $this->source, (isset($context["item"]) || array_key_exists("item", $context) ? $context["item"] : (function () { throw new RuntimeError('Variable "item" does not exist.', 83, $this->source); })()), "travelArrivalDate", [], "any", false, false, false, 83)])) : (""))], 83, $context, $this->getSourceContext());
echo "</tr>
<tr>";
// line 84
echo twig_call_macro($macros["_self"], "macro_cell", ["Heure d'arrivée :", ((twig_get_attribute($this->env, $this->source, (isset($context["item"]) || array_key_exists("item", $context) ? $context["item"] : (function () { throw new RuntimeError('Variable "item" does not exist.', 84, $this->source); })()), "travelArrivalTime", [], "any", false, false, false, 84)) ? (twig_date_format_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["item"]) || array_key_exists("item", $context) ? $context["item"] : (function () { throw new RuntimeError('Variable "item" does not exist.', 84, $this->source); })()), "travelArrivalTime", [], "any", false, false, false, 84), "H\\H i")) : (""))], 84, $context, $this->getSourceContext());
echo "</tr>
<tr>
<td class=\"nopadding\" colspan=\"";
// line 87
echo twig_escape_filter($this->env, call_user_func_array($this->env->getFunction('desktop')->getCallable(), ["2"]), "html", null, true);
echo "\">
<strong class=\"extrabold h4 success-alt top-25-in bottom-10-in block\">TRAJET DE RETOUR</strong>
</td>
</tr>
<tr>";
// line 91
echo twig_call_macro($macros["_self"], "macro_cell", ["Compagnie de voyage :", twig_get_attribute($this->env, $this->source, (isset($context["item"]) || array_key_exists("item", $context) ? $context["item"] : (function () { throw new RuntimeError('Variable "item" does not exist.', 91, $this->source); })()), "travelDepartureCompany", [], "any", false, false, false, 91)], 91, $context, $this->getSourceContext());
echo "</tr>
<tr>";
// line 92
echo twig_call_macro($macros["_self"], "macro_cell", ["Numéro de vol :", twig_get_attribute($this->env, $this->source, (isset($context["item"]) || array_key_exists("item", $context) ? $context["item"] : (function () { throw new RuntimeError('Variable "item" does not exist.', 92, $this->source); })()), "travelDepartureFlight", [], "any", false, false, false, 92)], 92, $context, $this->getSourceContext());
echo "</tr>
<tr>";
// line 93
echo twig_call_macro($macros["_self"], "macro_cell", ["Point de départ :", twig_get_attribute($this->env, $this->source, (isset($context["item"]) || array_key_exists("item", $context) ? $context["item"] : (function () { throw new RuntimeError('Variable "item" does not exist.', 93, $this->source); })()), "travelDeparturePoint", [], "any", false, false, false, 93)], 93, $context, $this->getSourceContext());
echo "</tr>
<tr>";
// line 94
echo twig_call_macro($macros["_self"], "macro_cell", ["Date de départ :", ((twig_get_attribute($this->env, $this->source, (isset($context["item"]) || array_key_exists("item", $context) ? $context["item"] : (function () { throw new RuntimeError('Variable "item" does not exist.', 94, $this->source); })()), "travelDepartureDate", [], "any", false, false, false, 94)) ? (call_user_func_array($this->env->getFilter('frdate')->getCallable(), [twig_get_attribute($this->env, $this->source, (isset($context["item"]) || array_key_exists("item", $context) ? $context["item"] : (function () { throw new RuntimeError('Variable "item" does not exist.', 94, $this->source); })()), "travelDepartureDate", [], "any", false, false, false, 94)])) : (""))], 94, $context, $this->getSourceContext());
echo "</tr>
<tr>";
// line 95
echo twig_call_macro($macros["_self"], "macro_cell", ["Heure de départ :", ((twig_get_attribute($this->env, $this->source, (isset($context["item"]) || array_key_exists("item", $context) ? $context["item"] : (function () { throw new RuntimeError('Variable "item" does not exist.', 95, $this->source); })()), "travelDepartureTime", [], "any", false, false, false, 95)) ? (twig_date_format_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["item"]) || array_key_exists("item", $context) ? $context["item"] : (function () { throw new RuntimeError('Variable "item" does not exist.', 95, $this->source); })()), "travelDepartureTime", [], "any", false, false, false, 95), "H\\H i")) : (""))], 95, $context, $this->getSourceContext());
echo "</tr>
<tr>
<td class=\"nopadding\" colspan=\"";
// line 98
echo twig_escape_filter($this->env, call_user_func_array($this->env->getFunction('desktop')->getCallable(), ["2"]), "html", null, true);
echo "\">
<strong class=\"extrabold h4 success-alt top-25-in bottom-10-in block\">PROGRAMMES SÉLECTIONNÉS</strong>
</td>
</tr>
";
// line 102
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env, $this->source, (isset($context["item"]) || array_key_exists("item", $context) ? $context["item"] : (function () { throw new RuntimeError('Variable "item" does not exist.', 102, $this->source); })()), "programs", [], "any", false, false, false, 102));
$context['_iterated'] = false;
foreach ($context['_seq'] as $context["_key"] => $context["o"]) {
// line 103
echo " <tr>";
echo twig_call_macro($macros["_self"], "macro_cell", [((twig_get_attribute($this->env, $this->source, $context["o"], "isMinistersMeeting", [], "any", false, false, false, 103)) ? ("Réunion des ministres") : ("Réunion des experts")), call_user_func_array($this->env->getFilter('frdate')->getCallable(), [twig_get_attribute($this->env, $this->source, $context["o"], "date", [], "any", false, false, false, 103), 1])], 103, $context, $this->getSourceContext());
echo "</tr>
";
$context['_iterated'] = true;
}
if (!$context['_iterated']) {
// line 105
echo " <tr>";
echo twig_call_macro($macros["_self"], "macro_cell", ["", "Aucun"], 105, $context, $this->getSourceContext());
echo "</tr>
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['o'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 107
echo " </tbody>
</table>
</div>
";
// line 110
if ($this->extensions['Symfony\Bridge\Twig\Extension\SecurityExtension']->isGranted("ROLE_USER")) {
// line 111
echo " <div class=\"hz-20-in vt-30-in text-center adapt shadow radius-5 bg-white top-20\">
";
// line 112
if (twig_get_attribute($this->env, $this->source, (isset($context["item"]) || array_key_exists("item", $context) ? $context["item"] : (function () { throw new RuntimeError('Variable "item" does not exist.', 112, $this->source); })()), "confirmedAt", [], "any", false, false, false, 112)) {
// line 113
echo " <span class=\"os-confirm btn btn-success-alt upper semibold shadow radius-5 right-10 pointer\" data-confirm-href=\"";
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("participants-validate", ["id" => twig_get_attribute($this->env, $this->source, (isset($context["item"]) || array_key_exists("item", $context) ? $context["item"] : (function () { throw new RuntimeError('Variable "item" does not exist.', 113, $this->source); })()), "id", [], "any", false, false, false, 113)]), "html", null, true);
echo "\">
<i class=\"fa fa-check\"></i>
<span>Valider l'inscription</span>
</span>
";
} else {
// line 118
echo " <div class=\"padding-20 text-center\">
<span class=\"h3 semibold error\">Inscription non confirmée par le participant.</span>
</div>
";
}
// line 122
echo " </div>
";
} else {
// line 124
echo " <div class=\"hz-20-in vt-30-in text-center radius-5 top-20\">
";
// line 125
if (((isset($context["public"]) || array_key_exists("public", $context) ? $context["public"] : (function () { throw new RuntimeError('Variable "public" does not exist.', 125, $this->source); })()) && (null === twig_get_attribute($this->env, $this->source, (isset($context["item"]) || array_key_exists("item", $context) ? $context["item"] : (function () { throw new RuntimeError('Variable "item" does not exist.', 125, $this->source); })()), "confirmedAt", [], "any", false, false, false, 125)))) {
// line 126
echo " <span class=\"hz-30-in vt-10-in bg-success white upper bold h4 right-10 os-confirm pointer radius-5\" data-confirm-class=\"\" data-confirm-href=\"";
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("inscription-confirm", ["token" => twig_get_attribute($this->env, $this->source, (isset($context["item"]) || array_key_exists("item", $context) ? $context["item"] : (function () { throw new RuntimeError('Variable "item" does not exist.', 126, $this->source); })()), "token", [], "any", false, false, false, 126)]), "html", null, true);
echo "\">
<i class='fa fa-check right-10'></i>
<span>Confirmer";
// line 128
echo twig_escape_filter($this->env, call_user_func_array($this->env->getFunction('desktop')->getCallable(), [" ma demande"]), "html", null, true);
echo "</span>
</span>
";
}
// line 131
echo " ";
if ((isset($context["public"]) || array_key_exists("public", $context) ? $context["public"] : (function () { throw new RuntimeError('Variable "public" does not exist.', 131, $this->source); })())) {
// line 132
echo " <a class=\"hz-30-in vt-10-in bg-success-alt white upper bold h4 left-10 radius-5\" href=\"";
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("inscription-edit", ["token" => twig_get_attribute($this->env, $this->source, (isset($context["item"]) || array_key_exists("item", $context) ? $context["item"] : (function () { throw new RuntimeError('Variable "item" does not exist.', 132, $this->source); })()), "token", [], "any", false, false, false, 132)]), "html", null, true);
echo "\">
<i class='fa fa-pen right-10'></i>
<span>Modifier";
// line 134
echo twig_escape_filter($this->env, call_user_func_array($this->env->getFunction('desktop')->getCallable(), [" mes infos"]), "html", null, true);
echo "</span>
</a>
";
}
// line 137
echo " </div>
";
}
// line 139
echo "</div>
";
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
}
// line 3
public function macro_cell($__name__ = null, $__value__ = null, ...$__varargs__)
{
$macros = $this->macros;
$context = $this->env->mergeGlobals([
"name" => $__name__,
"value" => $__value__,
"varargs" => $__varargs__,
]);
$blocks = [];
ob_start();
try {
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "macro", "cell"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "macro", "cell"));
// line 4
echo " ";
if (call_user_func_array($this->env->getFunction('isMobile')->getCallable(), [])) {
// line 5
echo " <td class=\"\"><span class=\"regular upper p-alt\">";
echo twig_escape_filter($this->env, (isset($context["name"]) || array_key_exists("name", $context) ? $context["name"] : (function () { throw new RuntimeError('Variable "name" does not exist.', 5, $this->source); })()), "html", null, true);
echo "</span>
<br><span class=\"semibold\">";
// line 6
echo twig_escape_filter($this->env, (isset($context["value"]) || array_key_exists("value", $context) ? $context["value"] : (function () { throw new RuntimeError('Variable "value" does not exist.', 6, $this->source); })()), "html", null, true);
echo "</span></td>
";
} else {
// line 8
echo " <th class=\"regular upper nowrap\">";
echo twig_escape_filter($this->env, (isset($context["name"]) || array_key_exists("name", $context) ? $context["name"] : (function () { throw new RuntimeError('Variable "name" does not exist.', 8, $this->source); })()), "html", null, true);
echo "</th>
<td><span class=\"semibold\">";
// line 9
echo twig_escape_filter($this->env, (isset($context["value"]) || array_key_exists("value", $context) ? $context["value"] : (function () { throw new RuntimeError('Variable "value" does not exist.', 9, $this->source); })()), "html", null, true);
echo "</span></td>
";
}
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
return ('' === $tmp = ob_get_contents()) ? '' : new Markup($tmp, $this->env->getCharset());
} finally {
ob_end_clean();
}
}
public function getTemplateName()
{
return "Registrations/record.html.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 421 => 9, 416 => 8, 411 => 6, 406 => 5, 403 => 4, 383 => 3, 372 => 139, 368 => 137, 362 => 134, 356 => 132, 353 => 131, 347 => 128, 341 => 126, 339 => 125, 336 => 124, 332 => 122, 326 => 118, 317 => 113, 315 => 112, 312 => 111, 310 => 110, 305 => 107, 296 => 105, 288 => 103, 283 => 102, 276 => 98, 270 => 95, 266 => 94, 262 => 93, 258 => 92, 254 => 91, 247 => 87, 241 => 84, 237 => 83, 233 => 82, 229 => 81, 225 => 80, 218 => 76, 212 => 73, 208 => 72, 204 => 71, 200 => 70, 193 => 66, 187 => 63, 183 => 62, 179 => 61, 175 => 60, 171 => 59, 167 => 58, 160 => 54, 154 => 51, 150 => 50, 146 => 49, 142 => 48, 135 => 44, 129 => 41, 124 => 40, 118 => 38, 116 => 37, 112 => 36, 108 => 35, 104 => 34, 97 => 30, 85 => 23, 81 => 21, 73 => 19, 71 => 18, 67 => 17, 62 => 15, 56 => 14, 52 => 13, 49 => 12, 46 => 2, 44 => 1,);
}
public function getSourceContext()
{
return new Source("{% set public = public is defined ? public : false %}
{% macro cell(name, value) %}
{% if isMobile() %}
<td class=\"\"><span class=\"regular upper p-alt\">{{name}}</span>
<br><span class=\"semibold\">{{ value }}</span></td>
{% else %}
<th class=\"regular upper nowrap\">{{name}}</th>
<td><span class=\"semibold\">{{ value }}</span></td>
{% endif %}
{% endmacro %}
<div class=\" {{isMobile() ? 'padding-10' : 'padding-20'}} h4\" style=\"min-height: 100%\">
<div class='record-box bg-white bottom-20 text-left {{desktop(\"flex row\")}} {{mobile(\"flex col center\")}}'>
<div class=\"flex row space bottom-20 {{desktop('right-40 third top-25-in')}}\">
<div class=\"flex col center w100\">
<figure class=\"w100 hoverflow relative shadow-alt {{not item.picture ? 'padding-20'}}\" style=\"\">
{% if item.picture %}
<img src=\"{{asset(item.picture.thumbnail)}}\" class=\"block w100 os-image \" data-image=\"{{item.picture ? asset(item.picture.file)}}\">
{% endif %}
</figure>
<div>
<h3 class=\"success-alt top-20\">{{item.lname}} {{item.fname}}</h3>
</div>
</div>
</div>
<table class=\"record w100\">
<tbody>
<tr>
<td class=\"nopadding\" colspan=\"{{desktop('2')}}\">
<strong class=\"extrabold h4 success-alt top-25-in bottom-10-in block\">ÉTAT CIVIL</strong>
</td>
</tr>
<tr>{{ _self.cell(\"Civilité :\",item.civility)}}</tr>
<tr>{{ _self.cell(\"Nom :\",item.fname)}}</tr>
<tr>{{ _self.cell(\"Prénom(s) :\",item.lname)}}</tr>
{% if item.status %}
<tr>{{ _self.cell(\"Statut :\",item.status.label)}}</tr>
{% endif %}
<tr>{{ _self.cell(\"Fonction :\",item.function)}}</tr>
<tr>{{ _self.cell(\"Nationalité :\",item.nationality ? item.nationality|country)}}</tr>
<tr>
<td class=\"nopadding\" colspan=\"{{desktop('2')}}\">
<strong class=\"extrabold h4 success-alt top-25-in bottom-10-in block\">ENTITÉ</strong>
</td>
</tr>
<tr>{{ _self.cell(\"Structure :\",item.company)}}</tr>
<tr>{{ _self.cell(\"Pays :\",item.country ? item.country|country)}}</tr>
<tr>{{ _self.cell(\"Ville :\",item.town)}}</tr>
<tr>{{ _self.cell(\"Adresse :\",item.address)}}</tr>
<tr>
<td class=\"nopadding\" colspan=\"{{desktop('2')}}\">
<strong class=\"extrabold h4 success-alt top-25-in bottom-10-in block\">CONTACTS ET RÉSEAUX SOCIAUX</strong>
</td>
</tr>
<tr>{{ _self.cell(\"Email :\",item.email)}}</tr>
<tr>{{ _self.cell(\"Téléphone :\",item.phone)}}</tr>
<tr>{{ _self.cell(\"Facebook :\",item.facebook)}}</tr>
<tr>{{ _self.cell(\"Twitter :\",item.twitter)}}</tr>
<tr>{{ _self.cell(\"LinkedIn :\",item.linkedin)}}</tr>
<tr>{{ _self.cell(\"Whatsapp :\",item.whatsapp)}}</tr>
<tr>
<td class=\"nopadding\" colspan=\"{{desktop('2')}}\">
<strong class=\"extrabold h4 success-alt top-25-in bottom-10-in block\">DOCUMENT DE VOYAGE</strong>
</td>
</tr>
<tr>{{ _self.cell(\"Type de document :\",item.passeportType)}}</tr>
<tr>{{ _self.cell(\"N° du document :\",item.passeport)}}</tr>
<tr>{{ _self.cell(\"Date de délivrance :\",item.passeportIssueDate ? item.passeportIssueDate|frdate)}}</tr>
<tr>{{ _self.cell(\"Date d'expiration :\",item.passeportExpirationDate ? item.passeportExpirationDate|frdate)}}</tr>
<tr>
<td class=\"nopadding\" colspan=\"{{desktop('2')}}\">
<strong class=\"extrabold h4 success-alt top-25-in bottom-10-in block\">TRAJET VERS COTONOU</strong>
</td>
</tr>
<tr>{{ _self.cell(\"Compagnie de voyage :\",item.travelArrivalCompany)}}</tr>
<tr>{{ _self.cell(\"Numéro de vol :\",item.travelArrivalFlight)}}</tr>
<tr>{{ _self.cell(\"Point d'arrivée :\",item.travelArrivalPoint)}}</tr>
<tr>{{ _self.cell(\"Date d'arrivée :\",item.travelArrivalDate ? item.travelArrivalDate|frdate)}}</tr>
<tr>{{ _self.cell(\"Heure d'arrivée :\",item.travelArrivalTime ? item.travelArrivalTime|date(\"H\\\\H i\"))}}</tr>
<tr>
<td class=\"nopadding\" colspan=\"{{desktop('2')}}\">
<strong class=\"extrabold h4 success-alt top-25-in bottom-10-in block\">TRAJET DE RETOUR</strong>
</td>
</tr>
<tr>{{ _self.cell(\"Compagnie de voyage :\",item.travelDepartureCompany)}}</tr>
<tr>{{ _self.cell(\"Numéro de vol :\",item.travelDepartureFlight)}}</tr>
<tr>{{ _self.cell(\"Point de départ :\",item.travelDeparturePoint)}}</tr>
<tr>{{ _self.cell(\"Date de départ :\",item.travelDepartureDate ? item.travelDepartureDate|frdate)}}</tr>
<tr>{{ _self.cell(\"Heure de départ :\",item.travelDepartureTime ? item.travelDepartureTime|date(\"H\\\\H i\"))}}</tr>
<tr>
<td class=\"nopadding\" colspan=\"{{desktop('2')}}\">
<strong class=\"extrabold h4 success-alt top-25-in bottom-10-in block\">PROGRAMMES SÉLECTIONNÉS</strong>
</td>
</tr>
{% for o in item.programs %}
<tr>{{ _self.cell(o.isMinistersMeeting ? \"Réunion des ministres\":\"Réunion des experts\",o.date|frdate(1))}}</tr>
{% else %}
<tr>{{ _self.cell(\"\",\"Aucun\")}}</tr>
{% endfor %}
</tbody>
</table>
</div>
{% if is_granted('ROLE_USER') %}
<div class=\"hz-20-in vt-30-in text-center adapt shadow radius-5 bg-white top-20\">
{% if item.confirmedAt %}
<span class=\"os-confirm btn btn-success-alt upper semibold shadow radius-5 right-10 pointer\" data-confirm-href=\"{{path('participants-validate',{'id':item.id})}}\">
<i class=\"fa fa-check\"></i>
<span>Valider l'inscription</span>
</span>
{% else %}
<div class=\"padding-20 text-center\">
<span class=\"h3 semibold error\">Inscription non confirmée par le participant.</span>
</div>
{% endif %}
</div>
{% else %}
<div class=\"hz-20-in vt-30-in text-center radius-5 top-20\">
{% if public and item.confirmedAt is null %}
<span class=\"hz-30-in vt-10-in bg-success white upper bold h4 right-10 os-confirm pointer radius-5\" data-confirm-class=\"\" data-confirm-href=\"{{path('inscription-confirm',{'token':item.token})}}\">
<i class='fa fa-check right-10'></i>
<span>Confirmer{{desktop(\" ma demande\")}}</span>
</span>
{% endif %}
{% if public %}
<a class=\"hz-30-in vt-10-in bg-success-alt white upper bold h4 left-10 radius-5\" href=\"{{path('inscription-edit',{'token':item.token})}}\">
<i class='fa fa-pen right-10'></i>
<span>Modifier{{desktop(\" mes infos\")}}</span>
</a>
{% endif %}
</div>
{% endif %}
</div>
", "Registrations/record.html.twig", "/home/olasoftnka/cefal/templates/Registrations/record.html.twig");
}
}