var/cache/dev/twig/ae/ae6cf2311b91f5766ddc193128de3fea9f6e4ae71882a301f2a74669211d62ff.php line 67

Open in your IDE?
  1. <?php
  2. use Twig\Environment;
  3. use Twig\Error\LoaderError;
  4. use Twig\Error\RuntimeError;
  5. use Twig\Extension\SandboxExtension;
  6. use Twig\Markup;
  7. use Twig\Sandbox\SecurityError;
  8. use Twig\Sandbox\SecurityNotAllowedTagError;
  9. use Twig\Sandbox\SecurityNotAllowedFilterError;
  10. use Twig\Sandbox\SecurityNotAllowedFunctionError;
  11. use Twig\Source;
  12. use Twig\Template;
  13. /* Registrations/record.html.twig */
  14. class __TwigTemplate_f817fd4560762fc535830bce0dc02a9a9baa63180ff2bf279af6a0ee478fb112 extends Template
  15. {
  16.     private $source;
  17.     private $macros = [];
  18.     public function __construct(Environment $env)
  19.     {
  20.         parent::__construct($env);
  21.         $this->source $this->getSourceContext();
  22.         $this->parent false;
  23.         $this->blocks = [
  24.         ];
  25.         $macros["_self"] = $this->macros["_self"] = $this;
  26.     }
  27.     protected function doDisplay(array $context, array $blocks = [])
  28.     {
  29.         $macros $this->macros;
  30.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  31.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""Registrations/record.html.twig"));
  32.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  33.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""Registrations/record.html.twig"));
  34.         // line 1
  35.         $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));
  36.         // line 2
  37.         echo "
  38. ";
  39.         // line 12
  40.         echo "
  41. <div class=\" ";
  42.         // line 13
  43.         echo ((call_user_func_array($this->env->getFunction('isMobile')->getCallable(), [])) ? ("padding-10") : ("padding-20"));
  44.         echo " h4\" style=\"min-height: 100%\">
  45.     <div class='record-box bg-white bottom-20 text-left ";
  46.         // line 14
  47.         echo twig_escape_filter($this->envcall_user_func_array($this->env->getFunction('desktop')->getCallable(), ["flex row"]), "html"nulltrue);
  48.         echo " ";
  49.         echo twig_escape_filter($this->envcall_user_func_array($this->env->getFunction('mobile')->getCallable(), ["flex col center"]), "html"nulltrue);
  50.         echo "'>
  51.         <div class=\"flex row space bottom-20 ";
  52.         // line 15
  53.         echo twig_escape_filter($this->envcall_user_func_array($this->env->getFunction('desktop')->getCallable(), ["right-40 third top-25-in"]), "html"nulltrue);
  54.         echo "\">
  55.             <div class=\"flex col center w100\">
  56.                 <figure class=\"w100 hoverflow relative shadow-alt ";
  57.         // line 17
  58.         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"falsefalsefalse17)) ? ("padding-20") : (""));
  59.         echo "\" style=\"\">
  60.                     ";
  61.         // line 18
  62.         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"falsefalsefalse18)) {
  63.             // line 19
  64.             echo "                    <img src=\"";
  65.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl(twig_get_attribute($this->env$this->sourcetwig_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"falsefalsefalse19), "thumbnail", [], "any"falsefalsefalse19)), "html"nulltrue);
  66.             echo "\" class=\"block w100 os-image \" data-image=\"";
  67.             ((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"falsefalsefalse19)) ? (print (twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl(twig_get_attribute($this->env$this->sourcetwig_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"falsefalsefalse19), "file", [], "any"falsefalsefalse19)), "html"nulltrue))) : (print ("")));
  68.             echo "\">
  69.                     ";
  70.         }
  71.         // line 21
  72.         echo "                </figure>
  73.                 <div>
  74.                     <h3 class=\"success-alt top-20\">";
  75.         // line 23
  76.         echo twig_escape_filter($this->envtwig_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"falsefalsefalse23), "html"nulltrue);
  77.         echo " ";
  78.         echo twig_escape_filter($this->envtwig_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"falsefalsefalse23), "html"nulltrue);
  79.         echo "</h3>
  80.                 </div>
  81.             </div>
  82.         </div>
  83.         <table class=\"record w100\">
  84.             <tbody>
  85.                 <tr>
  86.                     <td class=\"nopadding\" colspan=\"";
  87.         // line 30
  88.         echo twig_escape_filter($this->envcall_user_func_array($this->env->getFunction('desktop')->getCallable(), ["2"]), "html"nulltrue);
  89.         echo "\">
  90.                         <strong class=\"extrabold h4 success-alt top-25-in bottom-10-in block\">ÉTAT CIVIL</strong>
  91.                     </td>
  92.                 </tr>
  93.                 <tr>";
  94.         // line 34
  95.         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"falsefalsefalse34)], 34$context$this->getSourceContext());
  96.         echo "</tr>
  97.                 <tr>";
  98.         // line 35
  99.         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"falsefalsefalse35)], 35$context$this->getSourceContext());
  100.         echo "</tr>
  101.                 <tr>";
  102.         // line 36
  103.         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"falsefalsefalse36)], 36$context$this->getSourceContext());
  104.         echo "</tr>
  105.                 ";
  106.         // line 37
  107.         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"falsefalsefalse37)) {
  108.             // line 38
  109.             echo "                <tr>";
  110.             echo twig_call_macro($macros["_self"], "macro_cell", ["Statut :"twig_get_attribute($this->env$this->sourcetwig_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"falsefalsefalse38), "label", [], "any"falsefalsefalse38)], 38$context$this->getSourceContext());
  111.             echo "</tr>
  112.                 ";
  113.         }
  114.         // line 40
  115.         echo "                <tr>";
  116.         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"falsefalsefalse40)], 40$context$this->getSourceContext());
  117.         echo "</tr>
  118.                 <tr>";
  119.         // line 41
  120.         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"falsefalsefalse41)) ? (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"falsefalsefalse41)])) : (""))], 41$context$this->getSourceContext());
  121.         echo "</tr>
  122.                 <tr>
  123.                     <td class=\"nopadding\" colspan=\"";
  124.         // line 44
  125.         echo twig_escape_filter($this->envcall_user_func_array($this->env->getFunction('desktop')->getCallable(), ["2"]), "html"nulltrue);
  126.         echo "\">
  127.                         <strong class=\"extrabold h4 success-alt top-25-in bottom-10-in block\">ENTITÉ</strong>
  128.                     </td>
  129.                 </tr>
  130.                 <tr>";
  131.         // line 48
  132.         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"falsefalsefalse48)], 48$context$this->getSourceContext());
  133.         echo "</tr>
  134.                 <tr>";
  135.         // line 49
  136.         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"falsefalsefalse49)) ? (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"falsefalsefalse49)])) : (""))], 49$context$this->getSourceContext());
  137.         echo "</tr>
  138.                 <tr>";
  139.         // line 50
  140.         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"falsefalsefalse50)], 50$context$this->getSourceContext());
  141.         echo "</tr>
  142.                 <tr>";
  143.         // line 51
  144.         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"falsefalsefalse51)], 51$context$this->getSourceContext());
  145.         echo "</tr>
  146.                 <tr>
  147.                     <td class=\"nopadding\" colspan=\"";
  148.         // line 54
  149.         echo twig_escape_filter($this->envcall_user_func_array($this->env->getFunction('desktop')->getCallable(), ["2"]), "html"nulltrue);
  150.         echo "\">
  151.                         <strong class=\"extrabold h4 success-alt top-25-in bottom-10-in block\">CONTACTS ET RÉSEAUX SOCIAUX</strong>
  152.                     </td>
  153.                 </tr>
  154.                 <tr>";
  155.         // line 58
  156.         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"falsefalsefalse58)], 58$context$this->getSourceContext());
  157.         echo "</tr>
  158.                 <tr>";
  159.         // line 59
  160.         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"falsefalsefalse59)], 59$context$this->getSourceContext());
  161.         echo "</tr>
  162.                 <tr>";
  163.         // line 60
  164.         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"falsefalsefalse60)], 60$context$this->getSourceContext());
  165.         echo "</tr>
  166.                 <tr>";
  167.         // line 61
  168.         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"falsefalsefalse61)], 61$context$this->getSourceContext());
  169.         echo "</tr>
  170.                 <tr>";
  171.         // line 62
  172.         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"falsefalsefalse62)], 62$context$this->getSourceContext());
  173.         echo "</tr>
  174.                 <tr>";
  175.         // line 63
  176.         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"falsefalsefalse63)], 63$context$this->getSourceContext());
  177.         echo "</tr>
  178.                 <tr>
  179.                     <td class=\"nopadding\" colspan=\"";
  180.         // line 66
  181.         echo twig_escape_filter($this->envcall_user_func_array($this->env->getFunction('desktop')->getCallable(), ["2"]), "html"nulltrue);
  182.         echo "\">
  183.                         <strong class=\"extrabold h4 success-alt top-25-in bottom-10-in block\">DOCUMENT DE VOYAGE</strong>
  184.                     </td>
  185.                 </tr>
  186.                 <tr>";
  187.         // line 70
  188.         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"falsefalsefalse70)], 70$context$this->getSourceContext());
  189.         echo "</tr>
  190.                 <tr>";
  191.         // line 71
  192.         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"falsefalsefalse71)], 71$context$this->getSourceContext());
  193.         echo "</tr>
  194.                 <tr>";
  195.         // line 72
  196.         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"falsefalsefalse72)) ? (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"falsefalsefalse72)])) : (""))], 72$context$this->getSourceContext());
  197.         echo "</tr>
  198.                 <tr>";
  199.         // line 73
  200.         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"falsefalsefalse73)) ? (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"falsefalsefalse73)])) : (""))], 73$context$this->getSourceContext());
  201.         echo "</tr>
  202.                 <tr>
  203.                     <td class=\"nopadding\" colspan=\"";
  204.         // line 76
  205.         echo twig_escape_filter($this->envcall_user_func_array($this->env->getFunction('desktop')->getCallable(), ["2"]), "html"nulltrue);
  206.         echo "\">
  207.                         <strong class=\"extrabold h4 success-alt top-25-in bottom-10-in block\">TRAJET VERS COTONOU</strong>
  208.                     </td>
  209.                 </tr>
  210.                 <tr>";
  211.         // line 80
  212.         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"falsefalsefalse80)], 80$context$this->getSourceContext());
  213.         echo "</tr>
  214.                 <tr>";
  215.         // line 81
  216.         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"falsefalsefalse81)], 81$context$this->getSourceContext());
  217.         echo "</tr>
  218.                 <tr>";
  219.         // line 82
  220.         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"falsefalsefalse82)], 82$context$this->getSourceContext());
  221.         echo "</tr>
  222.                 <tr>";
  223.         // line 83
  224.         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"falsefalsefalse83)) ? (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"falsefalsefalse83)])) : (""))], 83$context$this->getSourceContext());
  225.         echo "</tr>
  226.                 <tr>";
  227.         // line 84
  228.         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"falsefalsefalse84)) ? (twig_date_format_filter($this->envtwig_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"falsefalsefalse84), "H\\H i")) : (""))], 84$context$this->getSourceContext());
  229.         echo "</tr>
  230.                 <tr>
  231.                     <td class=\"nopadding\" colspan=\"";
  232.         // line 87
  233.         echo twig_escape_filter($this->envcall_user_func_array($this->env->getFunction('desktop')->getCallable(), ["2"]), "html"nulltrue);
  234.         echo "\">
  235.                         <strong class=\"extrabold h4 success-alt top-25-in bottom-10-in block\">TRAJET DE RETOUR</strong>
  236.                     </td>
  237.                 </tr>
  238.                 <tr>";
  239.         // line 91
  240.         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"falsefalsefalse91)], 91$context$this->getSourceContext());
  241.         echo "</tr>
  242.                 <tr>";
  243.         // line 92
  244.         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"falsefalsefalse92)], 92$context$this->getSourceContext());
  245.         echo "</tr>
  246.                 <tr>";
  247.         // line 93
  248.         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"falsefalsefalse93)], 93$context$this->getSourceContext());
  249.         echo "</tr>
  250.                 <tr>";
  251.         // line 94
  252.         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"falsefalsefalse94)) ? (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"falsefalsefalse94)])) : (""))], 94$context$this->getSourceContext());
  253.         echo "</tr>
  254.                 <tr>";
  255.         // line 95
  256.         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"falsefalsefalse95)) ? (twig_date_format_filter($this->envtwig_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"falsefalsefalse95), "H\\H i")) : (""))], 95$context$this->getSourceContext());
  257.         echo "</tr>
  258.                 <tr>
  259.                     <td class=\"nopadding\" colspan=\"";
  260.         // line 98
  261.         echo twig_escape_filter($this->envcall_user_func_array($this->env->getFunction('desktop')->getCallable(), ["2"]), "html"nulltrue);
  262.         echo "\">
  263.                         <strong class=\"extrabold h4 success-alt top-25-in bottom-10-in block\">PROGRAMMES SÉLECTIONNÉS</strong>
  264.                     </td>
  265.                 </tr>
  266.                 ";
  267.         // line 102
  268.         $context['_parent'] = $context;
  269.         $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"falsefalsefalse102));
  270.         $context['_iterated'] = false;
  271.         foreach ($context['_seq'] as $context["_key"] => $context["o"]) {
  272.             // line 103
  273.             echo "                <tr>";
  274.             echo twig_call_macro($macros["_self"], "macro_cell", [((twig_get_attribute($this->env$this->source$context["o"], "isMinistersMeeting", [], "any"falsefalsefalse103)) ? ("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"falsefalsefalse103), 1])], 103$context$this->getSourceContext());
  275.             echo "</tr>
  276.                 ";
  277.             $context['_iterated'] = true;
  278.         }
  279.         if (!$context['_iterated']) {
  280.             // line 105
  281.             echo "                <tr>";
  282.             echo twig_call_macro($macros["_self"], "macro_cell", ["""Aucun"], 105$context$this->getSourceContext());
  283.             echo "</tr>
  284.                 ";
  285.         }
  286.         $_parent $context['_parent'];
  287.         unset($context['_seq'], $context['_iterated'], $context['_key'], $context['o'], $context['_parent'], $context['loop']);
  288.         $context array_intersect_key($context$_parent) + $_parent;
  289.         // line 107
  290.         echo "            </tbody>
  291.         </table>
  292.     </div>
  293.     ";
  294.         // line 110
  295.         if ($this->extensions['Symfony\Bridge\Twig\Extension\SecurityExtension']->isGranted("ROLE_USER")) {
  296.             // line 111
  297.             echo "    <div class=\"hz-20-in vt-30-in text-center adapt shadow radius-5 bg-white top-20\">
  298.         ";
  299.             // line 112
  300.             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"falsefalsefalse112)) {
  301.                 // line 113
  302.                 echo "        <span class=\"os-confirm btn btn-success-alt upper semibold shadow radius-5 right-10 pointer\" data-confirm-href=\"";
  303.                 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"falsefalsefalse113)]), "html"nulltrue);
  304.                 echo "\">
  305.             <i class=\"fa fa-check\"></i>
  306.             <span>Valider l'inscription</span>
  307.         </span>
  308.         ";
  309.             } else {
  310.                 // line 118
  311.                 echo "        <div class=\"padding-20 text-center\">
  312.             <span class=\"h3 semibold error\">Inscription non confirmée par le participant.</span>
  313.         </div>
  314.         ";
  315.             }
  316.             // line 122
  317.             echo "    </div>
  318.     ";
  319.         } else {
  320.             // line 124
  321.             echo "    <div class=\"hz-20-in vt-30-in text-center radius-5 top-20\">
  322.         ";
  323.             // line 125
  324.             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"falsefalsefalse125)))) {
  325.                 // line 126
  326.                 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=\"";
  327.                 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"falsefalsefalse126)]), "html"nulltrue);
  328.                 echo "\">
  329.             <i class='fa fa-check right-10'></i>
  330.             <span>Confirmer";
  331.                 // line 128
  332.                 echo twig_escape_filter($this->envcall_user_func_array($this->env->getFunction('desktop')->getCallable(), [" ma demande"]), "html"nulltrue);
  333.                 echo "</span>
  334.         </span>
  335.         ";
  336.             }
  337.             // line 131
  338.             echo "        ";
  339.             if ((isset($context["public"]) || array_key_exists("public"$context) ? $context["public"] : (function () { throw new RuntimeError('Variable "public" does not exist.'131$this->source); })())) {
  340.                 // line 132
  341.                 echo "        <a class=\"hz-30-in vt-10-in bg-success-alt white upper bold h4 left-10 radius-5\" href=\"";
  342.                 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"falsefalsefalse132)]), "html"nulltrue);
  343.                 echo "\">
  344.             <i class='fa fa-pen right-10'></i>
  345.             <span>Modifier";
  346.                 // line 134
  347.                 echo twig_escape_filter($this->envcall_user_func_array($this->env->getFunction('desktop')->getCallable(), [" mes infos"]), "html"nulltrue);
  348.                 echo "</span>
  349.         </a>
  350.         ";
  351.             }
  352.             // line 137
  353.             echo "    </div>
  354.     ";
  355.         }
  356.         // line 139
  357.         echo "</div>
  358. ";
  359.         
  360.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  361.         
  362.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  363.     }
  364.     // line 3
  365.     public function macro_cell($__name__ null$__value__ null, ...$__varargs__)
  366.     {
  367.         $macros $this->macros;
  368.         $context $this->env->mergeGlobals([
  369.             "name" => $__name__,
  370.             "value" => $__value__,
  371.             "varargs" => $__varargs__,
  372.         ]);
  373.         $blocks = [];
  374.         ob_start();
  375.         try {
  376.             $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  377.             $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "macro""cell"));
  378.             $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  379.             $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "macro""cell"));
  380.             // line 4
  381.             echo "    ";
  382.             if (call_user_func_array($this->env->getFunction('isMobile')->getCallable(), [])) {
  383.                 // line 5
  384.                 echo "    <td class=\"\"><span class=\"regular upper p-alt\">";
  385.                 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"nulltrue);
  386.                 echo "</span>
  387.     <br><span class=\"semibold\">";
  388.                 // line 6
  389.                 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"nulltrue);
  390.                 echo "</span></td>
  391.     ";
  392.             } else {
  393.                 // line 8
  394.                 echo "    <th class=\"regular upper nowrap\">";
  395.                 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"nulltrue);
  396.                 echo "</th>
  397.     <td><span class=\"semibold\">";
  398.                 // line 9
  399.                 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"nulltrue);
  400.                 echo "</span></td>
  401.     ";
  402.             }
  403.             
  404.             $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  405.             
  406.             $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  407.             return ('' === $tmp ob_get_contents()) ? '' : new Markup($tmp$this->env->getCharset());
  408.         } finally {
  409.             ob_end_clean();
  410.         }
  411.     }
  412.     public function getTemplateName()
  413.     {
  414.         return "Registrations/record.html.twig";
  415.     }
  416.     public function isTraitable()
  417.     {
  418.         return false;
  419.     }
  420.     public function getDebugInfo()
  421.     {
  422.         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,);
  423.     }
  424.     public function getSourceContext()
  425.     {
  426.         return new Source("{% set public = public is defined ? public : false %}
  427. {% macro cell(name, value) %}
  428.     {% if isMobile() %}
  429.     <td class=\"\"><span class=\"regular upper p-alt\">{{name}}</span>
  430.     <br><span class=\"semibold\">{{ value }}</span></td>
  431.     {% else %}
  432.     <th class=\"regular upper nowrap\">{{name}}</th>
  433.     <td><span class=\"semibold\">{{ value }}</span></td>
  434.     {% endif %}
  435. {% endmacro %}
  436. <div class=\" {{isMobile() ? 'padding-10' : 'padding-20'}} h4\" style=\"min-height: 100%\">
  437.     <div class='record-box bg-white bottom-20 text-left {{desktop(\"flex row\")}} {{mobile(\"flex col center\")}}'>
  438.         <div class=\"flex row space bottom-20 {{desktop('right-40 third top-25-in')}}\">
  439.             <div class=\"flex col center w100\">
  440.                 <figure class=\"w100 hoverflow relative shadow-alt {{not item.picture ? 'padding-20'}}\" style=\"\">
  441.                     {% if item.picture %}
  442.                     <img src=\"{{asset(item.picture.thumbnail)}}\" class=\"block w100 os-image \" data-image=\"{{item.picture ? asset(item.picture.file)}}\">
  443.                     {% endif %}
  444.                 </figure>
  445.                 <div>
  446.                     <h3 class=\"success-alt top-20\">{{item.lname}} {{item.fname}}</h3>
  447.                 </div>
  448.             </div>
  449.         </div>
  450.         <table class=\"record w100\">
  451.             <tbody>
  452.                 <tr>
  453.                     <td class=\"nopadding\" colspan=\"{{desktop('2')}}\">
  454.                         <strong class=\"extrabold h4 success-alt top-25-in bottom-10-in block\">ÉTAT CIVIL</strong>
  455.                     </td>
  456.                 </tr>
  457.                 <tr>{{ _self.cell(\"Civilité :\",item.civility)}}</tr>
  458.                 <tr>{{ _self.cell(\"Nom :\",item.fname)}}</tr>
  459.                 <tr>{{ _self.cell(\"Prénom(s) :\",item.lname)}}</tr>
  460.                 {% if item.status %}
  461.                 <tr>{{ _self.cell(\"Statut :\",item.status.label)}}</tr>
  462.                 {% endif %}
  463.                 <tr>{{ _self.cell(\"Fonction :\",item.function)}}</tr>
  464.                 <tr>{{ _self.cell(\"Nationalité :\",item.nationality ? item.nationality|country)}}</tr>
  465.                 <tr>
  466.                     <td class=\"nopadding\" colspan=\"{{desktop('2')}}\">
  467.                         <strong class=\"extrabold h4 success-alt top-25-in bottom-10-in block\">ENTITÉ</strong>
  468.                     </td>
  469.                 </tr>
  470.                 <tr>{{ _self.cell(\"Structure :\",item.company)}}</tr>
  471.                 <tr>{{ _self.cell(\"Pays :\",item.country ? item.country|country)}}</tr>
  472.                 <tr>{{ _self.cell(\"Ville :\",item.town)}}</tr>
  473.                 <tr>{{ _self.cell(\"Adresse :\",item.address)}}</tr>
  474.                 <tr>
  475.                     <td class=\"nopadding\" colspan=\"{{desktop('2')}}\">
  476.                         <strong class=\"extrabold h4 success-alt top-25-in bottom-10-in block\">CONTACTS ET RÉSEAUX SOCIAUX</strong>
  477.                     </td>
  478.                 </tr>
  479.                 <tr>{{ _self.cell(\"Email :\",item.email)}}</tr>
  480.                 <tr>{{ _self.cell(\"Téléphone :\",item.phone)}}</tr>
  481.                 <tr>{{ _self.cell(\"Facebook :\",item.facebook)}}</tr>
  482.                 <tr>{{ _self.cell(\"Twitter :\",item.twitter)}}</tr>
  483.                 <tr>{{ _self.cell(\"LinkedIn :\",item.linkedin)}}</tr>
  484.                 <tr>{{ _self.cell(\"Whatsapp :\",item.whatsapp)}}</tr>
  485.                 <tr>
  486.                     <td class=\"nopadding\" colspan=\"{{desktop('2')}}\">
  487.                         <strong class=\"extrabold h4 success-alt top-25-in bottom-10-in block\">DOCUMENT DE VOYAGE</strong>
  488.                     </td>
  489.                 </tr>
  490.                 <tr>{{ _self.cell(\"Type de document :\",item.passeportType)}}</tr>
  491.                 <tr>{{ _self.cell(\"N° du document :\",item.passeport)}}</tr>
  492.                 <tr>{{ _self.cell(\"Date de délivrance :\",item.passeportIssueDate ? item.passeportIssueDate|frdate)}}</tr>
  493.                 <tr>{{ _self.cell(\"Date d'expiration :\",item.passeportExpirationDate ? item.passeportExpirationDate|frdate)}}</tr>
  494.                 <tr>
  495.                     <td class=\"nopadding\" colspan=\"{{desktop('2')}}\">
  496.                         <strong class=\"extrabold h4 success-alt top-25-in bottom-10-in block\">TRAJET VERS COTONOU</strong>
  497.                     </td>
  498.                 </tr>
  499.                 <tr>{{ _self.cell(\"Compagnie de voyage :\",item.travelArrivalCompany)}}</tr>
  500.                 <tr>{{ _self.cell(\"Numéro de vol :\",item.travelArrivalFlight)}}</tr>
  501.                 <tr>{{ _self.cell(\"Point d'arrivée :\",item.travelArrivalPoint)}}</tr>
  502.                 <tr>{{ _self.cell(\"Date d'arrivée :\",item.travelArrivalDate ? item.travelArrivalDate|frdate)}}</tr>
  503.                 <tr>{{ _self.cell(\"Heure d'arrivée :\",item.travelArrivalTime ? item.travelArrivalTime|date(\"H\\\\H i\"))}}</tr>
  504.                 <tr>
  505.                     <td class=\"nopadding\" colspan=\"{{desktop('2')}}\">
  506.                         <strong class=\"extrabold h4 success-alt top-25-in bottom-10-in block\">TRAJET DE RETOUR</strong>
  507.                     </td>
  508.                 </tr>
  509.                 <tr>{{ _self.cell(\"Compagnie de voyage :\",item.travelDepartureCompany)}}</tr>
  510.                 <tr>{{ _self.cell(\"Numéro de vol :\",item.travelDepartureFlight)}}</tr>
  511.                 <tr>{{ _self.cell(\"Point de départ :\",item.travelDeparturePoint)}}</tr>
  512.                 <tr>{{ _self.cell(\"Date de départ :\",item.travelDepartureDate ? item.travelDepartureDate|frdate)}}</tr>
  513.                 <tr>{{ _self.cell(\"Heure de départ :\",item.travelDepartureTime ? item.travelDepartureTime|date(\"H\\\\H i\"))}}</tr>
  514.                 <tr>
  515.                     <td class=\"nopadding\" colspan=\"{{desktop('2')}}\">
  516.                         <strong class=\"extrabold h4 success-alt top-25-in bottom-10-in block\">PROGRAMMES SÉLECTIONNÉS</strong>
  517.                     </td>
  518.                 </tr>
  519.                 {% for o in item.programs %}
  520.                 <tr>{{ _self.cell(o.isMinistersMeeting ? \"Réunion des ministres\":\"Réunion des experts\",o.date|frdate(1))}}</tr>
  521.                 {% else %}
  522.                 <tr>{{ _self.cell(\"\",\"Aucun\")}}</tr>
  523.                 {% endfor %}
  524.             </tbody>
  525.         </table>
  526.     </div>
  527.     {% if is_granted('ROLE_USER') %}
  528.     <div class=\"hz-20-in vt-30-in text-center adapt shadow radius-5 bg-white top-20\">
  529.         {% if item.confirmedAt %}
  530.         <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})}}\">
  531.             <i class=\"fa fa-check\"></i>
  532.             <span>Valider l'inscription</span>
  533.         </span>
  534.         {% else %}
  535.         <div class=\"padding-20 text-center\">
  536.             <span class=\"h3 semibold error\">Inscription non confirmée par le participant.</span>
  537.         </div>
  538.         {% endif %}
  539.     </div>
  540.     {% else %}
  541.     <div class=\"hz-20-in vt-30-in text-center radius-5 top-20\">
  542.         {% if public and item.confirmedAt is null %}
  543.         <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})}}\">
  544.             <i class='fa fa-check right-10'></i>
  545.             <span>Confirmer{{desktop(\" ma demande\")}}</span>
  546.         </span>
  547.         {% endif %}
  548.         {% if public %}
  549.         <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})}}\">
  550.             <i class='fa fa-pen right-10'></i>
  551.             <span>Modifier{{desktop(\" mes infos\")}}</span>
  552.         </a>
  553.         {% endif %}
  554.     </div>
  555.     {% endif %}
  556. </div>
  557. ""Registrations/record.html.twig""/home/olasoftnka/cefal/templates/Registrations/record.html.twig");
  558.     }
  559. }