var/cache/dev/twig/ee/ee47c551f9959f42cdd10975acabaf31e5cf794e5fb0b4b7e81157d44f65c12e.php line 59

Open in your IDE?
  1. <?php
  2. use Twig\Environment;
  3. use Twig\Error\LoaderError;
  4. use Twig\Error\RuntimeError;
  5. use Twig\Extension\CoreExtension;
  6. use Twig\Extension\SandboxExtension;
  7. use Twig\Markup;
  8. use Twig\Sandbox\SecurityError;
  9. use Twig\Sandbox\SecurityNotAllowedTagError;
  10. use Twig\Sandbox\SecurityNotAllowedFilterError;
  11. use Twig\Sandbox\SecurityNotAllowedFunctionError;
  12. use Twig\Source;
  13. use Twig\Template;
  14. /* vendre_entreprise/fragments/fonds_acquereur/derniers_fonds_acquereurs.html.twig */
  15. class __TwigTemplate_1d354ead1f3fbefa4cd1071d344b59d002dc767352708c1eadb81ed34c30d870 extends Template
  16. {
  17.     private $source;
  18.     private $macros = [];
  19.     public function __construct(Environment $env)
  20.     {
  21.         parent::__construct($env);
  22.         $this->source $this->getSourceContext();
  23.         $this->parent false;
  24.         $this->blocks = [
  25.         ];
  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""vendre_entreprise/fragments/fonds_acquereur/derniers_fonds_acquereurs.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""vendre_entreprise/fragments/fonds_acquereur/derniers_fonds_acquereurs.html.twig"));
  34.         // line 1
  35.         yield "<div class=\"col-12 mt-5\">
  36.     <h5>";
  37.         // line 2
  38.         yield $this->extensions['App\Twig\TranslationExtension']->translate("derniers fonds acquereurs", (isset($context["lang"]) || array_key_exists("lang"$context) ? $context["lang"] : (function () { throw new RuntimeError('Variable "lang" does not exist.'2$this->source); })()), """M""");
  39.         yield "</h5>
  40.     <table class=\"table table-sm\">
  41.         <tbody>
  42.             ";
  43.         // line 5
  44.         $context['_parent'] = $context;
  45.         $context['_seq'] = CoreExtension::ensureTraversable((isset($context["derniers_investisseurs"]) || array_key_exists("derniers_investisseurs"$context) ? $context["derniers_investisseurs"] : (function () { throw new RuntimeError('Variable "derniers_investisseurs" does not exist.'5$this->source); })()));
  46.         foreach ($context['_seq'] as $context["_key"] => $context["investisseur"]) {
  47.             // line 6
  48.             yield "                ";
  49.             $context["lienFondsInvestissement"] = ($this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("vendre_entreprise_fonds_details_crypte", ["idFonds" => $this->extensions['App\Twig\DecryptageExtension']->encrypt((CoreExtension::getAttribute($this->env$this->source,             // line 8
  50. $context["investisseur"], "id_gestionnaire_fonds", [], "any"falsefalsefalse8) . "")), "codePays" =>             // line 9
  51. (isset($context["codePays"]) || array_key_exists("codePays"$context) ? $context["codePays"] : (function () { throw new RuntimeError('Variable "codePays" does not exist.'9$this->source); })())]) . "?dernieresAnnonces=1");
  52.             // line 12
  53.             yield "
  54.                 <tr>
  55.                     <td>";
  56.             // line 14
  57.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['App\Twig\TranslationExtension']->translate("dernière opération", (isset($context["lang"]) || array_key_exists("lang"$context) ? $context["lang"] : (function () { throw new RuntimeError('Variable "lang" does not exist.'14$this->source); })()), """M"""), "html"nulltrue);
  58.             yield " : ";
  59.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source$context["investisseur"], "date_investissement_formated", [], "any"falsefalsefalse14), "html"nulltrue);
  60.             yield "</td>
  61.                     <td>
  62.                         ";
  63.             // line 16
  64.             if ((CoreExtension::getAttribute($this->env$this->source$context["investisseur"], "cible", [], "any"truetruefalse16) && CoreExtension::getAttribute($this->env$this->source$context["investisseur"], "prefixe_cible", [], "any"truetruefalse16))) {
  65.                 // line 17
  66.                 yield "                            ";
  67.                 $context["arrayVarsTrans"] = ["prefixe_localisation" => CoreExtension::getAttribute($this->env$this->source$context["investisseur"], "prefixe_localisation", [], "any"falsefalsefalse17), "nom_localisation" => CoreExtension::getAttribute($this->env$this->source$context["investisseur"], "localisation", [], "any"falsefalsefalse17), "prefixe_cible" => CoreExtension::getAttribute($this->env$this->source$context["investisseur"], "prefixe_cible", [], "any"falsefalsefalse17), "cible" => CoreExtension::getAttribute($this->env$this->source$context["investisseur"], "cible", [], "any"falsefalsefalse17)];
  68.                 // line 18
  69.                 yield "                            <a href=\"";
  70.                 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((isset($context["lienFondsInvestissement"]) || array_key_exists("lienFondsInvestissement"$context) ? $context["lienFondsInvestissement"] : (function () { throw new RuntimeError('Variable "lienFondsInvestissement" does not exist.'18$this->source); })()), "html"nulltrue);
  71.                 yield "\">";
  72.                 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['App\Twig\TranslationExtension']->translate("fonds basé %\$prefixe_localisation%\$ %\$nom_localisation%\$ ciblant des sociétés %\$prefixe_cible%\$ %\$cible%\$", (isset($context["lang"]) || array_key_exists("lang"$context) ? $context["lang"] : (function () { throw new RuntimeError('Variable "lang" does not exist.'18$this->source); })()), """M""", (isset($context["arrayVarsTrans"]) || array_key_exists("arrayVarsTrans"$context) ? $context["arrayVarsTrans"] : (function () { throw new RuntimeError('Variable "arrayVarsTrans" does not exist.'18$this->source); })())), "html"nulltrue);
  73.                 yield "</a>
  74.                         ";
  75.             } elseif ((CoreExtension::getAttribute($this->env$this->source,             // line 19
  76. $context["investisseur"], "nb_cible", [], "any"truetruefalse19) && CoreExtension::getAttribute($this->env$this->source$context["investisseur"], "type_cible", [], "any"truetruefalse19))) {
  77.                 // line 20
  78.                 yield "                            ";
  79.                 $context["arrayVarsTrans"] = ["prefixe_localisation" => CoreExtension::getAttribute($this->env$this->source$context["investisseur"], "prefixe_localisation", [], "any"falsefalsefalse20), "nom_localisation" => CoreExtension::getAttribute($this->env$this->source$context["investisseur"], "localisation", [], "any"falsefalsefalse20), "nb_cible" => CoreExtension::getAttribute($this->env$this->source$context["investisseur"], "nb_cible", [], "any"falsefalsefalse20), "type_cible" => CoreExtension::getAttribute($this->env$this->source$context["investisseur"], "type_cible", [], "any"falsefalsefalse20)];
  80.                 // line 21
  81.                 yield "                            <a href=\"";
  82.                 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((isset($context["lienFondsInvestissement"]) || array_key_exists("lienFondsInvestissement"$context) ? $context["lienFondsInvestissement"] : (function () { throw new RuntimeError('Variable "lienFondsInvestissement" does not exist.'21$this->source); })()), "html"nulltrue);
  83.                 yield "\">";
  84.                 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['App\Twig\TranslationExtension']->translate("fonds basé %\$prefixe_localisation%\$ %\$nom_localisation%\$ ciblant %\$nb_cible%\$ %\$type_cible%\$", (isset($context["lang"]) || array_key_exists("lang"$context) ? $context["lang"] : (function () { throw new RuntimeError('Variable "lang" does not exist.'21$this->source); })()), """M""", (isset($context["arrayVarsTrans"]) || array_key_exists("arrayVarsTrans"$context) ? $context["arrayVarsTrans"] : (function () { throw new RuntimeError('Variable "arrayVarsTrans" does not exist.'21$this->source); })())), "html"nulltrue);
  85.                 yield "</a>
  86.                         ";
  87.             } else {
  88.                 // line 23
  89.                 yield "                            ";
  90.                 $context["arrayVarsTrans"] = ["prefixe_localisation" => CoreExtension::getAttribute($this->env$this->source$context["investisseur"], "prefixe_localisation", [], "any"falsefalsefalse23), "nom_localisation" => CoreExtension::getAttribute($this->env$this->source$context["investisseur"], "localisation", [], "any"falsefalsefalse23)];
  91.                 // line 24
  92.                 yield "                            <a href=\"";
  93.                 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((isset($context["lienFondsInvestissement"]) || array_key_exists("lienFondsInvestissement"$context) ? $context["lienFondsInvestissement"] : (function () { throw new RuntimeError('Variable "lienFondsInvestissement" does not exist.'24$this->source); })()), "html"nulltrue);
  94.                 yield "\">";
  95.                 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['App\Twig\TranslationExtension']->translate("fonds basé %\$prefixe_localisation%\$ %\$nom_localisation%\$", (isset($context["lang"]) || array_key_exists("lang"$context) ? $context["lang"] : (function () { throw new RuntimeError('Variable "lang" does not exist.'24$this->source); })()), """M""", (isset($context["arrayVarsTrans"]) || array_key_exists("arrayVarsTrans"$context) ? $context["arrayVarsTrans"] : (function () { throw new RuntimeError('Variable "arrayVarsTrans" does not exist.'24$this->source); })())), "html"nulltrue);
  96.                 yield "</a>
  97.                         ";
  98.             }
  99.             // line 26
  100.             yield "                    </td>
  101.                     <td class=\"oneline text-right\">";
  102.             // line 27
  103.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source$context["investisseur"], "nb_participation", [], "any"falsefalsefalse27), "html"nulltrue);
  104.             yield " ";
  105.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['App\Twig\TranslationExtension']->translate("opérations", (isset($context["lang"]) || array_key_exists("lang"$context) ? $context["lang"] : (function () { throw new RuntimeError('Variable "lang" does not exist.'27$this->source); })()), """M"""), "html"nulltrue);
  106.             yield "</td>
  107.                 </tr>
  108.             ";
  109.         }
  110.         $_parent $context['_parent'];
  111.         unset($context['_seq'], $context['_iterated'], $context['_key'], $context['investisseur'], $context['_parent'], $context['loop']);
  112.         $context array_intersect_key($context$_parent) + $_parent;
  113.         // line 30
  114.         yield "        </tbody>
  115.     </table>
  116.     <div class=\"float-right\"><a href=\"";
  117.         // line 32
  118.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("vendre_entreprise_resultats_fonds_acquereur", ["codePays" => (isset($context["codePays"]) || array_key_exists("codePays"$context) ? $context["codePays"] : (function () { throw new RuntimeError('Variable "codePays" does not exist.'32$this->source); })())]), "html"nulltrue);
  119.         yield "\">";
  120.         yield $this->extensions['App\Twig\TranslationExtension']->translate("tous les fonds acquéreurs", (isset($context["lang"]) || array_key_exists("lang"$context) ? $context["lang"] : (function () { throw new RuntimeError('Variable "lang" does not exist.'32$this->source); })()), """M""");
  121.         yield "</a></div>
  122. </div>";
  123.         
  124.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  125.         
  126.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  127.         return; yield '';
  128.     }
  129.     /**
  130.      * @codeCoverageIgnore
  131.      */
  132.     public function getTemplateName()
  133.     {
  134.         return "vendre_entreprise/fragments/fonds_acquereur/derniers_fonds_acquereurs.html.twig";
  135.     }
  136.     /**
  137.      * @codeCoverageIgnore
  138.      */
  139.     public function isTraitable()
  140.     {
  141.         return false;
  142.     }
  143.     /**
  144.      * @codeCoverageIgnore
  145.      */
  146.     public function getDebugInfo()
  147.     {
  148.         return array (  127 => 32,  123 => 30,  112 => 27,  109 => 26,  101 => 24,  98 => 23,  90 => 21,  87 => 20,  85 => 19,  78 => 18,  75 => 17,  73 => 16,  66 => 14,  62 => 12,  60 => 9,  59 => 8,  57 => 6,  53 => 5,  47 => 2,  44 => 1,);
  149.     }
  150.     public function getSourceContext()
  151.     {
  152.         return new Source("<div class=\"col-12 mt-5\">
  153.     <h5>{{ translate(\"derniers fonds acquereurs\",lang,\"\",\"M\", \"\") | raw }}</h5>
  154.     <table class=\"table table-sm\">
  155.         <tbody>
  156.             {% for investisseur in derniers_investisseurs %}
  157.                 {% set lienFondsInvestissement = path('vendre_entreprise_fonds_details_crypte',
  158.                      {
  159.                          'idFonds':encrypt(investisseur.id_gestionnaire_fonds ~ ''),
  160.                          'codePays':codePays
  161.                      }) ~ '?dernieresAnnonces=1'
  162.                 %}
  163.                 <tr>
  164.                     <td>{{ translate(\"dernière opération\", lang, \"\", \"M\", \"\") }} : {{ investisseur.date_investissement_formated }}</td>
  165.                     <td>
  166.                         {% if investisseur.cible is defined and investisseur.prefixe_cible is defined %}
  167.                             {% set arrayVarsTrans =  {\"prefixe_localisation\": investisseur.prefixe_localisation, \"nom_localisation\" : investisseur.localisation, \"prefixe_cible\" : investisseur.prefixe_cible, \"cible\" : investisseur.cible }  %}
  168.                             <a href=\"{{ lienFondsInvestissement }}\">{{ translate(\"fonds basé %\$prefixe_localisation%\$ %\$nom_localisation%\$ ciblant des sociétés %\$prefixe_cible%\$ %\$cible%\$\", lang, \"\", \"M\", \"\", arrayVarsTrans) }}</a>
  169.                         {% elseif investisseur.nb_cible is defined and investisseur.type_cible is defined %}
  170.                             {% set arrayVarsTrans =  {\"prefixe_localisation\": investisseur.prefixe_localisation, \"nom_localisation\" : investisseur.localisation, \"nb_cible\" : investisseur.nb_cible, \"type_cible\" : investisseur.type_cible }  %}
  171.                             <a href=\"{{ lienFondsInvestissement }}\">{{ translate(\"fonds basé %\$prefixe_localisation%\$ %\$nom_localisation%\$ ciblant %\$nb_cible%\$ %\$type_cible%\$\", lang, \"\", \"M\", \"\", arrayVarsTrans) }}</a>
  172.                         {% else %}
  173.                             {% set arrayVarsTrans =  {\"prefixe_localisation\": investisseur.prefixe_localisation, \"nom_localisation\" : investisseur.localisation }  %}
  174.                             <a href=\"{{ lienFondsInvestissement }}\">{{ translate(\"fonds basé %\$prefixe_localisation%\$ %\$nom_localisation%\$\", lang, \"\", \"M\", \"\", arrayVarsTrans) }}</a>
  175.                         {% endif %}
  176.                     </td>
  177.                     <td class=\"oneline text-right\">{{ investisseur.nb_participation }} {{ translate(\"opérations\", lang, \"\", \"M\", \"\") }}</td>
  178.                 </tr>
  179.             {% endfor %}
  180.         </tbody>
  181.     </table>
  182.     <div class=\"float-right\"><a href=\"{{ path('vendre_entreprise_resultats_fonds_acquereur', { 'codePays': codePays }) }}\">{{ translate(\"tous les fonds acquéreurs\",lang,\"\",\"M\", \"\") | raw }}</a></div>
  183. </div>""vendre_entreprise/fragments/fonds_acquereur/derniers_fonds_acquereurs.html.twig""/home/www/fusacq_symfony_5.4_preprod/templates/vendre_entreprise/fragments/fonds_acquereur/derniers_fonds_acquereurs.html.twig");
  184.     }
  185. }