templates/vendre_entreprise/acquisition.html.twig line 1

Open in your IDE?
  1. {% extends 'base.html.twig' %}
  2. {% block stylesheets %}  {{ parent() }}
  3.     <link rel="stylesheet" href="{{ asset('build/css/annuaires/repreneurs/repreneurs_recherche.css') }}">
  4. {% endblock %}
  5. {% block body %}
  6.     {% include 'assets/assets_vuejs.html.twig' %}
  7.     <!-- Menu  -->
  8.     {{ render_esi(controller(
  9.       'App\\Controller\\CoreController::menu',
  10.       {   "lang": lang,
  11.           "currentRoute":currentRoute,
  12.           "codePays": codePaysWithUnderScore }
  13.     )) | spaceless }}
  14.     <!-- Menu  -->
  15.     <!-- Publicite  -->
  16.     {% include 'includes/publicite.html.twig' %}
  17.     <!-- Publicite  -->
  18.     <div class="container" id="app">
  19.         <div class="row">
  20.             <!--COLONNE GAUCHE -->
  21.             {% include 'includes/colonne_gauche_liste_annonces.html.twig' %}
  22.             <!--FIN COLONNE GAUCHE -->
  23.             <!--COLONNE DROITE -->
  24.             <div class="col-12 col-lg-9 bkg_blanc">
  25.                 <!-- ARIANE -->
  26.                 <nav aria-label="breadcrumb" class="d-none d-sm-block">
  27.                     <ol class="breadcrumb">
  28.                         <li class="breadcrumb-item"><a href="{{ path('index',{'codePays':codePays}) }}">{{ translate("accueil",lang,"","M") | raw }}</a></li>
  29.                         <li class="breadcrumb-item"><a href="{{ path('vendre_entreprise_annonces_acquisition_entreprise',{'codePays':codePaysWithUnderScore}) }}">{{ translate("vendre une entreprise",lang,"","M") | raw }}</a></li>
  30.                             {% if idLocalisation and not idSecteurActivite %}
  31.                             <li class="breadcrumb-item"><a href="{{ path('vendre_entreprise_resultats_annonces_acquisition', {'codePays' : codePaysWithUnderScore}) }}" title="{{ translate("annonces d'acquisition",lang,"","M") | raw }}">{{ translate("annonces d'acquisition",lang,"","M") | raw }}</a></li>
  32.                                 {% for index, localisation in localisations %}
  33.                                     {% if index == 0 %}
  34.                                         {% set type_loc = "p" %}
  35.                                     {% elseif index == 1 %}
  36.                                         {% set type_loc = "r" %}
  37.                                     {% else %}
  38.                                         {% set type_loc = "d" %}
  39.                                     {% endif %}
  40.                                 {% if localisation != localisations|last %}
  41.                                     {% set arrayVarsTrans =  {"prefixe": localisation.prefixe, "nom_localisation" : localisation.nom_localisation }  %}
  42.                                     <li class="breadcrumb-item">
  43.                                         <a href="{{ path('vendre_entreprise_annonces_acquisition_localisation', {'slug': localisation.nom_localisation|slugify, 'type': type_loc, 'idLocalisation': localisation.id_localisation, 'codePays': codePaysWithUnderScore}) }}"
  44.                                            title="{{ translate("vendre une entreprise %$prefixe%$ %$nom_localisation%$",lang,"","M", "", arrayVarsTrans) | raw }}">
  45.                                             {{ localisation.nom_localisation }}
  46.                                         </a>
  47.                                     </li>
  48.                                 {% else %}
  49.                                     <li class="breadcrumb-item active" aria-current="page">{{ localisation.nom_localisation }}</li>
  50.                                     {% endif %}
  51.                                 {% endfor %}
  52.                             {% elseif idSecteurActivite and not idLocalisation %}
  53.                             <li class="breadcrumb-item"><a href="{{ path('vendre_entreprise_resultats_annonces_acquisition', {'codePays' : codePaysWithUnderScore}) }}" title="{{ translate("annonces d'acquisition",lang,"","M") | raw }}">{{ translate("annonces d'acquisition",lang,"","M") | raw }}</a></li>
  54.                                 {% for index, secteurActivite in secteurActivites %}
  55.                                     {% if secteurActivite != secteurActivites|last %}
  56.                                         {% set arrayVarsTrans =  {"nomPourTitle": secteurActivite.nomPourTitle|lower }  %}
  57.                                     <li class="breadcrumb-item">
  58.                                         <a href="{{ path('vendre_entreprise_annonces_acquisition_secteur_activite', {'slug': secteurActivite.nomSecteurActivite|slugify, 'idSecteurActivite': secteurActivite.idSecteurActivite, 'codePays': codePaysWithUnderScore}) }}"
  59.                                            title="{{ translate("vendre une entreprise %$nomPourTitle%$",lang,"","M", "", arrayVarsTrans) | raw }}">
  60.                                             {{ secteurActivite.nomSecteurActivite }}
  61.                                         </a>
  62.                                     </li>
  63.                                 {% else %}
  64.                                     <li class="breadcrumb-item active" aria-current="page">{{ secteurActivite.nomSecteurActivite }}</li>
  65.                                     {% endif %}
  66.                                 {% endfor %}
  67.                             {% elseif idSecteurActivite and idLocalisation %}
  68.                             <li class="breadcrumb-item"><a href="{{ path('vendre_entreprise_resultats_annonces_acquisition', {'codePays' : codePaysWithUnderScore}) }}" title="{{ translate("annonces d'acquisition",lang,"","M") | raw }}">{{ translate("annonces d'acquisition",lang,"","M") | raw }}</a></li>
  69.                                 {% for index, secteurActivite in secteurActivites %}
  70.                                     {% set arrayVarsTrans =  {"nomPourTitle": secteurActivite.nomPourTitle|lower }  %}
  71.                                 <li class="breadcrumb-item">
  72.                                     <a href="{{ path('vendre_entreprise_annonces_acquisition_secteur_activite', {'slug': secteurActivite.nomSecteurActivite|slugify, 'idSecteurActivite': secteurActivite.idSecteurActivite, 'codePays': codePaysWithUnderScore}) }}"
  73.                                        title="{{ translate("vendre une entreprise %$nomPourTitle%$",lang,"","M", "", arrayVarsTrans) | raw }}">
  74.                                         {{ secteurActivite.nomSecteurActivite }}
  75.                                     </a>
  76.                                 </li>
  77.                             {% endfor %}
  78.                             {% for index, localisation in localisations %}
  79.                                 {% if index == 0 %}
  80.                                     {% set type_loc = "p" %}
  81.                                 {% elseif index == 1 %}
  82.                                     {% set type_loc = "r" %}
  83.                                 {% else %}
  84.                                     {% set type_loc = "d" %}
  85.                                 {% endif %}
  86.                                 {% if localisation != localisations|last %}
  87.                                     {% set arrayVarsTrans =  {"prefixe": localisation.prefixe, "nom_localisation" : localisation.nom_localisation, "nomPourTitle": secteurActivites|last.nomPourTitle|lower }  %}
  88.                                     <li class="breadcrumb-item">
  89.                                         <a href="{{ path('vendre_entreprise_annonces_acquisition_croise', {'nomLocalisation': localisation.nom_localisation|slugify, 'nomSecteurActivite': secteurActivites|last.nomSecteurActivite|slugify, 'type': type_loc, 'idLocalisation': localisation.id_localisation, 'idSecteurActivite': secteurActivites|last.idSecteurActivite, 'codePays': codePaysWithUnderScore}) }}"
  90.                                            title="{{ translate("vendre une entreprise %$nomPourTitle%$ %$prefixe%$ %$nom_localisation%$",lang,"","M", "", arrayVarsTrans) | raw }}">
  91.                                             {{ localisation.nom_localisation }}
  92.                                         </a>
  93.                                     </li>
  94.                                 {% else %}
  95.                                     <li class="breadcrumb-item active" aria-current="page">{{ localisation.nom_localisation }}</li>
  96.                                     {% endif %}
  97.                                 {% endfor %}
  98.                             {% else %}
  99.                             <li class="breadcrumb-item active" aria-current="page">{{ translate("annonces d'acquisition",lang,"","M") | raw }}</li>
  100.                             {% endif %}
  101.                     </ol>
  102.                 </nav>
  103.                 <!-- FIN ARIANE -->
  104.                 {% if app.session.flashbag.peek('error')|length > 0 %}
  105.                     <div class="alert alert-danger" role="alert">
  106.                         {% for message in app.flashes('error') %}
  107.                             {{ message }}<br>
  108.                         {% endfor %}
  109.                     </div>
  110.                 {% endif %}
  111.                 {% if app.session.flashbag.peek('success')|length > 0 %}
  112.                     <div class="alert alert-success" role="alert">
  113.                         {% for message in app.flashes('success') %}
  114.                             - {{ message }}<br>
  115.                         {% endfor %}
  116.                     </div>
  117.                 {% endif %}
  118.                 {% if idLocalisation or idSecteurActivite %}
  119.                     <div class="row mt-4">
  120.                         <div class="col-12 mb-1 ml-3 mt-3">
  121.                             <h1 class="vert fs2">{{ translate("annonces d'acquisition",lang,"","M") | raw }} -
  122.                                 {% if idLocalisation and not idSecteurActivite %}
  123.                                     {{ localisations|last.nom_localisation }} {% if noms_ville %}({{ noms_ville }}...){% endif %}
  124.                                 {% elseif idSecteurActivite and not idLocalisation %}
  125.                                     {{ secteurActivites|last.nomSecteurActivite }}
  126.                                 {% elseif idSecteurActivite and idLocalisation %}
  127.                                     {{ secteurActivites|last.nomSecteurActivite }} {{ localisations|last.prefixe }} {{ localisations|last.nom_localisation }}
  128.                                 {% endif %}
  129.                             </h1>
  130.                         </div>
  131.                     </div>
  132.                 {% endif %}
  133.                 {% if idLocalisation and not idSecteurActivite %}
  134.                     <div class="row">
  135.                         <div class="col-12">
  136.                             <div class="card no_shadow mb-3 card-ie">
  137.                                 <div class="card-body">
  138.                                     <div class="row">
  139.                                         <div class="col-12 mt-1">
  140.                                             <div class="float-left">
  141.                                                 {% if prev_localisation %}
  142.                                                     {% set arrayVarsTrans =  {"prefixe": prev_localisation.prefixe, "nom_localisation" : prev_localisation.nom_localisation }  %}
  143.                                                     <a href="{{ path('vendre_entreprise_annonces_acquisition_localisation', {'slug': prev_localisation.nom_localisation|default('')|slugify, 'type': prev_localisation.type, 'idLocalisation': prev_localisation.id_localisation, 'codePays': codePaysWithUnderScore}) }}" title="{{ translate("vendre une entreprise %$prefixe%$ %$nom_localisation%$",lang,"","M", "", arrayVarsTrans) | raw }}">
  144.                                                         <i class="fas fa-arrow-circle-up fa-2x vert"></i>
  145.                                                     </a>
  146.                                                 {% else %}
  147.                                                     <i class="fas fa-arrow-circle-up fa-2x vert"></i>
  148.                                                 {% endif %}
  149.                                             </div>
  150.                                             <div class="lh18 ml-5">
  151.                                                 <strong class="vert">{{ localisations|last.nom_localisation }} ({{ nb_annonces_acquisition }})</strong>
  152.                                             </div>
  153.                                         </div>
  154.                                         {% set nb_elements = sous_localisations_numbers | length %}
  155.                                         {% if nb_elements > 0 and nb_elements <= 5 %}
  156.                                             <div class="col-12 pt-2 mt-3">
  157.                                                 <ul class="cat_regions">
  158.                                                     {% for element in sous_localisations_numbers %}
  159.                                                         {% set arrayVarsTrans =  {"prefixe": element.prefixe, "nom_localisation" : element.nom_localisation }  %}
  160.                                                         <li>
  161.                                                             {% if element.nb_annonces_acquisition > 0 %}
  162.                                                                 <a href="{{ path('vendre_entreprise_annonces_acquisition_localisation', {'slug' : element.nom_localisation|slugify, 'idLocalisation' : element.id_localisation, 'type' : element.type, 'codePays' : codePaysWithUnderScore }) }}" title="{{ translate("vendre une entreprise %$prefixe%$ %$nom_localisation%$",lang,"","M", "", arrayVarsTrans) | raw }}">
  163.                                                                     {{ element.nom_localisation }} ({{ element.nb_annonces_acquisition }})
  164.                                                                 </a>
  165.                                                             {% else %}
  166.                                                                 <span class="disabled-link">{{ element.nom_localisation }} ({{ element.nb_annonces_acquisition }})</span>
  167.                                                             {% endif %}
  168.                                                         </li>
  169.                                                     {% endfor %}
  170.                                                 </ul>
  171.                                             </div>
  172.                                         {% elseif nb_elements > 5 %}
  173.                                             {% set half = ((sous_localisations_numbers | length) / 2)| round(0, 'ceil') %}
  174.                                             <div class="col-6 pt-2 mt-3">
  175.                                                 <ul class="cat_regions">
  176.                                                     {% for index, element in sous_localisations_numbers %}
  177.                                                         {% set arrayVarsTrans =  {"prefixe": element.prefixe, "nom_localisation" : element.nom_localisation }  %}
  178.                                                         {% if index < half %}
  179.                                                             <li>
  180.                                                                 {% if element.nb_annonces_acquisition > 0 %}
  181.                                                                     <a href="{{ path('vendre_entreprise_annonces_acquisition_localisation', {'slug' : element.nom_localisation|slugify, 'idLocalisation' : element.id_localisation, 'type' : element.type, 'codePays' : codePaysWithUnderScore }) }}" title="{{ translate("vendre une entreprise %$prefixe%$ %$nom_localisation%$",lang,"","M", "", arrayVarsTrans) | raw }}">
  182.                                                                         {{ element.nom_localisation }} ({{ element.nb_annonces_acquisition }})
  183.                                                                     </a>
  184.                                                                 {% else %}
  185.                                                                     <span class="disabled-link">{{ element.nom_localisation }} ({{ element.nb_annonces_acquisition }})</span>
  186.                                                                 {% endif %}
  187.                                                             </li>
  188.                                                         {% endif %}
  189.                                                     {% endfor %}
  190.                                                 </ul>
  191.                                             </div>
  192.                                             <div class="col-6 pt-2 mt-3">
  193.                                                 <ul class="cat_regions">
  194.                                                     {% for index, element in sous_localisations_numbers %}
  195.                                                         {% set arrayVarsTrans =  {"prefixe": element.prefixe, "nom_localisation" : element.nom_localisation }  %}
  196.                                                         {% if index >= half %}
  197.                                                             <li>
  198.                                                                 {% if element.nb_annonces_acquisition > 0 %}
  199.                                                                     <a href="{{ path('vendre_entreprise_annonces_acquisition_localisation', {'slug' : element.nom_localisation|slugify, 'idLocalisation' : element.id_localisation, 'type' : element.type, 'codePays' : codePaysWithUnderScore }) }}" title="{{ translate("vendre une entreprise %$prefixe%$ %$nom_localisation%$",lang,"","M", "", arrayVarsTrans) | raw }}">
  200.                                                                         {{ element.nom_localisation }} ({{ element.nb_annonces_acquisition }})
  201.                                                                     </a>
  202.                                                                 {% else %}
  203.                                                                     <span class="disabled-link">{{ element.nom_localisation }} ({{ element.nb_annonces_acquisition }})</span>
  204.                                                                 {% endif %}
  205.                                                             </li>
  206.                                                         {% endif %}
  207.                                                     {% endfor %}
  208.                                                 </ul>
  209.                                             </div>
  210.                                         {% endif %}
  211.                                     </div>
  212.                                 </div>
  213.                             </div>
  214.                         </div>
  215.                     </div>
  216.                 {% elseif idSecteurActivite and not idLocalisation %}
  217.                     <div class="row">
  218.                         <div class="col-12">
  219.                             <div class="card no_shadow mb-3 card-ie">
  220.                                 <div class="card-body">
  221.                                     <div class="row">
  222.                                         <div class="col-12 mt-1">
  223.                                             <div class="float-left">
  224.                                                 {% if prev_secteur %}
  225.                                                     {% set arrayVarsTrans =  {"nomPourTitle": prev_secteur.nomPourTitle|lower }  %}
  226.                                                     <a href="{{ path('vendre_entreprise_annonces_acquisition_secteur_activite', {'slug': prev_secteur.nomSecteurActivite|slugify, 'idSecteurActivite': prev_secteur.idSecteurActivite, 'codePays': codePaysWithUnderScore}) }}" title="{{ translate("vendre une entreprise %$nomPourTitle%$",lang,"","M", "", arrayVarsTrans) | raw }}">
  227.                                                         <i class="fas fa-arrow-circle-up fa-2x vert"></i>
  228.                                                     </a>
  229.                                                 {% else %}
  230.                                                     <a href="{{ path('vendre_entreprise_annonces_acquisition_entreprise', {'codePays': codePaysWithUnderScore }) }}" title="{{ translate("toutes les opportunités", lang, "", "M") }}">
  231.                                                         <i class="fas fa-arrow-circle-up fa-2x vert"></i>
  232.                                                     </a>
  233.                                                 {% endif %}
  234.                                             </div>
  235.                                             <div class="lh18 ml-5">
  236.                                                 <strong class="vert">{{ secteurActivites|last.nomSecteurActivite }} ({{ nb_annonces_acquisition }})</strong>
  237.                                             </div>
  238.                                         </div>
  239.                                         {% set nb_elements = sous_secteurs_numbers | length %}
  240.                                         {% if nb_elements > 0 and nb_elements <= 5 %}
  241.                                             <div class="col-12 pt-2 mt-3">
  242.                                                 <ul class="cat_regions">
  243.                                                     {% for element in sous_secteurs_numbers %}
  244.                                                         {% set arrayVarsTrans =  {"nomPourTitle": element.nomPourTitle|lower }  %}
  245.                                                         <li>
  246.                                                             {% if element.nb_annonces_acquisition > 0 %}
  247.                                                                 <a href="{{ path('vendre_entreprise_annonces_acquisition_secteur_activite', {'slug' : element.nomSecteurActivite|slugify, 'idSecteurActivite' : element.idSecteurActivite, 'codePays' : codePaysWithUnderScore }) }}"
  248.                                                                    title="{{ translate("vendre une entreprise %$nomPourTitle%$",lang,"","M", "", arrayVarsTrans) | raw }}">
  249.                                                                     {{ element.nomSecteurActivite }} ({{ element.nb_annonces_acquisition }})
  250.                                                                 </a>
  251.                                                             {% else %}
  252.                                                                 <span class="disabled-link">{{ element.nomSecteurActivite }} ({{ element.nb_annonces_acquisition }})</span>
  253.                                                             {% endif %}
  254.                                                         </li>
  255.                                                     {% endfor %}
  256.                                                 </ul>
  257.                                             </div>
  258.                                         {% elseif nb_elements > 5 %}
  259.                                             {% set half = ((sous_secteurs_numbers | length) / 2)| round(0, 'ceil') %}
  260.                                             <div class="col-6 pt-2 mt-3">
  261.                                                 <ul class="cat_regions">
  262.                                                     {% for index, element in sous_secteurs_numbers %}
  263.                                                         {% set arrayVarsTrans =  {"nomPourTitle": element.nomPourTitle|lower }  %}
  264.                                                         {% if index < half %}
  265.                                                             <li>
  266.                                                                 {% if element.nb_annonces_acquisition > 0 %}
  267.                                                                     <a href="{{ path('vendre_entreprise_annonces_acquisition_secteur_activite', {'slug' : element.nomSecteurActivite|slugify, 'idSecteurActivite' : element.idSecteurActivite, 'codePays' : codePaysWithUnderScore }) }}"
  268.                                                                        title="{{ translate("vendre une entreprise %$nomPourTitle%$",lang,"","M", "", arrayVarsTrans) | raw }}">
  269.                                                                         {{ element.nomSecteurActivite }} ({{ element.nb_annonces_acquisition }})
  270.                                                                     </a>
  271.                                                                 {% else %}
  272.                                                                     <span class="disabled-link">{{ element.nomSecteurActivite }} ({{ element.nb_annonces_acquisition }})</span>
  273.                                                                 {% endif %}
  274.                                                             </li>
  275.                                                         {% endif %}
  276.                                                     {% endfor %}
  277.                                                 </ul>
  278.                                             </div>
  279.                                             <div class="col-6 pt-2 mt-3">
  280.                                                 <ul class="cat_regions">
  281.                                                     {% for index, element in sous_secteurs_numbers %}
  282.                                                         {% set arrayVarsTrans =  {"nomPourTitle": element.nomPourTitle|lower }  %}
  283.                                                         {% if index >= half %}
  284.                                                             <li>
  285.                                                                 {% if element.nb_annonces_acquisition > 0 %}
  286.                                                                     <a href="{{ path('vendre_entreprise_annonces_acquisition_secteur_activite', {'slug' : element.nomSecteurActivite|slugify, 'idSecteurActivite' : element.idSecteurActivite, 'codePays' : codePaysWithUnderScore }) }}"
  287.                                                                        title="{{ translate("vendre une entreprise %$nomPourTitle%$",lang,"","M", "", arrayVarsTrans) | raw }}">
  288.                                                                         {{ element.nomSecteurActivite }} ({{ element.nb_annonces_acquisition }})
  289.                                                                     </a>
  290.                                                                 {% else %}
  291.                                                                     <span class="disabled-link">{{ element.nomSecteurActivite }} ({{ element.nb_annonces_acquisition }})</span>
  292.                                                                 {% endif %}
  293.                                                             </li>
  294.                                                         {% endif %}
  295.                                                     {% endfor %}
  296.                                                 </ul>
  297.                                             </div>
  298.                                         {% endif %}
  299.                                     </div>
  300.                                 </div>
  301.                             </div>
  302.                         </div>
  303.                     </div>
  304.                 {% elseif idSecteurActivite and idLocalisation %}
  305.                     <div class="row">
  306.                         <div class="col-12">
  307.                             <div class="card no_shadow mb-3 card-ie">
  308.                                 <div class="card-body">
  309.                                     <div class="row">
  310.                                         <div class="col-12 mt-1 mb-3">
  311.                                             <div class="float-left">
  312.                                                 {% if prev_localisation %}
  313.                                                     {% set arrayVarsTrans =  {"prefixe": prev_localisation.prefixe, "nom_localisation" : prev_localisation.nom_localisation, "nomPourTitle": secteurActivites|last.nomPourTitle|lower }  %}
  314.                                                     <a href="{{ path('vendre_entreprise_annonces_acquisition_croise', {'nomLocalisation': prev_localisation.nom_localisation|slugify, 'nomSecteurActivite' : secteurActivites|last.nomSecteurActivite|slugify, 'type': prev_localisation.type, 'idLocalisation': prev_localisation.id_localisation, 'idSecteurActivite' : secteurActivites|last.idSecteurActivite, 'codePays': codePaysWithUnderScore}) }}"
  315.                                                        title="{{ translate("vendre une entreprise %$nomPourTitle%$ %$prefixe%$ %$nom_localisation%$",lang,"","M", "", arrayVarsTrans) | raw }}">
  316.                                                         <i class="fas fa-arrow-circle-up fa-2x vert"></i>
  317.                                                     </a>
  318.                                                 {% else %}
  319.                                                     <i class="fas fa-arrow-circle-up fa-2x vert"></i>
  320.                                                 {% endif %}
  321.                                             </div>
  322.                                             <div class="lh18 ml-5">
  323.                                                 <strong class="vert">{{ localisations|last.nom_localisation }} ({{ nb_annonces_acquisition }})</strong>
  324.                                             </div>
  325.                                         </div>
  326.                                         {% set nb_elements = sous_localisations_numbers | length %}
  327.                                         {% if nb_elements > 0 and nb_elements <= 5 %}
  328.                                             <div class="col-12 pt-2">
  329.                                                 <ul class="cat_regions">
  330.                                                     {% for element in sous_localisations_numbers %}
  331.                                                         {% set arrayVarsTrans =  {"prefixe": element.prefixe, "nom_localisation" : element.nom_localisation, "nomPourTitle": secteurActivites|last.nomPourTitle|lower }  %}
  332.                                                         <li>
  333.                                                             {% if element.nb_annonces_acquisition > 0 %}
  334.                                                                 <a href="{{ path('vendre_entreprise_annonces_acquisition_croise', {'nomLocalisation' : element.nom_localisation|slugify, 'nomSecteurActivite' : secteurActivites|last.nomSecteurActivite|slugify, 'idLocalisation' : element.id_localisation, 'type' : element.type, 'idSecteurActivite' : secteurActivites|last.idSecteurActivite, 'codePays' : codePaysWithUnderScore }) }}"
  335.                                                                    title="{{ translate("vendre une entreprise %$nomPourTitle%$ %$prefixe%$ %$nom_localisation%$",lang,"","M", "", arrayVarsTrans) | raw }}">
  336.                                                                     {{ element.nom_localisation }} ({{ element.nb_annonces_acquisition }})
  337.                                                                 </a>
  338.                                                             {% else %}
  339.                                                                 <span class="disabled-link">{{ element.nom_localisation }} ({{ element.nb_annonces_acquisition }})</span>
  340.                                                             {% endif %}
  341.                                                         </li>
  342.                                                     {% endfor %}
  343.                                                 </ul>
  344.                                             </div>
  345.                                         {% elseif nb_elements > 5 %}
  346.                                             {% set half = ((sous_localisations_numbers | length) / 2)| round(0, 'ceil') %}
  347.                                             <div class="col-6 pt-2 mt-3">
  348.                                                 <ul class="cat_regions">
  349.                                                     {% for index, element in sous_localisations_numbers %}
  350.                                                         {% set arrayVarsTrans =  {"prefixe": element.prefixe, "nom_localisation" : element.nom_localisation, "nomPourTitle": secteurActivites|last.nomPourTitle|lower }  %}
  351.                                                         {% if index < half %}
  352.                                                             <li>
  353.                                                                 {% if element.nb_annonces_acquisition > 0 %}
  354.                                                                     <a href="{{ path('vendre_entreprise_annonces_acquisition_croise', {'nomLocalisation' : element.nom_localisation|slugify, 'nomSecteurActivite' : secteurActivites|last.nomSecteurActivite|slugify, 'idLocalisation' : element.id_localisation, 'type' : element.type, 'idSecteurActivite' : secteurActivites|last.idSecteurActivite, 'codePays' : codePaysWithUnderScore }) }}"
  355.                                                                        title="{{ translate("vendre une entreprise %$nomPourTitle%$ %$prefixe%$ %$nom_localisation%$",lang,"","M", "", arrayVarsTrans) | raw }}">
  356.                                                                         {{ element.nom_localisation }} ({{ element.nb_annonces_acquisition }})
  357.                                                                     </a>
  358.                                                                 {% else %}
  359.                                                                     <span class="disabled-link">{{ element.nom_localisation }} ({{ element.nb_annonces_acquisition }})</span>
  360.                                                                 {% endif %}
  361.                                                             </li>
  362.                                                         {% endif %}
  363.                                                     {% endfor %}
  364.                                                 </ul>
  365.                                             </div>
  366.                                             <div class="col-6 pt-2 mt-3">
  367.                                                 <ul class="cat_regions">
  368.                                                     {% for index, element in sous_localisations_numbers %}
  369.                                                         {% set arrayVarsTrans =  {"prefixe": element.prefixe, "nom_localisation" : element.nom_localisation, "nomPourTitle": secteurActivites|last.nomPourTitle|lower }  %}
  370.                                                         {% if index >= half %}
  371.                                                             <li>
  372.                                                                 {% if element.nb_annonces_acquisition > 0 %}
  373.                                                                     <a href="{{ path('vendre_entreprise_annonces_acquisition_croise', {'nomLocalisation' : element.nom_localisation|slugify, 'nomSecteurActivite' : secteurActivites|last.nomSecteurActivite|slugify, 'idLocalisation' : element.id_localisation, 'type' : element.type, 'idSecteurActivite' : secteurActivites|last.idSecteurActivite, 'codePays' : codePaysWithUnderScore }) }}"
  374.                                                                        title="{{ translate("vendre une entreprise %$nomPourTitle%$ %$prefixe%$ %$nom_localisation%$",lang,"","M", "", arrayVarsTrans) | raw }}">
  375.                                                                         {{ element.nom_localisation }} ({{ element.nb_annonces_acquisition }})
  376.                                                                     </a>
  377.                                                                 {% else %}
  378.                                                                     <span class="disabled-link">{{ element.nom_localisation }} ({{ element.nb_annonces_acquisition }})</span>
  379.                                                                 {% endif %}
  380.                                                             </li>
  381.                                                         {% endif %}
  382.                                                     {% endfor %}
  383.                                                 </ul>
  384.                                             </div>
  385.                                         {% endif %}
  386.                                     </div>
  387.                                 </div>
  388.                             </div>
  389.                         </div>
  390.                     </div>
  391.                 {% endif %}
  392.                 <!--2 BOUTONS-->
  393.                 <div class="row mt-3 mb-3">
  394.                     <div class="col-12 pt-2 mb-4 text-right">
  395.                         <a href="{{ path('vendre_entreprise_recherche_annonces_acquisition_entreprise',{'codePays':codePaysWithUnderScore}  ) }}?{{ string_params_without_page }}" class="text-decoration-none" title="{{ translate("modifiez votre recherche",lang,"","M") | raw }}">
  396.                             <button type="submit" class="btn btn-vert-annonce mt-2">{{ translate("modifiez votre recherche",lang,"","M") | raw }}</button>
  397.                         </a>
  398.                         <a href="{{ path('creer_alerte', {type: 'achat', codePays: codePaysWithUnderScore}) }}" class="ml-2" title="{{ translate("creer une alerte",lang,"","M") | raw }}" id="btnCreationAlerte">
  399.                             <button type="submit" class="btn btn-jaune blanc mt-2">
  400.                                 <i class="fas fa-bell white"></i> {{ translate("creer une alerte",lang,"","M") | raw }}
  401.                             </button>
  402.                         </a>
  403.                     </div>
  404.                 </div>
  405.                 <!--FIN 2 BOUTONS-->
  406.                 {% if idLocalisation and not idSecteurActivite %}
  407.                     <div class="row" >
  408.                         <div class="col-12 mb-3 ml-3">
  409.                             {% set p = "" %}
  410.                             {% if ( nb_annonces > 1 ) %}
  411.                                 {% set p = "p" %}
  412.                             {% endif %}
  413.                             {% set arrayVarsTrans =  {"prefixe": localisations|last.prefixe, "nom_localisation" : localisations|last.nom_localisation }  %}
  414.                             <span class="fs13 vert">{{ nb_annonces }} {{ translate("$$acheteur$${p|acheteurs} %$prefixe%$ %$nom_localisation%$ dont",lang,"","m", p, arrayVarsTrans) | raw }} :</span>
  415.                         </div>
  416.                     </div>
  417.                     <!--MOBILE-->
  418.                     <div class="row d-block d-sm-none bkg_gris_clair">
  419.                         <div class="col-12">
  420.                             <div class="row">
  421.                                 <div class="col-6  text-center my-3 br_gris">
  422.                                     <div class="blanc bkg_vert lh099 py-3">
  423.                                         <span class="fs2">{{ nb_annonces_acquisition }}</span><br>
  424.                                         {% set p = "" %}
  425.                                         {% if ( nb_annonces_acquisition > 1 ) %}
  426.                                             {% set p = "p" %}
  427.                                         {% endif %}
  428.                                         <span class="res_font">{{ translate("$$annonce$${p|annonces}<br>d'acquisition",lang,"","m", p) | raw }}</span>
  429.                                     </div>
  430.                                 </div>
  431.                                 <div class="col-6 text-center my-3">
  432.                                     <div class="blanc lh099 py-3">
  433.                                         <a href="{{ path('vendre_entreprise_cv_repreneur_localisation',{'slug':slug, 'type':type, 'idLocalisation':idLocalisation, 'codePays':codePaysWithUnderScore}) }}?{{ string_params_without_page }}" class="vert lh099 py-3">
  434.                                             <span class="fs2">{{ nb_cvs }}</span><br>
  435.                                             {% set p = "" %}
  436.                                             {% if ( nb_cvs > 1 ) %}
  437.                                                 {% set p = "p" %}
  438.                                             {% endif %}
  439.                                             <span class="res_font">{{ translate("CV de <br>$$repreneur$${p|repreneurs}",lang,"","M", p) | raw }}</span></a>
  440.                                     </div>
  441.                                 </div>
  442.                                 <div class="col-6 text-center my-3 br_gris">
  443.                                     <div class="blanc lh099 py-3">
  444.                                         <a href="{{ path('vendre_entreprise_acquereur_historique_localisation',{'slug':slug, 'type':type, 'idLocalisation':idLocalisation, 'codePays':codePaysWithUnderScore}) }}?{{ string_params_without_page }}" class="vert lh099 py-3">
  445.                                             <span class="fs2">{{ nb_acheteurs_potentiels }}</span><br>
  446.                                             {% set p = "" %}
  447.                                             {% if ( nb_acheteurs_potentiels > 1 ) %}
  448.                                                 {% set p = "p" %}
  449.                                             {% endif %}
  450.                                             <span class="res_font">{{ translate("$$acheteur<br>potentiel$${p|acheteurs<br>potentiels}",lang,"","m", p) | raw }}</span></a>
  451.                                     </div>
  452.                                 </div>
  453.                                 <div class="col-6 text-center my-3 pr-4">
  454.                                     <div class="blanc lh099 py-3">
  455.                                         <a href="{{ path('vendre_entreprise_fonds_acquereur_localisation',{'slug':slug, 'type':type, 'idLocalisation':idLocalisation, 'codePays':codePaysWithUnderScore}) }}?{{ string_params_without_page }}" class="vert lh099 py-3">
  456.                                             <span class="fs2">{{ nb_investisseurs_acquereurs }}</span><br>
  457.                                             {% set p = "" %}
  458.                                             {% if ( nb_investisseurs_acquereurs > 1 ) %}
  459.                                                 {% set p = "p" %}
  460.                                             {% endif %}
  461.                                             <span class="res_font">{{ translate("$$fonds<br>acquereur$${p|fonds<br>acquereurs}",lang,"","m", p) | raw }}</span></a>
  462.                                     </div>
  463.                                 </div>
  464.                             </div>
  465.                         </div>
  466.                     </div>
  467.                     <!--MOBILE-->
  468.                     <!--TOUT SAUF MOBILE-->
  469.                     <div class="row d-none d-sm-block">
  470.                         <div class="onglet5 col-12 mb-4">
  471.                             <nav>
  472.                                 <div class="nav nav-tabs nav-fill" id="nav-tab" role="tablist">
  473.                                     <div class="col-12 col-sm-3 no-padding-x lh13 order-4 order-sm-1">
  474.                                         <div class="nav-item nav-link active">
  475.                                             {% set p = "" %}
  476.                                             {% if ( nb_annonces_acquisition > 1 ) %}
  477.                                                 {% set p = "p" %}
  478.                                             {% endif %}
  479.                                             <span class="fs2">{{ nb_annonces_acquisition }}</span><br><span class="fs12">{{ translate("$$annonce$${p|annonces}<br>d'acquisition",lang,"","m", p) | raw }}</span>
  480.                                         </div>
  481.                                     </div>
  482.                                     <div class="col-12 col-sm-3 no-padding-x br_gris  lh13 order-sm-2">
  483.                                         <a class="nav-item nav-link" href="{{ path('vendre_entreprise_cv_repreneur_localisation',{'slug':slug, 'type':type, 'idLocalisation':idLocalisation, 'codePays':codePaysWithUnderScore}) }}?{{ string_params_without_page }}">
  484.                                             {% set p = "" %}
  485.                                             {% if ( nb_cvs > 1 ) %}
  486.                                                 {% set p = "p" %}
  487.                                             {% endif %}
  488.                                             <span class="fs2">{{ nb_cvs }}</span><br><span class="fs12">{{ translate("CV de <br>$$repreneur$${p|repreneurs}",lang,"","M", p) | raw }}</span>
  489.                                         </a>
  490.                                     </div>
  491.                                     <div class="col-12 col-sm-3 no-padding-x br_gris  lh13 order-sm-3">
  492.                                         <a class="nav-item nav-link" href="{{ path('vendre_entreprise_acquereur_historique_localisation',{'slug':slug, 'type':type, 'idLocalisation':idLocalisation, 'codePays':codePaysWithUnderScore}) }}?{{ string_params_without_page }}">
  493.                                             {% set p = "" %}
  494.                                             {% if ( nb_acheteurs_potentiels > 1 ) %}
  495.                                                 {% set p = "p" %}
  496.                                             {% endif %}
  497.                                             <span class="fs2">{{ nb_acheteurs_potentiels }}</span><br><span class="fs12">{{ translate("$$acheteur<br>potentiel$${p|acheteurs<br>potentiels}",lang,"","m", p) | raw }}</span>
  498.                                         </a>
  499.                                     </div>
  500.                                     <div class="col-12 col-sm-3 no-padding-x br_gris lh13 order-sm-4">
  501.                                         <a class="nav-item nav-link" href="{{ path('vendre_entreprise_fonds_acquereur_localisation',{'slug':slug, 'type':type, 'idLocalisation':idLocalisation, 'codePays':codePaysWithUnderScore}) }}?{{ string_params_without_page }}">
  502.                                             {% set p = "" %}
  503.                                             {% if ( nb_investisseurs_acquereurs > 1 ) %}
  504.                                                 {% set p = "p" %}
  505.                                             {% endif %}
  506.                                             <span class="fs2">{{ nb_investisseurs_acquereurs }}</span><br><span class="fs12">{{ translate("$$fonds<br>acquereur$${p|fonds<br>acquereurs}",lang,"","m", p) | raw }}</span>
  507.                                         </a>
  508.                                     </div>
  509.                                 </div>
  510.                             </nav>
  511.                         </div>
  512.                     </div>
  513.                     <!--TOUT SAUF MOBILE-->
  514.                 {% elseif idSecteurActivite and not idLocalisation %}
  515.                     <div class="row" >
  516.                         <div class="col-12 mb-3 ml-3">
  517.                             {% set p = "" %}
  518.                             {% if ( nb_annonces > 1 ) %}
  519.                                 {% set p = "p" %}
  520.                             {% endif %}
  521.                             {% set arrayVarsTrans =  {"nomPourTitle": secteurActivites|last.nomPourTitle|lower }  %}
  522.                             <span class="fs13 vert">{{ nb_annonces }} {{ translate("$$acheteur$${p|acheteurs} dont",lang,"","m", p) | raw }} :</span>
  523.                         </div>
  524.                     </div>
  525.                     <!--MOBILE-->
  526.                     <div class="row d-block d-sm-none bkg_gris_clair">
  527.                         <div class="col-12">
  528.                             <div class="row">
  529.                                 <div class="col-6  text-center my-3 br_gris">
  530.                                     <div class="blanc bkg_vert lh099 py-3">
  531.                                         <span class="fs2">{{ nb_annonces_acquisition }}</span><br>
  532.                                         {% set p = "" %}
  533.                                         {% if ( nb_annonces_acquisition > 1 ) %}
  534.                                             {% set p = "p" %}
  535.                                         {% endif %}
  536.                                         <span class="res_font">{{ translate("$$annonce$${p|annonces}<br>d'acquisition",lang,"","m", p) | raw }}</span>
  537.                                     </div>
  538.                                 </div>
  539.                                 <div class="col-6 text-center my-3">
  540.                                     <div class="blanc lh099 py-3">
  541.                                         <a href="{{ path('vendre_entreprise_cv_repreneur_secteur_activite',{'slug': slug, 'idSecteurActivite' : idSecteurActivite, 'codePays':codePaysWithUnderScore}) }}?{{ string_params_without_page }}" class="vert lh099 py-3">
  542.                                             <span class="fs2">{{ nb_cvs }}</span><br>
  543.                                             {% set p = "" %}
  544.                                             {% if ( nb_cvs > 1 ) %}
  545.                                                 {% set p = "p" %}
  546.                                             {% endif %}
  547.                                             <span class="res_font">{{ translate("CV de <br>$$repreneur$${p|repreneurs}",lang,"","M", p) | raw }}</span></a>
  548.                                     </div>
  549.                                 </div>
  550.                                 <div class="col-6 text-center my-3 br_gris">
  551.                                     <div class="blanc lh099 py-3">
  552.                                         <a href="{{ path('vendre_entreprise_acquereur_historique_secteur_activite',{'slug': slug, 'idSecteurActivite' : idSecteurActivite, 'codePays':codePaysWithUnderScore}) }}?{{ string_params_without_page }}" class="vert lh099 py-3">
  553.                                             <span class="fs2">{{ nb_acheteurs_potentiels }}</span><br>
  554.                                             {% set p = "" %}
  555.                                             {% if ( nb_acheteurs_potentiels > 1 ) %}
  556.                                                 {% set p = "p" %}
  557.                                             {% endif %}
  558.                                             <span class="res_font">{{ translate("$$acheteur<br>potentiel$${p|acheteurs<br>potentiels}",lang,"","m", p) | raw }}</span></a>
  559.                                     </div>
  560.                                 </div>
  561.                                 <div class="col-6 text-center my-3 pr-4">
  562.                                     <div class="blanc lh099 py-3">
  563.                                         <a href="{{ path('vendre_entreprise_fonds_acquereur_secteur_activite',{'slug': slug, 'idSecteurActivite' : idSecteurActivite, 'codePays':codePaysWithUnderScore}) }}?{{ string_params_without_page }}" class="vert lh099 py-3">
  564.                                             <span class="fs2">{{ nb_investisseurs_acquereurs }}</span><br>
  565.                                             {% set p = "" %}
  566.                                             {% if ( nb_investisseurs_acquereurs > 1 ) %}
  567.                                                 {% set p = "p" %}
  568.                                             {% endif %}
  569.                                             <span class="res_font">{{ translate("$$fonds<br>acquereur$${p|fonds<br>acquereurs}",lang,"","m", p) | raw }}</span></a>
  570.                                     </div>
  571.                                 </div>
  572.                             </div>
  573.                         </div>
  574.                     </div>
  575.                     <!--MOBILE-->
  576.                     <!--TOUT SAUF MOBILE-->
  577.                     <div class="row d-none d-sm-block">
  578.                         <div class="onglet5 col-12 mb-4">
  579.                             <nav>
  580.                                 <div class="nav nav-tabs nav-fill" id="nav-tab" role="tablist">
  581.                                     <div class="col-12 col-sm-3 no-padding-x lh13 order-4 order-sm-1">
  582.                                         <div class="nav-item nav-link active">
  583.                                             {% set p = "" %}
  584.                                             {% if ( nb_annonces_acquisition > 1 ) %}
  585.                                                 {% set p = "p" %}
  586.                                             {% endif %}
  587.                                             <span class="fs2">{{ nb_annonces_acquisition }}</span><br><span class="fs12">{{ translate("$$annonce$${p|annonces}<br>d'acquisition",lang,"","m", p) | raw }}</span>
  588.                                         </div>
  589.                                     </div>
  590.                                     <div class="col-12 col-sm-3 no-padding-x br_gris  lh13 order-sm-2">
  591.                                         <a class="nav-item nav-link" href="{{ path('vendre_entreprise_cv_repreneur_secteur_activite',{'slug': slug, 'idSecteurActivite' : idSecteurActivite, 'codePays':codePaysWithUnderScore}) }}?{{ string_params_without_page }}">
  592.                                             {% set p = "" %}
  593.                                             {% if ( nb_cvs > 1 ) %}
  594.                                                 {% set p = "p" %}
  595.                                             {% endif %}
  596.                                             <span class="fs2">{{ nb_cvs }}</span><br><span class="fs12">{{ translate("CV de <br>$$repreneur$${p|repreneurs}",lang,"","M", p) | raw }}</span>
  597.                                         </a>
  598.                                     </div>
  599.                                     <div class="col-12 col-sm-3 no-padding-x br_gris  lh13 order-sm-3">
  600.                                         <a class="nav-item nav-link" href="{{ path('vendre_entreprise_acquereur_historique_secteur_activite',{'slug': slug, 'idSecteurActivite' : idSecteurActivite, 'codePays':codePaysWithUnderScore}) }}?{{ string_params_without_page }}">
  601.                                             {% set p = "" %}
  602.                                             {% if ( nb_acheteurs_potentiels > 1 ) %}
  603.                                                 {% set p = "p" %}
  604.                                             {% endif %}
  605.                                             <span class="fs2">{{ nb_acheteurs_potentiels }}</span><br><span class="fs12">{{ translate("$$acheteur<br>potentiel$${p|acheteurs<br>potentiels}",lang,"","m", p) | raw }}</span>
  606.                                         </a>
  607.                                     </div>
  608.                                     <div class="col-12 col-sm-3 no-padding-x br_gris lh13 order-sm-4">
  609.                                         <a class="nav-item nav-link" href="{{ path('vendre_entreprise_fonds_acquereur_secteur_activite',{'slug': slug, 'idSecteurActivite' : idSecteurActivite, 'codePays':codePaysWithUnderScore}) }}?{{ string_params_without_page }}">
  610.                                             {% set p = "" %}
  611.                                             {% if ( nb_investisseurs_acquereurs > 1 ) %}
  612.                                                 {% set p = "p" %}
  613.                                             {% endif %}
  614.                                             <span class="fs2">{{ nb_investisseurs_acquereurs }}</span><br><span class="fs12">{{ translate("$$fonds<br>acquereur$${p|fonds<br>acquereurs}",lang,"","m", p) | raw }}</span>
  615.                                         </a>
  616.                                     </div>
  617.                                 </div>
  618.                             </nav>
  619.                         </div>
  620.                     </div>
  621.                     <!--TOUT SAUF MOBILE-->
  622.                 {% elseif idLocalisation and idSecteurActivite %}
  623.                     <div class="row" >
  624.                         <div class="col-12 mb-3 ml-3">
  625.                             {% set p = "" %}
  626.                             {% if ( nb_annonces > 1 ) %}
  627.                                 {% set p = "p" %}
  628.                             {% endif %}
  629.                             {% set arrayVarsTrans =  {"prefixe": localisations|last.prefixe, "nom_localisation" : localisations|last.nom_localisation, "nomPourTitle": secteurActivites|last.nomPourTitle|lower }  %}
  630.                             <span class="fs13 vert">{{ nb_annonces }} {{ translate("$$acheteur$${p|acheteurs} dont",lang,"","m", p) | raw }} :</span>
  631.                         </div>
  632.                     </div>
  633.                     <!--MOBILE-->
  634.                     <div class="row d-block d-sm-none bkg_gris_clair">
  635.                         <div class="col-12">
  636.                             <div class="row">
  637.                                 <div class="col-6  text-center my-3 br_gris">
  638.                                     <div class="blanc bkg_vert lh099 py-3">
  639.                                         <span class="fs2">{{ nb_annonces_acquisition }}</span><br>
  640.                                         {% set p = "" %}
  641.                                         {% if ( nb_annonces_acquisition > 1 ) %}
  642.                                             {% set p = "p" %}
  643.                                         {% endif %}
  644.                                         <span class="res_font">{{ translate("$$annonce$${p|annonces}<br>d'acquisition",lang,"","m", p) | raw }}</span>
  645.                                     </div>
  646.                                 </div>
  647.                                 <div class="col-6 text-center my-3">
  648.                                     <div class="blanc lh099 py-3">
  649.                                         <a href="{{ path('vendre_entreprise_cv_repreneur_croise',{'nomLocalisation': localisations|last.nom_localisation|slugify, 'nomSecteurActivite' : secteurActivites|last.nomSecteurActivite|slugify, 'type': type, 'idLocalisation': localisations|last.id_localisation, 'idSecteurActivite' : secteurActivites|last.idSecteurActivite, 'codePays':codePaysWithUnderScore}) }}?{{ string_params_without_page }}" class="vert lh099 py-3">
  650.                                             <span class="fs2">{{ nb_cvs }}</span><br>
  651.                                             {% set p = "" %}
  652.                                             {% if ( nb_cvs > 1 ) %}
  653.                                                 {% set p = "p" %}
  654.                                             {% endif %}
  655.                                             <span class="res_font">{{ translate("CV de <br>$$repreneur$${p|repreneurs}",lang,"","M", p) | raw }}</span></a>
  656.                                     </div>
  657.                                 </div>
  658.                                 <div class="col-6 text-center my-3 br_gris">
  659.                                     <div class="blanc lh099 py-3">
  660.                                         <a href="{{ path('vendre_entreprise_acquereur_historique_croise',{'nomLocalisation': localisations|last.nom_localisation|slugify, 'nomSecteurActivite' : secteurActivites|last.nomSecteurActivite|slugify, 'type': type, 'idLocalisation': localisations|last.id_localisation, 'idSecteurActivite' : secteurActivites|last.idSecteurActivite, 'codePays':codePaysWithUnderScore}) }}?{{ string_params_without_page }}" class="vert lh099 py-3">
  661.                                             <span class="fs2">{{ nb_acheteurs_potentiels }}</span><br>
  662.                                             {% set p = "" %}
  663.                                             {% if ( nb_acheteurs_potentiels > 1 ) %}
  664.                                                 {% set p = "p" %}
  665.                                             {% endif %}
  666.                                             <span class="res_font">{{ translate("$$acheteur<br>potentiel$${p|acheteurs<br>potentiels}",lang,"","m", p) | raw }}</span></a>
  667.                                     </div>
  668.                                 </div>
  669.                                 <div class="col-6 text-center my-3 pr-4">
  670.                                     <div class="blanc lh099 py-3">
  671.                                         <a href="{{ path('vendre_entreprise_fonds_acquereur_croise',{'nomLocalisation': localisations|last.nom_localisation|slugify, 'nomSecteurActivite' : secteurActivites|last.nomSecteurActivite|slugify, 'type': type, 'idLocalisation': localisations|last.id_localisation, 'idSecteurActivite' : secteurActivites|last.idSecteurActivite, 'codePays':codePaysWithUnderScore}) }}?{{ string_params_without_page }}" class="vert lh099 py-3">
  672.                                             <span class="fs2">{{ nb_investisseurs_acquereurs }}</span><br>
  673.                                             {% set p = "" %}
  674.                                             {% if ( nb_investisseurs_acquereurs > 1 ) %}
  675.                                                 {% set p = "p" %}
  676.                                             {% endif %}
  677.                                             <span class="res_font">{{ translate("$$fonds<br>acquereur$${p|fonds<br>acquereurs}",lang,"","m", p) | raw }}</span></a>
  678.                                     </div>
  679.                                 </div>
  680.                             </div>
  681.                         </div>
  682.                     </div>
  683.                     <!--MOBILE-->
  684.                     <!--TOUT SAUF MOBILE-->
  685.                     <div class="row d-none d-sm-block">
  686.                         <div class="onglet5 col-12 mb-4">
  687.                             <nav>
  688.                                 <div class="nav nav-tabs nav-fill" id="nav-tab" role="tablist">
  689.                                     <div class="col-12 col-sm-3 no-padding-x lh13 order-4 order-sm-1">
  690.                                         <div class="nav-item nav-link active">
  691.                                             {% set p = "" %}
  692.                                             {% if ( nb_annonces_acquisition > 1 ) %}
  693.                                                 {% set p = "p" %}
  694.                                             {% endif %}
  695.                                             <span class="fs2">{{ nb_annonces_acquisition }}</span><br><span class="fs12">{{ translate("$$annonce$${p|annonces}<br>d'acquisition",lang,"","m", p) | raw }}</span>
  696.                                         </div>
  697.                                     </div>
  698.                                     <div class="col-12 col-sm-3 no-padding-x br_gris  lh13 order-sm-2">
  699.                                         <a class="nav-item nav-link" href="{{ path('vendre_entreprise_cv_repreneur_croise',{'nomLocalisation': localisations|last.nom_localisation|slugify, 'nomSecteurActivite' : secteurActivites|last.nomSecteurActivite|slugify, 'type': type, 'idLocalisation': localisations|last.id_localisation, 'idSecteurActivite' : secteurActivites|last.idSecteurActivite, 'codePays':codePaysWithUnderScore}) }}?{{ string_params_without_page }}">
  700.                                             {% set p = "" %}
  701.                                             {% if ( nb_cvs > 1 ) %}
  702.                                                 {% set p = "p" %}
  703.                                             {% endif %}
  704.                                             <span class="fs2">{{ nb_cvs }}</span><br><span class="fs12">{{ translate("CV de <br>$$repreneur$${p|repreneurs}",lang,"","M", p) | raw }}</span>
  705.                                         </a>
  706.                                     </div>
  707.                                     <div class="col-12 col-sm-3 no-padding-x br_gris  lh13 order-sm-3">
  708.                                         <a class="nav-item nav-link" href="{{ path('vendre_entreprise_acquereur_historique_croise',{'nomLocalisation': localisations|last.nom_localisation|slugify, 'nomSecteurActivite' : secteurActivites|last.nomSecteurActivite|slugify, 'type': type, 'idLocalisation': localisations|last.id_localisation, 'idSecteurActivite' : secteurActivites|last.idSecteurActivite, 'codePays':codePaysWithUnderScore}) }}?{{ string_params_without_page }}">
  709.                                             {% set p = "" %}
  710.                                             {% if ( nb_acheteurs_potentiels > 1 ) %}
  711.                                                 {% set p = "p" %}
  712.                                             {% endif %}
  713.                                             <span class="fs2">{{ nb_acheteurs_potentiels }}</span><br><span class="fs12">{{ translate("$$acheteur<br>potentiel$${p|acheteurs<br>potentiels}",lang,"","m", p) | raw }}</span>
  714.                                         </a>
  715.                                     </div>
  716.                                     <div class="col-12 col-sm-3 no-padding-x br_gris lh13 order-sm-4">
  717.                                         <a class="nav-item nav-link" href="{{ path('vendre_entreprise_fonds_acquereur_croise',{'nomLocalisation': localisations|last.nom_localisation|slugify, 'nomSecteurActivite' : secteurActivites|last.nomSecteurActivite|slugify, 'type': type, 'idLocalisation': localisations|last.id_localisation, 'idSecteurActivite' : secteurActivites|last.idSecteurActivite, 'codePays':codePaysWithUnderScore}) }}?{{ string_params_without_page }}">
  718.                                             {% set p = "" %}
  719.                                             {% if ( nb_investisseurs_acquereurs > 1 ) %}
  720.                                                 {% set p = "p" %}
  721.                                             {% endif %}
  722.                                             <span class="fs2">{{ nb_investisseurs_acquereurs }}</span><br><span class="fs12">{{ translate("$$fonds<br>acquereur$${p|fonds<br>acquereurs}",lang,"","m", p) | raw }}</span>
  723.                                         </a>
  724.                                     </div>
  725.                                 </div>
  726.                             </nav>
  727.                         </div>
  728.                     </div>
  729.                     <!--TOUT SAUF MOBILE-->
  730.                 {% else %}
  731.                     <div class="row" >
  732.                         <div class="col-12 mb-3 ml-3">
  733.                             {% set p = "" %}
  734.                             {% if ( nb_annonces > 1 ) %}
  735.                                 {% set p = "p" %}
  736.                             {% endif %}
  737.                             <span class="fs13 vert">{{ nb_annonces }} {{ translate("$$acheteur$${p|acheteurs} dont",lang,"","m", p) | raw }} :</span>
  738.                         </div>
  739.                     </div>
  740.                     <!--MOBILE-->
  741.                     <div class="row d-block d-sm-none bkg_gris_clair">
  742.                         <div class="col-12">
  743.                             <div class="row">
  744.                                 <div class="col-6  text-center my-3 br_gris">
  745.                                     <div class="blanc bkg_vert lh099 py-3">
  746.                                         <span class="fs2">{{ nb_annonces_acquisition }}</span><br>
  747.                                         {% set p = "" %}
  748.                                         {% if ( nb_annonces_acquisition > 1 ) %}
  749.                                             {% set p = "p" %}
  750.                                         {% endif %}
  751.                                         <span class="res_font">{{ translate("$$annonce$${p|annonces}<br>d'acquisition",lang,"","m", p) | raw }}</span>
  752.                                     </div>
  753.                                 </div>
  754.                                 <div class="col-6 text-center my-3">
  755.                                     <div class="blanc lh099 py-3">
  756.                                         <a href="{{ path('vendre_entreprise_resultats_cv_repreneur',{'codePays':codePaysWithUnderScore}) }}?{{ string_params_without_page }}" class="vert lh099 py-3">
  757.                                             <span class="fs2">{{ nb_cvs }}</span><br>
  758.                                             {% set p = "" %}
  759.                                             {% if ( nb_cvs > 1 ) %}
  760.                                                 {% set p = "p" %}
  761.                                             {% endif %}
  762.                                             <span class="res_font">{{ translate("CV de <br>$$repreneur$${p|repreneurs}",lang,"","M", p) | raw }}</span></a>
  763.                                     </div>
  764.                                 </div>
  765.                                 <div class="col-6 text-center my-3 br_gris">
  766.                                     <div class="blanc lh099 py-3">
  767.                                         <a href="{{ path('vendre_entreprise_resultats_acquereur_historique',{'codePays':codePaysWithUnderScore}) }}?{{ string_params_without_page }}" class="vert lh099 py-3">
  768.                                             <span class="fs2">{{ nb_acheteurs_potentiels }}</span><br>
  769.                                             {% set p = "" %}
  770.                                             {% if ( nb_acheteurs_potentiels > 1 ) %}
  771.                                                 {% set p = "p" %}
  772.                                             {% endif %}
  773.                                             <span class="res_font">{{ translate("$$acheteur<br>potentiel$${p|acheteurs<br>potentiels}",lang,"","m", p) | raw }}</span></a>
  774.                                     </div>
  775.                                 </div>
  776.                                 <div class="col-6 text-center my-3 pr-4">
  777.                                     <div class="blanc lh099 py-3">
  778.                                         <a href="{{ path('vendre_entreprise_resultats_fonds_acquereur',{'codePays':codePaysWithUnderScore}) }}?{{ string_params_without_page }}" class="vert lh099 py-3">
  779.                                             <span class="fs2">{{ nb_investisseurs_acquereurs }}</span><br>
  780.                                             {% set p = "" %}
  781.                                             {% if ( nb_investisseurs_acquereurs > 1 ) %}
  782.                                                 {% set p = "p" %}
  783.                                             {% endif %}
  784.                                             <span class="res_font">{{ translate("$$fonds<br>acquereur$${p|fonds<br>acquereurs}",lang,"","m", p) | raw }}</span></a>
  785.                                     </div>
  786.                                 </div>
  787.                             </div>
  788.                         </div>
  789.                     </div>
  790.                     <!--MOBILE-->
  791.                     <!--TOUT SAUF MOBILE-->
  792.                     <div class="row d-none d-sm-block">
  793.                         <div class="onglet5 col-12 mb-4">
  794.                             <nav>
  795.                                 <div class="nav nav-tabs nav-fill" id="nav-tab" role="tablist">
  796.                                     <div class="col-12 col-sm-3 no-padding-x lh13 order-4 order-sm-1">
  797.                                         <div class="nav-item nav-link active">
  798.                                             {% set p = "" %}
  799.                                             {% if ( nb_annonces_acquisition > 1 ) %}
  800.                                                 {% set p = "p" %}
  801.                                             {% endif %}
  802.                                             <span class="fs2">{{ nb_annonces_acquisition }}</span><br><span class="fs12">{{ translate("$$annonce$${p|annonces}<br>d'acquisition",lang,"","m", p) | raw }}</span>
  803.                                         </div>
  804.                                     </div>
  805.                                     <div class="col-12 col-sm-3 no-padding-x br_gris  lh13 order-sm-2">
  806.                                         <a class="nav-item nav-link" href="{{ path('vendre_entreprise_resultats_cv_repreneur',{'codePays':codePaysWithUnderScore}) }}?{{ string_params_without_page }}">
  807.                                             {% set p = "" %}
  808.                                             {% if ( nb_cvs > 1 ) %}
  809.                                                 {% set p = "p" %}
  810.                                             {% endif %}
  811.                                             <span class="fs2">{{ nb_cvs }}</span><br><span class="fs12">{{ translate("CV de <br>$$repreneur$${p|repreneurs}",lang,"","M", p) | raw }}</span>
  812.                                         </a>
  813.                                     </div>
  814.                                     <div class="col-12 col-sm-3 no-padding-x br_gris  lh13 order-sm-3">
  815.                                         <a class="nav-item nav-link" href="{{ path('vendre_entreprise_resultats_acquereur_historique',{'codePays':codePaysWithUnderScore}) }}?{{ string_params_without_page }}">
  816.                                             {% set p = "" %}
  817.                                             {% if ( nb_acheteurs_potentiels > 1 ) %}
  818.                                                 {% set p = "p" %}
  819.                                             {% endif %}
  820.                                             <span class="fs2">{{ nb_acheteurs_potentiels }}</span><br><span class="fs12">{{ translate("$$acheteur<br>potentiel$${p|acheteurs<br>potentiels}",lang,"","m", p) | raw }}</span>
  821.                                         </a>
  822.                                     </div>
  823.                                     <div class="col-12 col-sm-3 no-padding-x br_gris lh13 order-sm-4">
  824.                                         <a class="nav-item nav-link" href="{{ path('vendre_entreprise_resultats_fonds_acquereur',{'codePays':codePaysWithUnderScore}) }}?{{ string_params_without_page }}">
  825.                                             {% set p = "" %}
  826.                                             {% if ( nb_investisseurs_acquereurs > 1 ) %}
  827.                                                 {% set p = "p" %}
  828.                                             {% endif %}
  829.                                             <span class="fs2">{{ nb_investisseurs_acquereurs }}</span><br><span class="fs12">{{ translate("$$fonds<br>acquereur$${p|fonds<br>acquereurs}",lang,"","m", p) | raw }}</span>
  830.                                         </a>
  831.                                     </div>
  832.                                 </div>
  833.                             </nav>
  834.                         </div>
  835.                     </div>
  836.                     <!--TOUT SAUF MOBILE-->
  837.                 {% endif %}
  838.                 {% if liste_annonces_prioritaires %}
  839.                     <!--TITRE ALAUNE-->
  840.                     <div class="row" >
  841.                         <div class="col-12 pt-3 ml-2">
  842.                             <span class="titre_annonce_alaune">{{ translate("annonces a la une",lang,"","M") | raw }}</span>
  843.                         </div>
  844.                     </div>
  845.                     <!--FIN TITRE ALAUNE-->
  846.                     <div class="row" >
  847.                         <div class="col-12">
  848.                             <!--ANNONCE A LA UNE-->
  849.                             {% for annonce_prioritaire in liste_annonces_prioritaires %}
  850.                                 {% set lienAnnoncePrioritaire = path('vendre_entreprise_annonce_acquisition_details',
  851.                              {
  852.                                  'slug':annonce_prioritaire.slug,
  853.                                  'nomLocalisation':annonce_prioritaire.nom_localisation_slug,
  854.                                 'idAnnonce':annonce_prioritaire.id_annonce_acheteur,
  855.                                 'codePays':codePaysWithUnderScore
  856.                              }) ~ '?urlList=' ~ urlList ~ '&fromAlaUne=1&' ~ string_params %}
  857.                                 <div class="card no_shadow mb-3 card-ie card-alaune">
  858.                                     <div class="card-body">
  859.                                         <div class="row">
  860.                                             <div class="col-12 col-md-8 col-lg-9 col-xl-10">
  861.                                                 <div class="mb-2">
  862.                                                     <h5 class="titre_annonce_vert">
  863.                                                         <a href="{{ lienAnnoncePrioritaire }}" title="{{ annonce_prioritaire.titre_annonce }}">{{ annonce_prioritaire.titre_annonce }}</a>
  864.                                                     </h5>
  865.                                                     {% if annonce_prioritaire.etat is defined and (annonce_prioritaire.etat == "information_transmise" or annonce_prioritaire.etat == "facture_envoyee") %}
  866.                                                     <span class="orange font_600"><i class="fa-solid fa-circle-check"></i>&nbsp;&nbsp;{{ translate("déjà commandé",lang,"","M") | raw }}</span>
  867.                                                     {% endif %}
  868.                                                 </div>
  869.                                                 <div class="mb-1">
  870.                                                     <span class="nowrap_custom">{{ translate("CA max",lang,"","M") | raw }} : <strong>{{ annonce_prioritaire.ca_max| number_format(0, "", " ") }} k€</strong></span>&nbsp;&nbsp;&nbsp;&nbsp;
  871.                                                     <span class="nowrap_custom">
  872.                                                         {% if annonce_prioritaire.date_parution > annonce_prioritaire.date_parution_initiale %}
  873.                                                             {{ translate("mise à jour le",lang,"","M") | raw }}
  874.                                                         {% else %}
  875.                                                             {{ translate("poste le",lang,"","M") | raw }}
  876.                                                         {% endif %}
  877.                                                         <strong>{{ annonce_prioritaire.date_parution_formated }}</strong>
  878.                                                     </span>&nbsp;&nbsp;&nbsp;&nbsp;
  879.                                                     <span class="nowrap_custom">{{ translate("ref.",lang,"","M") | raw }} : <strong>A{{ annonce_prioritaire.id_annonce_acheteur }}</strong></span>
  880.                                                 </div>
  881.                                                 <i class="fas fa-map-marker-alt"></i>&nbsp;
  882.                                                 {% for localisation in annonce_prioritaire.localisations %}
  883.                                                     {{ localisation.nom_localisation }}{% if localisation != annonce_prioritaire.localisations|last %},&nbsp;{% endif %}
  884.                                                 {% endfor %}
  885.                                                 {% if annonce_prioritaire.type_acquereur == "personne" %}
  886.                                                     <i class="fas fa-user bleu ml-1"></i>
  887.                                                 {% elseif annonce_prioritaire.type_acquereur == "societe" %}
  888.                                                     <i class="fas fa-building jaune ml-1"></i>
  889.                                                 {% endif %}
  890.                                             </div>
  891.                                             <div class="col-12 col-md-4 col-lg-3 col-xl-2" id="cartes">
  892.                                                 <div class="row">
  893.                                                     <div class="col-4 col-md-12 text-center">
  894.                                                         <a href="{{ lienAnnoncePrioritaire }}">
  895.                                                             {% if  annonce_prioritaire.cartes.id_localisation_by_country|length == 1 %}
  896.                                                                 {% if annonce_prioritaire.cartes.id_localisation_by_country|keys |first == "33" %}
  897.                                                                     <img class="img-fluid"
  898.                                                                          id='absolute_index_1'
  899.                                                                          src="{{ cdn_fusacq }}/static/help-fusacq/fr/images/cartes/fond/33/33_fond_monde.png"
  900.                                                                          alt="France">
  901.                                                                     {% for k, carte  in annonce_prioritaire.cartes.id_localisation_by_country.33 %}
  902.                                                                         <img class="img-fluid"
  903.                                                                              id='absolute_index_2'
  904.                                                                              src="{{ cdn_fusacq }}/static/help-fusacq/fr/images/cartes/fond/33/{{ carte }}.png"
  905.                                                                              alt="France">
  906.                                                                     {% endfor %}
  907.                                                                 {% endif %}
  908.                                                                 {% if annonce_prioritaire.cartes.id_localisation_by_country|keys |first == "41" %}
  909.                                                                     {% if annonce_prioritaire.cartes.id_localisation_by_country.41 |length == 1 %}
  910.                                                                         <img class="img-fluid"
  911.                                                                              id='absolute_index_2'
  912.                                                                              src="{{ cdn_fusacq }}/static/help-fusacq/fr/images/cartes/pays/41/{{ annonce_prioritaire.cartes.id_localisation_by_country.41|first }}.png"
  913.                                                                              alt="Suisse">
  914.                                                                     {% else %}
  915.                                                                         <img class="img-fluid"
  916.                                                                              id='absolute_index_2'
  917.                                                                              src="{{ cdn_fusacq }}/static/help-fusacq/fr/images/cartes/pays/41/41_transparent.png"
  918.                                                                              alt="Suisse">
  919.                                                                     {% endif %}
  920.                                                                 {% endif %}
  921.                                                                 {% if annonce_prioritaire.cartes.id_localisation_by_country|keys |first == "01" %}
  922.                                                                     {% if annonce_prioritaire.cartes.id_localisation_by_country['01'] |length == 1 %}
  923.                                                                         <img class="img-fluid"
  924.                                                                              id='absolute_index_2'
  925.                                                                              src="{{ cdn_fusacq }}/static/help-fusacq/fr/images/cartes/pays/01/{{ annonce_prioritaire.cartes.id_localisation_by_country['01']|first }}.png"
  926.                                                                              alt="Canada">
  927.                                                                     {% else %}
  928.                                                                         <img class="img-fluid"
  929.                                                                              id='absolute_index_2'
  930.                                                                              src="{{ cdn_fusacq }}/static/help-fusacq/fr/images/cartes/pays/01/01_transparent.png"
  931.                                                                              alt="Canada">
  932.                                                                     {% endif %}
  933.                                                                 {% endif %}
  934.                                                                 {% if annonce_prioritaire.cartes.id_localisation_by_country|keys |first == "32" %}
  935.                                                                     {% if annonce_prioritaire.cartes.id_localisation_by_country.32 |length == 1 %}
  936.                                                                         <img class="img-fluid"
  937.                                                                              id='absolute_index_2'
  938.                                                                              src="{{ cdn_fusacq }}/static/help-fusacq/fr/images/cartes/pays/32/{{ annonce_prioritaire.cartes.id_localisation_by_country.32|first }}.png"
  939.                                                                              alt="Belgique">
  940.                                                                     {% else %}
  941.                                                                         <img class="img-fluid"
  942.                                                                              id='absolute_index_2'
  943.                                                                              src="{{ cdn_fusacq }}/static/help-fusacq/fr/images/cartes/pays/32/32_transparent.png"
  944.                                                                              alt="Belgique">
  945.                                                                     {% endif %}
  946.                                                                 {% endif %}
  947.                                                             {% endif %}
  948.                                                             {% if  annonce_prioritaire.cartes.id_localisation_by_country|length  > 1 %}
  949.                                                                 {% if 33 in annonce_prioritaire.cartes.id_localisation_by_country|keys %}
  950.                                                                     <img class="img-fluid"
  951.                                                                          id='absolute_index_1'
  952.                                                                          src="{{ cdn_fusacq }}/static/help-fusacq/fr/images/cartes/fond/33/33_fond_monde.png"
  953.                                                                          alt="France">
  954.                                                                     {% for k, carte  in annonce_prioritaire.cartes.id_localisation_by_country.33 %}
  955.                                                                         <img class="img-fluid"
  956.                                                                              id='absolute_index_2'
  957.                                                                              src="{{ cdn_fusacq }}/static/help-fusacq/fr/images/cartes/fond/33/{{ carte }}.png"
  958.                                                                              alt="France">
  959.                                                                     {% endfor %}
  960.                                                                     <img class="img-fluid"
  961.                                                                          id='absolute_index_2'
  962.                                                                          src="{{ cdn_fusacq }}/static/help-fusacq/fr/images/cartes/fond/33/monde.png"
  963.                                                                          alt="Monde">
  964.                                                                 {% endif %}
  965.                                                                 {% if 33 not in annonce_prioritaire.cartes.id_localisation_by_country|keys %}
  966.                                                                     <img class="img-fluid"
  967.                                                                          id='absolute_index_2'
  968.                                                                          src="{{ cdn_fusacq }}/static/help-fusacq/fr/images/cartes/pays/monde_transparent.png"
  969.                                                                          alt="Monde">
  970.                                                                 {% endif %}
  971.                                                             {% endif %}
  972.                                                         </a>
  973.                                                     </div>
  974.                                                 </div>
  975.                                             </div>
  976.                                             <div class="col-5 col-md-3 col-lg-3 mt-4 br_gris">
  977.                                                 <a href="{{ lienAnnoncePrioritaire }}" title="{{ translate("voir les details",lang,"","M") | raw }}">
  978.                                                     <button type="button" class="btn btn-vert-annonce">
  979.                                                         <span class="d-none d-xl-block">{{ translate("voir les details",lang,"","M") | raw }}</span>
  980.                                                         <span class="d-xl-none">{{ translate("details",lang,"","M") | raw }}</span>
  981.                                                     </button>
  982.                                                 </a>
  983.                                             </div>
  984.                                             <div class="col-2 col-md-3 col-lg-3 mt-4 text-center mt-2 pt-2 br_gris">
  985.                                                 <a href="{{ lienAnnoncePrioritaire }}&partager=1" title="{{ translate("partager",lang,"","M") | raw }}" class="vert">
  986.                                                     <i class="fas fa-envelope vert"></i><span class="cache_petit"> &nbsp;{{ translate("partager",lang,"","M") | raw }}</span>
  987.                                                 </a>
  988.                                             </div>
  989.                                             <div class="col-2 col-md-3 col-lg-3 text-center mt-4 pt-2 br_gris vert-important">
  990.                                                 {% if annonce_prioritaire.is_favoris %}
  991.                                                     <a href="{{ path('compte_favoris' ,{'codePays':codePaysWithUnderScore  }) }}" title="{{ translate("favoris", lang, '', 'M', '') }}" class="vert">
  992.                                                         {{ translate("appartient à : mes favoris", lang, '', 'M', '') }}
  993.                                                     </a>
  994.                                                 {% else %}
  995.                                                     <a href="javascript:void(0)" title="{{ translate("favoris",lang,"","M") | raw }}" class="vert btn-favoris favoris-{{ annonce_prioritaire.id_annonce_acheteur }}" data-id-annonce="{{ annonce_prioritaire.id_annonce_acheteur }}" data-type-annonce="A">
  996.                                                         <i class="fas fa-heart vert"></i><span class="cache_petit">&nbsp;&nbsp;{{ translate("favoris",lang,"","M") | raw }}</span>
  997.                                                     </a>
  998.                                                 {% endif %}
  999.                                             </div>
  1000.                                             <div class="col-3 col-md-3 col-lg-3 text-right mt-4">
  1001.                                                 <item   class="btn btn-orange pr-2">
  1002.                                                     <span class="d-none d-lg-block">{{ translate("A LA UNE",lang,"","M") | raw }}</span>
  1003.                                                     <span class="d-lg-none pr-1"><i class="fa-solid fa-star"></i></span>
  1004.                                                 </item>
  1005.                                             </div>
  1006.                                         </div>
  1007.                                     </div>
  1008.                                 </div>
  1009.                             {% endfor %}
  1010.                             <div id="div_annonces_prioritaires" v-html="annonces_prioritaires">
  1011.                                 ${ annonces_prioritaires }
  1012.                             </div>
  1013.                             <!--FIN ANNONCE A LA UNE-->
  1014.                             {% if nb_total_annonces_prioritaires > 5%}
  1015.                                 <div class="col-12 pt-1 mb-3 text-center" id="btn-voir-plus" v-if="show_btn">
  1016.                                     <button type="submit" class="btn btn-orange" v-on:click="loadAnnoncesPrioritaires()">{{ translate("plus d'annonces a la une",lang,"","M") | raw }}</button>
  1017.                                 </div>
  1018.                             {% endif %}
  1019.                         </div>
  1020.                     </div>
  1021.                 {% endif %}
  1022.                 <!--CATEGORIES-->
  1023.                 <!-- <div class="row" >
  1024.                         <div class="col-12">
  1025.                 <div class="card mb-3 card-ie">
  1026.                         <div class="card-body">
  1027.                         <div class="row">
  1028.                                 <div class="col-12 mt-3">
  1029.                                         <div class="float-left"><i class="fas fa-arrow-circle-up fa-2x bleu" alt=""></i></div>
  1030.                                 <div class="lh18 ml-5"><a href="#" class="bleu"><strong>Services informatiques et high tech (37)</strong></a></div>
  1031.                                 </div>
  1032.                         <div class="col-6 pt-2">
  1033.                                 <ul class="cat_regions">
  1034.                                         <li><a href="#">SSII Generaliste (12)</a></li>
  1035.                                         <li><a href="#">Web agency (5)</a></li>
  1036.                                         <li><a href="#">Societe de Conseil (7)</a></li>
  1037.                                         <li><a href="#">Systemes Reseaux Câblage (2)</a></li>
  1038.                                 </ul>
  1039.                         </div>
  1040.                         <div class="col-6 pt-2">
  1041.                                 <ul class="cat_regions">
  1042.                                         <li><a href="#">Info. Industrielle (3)</a></li>
  1043.                                         <li><a href="#">Developpement applications (4)</a></li>
  1044.                                         <li><a href="#">Systemes Reseaux Câblage (2)</a></li>
  1045.                                         <li><a href="#">Info de production (1)</a></li>
  1046.                                 </ul>
  1047.                         </div>
  1048.                         </div>
  1049.                 </div>
  1050.                 </div>
  1051.                 </div>
  1052.                 </div> -->
  1053.                 <!--FIN CATEGORIES-->
  1054.                 <div class="row mt-5" >
  1055.                     <div class="col-12 mb-1 ml-3 mt-3">
  1056.                         {% set p = "" %}
  1057.                         {% if ( nb_annonces_acquisition > 1 ) %}
  1058.                             {% set p = "p" %}
  1059.                         {% endif %}
  1060.                         <span class="fs18">{{ nb_annonces_acquisition }} {{ translate("$$annonce$${p|annonces} d'acquisition",lang,"","m", p) | raw }}</span>
  1061.                     </div>
  1062.                 </div>
  1063.                 <!--PAGINATION-->
  1064.                 <div class="row mt-3">
  1065.                     <div class="col-sm-12">
  1066.                         <nav aria-label="..." class="pagination-vert">
  1067.                             {{ knp_pagination_render(liste_annonces) }}
  1068.                         </nav>
  1069.                     </div>
  1070.                 </div>
  1071.                 <!--FIN PAGINATION-->
  1072.                 <div class="row" >
  1073.                     <div class="col-12 col-md-5 offset-md-7 col-lg-3 offset-lg-9 text-right mb-2">
  1074.                         <select class="form-control" id="idFromControlSelectTri" v-on:change="sortBy($event)">
  1075.                             {% if is_recherche_by_localisation %}
  1076.                                 <option value="pertinence" {% if tri == "pertinence" or tri_default == 'pertinence' %}selected="selected"{% endif %}>{{ translate("pertinence",lang,"","M") | raw }}</option>
  1077.                             {% endif %}
  1078.                             <option value="date_desc" {% if tri == "date_desc" or tri_default == 'date_desc' %}selected="selected"{% endif %}>{{ translate("dates plus recentes",lang,"","M") | raw }}</option>
  1079.                             <option value="ca_desc" {% if tri == "ca_desc" or tri_default == 'ca_desc' %}selected="selected"{% endif %} >{{ translate("CA plus grand",lang,"","M") | raw }}</option>
  1080.                             <option value="ca_asc" {% if tri == "ca_asc" %}selected="selected"{% endif %}>{{ translate("CA plus petit",lang,"","M") | raw }}</option>
  1081.                         </select>
  1082.                     </div>
  1083.                 </div>
  1084.                 <div class="row" >
  1085.                     <div class="col-12">
  1086.                         <!--ANNONCES -->
  1087.                         {% for index, annonce in liste_annonces %}
  1088.                             {% set lienAnnonce = path('vendre_entreprise_annonce_acquisition_details',
  1089.                  {
  1090.                      'slug':annonce.slug,
  1091.                      'nomLocalisation':annonce.nom_localisation_slug,
  1092.                     'idAnnonce':annonce.id_annonce_acheteur,
  1093.                     'codePays':codePaysWithUnderScore
  1094.                  }) ~ '?urlList=' ~ urlList ~ '&' ~ string_params ~ '&index=' ~ index %}
  1095.                             <div class="card no_shadow mb-3 card-ie filet_gris">
  1096.                                 <div class="card-body">
  1097.                                     <div class="row">
  1098.                                         <div class="col-12 col-md-8 col-lg-9 col-xl-10">
  1099.                                             <div class="mb-2">
  1100.                                                 <h5 class="titre_annonce_vert"><a href="{{ lienAnnonce }}" title="{{ annonce.titre_annonce }}">{{ annonce.titre_annonce }}</a></h5>
  1101.                                                 {% if annonce.etat is defined and (annonce.etat == "information_transmise" or annonce.etat == "facture_envoyee") %}
  1102.                                                 <span class="orange font_600"><i class="fa-solid fa-circle-check"></i>&nbsp;&nbsp;{{ translate("déjà commandé",lang,"","M") | raw }}</span>
  1103.                                                 {% endif %}
  1104.                                             </div>
  1105.                                             <div class="mb-1">
  1106.                                                 <span class="nowrap_custom">{{ translate("CA max",lang,"","M") | raw }} : <strong>{{ annonce.ca_max | number_format(0, "", " ") }} k€ </strong></span>&nbsp;&nbsp;&nbsp;&nbsp;
  1107.                                                 <span class="nowrap_custom">
  1108.                                                     {% if annonce.date_parution > annonce.date_parution_initiale %}
  1109.                                                         {{ translate("mise à jour le",lang,"","M") | raw }}
  1110.                                                     {% else %}
  1111.                                                         {{ translate("poste le",lang,"","M") | raw }}
  1112.                                                     {% endif %}
  1113.                                                     <strong>{{ annonce.date_parution_formated }}</strong>
  1114.                                                 </span>&nbsp;&nbsp;&nbsp;&nbsp;
  1115.                                                 <span class="nowrap_custom">{{ translate("ref.",lang,"","M") | raw }} : <strong>A{{ annonce.id_annonce_acheteur }}</strong></span>
  1116.                                             </div>
  1117.                                             <i class="fas fa-map-marker-alt"></i>&nbsp;
  1118.                                             {% for localisation in annonce.localisations %}
  1119.                                                 {{ localisation.nom_localisation }}{% if localisation != annonce.localisations|last %},&nbsp;{% endif %}
  1120.                                             {% endfor %}
  1121.                                             {% if annonce.type_acquereur == "personne" %}
  1122.                                                 <i class="fas fa-user bleu ml-1"></i>
  1123.                                             {% elseif annonce.type_acquereur == "societe" %}
  1124.                                                 <i class="fas fa-building jaune ml-1"></i>
  1125.                                             {% endif %}
  1126.                                         </div>
  1127.                                         <div class="col-12 col-md-4 col-lg-3 col-xl-2" id="cartes">
  1128.                                             <div class="row">
  1129.                                                 <div class="col-4 col-md-12 text-center">
  1130.                                                     <a href="{{ lienAnnonce }}">
  1131.                                                         {% if  annonce.cartes.id_localisation_by_country|length == 1 %}
  1132.                                                             {% if annonce.cartes.id_localisation_by_country|keys |first == "33" %}
  1133.                                                                 <img class="img-fluid"
  1134.                                                                      id='absolute_index_1'
  1135.                                                                      src="{{ cdn_fusacq }}/static/help-fusacq/fr/images/cartes/fond/33/33_fond_monde.png"
  1136.                                                                      alt="France">
  1137.                                                                 {% for k, carte  in annonce.cartes.id_localisation_by_country.33 %}
  1138.                                                                     <img class="img-fluid"
  1139.                                                                          id='absolute_index_2'
  1140.                                                                          src="{{ cdn_fusacq }}/static/help-fusacq/fr/images/cartes/fond/33/{{ carte }}.png"
  1141.                                                                          alt="France">
  1142.                                                                 {% endfor %}
  1143.                                                             {% endif %}
  1144.                                                             {% if annonce.cartes.id_localisation_by_country|keys |first == "41" %}
  1145.                                                                 {% if annonce.cartes.id_localisation_by_country.41 |length == 1 %}
  1146.                                                                     <img class="img-fluid"
  1147.                                                                          id='absolute_index_2'
  1148.                                                                          src="{{ cdn_fusacq }}/static/help-fusacq/fr/images/cartes/pays/41/{{ annonce.cartes.id_localisation_by_country.41|first }}.png"
  1149.                                                                          alt="Suisse">
  1150.                                                                 {% else %}
  1151.                                                                     <img class="img-fluid"
  1152.                                                                          id='absolute_index_2'
  1153.                                                                          src="{{ cdn_fusacq }}/static/help-fusacq/fr/images/cartes/pays/41/41_transparent.png"
  1154.                                                                          alt="Suisse">
  1155.                                                                 {% endif %}
  1156.                                                             {% endif %}
  1157.                                                             {% if annonce.cartes.id_localisation_by_country|keys |first == "01" %}
  1158.                                                                 {% if annonce.cartes.id_localisation_by_country['01'] |length == 1 %}
  1159.                                                                     <img class="img-fluid"
  1160.                                                                          id='absolute_index_2'
  1161.                                                                          src="{{ cdn_fusacq }}/static/help-fusacq/fr/images/cartes/pays/01/{{ annonce.cartes.id_localisation_by_country['01']|first }}.png"
  1162.                                                                          alt="Canada">
  1163.                                                                 {% else %}
  1164.                                                                     <img class="img-fluid"
  1165.                                                                          id='absolute_index_2'
  1166.                                                                          src="{{ cdn_fusacq }}/static/help-fusacq/fr/images/cartes/pays/01/01_transparent.png"
  1167.                                                                          alt="Canada">
  1168.                                                                 {% endif %}
  1169.                                                             {% endif %}
  1170.                                                             {% if annonce.cartes.id_localisation_by_country|keys |first == "32" %}
  1171.                                                                 {% if annonce.cartes.id_localisation_by_country.32 |length == 1 %}
  1172.                                                                     <img class="img-fluid"
  1173.                                                                          id='absolute_index_2'
  1174.                                                                          src="{{ cdn_fusacq }}/static/help-fusacq/fr/images/cartes/pays/32/{{ annonce.cartes.id_localisation_by_country.32|first }}.png"
  1175.                                                                          alt="Belgique">
  1176.                                                                 {% else %}
  1177.                                                                     <img class="img-fluid"
  1178.                                                                          id='absolute_index_2'
  1179.                                                                          src="{{ cdn_fusacq }}/static/help-fusacq/fr/images/cartes/pays/32/32_transparent.png"
  1180.                                                                          alt="Belgique">
  1181.                                                                 {% endif %}
  1182.                                                             {% endif %}
  1183.                                                         {% endif %}
  1184.                                                         {% if  annonce.cartes.id_localisation_by_country|length  > 1 %}
  1185.                                                             {% if 33 in annonce.cartes.id_localisation_by_country|keys %}
  1186.                                                                 <img class="img-fluid"
  1187.                                                                      id='absolute_index_1'
  1188.                                                                      src="{{ cdn_fusacq }}/static/help-fusacq/fr/images/cartes/fond/33/33_fond_monde.png"
  1189.                                                                      alt="France">
  1190.                                                                 {% for k, carte  in annonce.cartes.id_localisation_by_country.33 %}
  1191.                                                                     <img class="img-fluid"
  1192.                                                                          id='absolute_index_2'
  1193.                                                                          src="{{ cdn_fusacq }}/static/help-fusacq/fr/images/cartes/fond/33/{{ carte }}.png"
  1194.                                                                          alt="France">
  1195.                                                                 {% endfor %}
  1196.                                                                 <img class="img-fluid"
  1197.                                                                      id='absolute_index_2'
  1198.                                                                      src="{{ cdn_fusacq }}/static/help-fusacq/fr/images/cartes/fond/33/monde.png"
  1199.                                                                      alt="Monde">
  1200.                                                             {% endif %}
  1201.                                                             {% if 33 not in annonce.cartes.id_localisation_by_country|keys %}
  1202.                                                                 <img class="img-fluid"
  1203.                                                                      id='absolute_index_2'
  1204.                                                                      src="{{ cdn_fusacq }}/static/help-fusacq/fr/images/cartes/pays/monde_transparent.png"
  1205.                                                                      alt="Monde">
  1206.                                                             {% endif %}
  1207.                                                         {% endif %}
  1208.                                                     </a>
  1209.                                                 </div>
  1210.                                             </div>
  1211.                                         </div>
  1212.                                         <div class="col-6 col-md-4 col-lg-4 mt-4 br_gris">
  1213.                                             <a href="{{ lienAnnonce }}" title="{{ translate("voir les details",lang,"","M") | raw }}">
  1214.                                                 <button type="button" class="btn btn-vert-annonce">
  1215.                                                     <span class="d-none d-xl-block">{{ translate("voir les details",lang,"","M") | raw }}</span>
  1216.                                                     <span class="d-xl-none">{{ translate("details",lang,"","M") | raw }}</span>
  1217.                                                 </button>
  1218.                                             </a>
  1219.                                         </div>
  1220.                                         <div class="col-3 col-md-4 col-lg-4 mt-4 br_gris text-center mt-2 pt-2">
  1221.                                             <a href="{{ lienAnnonce }}&partager=1" title="{{ translate("partager",lang,"","M") | raw }}" class="vert">
  1222.                                                 <i class="fas fa-envelope vert"></i><span class="cache_petit"> &nbsp;{{ translate("partager",lang,"","M") | raw }}</span>
  1223.                                             </a>
  1224.                                         </div>
  1225.                                         <div class="col-3 col-md-4 col-lg-4 text-center mt-4 pt-2 vert-important">
  1226.                                             {% if annonce.is_favoris %}
  1227.                                                 <a href="{{ path('compte_favoris' ,{'codePays':codePaysWithUnderScore  }) }}" title="{{ translate("favoris", lang, '', 'M', '') }}" class="vert">
  1228.                                                     {{ translate("appartient à : mes favoris", lang, '', 'M', '') }}
  1229.                                                 </a>
  1230.                                             {% else %}
  1231.                                                 <a href="javascript:void(0)" title="{{ translate("favoris",lang,"","M") | raw }}" class="vert btn-favoris favoris-{{ annonce.id_annonce_acheteur }}" data-id-annonce="{{ annonce.id_annonce_acheteur }}" data-type-annonce="A">
  1232.                                                     <i class="fas fa-heart vert"></i><span class="cache_petit">&nbsp;&nbsp;{{ translate("favoris",lang,"","M") | raw }}</span>
  1233.                                                 </a>
  1234.                                             {% endif %}
  1235.                                         </div>
  1236.                                     </div>
  1237.                                 </div>
  1238.                             </div>
  1239.                         {% endfor %}
  1240.                         <!--FIN ANNONCES -->
  1241.                         <!--PUB FRANCHISE-->
  1242.                         <!--<div class="card mb-3 card-ie card-franchises filet_gris">
  1243.                                 <div class="card-header">Avez-vous pense a creer ou reprendre en franchise ?</div>
  1244.                                 <div class="card-body">
  1245.                             <div class="row">
  1246.                                         <div class="col-6 col-md-3">
  1247.                                                 <a href="https://www.placedesfranchises.com/carslift" target="_blank" title="Carslift"><img class="img-fluid" src="https://static.placedesfranchises.com/images/uploads/5ede3ed64cf8e/logo_carslift.jpg"  alt="Carslift" ></a>
  1248.                                         </div>
  1249.                                         <div class="col-6 col-md-7">
  1250.                                                 <div>
  1251.                                                         <a href="https://www.placedesfranchises.com/carslift" class="inter_orange_link" title="Carslift">CARSLIFT</a><br>
  1252.                                                         <a href="https://www.placedesfranchises.com/carslift" class="vert_franchises" title="Le specialiste du bien motorise">Le specialiste du bien motorise</a><br>
  1253.                                                         <span class="nowrap_custom">Apport : <strong>15 000 € </strong></span>&nbsp;&nbsp;&nbsp;&nbsp;
  1254.                                                         <span class="nowrap_custom">Droit d'entree :  <strong>35 000 €</strong>
  1255.                                                 </div>
  1256.                                         </div>
  1257.                                         <div class="col-12 col-md-2 text-center">
  1258.                                                 <div class="pt-3 mt-2 inline"><small>Consultez sur </small></div>
  1259.                                                 <div class=" inline"><img src="https://static.placedesfranchises.com/img/logo_text.jpg" width="120"></div>
  1260.                                         </div>
  1261.                                 </div>
  1262.                                 </div>
  1263.                         </div>-->
  1264.                         <!--FIN PUB FRANCHISE-->
  1265.                         <!--PUB FRANCHISE-->
  1266.                         <!--<div class="card mb-3 card-ie card-franchises">
  1267.                             <div class="card-header">{{ translate("avez-vous pense a creer ou reprendre en franchise ?",lang,"","M") | raw }}</div>
  1268.                             <div class="card-body">
  1269.                                 <div class="row">
  1270.                                     <div class="col-12 col-md-6">
  1271.                                         <a href="https://www.placedesfranchises.com/carslift" class="inter_orange_link" title="OUEST CONTRÔLE ENVIRONNEMENT">OUEST CONTRÔLE ENVIRONNEMENT</a>
  1272.                                     </div>
  1273.                                     <div class="col-12 col-md-6">
  1274.                                         <div>
  1275.                                             <a href="https://www.placedesfranchises.com/carslift" class="vert_franchises fs13" title="Le specialiste du bien motorise">Le specialiste du bien motorise</a><br>
  1276.                                             <span class="nowrap_custom">{{ translate("apport",lang,"","M") | raw }} : <strong>15 000 € </strong></span>&nbsp;&nbsp;&nbsp;&nbsp;
  1277.                                             <span class="nowrap_custom">{{ translate("droit d'entree",lang,"","M") | raw }} :  <strong>35 000 €</strong>
  1278.                                         </div>
  1279.                                     </div>
  1280.                                     <div class="col-12 col-md-12 text-right mt-3">
  1281.                                         <div class="inline"><small>{{ translate("consultez sur",lang,"","M") | raw }} </small></div>
  1282.                                         <div class="inline"><img src="images/logo_PDF_petit.jpg" width="120"></div>
  1283.                                     </div>
  1284.                                 </div>
  1285.                             </div>
  1286.                         </div>-->
  1287.                         <!--FIN PUB FRANCHISE-->
  1288.                     </div>
  1289.                 </div>
  1290.                 <!--PAGINATION-->
  1291.                 <div class="row mt-3">
  1292.                     <div class="col-sm-12">
  1293.                         <nav aria-label="..." class="pagination-vert">
  1294.                             {{ knp_pagination_render(liste_annonces) }}
  1295.                         </nav>
  1296.                     </div>
  1297.                 </div>
  1298.                 <!--FIN PAGINATION-->
  1299.                 <div class="col-12 mb-3">
  1300.                     <i class="fas fa-user bleu"></i> - <small>{{ translate("repreneur personne physique",lang,"","M") | raw }}</small><br>
  1301.                     <i class="fas fa-building jaune"></i> - <small>{{ translate("l'acquereur est une societe",lang,"","M") | raw }}</small>
  1302.                 </div>
  1303.             </div><!--FIN COLONNE DROITE -->
  1304.         </div> <!--FIN ROW CONTAINER -->
  1305.     </div>  <!--FIN CONTAINER -->
  1306.     <div style="display: none;" id="from" data-value="acquisition"></div>
  1307.     <input type="hidden" name="urlList" value="{{ urlList }}" id="urlList">
  1308.     <input type="hidden" name="string_params" value="{{ string_params }}" id="string_params">
  1309. {% endblock %}
  1310. {% block javascripts %}
  1311.     {{ parent() }}
  1312.     <script type="module" data-name="{{ codePaysWithUnderScore }}" id="codePaysParam" src="{{ asset('build/js/vendre_entreprise/acquisition.js') }}"></script>
  1313.     <script type="application/javascript" src="{{ asset('build/js/annonces/favoris.js') }}"></script>
  1314.       {% include 'annonces/fragments/modal_favoris.html.twig' %}
  1315. {% endblock %}