templates/reprendre_entreprise/entreprise.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/reprendre_entreprise/reprendre_entreprise.css') }}">
  4.     {% if eliteResult %}  <link rel="stylesheet" href="{{ asset('build/css/annonces/elite/list_recherche_avancee.css') }}"> {% endif %} 
  5. {% endblock %}
  6. {% block body %}
  7.     {% include 'assets/assets_vuejs.html.twig' %}
  8.     <!-- Menu  -->
  9.     {{ render_esi(controller(
  10.       'App\\Controller\\CoreController::menu',
  11.       {   "lang": lang,
  12.           "currentRoute":currentRoute,
  13.           "codePays": codePaysWithUnderScore }
  14.     )) | spaceless }}
  15.     <!-- Menu  -->
  16.     <!-- Publicite  -->
  17.     {% include 'includes/publicite.html.twig' %}
  18.     <!-- Publicite  -->
  19.     <div class="container" id="app">
  20.         <div class="row">
  21.             <!--COLONNE GAUCHE -->
  22.             {% include 'includes/colonne_gauche_liste_annonces.html.twig' %}
  23.             <!--FIN COLONNE GAUCHE -->
  24.             <!--COLONNE DROITE -->
  25.             <div class="col-12 col-lg-9 {% if not publiqueElite %}bkg_blanc{% endif %}" {% if publiqueElite %}style="background-color: #FFE7CE;"{% endif %}>
  26.                 <!-- ARIANE -->
  27.                 <nav aria-label="breadcrumb" class="d-none d-sm-block">
  28.                     <ol class="breadcrumb" {% if publiqueElite %} style="background-color: #FFE7CE;" {% endif %} > 
  29.                         <li class="breadcrumb-item"><a href="{{ path('index',{'codePays':codePays}) }}" title="{{ translate("accueil",lang,"","M") | raw }}">{{ translate("accueil",lang,"","M") | raw }}</a></li>
  30.                         <li class="breadcrumb-item"><a href="{{ path('reprendre_entreprise_annonces_cession_entreprise',{'codePays':codePaysWithUnderScore}  ) }}">{{ translate("reprendre une entreprise",lang,"","M") | raw }}</a></li>
  31.                             {% if idLocalisation and not idSecteurActivite %}
  32.                             <li class="breadcrumb-item"><a href="{{ path('reprendre_entreprise_resultats_annonces_cession_entreprise', {'codePays' : codePaysWithUnderScore}) }}" title="{{ translate("annonces de cession d'entreprise",lang,"","M") | raw }}">{{ translate("cessions d'entreprise",lang,"","M") | raw }}</a></li>
  33.                                 {% for index, localisation in localisations %}
  34.                                     {% if index == 0 %}
  35.                                         {% set type_loc = "p" %}
  36.                                     {% elseif index == 1 %}
  37.                                         {% set type_loc = "r" %}
  38.                                     {% else %}
  39.                                         {% set type_loc = "d" %}
  40.                                     {% endif %}
  41.                                 {% if localisation != localisations|last %}
  42.                                     {% set arrayVarsTrans =  {"prefixe": localisation.prefixe, "nom_localisation" : localisation.nom_localisation }  %}
  43.                                     <li class="breadcrumb-item">
  44.                                         <a href="{{ path('reprendre_entreprise_annonce_cession_entreprise_localisation', {'slug': localisation.nom_localisation|slugify, 'type': type_loc, 'idLocalisation': localisation.id_localisation, 'codePays': codePaysWithUnderScore}) }}"
  45.                                            title="{{ translate("reprendre une entreprise %$prefixe%$ %$nom_localisation%$",lang,"","M", "", arrayVarsTrans) | raw }}">
  46.                                             {{ localisation.nom_localisation }}
  47.                                         </a>
  48.                                     </li>
  49.                                 {% else %}
  50.                                     <li class="breadcrumb-item active" aria-current="page">{{ localisation.nom_localisation }}</li>
  51.                                     {% endif %}
  52.                                 {% endfor %}
  53.                             {% elseif idSecteurActivite and not idLocalisation %}
  54.                             <li class="breadcrumb-item"><a href="{{ path('reprendre_entreprise_resultats_annonces_cession_entreprise', {'codePays' : codePaysWithUnderScore}) }}" title="{{ translate("annonces de cession d'entreprise",lang,"","M") | raw }}">{{ translate("cessions d'entreprise",lang,"","M") | raw }}</a></li>
  55.                                 {% for index, secteurActivite in secteurActivites %}
  56.                                     {% if secteurActivite != secteurActivites|last %}
  57.                                         {% set arrayVarsTrans =  {"nomPourTitle": secteurActivite.nomPourTitle|lower }  %}
  58.                                     <li class="breadcrumb-item">
  59.                                         <a href="{{ path('reprendre_entreprise_annonce_cession_entreprise_secteur_activite', {'slug': secteurActivite.nomSecteurActivite|slugify, 'idSecteurActivite': secteurActivite.idSecteurActivite, 'codePays': codePaysWithUnderScore}) }}"
  60.                                            title="{{ translate("reprendre une entreprise %$nomPourTitle%$",lang,"","M", "", arrayVarsTrans) | raw }}">
  61.                                             {{ secteurActivite.nomSecteurActivite }}
  62.                                         </a>
  63.                                     </li>
  64.                                 {% else %}
  65.                                     <li class="breadcrumb-item active" aria-current="page">{{ secteurActivite.nomSecteurActivite }}</li>
  66.                                     {% endif %}
  67.                                 {% endfor %}
  68.                             {% elseif idSecteurActivite and idLocalisation %}
  69.                             <li class="breadcrumb-item"><a href="{{ path('reprendre_entreprise_resultats_annonces_cession_entreprise', {'codePays' : codePaysWithUnderScore}) }}" title="{{ translate("annonces de cession d'entreprise",lang,"","M") | raw }}">{{ translate("cessions d'entreprise",lang,"","M") | raw }}</a></li>
  70.                                 {% for index, secteurActivite in secteurActivites %}
  71.                                     {% set arrayVarsTrans =  {"nomPourTitle": secteurActivite.nomPourTitle|lower }  %}
  72.                                 <li class="breadcrumb-item">
  73.                                     <a href="{{ path('reprendre_entreprise_annonce_cession_entreprise_secteur_activite', {'slug': secteurActivite.nomSecteurActivite|slugify, 'idSecteurActivite': secteurActivite.idSecteurActivite, 'codePays': codePaysWithUnderScore}) }}"
  74.                                        title="{{ translate("reprendre une entreprise %$nomPourTitle%$",lang,"","M", "", arrayVarsTrans) | raw }}">
  75.                                         {{ secteurActivite.nomSecteurActivite }}
  76.                                     </a>
  77.                                 </li>
  78.                             {% endfor %}
  79.                             {% for index, localisation in localisations %}
  80.                                 {% if index == 0 %}
  81.                                     {% set type_loc = "p" %}
  82.                                 {% elseif index == 1 %}
  83.                                     {% set type_loc = "r" %}
  84.                                 {% else %}
  85.                                     {% set type_loc = "d" %}
  86.                                 {% endif %}
  87.                                 {% if localisation != localisations|last %}
  88.                                     {% set arrayVarsTrans =  {"prefixe": localisation.prefixe, "nom_localisation" : localisation.nom_localisation, "nomPourTitle": secteurActivites|last.nomPourTitle|lower }  %}
  89.                                     <li class="breadcrumb-item">
  90.                                         <a href="{{ path('reprendre_entreprise_annonce_cession_entreprise_croise', {'nomLocalisation': localisation.nom_localisation|slugify, 'nomSecteurActivite': secteurActivites|last.nomSecteurActivite|slugify, 'type': type_loc, 'idLocalisation': localisation.id_localisation, 'idSecteurActivite': secteurActivites|last.idSecteurActivite, 'codePays': codePaysWithUnderScore}) }}"
  91.                                            title="{{ translate("reprendre une entreprise %$nomPourTitle%$ %$prefixe%$ %$nom_localisation%$",lang,"","M", "", arrayVarsTrans) | raw }}">
  92.                                             {{ localisation.nom_localisation }}
  93.                                         </a>
  94.                                     </li>
  95.                                 {% else %}
  96.                                     <li class="breadcrumb-item active" aria-current="page">{{ localisation.nom_localisation }}</li>
  97.                                     {% endif %}
  98.                                 {% endfor %}
  99.                             {% else %}
  100.                             <li class="breadcrumb-item active" aria-current="page">{{ translate("cessions d'entreprise",lang,"","M") | raw }}</li>
  101.                             {% endif %}
  102.                     </ol>
  103.                 </nav>
  104.                 <!-- FIN ARIANE -->
  105.                 {% if app.session.flashbag.peek('error')|length > 0 %}
  106.                     <div class="alert alert-danger" role="alert">
  107.                         {% for message in app.flashes('error') %}
  108.                             {{ message }}<br>
  109.                         {% endfor %}
  110.                     </div>
  111.                 {% endif %}
  112.                 {% if app.session.flashbag.peek('success')|length > 0 %}
  113.                     <div class="alert alert-success" role="alert">
  114.                         {% for message in app.flashes('success') %}
  115.                             - {{ message }}<br>
  116.                         {% endfor %}
  117.                     </div>
  118.                 {% endif %}
  119.                 {% if idLocalisation or idSecteurActivite %}
  120.                     <div class="row mt-4">
  121.                         <div class="col-12 mb-1 ml-3 mt-3">
  122.                             <h1 class="bleu fs2">{{ translate("cessions d'entreprise",lang,"","M") | raw }} -
  123.                                 {% if idLocalisation and not idSecteurActivite %}
  124.                                     {{ localisations|last.nom_localisation }} {% if noms_ville %}({{ noms_ville }}...){% endif %}
  125.                                 {% elseif idSecteurActivite and not idLocalisation %}
  126.                                     {{ secteurActivites|last.nomSecteurActivite }}
  127.                                 {% elseif idSecteurActivite and idLocalisation %}
  128.                                     {{ secteurActivites|last.nomSecteurActivite }} {{ localisations|last.prefixe }} {{ localisations|last.nom_localisation }}
  129.                                 {% endif %}
  130.                             </h1>
  131.                         </div>
  132.                     </div>
  133.                 {% endif %}
  134.                 {% if idLocalisation and not idSecteurActivite %}
  135.                     <div class="row">
  136.                         <div class="col-12">
  137.                             <div class="card no_shadow mb-3 card-ie">
  138.                                 <div class="card-body">
  139.                                     <div class="row">
  140.                                         <div class="col-12 mt-1">
  141.                                             <div class="float-left">
  142.                                                 {% if prev_localisation %}
  143.                                                     {% set arrayVarsTrans =  {"prefixe": prev_localisation.prefixe, "nom_localisation" : prev_localisation.nom_localisation }  %}
  144.                                                     <a href="{{ path('reprendre_entreprise_annonce_cession_entreprise_localisation', {'slug': prev_localisation.nom_localisation|default('')|slugify, 'type': prev_localisation.type, 'idLocalisation': prev_localisation.id_localisation, 'codePays': codePaysWithUnderScore}) }}" title="{{ translate("reprendre une entreprise %$prefixe%$ %$nom_localisation%$",lang,"","M", "", arrayVarsTrans) | raw }}">
  145.                                                         <i class="fas fa-arrow-circle-up fa-2x bleu"></i>
  146.                                                     </a>
  147.                                                 {% else %}
  148.                                                     <i class="fas fa-arrow-circle-up fa-2x bleu"></i>
  149.                                                 {% endif %}
  150.                                             </div>
  151.                                             <div class="lh18 ml-5">
  152.                                                 <strong class="bleu">{{ localisations|last.nom_localisation }} ({{ nb_entreprises }})</strong>
  153.                                             </div>
  154.                                         </div>
  155.                                         {% set nb_elements = sous_localisations_numbers | length %}
  156.                                         {% if nb_elements > 0 and nb_elements <= 5 %}
  157.                                             <div class="col-12 pt-2 mt-3">
  158.                                                 <ul class="cat_regions">
  159.                                                     {% for element in sous_localisations_numbers %}
  160.                                                         {% set arrayVarsTrans =  {"prefixe": element.prefixe, "nom_localisation" : element.nom_localisation }  %}
  161.                                                         <li>
  162.                                                             {% if element.nb_entreprises > 0 %}
  163.                                                                 <a href="{{ path('reprendre_entreprise_annonce_cession_entreprise_localisation', {'slug' : element.nom_localisation|default('')|slugify, 'idLocalisation' : element.id_localisation, 'type' : element.type, 'codePays' : codePaysWithUnderScore }) }}" title="{{ translate("reprendre une entreprise %$prefixe%$ %$nom_localisation%$",lang,"","M", "", arrayVarsTrans) | raw }}">
  164.                                                                     {{ element.nom_localisation }} ({{ element.nb_entreprises }})
  165.                                                                 </a>
  166.                                                             {% else %}
  167.                                                                 <span class="disabled-link">{{ element.nom_localisation }} ({{ element.nb_entreprises }})</span>
  168.                                                             {% endif %}
  169.                                                         </li>
  170.                                                     {% endfor %}
  171.                                                 </ul>
  172.                                             </div>
  173.                                         {% elseif nb_elements > 5 %}
  174.                                             {% set half = ((sous_localisations_numbers | length) / 2)| round(0, 'ceil') %}
  175.                                             <div class="col-6 pt-2 mt-3">
  176.                                                 <ul class="cat_regions">
  177.                                                     {% for index, element in sous_localisations_numbers %}
  178.                                                         {% set arrayVarsTrans =  {"prefixe": element.prefixe, "nom_localisation" : element.nom_localisation }  %}
  179.                                                         {% if index < half %}
  180.                                                             <li>
  181.                                                                 {% if element.nb_entreprises > 0 %}
  182.                                                                     <a href="{{ path('reprendre_entreprise_annonce_cession_entreprise_localisation', {'slug' : element.nom_localisation|default('')|slugify, 'idLocalisation' : element.id_localisation, 'type' : element.type, 'codePays' : codePaysWithUnderScore }) }}" title="{{ translate("reprendre une entreprise %$prefixe%$ %$nom_localisation%$",lang,"","M", "", arrayVarsTrans) | raw }}">
  183.                                                                         {{ element.nom_localisation }} ({{ element.nb_entreprises }})
  184.                                                                     </a>
  185.                                                                 {% else %}
  186.                                                                     <span class="disabled-link">{{ element.nom_localisation }} ({{ element.nb_entreprises }})</span>
  187.                                                                 {% endif %}
  188.                                                             </li>
  189.                                                         {% endif %}
  190.                                                     {% endfor %}
  191.                                                 </ul>
  192.                                             </div>
  193.                                             <div class="col-6 pt-2 mt-3">
  194.                                                 <ul class="cat_regions">
  195.                                                     {% for index, element in sous_localisations_numbers %}
  196.                                                         {% set arrayVarsTrans =  {"prefixe": element.prefixe, "nom_localisation" : element.nom_localisation }  %}
  197.                                                         {% if index >= half %}
  198.                                                             <li>
  199.                                                                 {% if element.nb_entreprises > 0 %}
  200.                                                                     <a href="{{ path('reprendre_entreprise_annonce_cession_entreprise_localisation', {'slug' : element.nom_localisation|default('')|slugify, 'idLocalisation' : element.id_localisation, 'type' : element.type, 'codePays' : codePaysWithUnderScore }) }}" title="{{ translate("reprendre une entreprise %$prefixe%$ %$nom_localisation%$",lang,"","M", "", arrayVarsTrans) | raw }}">
  201.                                                                         {{ element.nom_localisation }} ({{ element.nb_entreprises }})
  202.                                                                     </a>
  203.                                                                 {% else %}
  204.                                                                     <span class="disabled-link">{{ element.nom_localisation }} ({{ element.nb_entreprises }})</span>
  205.                                                                 {% endif %}
  206.                                                             </li>
  207.                                                         {% endif %}
  208.                                                     {% endfor %}
  209.                                                 </ul>
  210.                                             </div>
  211.                                         {% endif %}
  212.                                     </div>
  213.                                 </div>
  214.                             </div>
  215.                             <div class="col-12 text-right">
  216.                                 {% set arrayVarsTrans =  {"prefixe": localisations|last.prefixe, "nom_localisation" : localisations|last.nom_localisation }  %}
  217.                                 <img src="https://content.fusacq.com/static/help-fusacq/fr/css/images/mini_logo.jpg" alt="Place des Commerces">&nbsp;
  218.                                 <a href="https://www.placedescommerces.com/vente-commerce-{{ localisations|last.nom_localisation|slugify }},{{ type }}{{ localisations|last.id_localisation }}.html" target="_blank">{{ translate("reprendre un commerce %$prefixe%$ %$nom_localisation%$",lang,"","M", "", arrayVarsTrans) | raw }}</a>
  219.                             </div>
  220.                         </div>
  221.                     </div>
  222.                 {% elseif idSecteurActivite and not idLocalisation %}
  223.                     <div class="row">
  224.                         <div class="col-12">
  225.                             <div class="card no_shadow mb-3 card-ie">
  226.                                 <div class="card-body">
  227.                                     <div class="row">
  228.                                         <div class="col-12 mt-1">
  229.                                             <div class="float-left">
  230.                                                 {% if prev_secteur %}
  231.                                                     {% set arrayVarsTrans =  {"nomPourTitle": prev_secteur.nomPourTitle|lower }  %}
  232.                                                     <a href="{{ path('reprendre_entreprise_annonce_cession_entreprise_secteur_activite', {'slug': prev_secteur.nomSecteurActivite|slugify, 'idSecteurActivite': prev_secteur.idSecteurActivite, 'codePays': codePaysWithUnderScore}) }}" title="{{ translate("reprendre une entreprise %$nomPourTitle%$",lang,"","M", "", arrayVarsTrans) | raw }}">
  233.                                                         <i class="fas fa-arrow-circle-up fa-2x bleu"></i>
  234.                                                     </a>
  235.                                                 {% else %}
  236.                                                     <a href="{{ path('reprendre_entreprise_annonces_cession_entreprise', {'codePays': codePaysWithUnderScore }) }}" title="{{ translate("toutes les opportunités", lang, "", "M") }}">
  237.                                                         <i class="fas fa-arrow-circle-up fa-2x bleu"></i>
  238.                                                     </a>
  239.                                                 {% endif %}
  240.                                             </div>
  241.                                             <div class="lh18 ml-5">
  242.                                                 <strong class="bleu">{{ secteurActivites|last.nomSecteurActivite }} ({{ nb_entreprises }})</strong>
  243.                                             </div>
  244.                                         </div>
  245.                                         {% set nb_elements = sous_secteurs_numbers | length %}
  246.                                         {% if nb_elements > 0 and nb_elements <= 5 %}
  247.                                             <div class="col-12 pt-2 mt-3">
  248.                                                 <ul class="cat_regions">
  249.                                                     {% for element in sous_secteurs_numbers %}
  250.                                                         {% set arrayVarsTrans =  {"nomPourTitle": element.nomPourTitle|lower }  %}
  251.                                                         <li>
  252.                                                             {% if element.nb_entreprises > 0 %}
  253.                                                                 <a href="{{ path('reprendre_entreprise_annonce_cession_entreprise_secteur_activite', {'slug' : element.nomSecteurActivite|slugify, 'idSecteurActivite' : element.idSecteurActivite, 'codePays' : codePaysWithUnderScore }) }}"
  254.                                                                    title="{{ translate("reprendre une entreprise %$nomPourTitle%$",lang,"","M", "", arrayVarsTrans) | raw }}">
  255.                                                                     {{ element.nomSecteurActivite }} ({{ element.nb_entreprises }})
  256.                                                                 </a>
  257.                                                             {% else %}
  258.                                                                 <span class="disabled-link">{{ element.nomSecteurActivite }} ({{ element.nb_entreprises }})</span>
  259.                                                             {% endif %}
  260.                                                         </li>
  261.                                                     {% endfor %}
  262.                                                 </ul>
  263.                                             </div>
  264.                                         {% elseif nb_elements > 5 %}
  265.                                             {% set half = ((sous_secteurs_numbers | length) / 2)| round(0, 'ceil') %}
  266.                                             <div class="col-6 pt-2 mt-3">
  267.                                                 <ul class="cat_regions">
  268.                                                     {% for index, element in sous_secteurs_numbers %}
  269.                                                         {% set arrayVarsTrans =  {"nomPourTitle": element.nomPourTitle|lower }  %}
  270.                                                         {% if index < half %}
  271.                                                             <li>
  272.                                                                 {% if element.nb_entreprises > 0 %}
  273.                                                                     <a href="{{ path('reprendre_entreprise_annonce_cession_entreprise_secteur_activite', {'slug' : element.nomSecteurActivite|slugify, 'idSecteurActivite' : element.idSecteurActivite, 'codePays' : codePaysWithUnderScore }) }}"
  274.                                                                        title="{{ translate("reprendre une entreprise %$nomPourTitle%$",lang,"","M", "", arrayVarsTrans) | raw }}">
  275.                                                                         {{ element.nomSecteurActivite }} ({{ element.nb_entreprises }})
  276.                                                                     </a>
  277.                                                                 {% else %}
  278.                                                                     <span class="disabled-link">{{ element.nomSecteurActivite }} ({{ element.nb_entreprises }})</span>
  279.                                                                 {% endif %}
  280.                                                             </li>
  281.                                                         {% endif %}
  282.                                                     {% endfor %}
  283.                                                 </ul>
  284.                                             </div>
  285.                                             <div class="col-6 pt-2 mt-3">
  286.                                                 <ul class="cat_regions">
  287.                                                     {% for index, element in sous_secteurs_numbers %}
  288.                                                         {% set arrayVarsTrans =  {"nomPourTitle": element.nomPourTitle|lower }  %}
  289.                                                         {% if index >= half %}
  290.                                                             <li>
  291.                                                                 {% if element.nb_entreprises > 0 %}
  292.                                                                     <a href="{{ path('reprendre_entreprise_annonce_cession_entreprise_secteur_activite', {'slug' : element.nomSecteurActivite|slugify, 'idSecteurActivite' : element.idSecteurActivite, 'codePays' : codePaysWithUnderScore }) }}"
  293.                                                                        title="{{ translate("reprendre une entreprise %$nomPourTitle%$",lang,"","M", "", arrayVarsTrans) | raw }}">
  294.                                                                         {{ element.nomSecteurActivite }} ({{ element.nb_entreprises }})
  295.                                                                     </a>
  296.                                                                 {% else %}
  297.                                                                     <span class="disabled-link">{{ element.nomSecteurActivite }} ({{ element.nb_entreprises }})</span>
  298.                                                                 {% endif %}
  299.                                                             </li>
  300.                                                         {% endif %}
  301.                                                     {% endfor %}
  302.                                                 </ul>
  303.                                             </div>
  304.                                         {% endif %}
  305.                                     </div>
  306.                                 </div>
  307.                             </div>
  308.                             <div class="col-12 text-right">
  309.                                 {% set arrayVarsTrans =  {"nomPourTitle": secteurActivites|last.nomPourTitle }  %}
  310.                                 <!-- <img src="https://content.fusacq.com/static/help-fusacq/fr/css/images/mini_logo.jpg" alt="Place des Commerces">&nbsp; -->
  311.                                 <!-- <a href="https://www.placedescommerces.com/vente-commerce-{{ secteurActivites|last.nomSecteurActivite|slugify }},{{ secteurActivites|last.idSecteurActivite }}.html" target="_blank">{{ translate("reprendre un commerce %$nomPourTitle%$",lang,"","M", "", arrayVarsTrans) | raw }}</a> -->
  312.                             </div>
  313.                         </div>
  314.                     </div>
  315.                 {% elseif idSecteurActivite and idLocalisation %}
  316.                     <div class="row">
  317.                         <div class="col-12">
  318.                             <div class="card no_shadow mb-3 card-ie">
  319.                                 <div class="card-body">
  320.                                     <div class="row">
  321.                                         <div class="col-12 mt-1 mb-3">
  322.                                             <div class="float-left">
  323.                                                 {% if prev_localisation %}
  324.                                                     {% set arrayVarsTrans =  {"prefixe": prev_localisation.prefixe, "nom_localisation" : prev_localisation.nom_localisation, "nomPourTitle": secteurActivites|last.nomPourTitle|lower }  %}
  325.                                                     <a href="{{ path('reprendre_entreprise_annonce_cession_entreprise_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}) }}"
  326.                                                        title="{{ translate("reprendre une entreprise %$nomPourTitle%$ %$prefixe%$ %$nom_localisation%$",lang,"","M", "", arrayVarsTrans) | raw }}">
  327.                                                         <i class="fas fa-arrow-circle-up fa-2x bleu"></i>
  328.                                                     </a>
  329.                                                 {% else %}
  330.                                                     <i class="fas fa-arrow-circle-up fa-2x bleu"></i>
  331.                                                 {% endif %}
  332.                                             </div>
  333.                                             <div class="lh18 ml-5">
  334.                                                 <strong class="bleu">{{ localisations|last.nom_localisation }} ({{ nb_entreprises }})</strong>
  335.                                             </div>
  336.                                         </div>
  337.                                         {% set nb_elements = sous_localisations_numbers | length %}
  338.                                         {% if nb_elements > 0 and nb_elements <= 5 %}
  339.                                             <div class="col-12 pt-2">
  340.                                                 <ul class="cat_regions">
  341.                                                     {% for element in sous_localisations_numbers %}
  342.                                                         {% set arrayVarsTrans =  {"prefixe": element.prefixe, "nom_localisation" : element.nom_localisation, "nomPourTitle": secteurActivites|last.nomPourTitle|lower }  %}
  343.                                                         <li>
  344.                                                             {% if element.nb_entreprises > 0 %}
  345.                                                                 <a href="{{ path('reprendre_entreprise_annonce_cession_entreprise_croise', {'nomLocalisation' : element.nom_localisation|slugify, 'nomSecteurActivite' : secteurActivites|last.nomSecteurActivite|slugify, 'idLocalisation' : element.id_localisation, 'type' : element.type, 'idSecteurActivite' : secteurActivites|last.idSecteurActivite, 'codePays' : codePaysWithUnderScore }) }}"
  346.                                                                    title="{{ translate("reprendre une entreprise %$nomPourTitle%$ %$prefixe%$ %$nom_localisation%$",lang,"","M", "", arrayVarsTrans) | raw }}">
  347.                                                                     {{ element.nom_localisation }} ({{ element.nb_entreprises }})
  348.                                                                 </a>
  349.                                                             {% else %}
  350.                                                                 <span class="disabled-link">{{ element.nom_localisation }} ({{ element.nb_entreprises }})</span>
  351.                                                             {% endif %}
  352.                                                         </li>
  353.                                                     {% endfor %}
  354.                                                 </ul>
  355.                                             </div>
  356.                                         {% elseif nb_elements > 5 %}
  357.                                             {% set half = ((sous_localisations_numbers | length) / 2)| round(0, 'ceil') %}
  358.                                             <div class="col-6 pt-2 mt-3">
  359.                                                 <ul class="cat_regions">
  360.                                                     {% for index, element in sous_localisations_numbers %}
  361.                                                         {% set arrayVarsTrans =  {"prefixe": element.prefixe, "nom_localisation" : element.nom_localisation, "nomPourTitle": secteurActivites|last.nomPourTitle|lower }  %}
  362.                                                         {% if index < half %}
  363.                                                             <li>
  364.                                                                 {% if element.nb_entreprises > 0 %}
  365.                                                                     <a href="{{ path('reprendre_entreprise_annonce_cession_entreprise_croise', {'nomLocalisation' : element.nom_localisation|slugify, 'nomSecteurActivite' : secteurActivites|last.nomSecteurActivite|slugify, 'idLocalisation' : element.id_localisation, 'type' : element.type, 'idSecteurActivite' : secteurActivites|last.idSecteurActivite, 'codePays' : codePaysWithUnderScore }) }}"
  366.                                                                        title="{{ translate("reprendre une entreprise %$nomPourTitle%$ %$prefixe%$ %$nom_localisation%$",lang,"","M", "", arrayVarsTrans) | raw }}">
  367.                                                                         {{ element.nom_localisation }} ({{ element.nb_entreprises }})
  368.                                                                     </a>
  369.                                                                 {% else %}
  370.                                                                     <span class="disabled-link">{{ element.nom_localisation }} ({{ element.nb_entreprises }})</span>
  371.                                                                 {% endif %}
  372.                                                             </li>
  373.                                                         {% endif %}
  374.                                                     {% endfor %}
  375.                                                 </ul>
  376.                                             </div>
  377.                                             <div class="col-6 pt-2 mt-3">
  378.                                                 <ul class="cat_regions">
  379.                                                     {% for index, element in sous_localisations_numbers %}
  380.                                                         {% set arrayVarsTrans =  {"prefixe": element.prefixe, "nom_localisation" : element.nom_localisation, "nomPourTitle": secteurActivites|last.nomPourTitle|lower }  %}
  381.                                                         {% if index >= half %}
  382.                                                             <li>
  383.                                                                 {% if element.nb_entreprises > 0 %}
  384.                                                                     <a href="{{ path('reprendre_entreprise_annonce_cession_entreprise_croise', {'nomLocalisation' : element.nom_localisation|slugify, 'nomSecteurActivite' : secteurActivites|last.nomSecteurActivite|slugify, 'idLocalisation' : element.id_localisation, 'type' : element.type, 'idSecteurActivite' : secteurActivites|last.idSecteurActivite, 'codePays' : codePaysWithUnderScore }) }}"
  385.                                                                        title="{{ translate("reprendre une entreprise %$nomPourTitle%$ %$prefixe%$ %$nom_localisation%$",lang,"","M", "", arrayVarsTrans) | raw }}">
  386.                                                                         {{ element.nom_localisation }} ({{ element.nb_entreprises }})
  387.                                                                     </a>
  388.                                                                 {% else %}
  389.                                                                     <span class="disabled-link">{{ element.nom_localisation }} ({{ element.nb_entreprises }})</span>
  390.                                                                 {% endif %}
  391.                                                             </li>
  392.                                                         {% endif %}
  393.                                                     {% endfor %}
  394.                                                 </ul>
  395.                                             </div>
  396.                                         {% endif %}
  397.                                     </div>
  398.                                 </div>
  399.                             </div>
  400.                             <div class="col-12 text-right">
  401.                                 {% set arrayVarsTrans =  {"prefixe": localisations|last.prefixe, "nom_localisation" : localisations|last.nom_localisation }  %}
  402.                                 <img src="https://content.fusacq.com/static/help-fusacq/fr/css/images/mini_logo.jpg" alt="Place des Commerces">&nbsp;
  403.                                 <a href="https://www.placedescommerces.com/vente-commerce-{{ localisations|last.nom_localisation|slugify }},{{ type }}{{ localisations|last.id_localisation }}.html" target="_blank">{{ translate("reprendre un commerce %$prefixe%$ %$nom_localisation%$",lang,"","M", "", arrayVarsTrans) | raw }}</a>
  404.                             </div>
  405.                         </div>
  406.                     </div>
  407.                 {% endif %}
  408.                 <!--2 BOUTONS-->
  409.                 {% if publiqueElite %}
  410.                     <div class="row mt-3 mb-3">
  411.                         <div class="col-12 pt-2 mb-4 text-right">    
  412.                             <a class="button-rond" href="{{ path('reprendre_entreprise_recherche_annonces_cession_entreprise',{'codePays':codePaysWithUnderScore}  ) }}?{{ string_params_without_page }}" role="button" aria-pressed="true" title="{{ translate("modifiez votre recherche",lang,"","M") | raw }}">
  413.                                 {{ translate("modifiez votre recherche",lang,"","M") | raw }}</a>
  414.                             &nbsp;
  415.                             <a class="button-rond" @click="handleCreerAlerte($event)" href="{{ path('creer_alerte', {type: 'vente', codePays: codePaysWithUnderScore}) }}" role="button" aria-pressed="true"  title="{{ translate("creer une alerte",lang,"","M") | raw }}">
  416.                                 <i class="fa-solid fa-bell"></i>&nbsp;&nbsp;&nbsp;{{ translate("creer une alerte",lang,"","M") | raw }}</a>
  417.                         </div>    
  418.                     </div>
  419.                 {% else %}
  420.                     <div class="row mt-3 mb-3">
  421.                         <div class="col-12 pt-2 mb-4 text-right">
  422.                             <a href="{{ path('reprendre_entreprise_recherche_annonces_cession_entreprise',{'codePays':codePaysWithUnderScore}  ) }}?{{ string_params_without_page }}" class="text-decoration-none" title="{{ translate("modifiez votre recherche",lang,"","M") | raw }}">
  423.                                 <button type="submit" class="btn btn-bleu-annonce mt-2">{{ translate("modifiez votre recherche",lang,"","M") | raw }}</button>
  424.                             </a>
  425.                             <a  @click="handleCreerAlerte($event)" href="{{ path('creer_alerte', {type: 'vente', codePays: codePaysWithUnderScore}) }}" class="ml-2" title="{{ translate("creer une alerte",lang,"","M") | raw }}" id="btnCreationAlerte">
  426.                                 <button type="submit" class="btn btn-jaune blanc mt-2">
  427.                                     <i class="fas fa-bell white"></i> {{ translate("creer une alerte",lang,"","M") | raw }}
  428.                                 </button>
  429.                             </a>
  430.                         </div>
  431.                     </div>
  432.                 {% endif %}
  433.                 <!--FIN 2 BOUTONS-->
  434.                 {% if not publiqueElite %}
  435.                     {% if idLocalisation and not idSecteurActivite %}
  436.                         <div class="row">
  437.                             <div class="col-12 mb-3 ml-3">
  438.                                 {% set p = "" %}
  439.                                 {% if ( nb_annonces > 1 ) %}
  440.                                     {% set p = "p" %}
  441.                                 {% endif %}
  442.                                 {% set arrayVarsTrans =  {"prefixe": localisations|last.prefixe, "nom_localisation" : localisations|last.nom_localisation }  %}
  443.                                 <span class="fs13">{{ nb_annonces }} {{ translate("$$opportunite$${p|opportunites} %$prefixe%$ %$nom_localisation%$ dont",lang,"","m", p, arrayVarsTrans) | raw }} :</span>
  444.                             </div>
  445.                         </div>
  446.                         <!--MOBILE-->
  447.                         <div class="row d-block d-sm-none bkg_gris_clair">
  448.                             <div class="col-12">
  449.                                 <div class="row">
  450.                                     <div class="col-6  text-center my-3 br_gris">
  451.                                         <div class="blanc bkg_bleu_2 lh099 py-3">
  452.                                             <span class="fs2">{{ nb_entreprises }}</span><br>
  453.                                             {% set p = "" %}
  454.                                             {% if ( nb_entreprises > 1 ) %}
  455.                                                 {% set p = "p" %}
  456.                                             {% endif %}
  457.                                             <span class="res_font">{{ translate("$$cession$${p|cessions}<br>d'entreprise",lang,"","m", p) | raw }}</span>
  458.                                         </div>
  459.                                     </div>
  460.                                     <div class="col-6 text-center my-3">
  461.                                         <div class="blanc lh099 py-3">
  462.                                             <a href="{{ path('reprendre_entreprise_cession_actif_localisation', {'slug':slug, 'type':type, 'idLocalisation':idLocalisation, 'codePays':codePaysWithUnderScore}) }}" class="bleu lh099 py-3">
  463.                                                 <span class="fs2">{{ nb_actifs }}</span><br>
  464.                                                 {% set p = "" %}
  465.                                                 {% if ( nb_actifs > 1 ) %}
  466.                                                     {% set p = "p" %}
  467.                                                 {% endif %}
  468.                                                 <span class="res_font">{{ translate("$$actif$${p|actifs} a<br>reprendre",lang,"","m", p) | raw }}</span></a>
  469.                                         </div>
  470.                                     </div>
  471.                                     <div class="col-6 text-center my-3 br_gris">
  472.                                         <div class="blanc lh099 py-3">
  473.                                             <a href="{{ path('reprendre_entreprise_cible_potentielle_localisation', {'slug':slug, 'type':type, 'idLocalisation':idLocalisation, 'codePays':codePaysWithUnderScore}) }}" class="bleu lh099 py-3">
  474.                                                 <span class="fs2">{{ nb_cibles_potentielles }}</span><br>
  475.                                                 {% set p = "" %}
  476.                                                 {% if ( nb_cibles_potentielles > 1 ) %}
  477.                                                     {% set p = "p" %}
  478.                                                 {% endif %}
  479.                                                 <span class="res_font">{{ translate("$$cible<br>potentielle$${p|cibles<br>potentielles}",lang,"","m", p) | raw }}</span></a>
  480.                                         </div>
  481.                                     </div>
  482.                                     <div class="col-6 text-center my-3 pr-4">
  483.                                         <div class="blanc lh099 py-3">
  484.                                             <a href="{{ path('reprendre_entreprise_recherche_partenariat_localisation', {'slug':slug, 'type':type, 'idLocalisation':idLocalisation, 'codePays':codePaysWithUnderScore}) }}" class="bleu lh099 py-3">
  485.                                                 <span class="fs2">{{ nb_recherches_partenariats }}</span><br>
  486.                                                 {% set p = "" %}
  487.                                                 {% if ( nb_recherches_partenariats > 1 ) %}
  488.                                                     {% set p = "p" %}
  489.                                                 {% endif %}
  490.                                                 <span class="res_font">{{ translate("$$recherche$${p|recherches} de<br>partenariats",lang,"","m", p) | raw }}</span></a>
  491.                                         </div>
  492.                                     </div>
  493.                                 </div>
  494.                             </div>
  495.                         </div>
  496.                         <!--MOBILE-->
  497.                         <!--TOUT SAUF MOBILE-->
  498.                         <div class="row d-none d-sm-block">
  499.                             <div class="onglet4 col-12 mb-4">
  500.                                 <nav>
  501.                                     <div class="nav nav-tabs nav-fill" id="nav-tab" role="tablist">
  502.                                         <div class="col-12 col-sm-3 no-padding-x lh13 order-4 order-sm-1">
  503.                                             <div class="nav-item nav-link active">
  504.                                                 {% set p = "" %}
  505.                                                 {% if ( nb_entreprises > 1 ) %}
  506.                                                     {% set p = "p" %}
  507.                                                 {% endif %}
  508.                                                 <span class="fs2">{{ nb_entreprises }}</span><br><span class="fs13">{{ translate("$$cession$${p|cessions}<br>d'entreprise",lang,"","m", p) | raw }}</span>
  509.                                             </div>
  510.                                         </div>
  511.                                         <div class="col-12 col-sm-3 no-padding-x br_gris  lh13 order-sm-2">
  512.                                             <a class="nav-item nav-link" href="{{ path('reprendre_entreprise_cession_actif_localisation', {'slug':slug, 'type':type, 'idLocalisation':idLocalisation, 'codePays':codePaysWithUnderScore}) }}">
  513.                                                 {% set p = "" %}
  514.                                                 {% if ( nb_actifs > 1 ) %}
  515.                                                     {% set p = "p" %}
  516.                                                 {% endif %}
  517.                                                 <span class="fs2">{{ nb_actifs }}</span><br><span class="fs13">{{ translate("$$actif$${p|actifs} a<br>reprendre",lang,"","m", p) | raw }}</span>
  518.                                             </a>
  519.                                         </div>
  520.                                         <div class="col-12 col-sm-3 no-padding-x br_gris  lh13 order-sm-3">
  521.                                             <a class="nav-item nav-link" href="{{ path('reprendre_entreprise_cible_potentielle_localisation', {'slug':slug, 'type':type, 'idLocalisation':idLocalisation, 'codePays':codePaysWithUnderScore}) }}">
  522.                                                 {% set p = "" %}
  523.                                                 {% if ( nb_cibles_potentielles > 1 ) %}
  524.                                                     {% set p = "p" %}
  525.                                                 {% endif %}
  526.                                                 <span class="fs2">{{ nb_cibles_potentielles }}</span><br><span class="fs13">{{ translate("$$cible<br>potentielle$${p|cibles<br>potentielles}",lang,"","m", p) | raw }}</span>
  527.                                             </a>
  528.                                         </div>
  529.                                         <div class="col-12 col-sm-3 no-padding-x br_gris lh13 order-sm-4">
  530.                                             <a class="nav-item nav-link" href="{{ path('reprendre_entreprise_recherche_partenariat_localisation', {'slug':slug, 'type':type, 'idLocalisation':idLocalisation, 'codePays':codePaysWithUnderScore}) }}">
  531.                                                 {% set p = "" %}
  532.                                                 {% if ( nb_recherches_partenariats > 1 ) %}
  533.                                                     {% set p = "p" %}
  534.                                                 {% endif %}
  535.                                                 <span class="fs2">{{ nb_recherches_partenariats }}</span><br><span class="fs13">{{ translate("$$recherche$${p|recherches} de<br>partenariats",lang,"","m", p) | raw }}</span>
  536.                                             </a>
  537.                                         </div>
  538.                                     </div>
  539.                                 </nav>
  540.                             </div>
  541.                         </div>
  542.                         <!--TOUT SAUF MOBILE-->
  543.                     {% elseif idSecteurActivite and not idLocalisation %}
  544.                         <div class="row">
  545.                             <div class="col-12 mb-3 ml-3">
  546.                                 {% set p = "" %}
  547.                                 {% if ( nb_annonces > 1 ) %}
  548.                                     {% set p = "p" %}
  549.                                 {% endif %}
  550.                                 {% set arrayVarsTrans =  {"nomPourTitle": secteurActivites|last.nomPourTitle|lower }  %}
  551.                                 <span class="fs13">{{ nb_annonces }} {{ translate("$$opportunite$${p|opportunites} %$nomPourTitle%$ dont",lang,"","m", p, arrayVarsTrans) | raw }} :</span>
  552.                             </div>
  553.                         </div>
  554.                         <!--MOBILE-->
  555.                         <div class="row d-block d-sm-none bkg_gris_clair">
  556.                             <div class="col-12">
  557.                                 <div class="row">
  558.                                     <div class="col-6  text-center my-3 br_gris">
  559.                                         <div class="blanc bkg_bleu_2 lh099 py-3">
  560.                                             <span class="fs2">{{ nb_entreprises }}</span><br>
  561.                                             {% set p = "" %}
  562.                                             {% if ( nb_entreprises > 1 ) %}
  563.                                                 {% set p = "p" %}
  564.                                             {% endif %}
  565.                                             <span class="res_font">{{ translate("$$cession$${p|cessions}<br>d'entreprise",lang,"","m", p) | raw }}</span>
  566.                                         </div>
  567.                                     </div>
  568.                                     <div class="col-6 text-center my-3">
  569.                                         <div class="blanc lh099 py-3">
  570.                                             <a href="{{ path('reprendre_entreprise_cession_actif_secteur_activite', {'slug': slug, 'idSecteurActivite' : idSecteurActivite, 'codePays': codePaysWithUnderScore}) }}" class="bleu lh099 py-3">
  571.                                                 <span class="fs2">{{ nb_actifs }}</span><br>
  572.                                                 {% set p = "" %}
  573.                                                 {% if ( nb_actifs > 1 ) %}
  574.                                                     {% set p = "p" %}
  575.                                                 {% endif %}
  576.                                                 <span class="res_font">{{ translate("$$actif$${p|actifs} a<br>reprendre",lang,"","m", p) | raw }}</span></a>
  577.                                         </div>
  578.                                     </div>
  579.                                     <div class="col-6 text-center my-3 br_gris">
  580.                                         <div class="blanc lh099 py-3">
  581.                                             <a href="{{ path('reprendre_entreprise_cible_potentielle_secteur_activite', {'slug': slug, 'idSecteurActivite' : idSecteurActivite, 'codePays': codePaysWithUnderScore}) }}" class="bleu lh099 py-3">
  582.                                                 <span class="fs2">{{ nb_cibles_potentielles }}</span><br>
  583.                                                 {% set p = "" %}
  584.                                                 {% if ( nb_cibles_potentielles > 1 ) %}
  585.                                                     {% set p = "p" %}
  586.                                                 {% endif %}
  587.                                                 <span class="res_font">{{ translate("$$cible<br>potentielle$${p|cibles<br>potentielles}",lang,"","m", p) | raw }}</span></a>
  588.                                         </div>
  589.                                     </div>
  590.                                     <div class="col-6 text-center my-3 pr-4">
  591.                                         <div class="blanc lh099 py-3">
  592.                                             <a href="{{ path('reprendre_entreprise_recherche_partenariat_secteur_activite', {'slug': slug, 'idSecteurActivite' : idSecteurActivite, 'codePays': codePaysWithUnderScore}) }}" class="bleu lh099 py-3">
  593.                                                 <span class="fs2">{{ nb_recherches_partenariats }}</span><br>
  594.                                                 {% set p = "" %}
  595.                                                 {% if ( nb_recherches_partenariats > 1 ) %}
  596.                                                     {% set p = "p" %}
  597.                                                 {% endif %}
  598.                                                 <span class="res_font">{{ translate("$$recherche$${p|recherches} de<br>partenariats",lang,"","m", p) | raw }}</span></a>
  599.                                         </div>
  600.                                     </div>
  601.                                 </div>
  602.                             </div>
  603.                         </div>
  604.                         <!--MOBILE-->
  605.                         <!--TOUT SAUF MOBILE-->
  606.                         <div class="row d-none d-sm-block">
  607.                             <div class="onglet4 col-12 mb-4">
  608.                                 <nav>
  609.                                     <div class="nav nav-tabs nav-fill" id="nav-tab" role="tablist">
  610.                                         <div class="col-12 col-sm-3 no-padding-x lh13 order-4 order-sm-1">
  611.                                             <div class="nav-item nav-link active">
  612.                                                 {% set p = "" %}
  613.                                                 {% if ( nb_entreprises > 1 ) %}
  614.                                                     {% set p = "p" %}
  615.                                                 {% endif %}
  616.                                                 <span class="fs2">{{ nb_entreprises }}</span><br><span class="fs13">{{ translate("$$cession$${p|cessions}<br>d'entreprise",lang,"","m", p) | raw }}</span>
  617.                                             </div>
  618.                                         </div>
  619.                                         <div class="col-12 col-sm-3 no-padding-x br_gris  lh13 order-sm-2">
  620.                                             <a class="nav-item nav-link" href="{{ path('reprendre_entreprise_cession_actif_secteur_activite', {'slug': slug, 'idSecteurActivite' : idSecteurActivite, 'codePays': codePaysWithUnderScore}) }}">
  621.                                                 {% set p = "" %}
  622.                                                 {% if ( nb_actifs > 1 ) %}
  623.                                                     {% set p = "p" %}
  624.                                                 {% endif %}
  625.                                                 <span class="fs2">{{ nb_actifs }}</span><br><span class="fs13">{{ translate("$$actif$${p|actifs} a<br>reprendre",lang,"","m", p) | raw }}</span>
  626.                                             </a>
  627.                                         </div>
  628.                                         <div class="col-12 col-sm-3 no-padding-x br_gris  lh13 order-sm-3">
  629.                                             <a class="nav-item nav-link" href="{{ path('reprendre_entreprise_cible_potentielle_secteur_activite', {'slug': slug, 'idSecteurActivite' : idSecteurActivite, 'codePays': codePaysWithUnderScore}) }}">
  630.                                                 {% set p = "" %}
  631.                                                 {% if ( nb_cibles_potentielles > 1 ) %}
  632.                                                     {% set p = "p" %}
  633.                                                 {% endif %}
  634.                                                 <span class="fs2">{{ nb_cibles_potentielles }}</span><br><span class="fs13">{{ translate("$$cible<br>potentielle$${p|cibles<br>potentielles}",lang,"","m", p) | raw }}</span>
  635.                                             </a>
  636.                                         </div>
  637.                                         <div class="col-12 col-sm-3 no-padding-x br_gris lh13 order-sm-4">
  638.                                             <a class="nav-item nav-link" href="{{ path('reprendre_entreprise_recherche_partenariat_secteur_activite', {'slug': slug, 'idSecteurActivite' : idSecteurActivite, 'codePays': codePaysWithUnderScore}) }}">
  639.                                                 {% set p = "" %}
  640.                                                 {% if ( nb_recherches_partenariats > 1 ) %}
  641.                                                     {% set p = "p" %}
  642.                                                 {% endif %}
  643.                                                 <span class="fs2">{{ nb_recherches_partenariats }}</span><br><span class="fs13">{{ translate("$$recherche$${p|recherches} de<br>partenariats",lang,"","m", p) | raw }}</span>
  644.                                             </a>
  645.                                         </div>
  646.                                     </div>
  647.                                 </nav>
  648.                             </div>
  649.                         </div>
  650.                         <!--TOUT SAUF MOBILE-->
  651.                     {% elseif idLocalisation and idSecteurActivite %}
  652.                         <div class="row">
  653.                             <div class="col-12 mb-3 ml-3">
  654.                                 {% set p = "" %}
  655.                                 {% if ( nb_annonces > 1 ) %}
  656.                                     {% set p = "p" %}
  657.                                 {% endif %}
  658.                                 {% set arrayVarsTrans =  {"prefixe": localisations|last.prefixe, "nom_localisation" : localisations|last.nom_localisation, "nomPourTitle": secteurActivites|last.nomPourTitle|lower }  %}
  659.                                 <span class="fs13">{{ nb_annonces }} {{ translate("$$opportunite$${p|opportunites} %$nomPourTitle%$ %$prefixe%$ %$nom_localisation%$ dont",lang,"","m", p, arrayVarsTrans) | raw }} :</span>
  660.                             </div>
  661.                         </div>
  662.                         <!--MOBILE-->
  663.                         <div class="row d-block d-sm-none bkg_gris_clair">
  664.                             <div class="col-12">
  665.                                 <div class="row">
  666.                                     <div class="col-6 text-center my-3 br_gris">
  667.                                         <div class="blanc bkg_bleu_2 lh099 py-3">
  668.                                             <span class="fs2">{{ nb_entreprises }}</span><br>
  669.                                             {% set p = "" %}
  670.                                             {% if ( nb_entreprises > 1 ) %}
  671.                                                 {% set p = "p" %}
  672.                                             {% endif %}
  673.                                             <span class="res_font">{{ translate("$$cession$${p|cessions}<br>d'entreprise",lang,"","m", p) | raw }}</span>
  674.                                         </div>
  675.                                     </div>
  676.                                     <div class="col-6 text-center my-3">
  677.                                         <div class="blanc lh099 py-3">
  678.                                             <a href="{{ path('reprendre_entreprise_cession_actif_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}) }}" class="bleu lh099 py-3">
  679.                                                 <span class="fs2">{{ nb_actifs }}</span><br>
  680.                                                 {% set p = "" %}
  681.                                                 {% if ( nb_actifs > 1 ) %}
  682.                                                     {% set p = "p" %}
  683.                                                 {% endif %}
  684.                                                 <span class="res_font">{{ translate("$$actif$${p|actifs} a<br>reprendre",lang,"","m", p) | raw }}</span></a>
  685.                                         </div>
  686.                                     </div>
  687.                                     <div class="col-6 text-center my-3 br_gris">
  688.                                         <div class="blanc lh099 py-3">
  689.                                             <a href="{{ path('reprendre_entreprise_cible_potentielle_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}) }}" class="bleu lh099 py-3">
  690.                                                 <span class="fs2">{{ nb_cibles_potentielles }}</span><br>
  691.                                                 {% set p = "" %}
  692.                                                 {% if ( nb_cibles_potentielles > 1 ) %}
  693.                                                     {% set p = "p" %}
  694.                                                 {% endif %}
  695.                                                 <span class="res_font">{{ translate("$$cible<br>potentielle$${p|cibles<br>potentielles}",lang,"","m", p) | raw }}</span></a>
  696.                                         </div>
  697.                                     </div>
  698.                                     <div class="col-6 text-center my-3 pr-4">
  699.                                         <div class="blanc lh099 py-3">
  700.                                             <a href="{{ path('reprendre_entreprise_recherche_partenariat_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}) }}" class="bleu lh099 py-3">
  701.                                                 <span class="fs2">{{ nb_recherches_partenariats }}</span><br>
  702.                                                 {% set p = "" %}
  703.                                                 {% if ( nb_recherches_partenariats > 1 ) %}
  704.                                                     {% set p = "p" %}
  705.                                                 {% endif %}
  706.                                                 <span class="res_font">{{ translate("$$recherche$${p|recherches} de<br>partenariats",lang,"","m", p) | raw }}</span></a>
  707.                                         </div>
  708.                                     </div>
  709.                                 </div>
  710.                             </div>
  711.                         </div>
  712.                         <!--MOBILE-->
  713.                         <!--TOUT SAUF MOBILE-->
  714.                         <div class="row d-none d-sm-block">
  715.                             <div class="onglet4 col-12 mb-4">
  716.                                 <nav>
  717.                                     <div class="nav nav-tabs nav-fill" id="nav-tab" role="tablist">
  718.                                         <div class="col-12 col-sm-3 no-padding-x lh13 order-4 order-sm-1">
  719.                                             <div class="nav-item nav-link active">
  720.                                                 {% set p = "" %}
  721.                                                 {% if ( nb_entreprises > 1 ) %}
  722.                                                     {% set p = "p" %}
  723.                                                 {% endif %}
  724.                                                 <span class="fs2">{{ nb_entreprises }}</span><br><span class="fs13">{{ translate("$$cession$${p|cessions}<br>d'entreprise",lang,"","m", p) | raw }}</span>
  725.                                             </div>
  726.                                         </div>
  727.                                         <div class="col-12 col-sm-3 no-padding-x br_gris  lh13 order-sm-2">
  728.                                             <a class="nav-item nav-link" href="{{ path('reprendre_entreprise_cession_actif_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}) }}">
  729.                                                 {% set p = "" %}
  730.                                                 {% if ( nb_actifs > 1 ) %}
  731.                                                     {% set p = "p" %}
  732.                                                 {% endif %}
  733.                                                 <span class="fs2">{{ nb_actifs }}</span><br><span class="fs13">{{ translate("$$actif$${p|actifs} a<br>reprendre",lang,"","m", p) | raw }}</span>
  734.                                             </a>
  735.                                         </div>
  736.                                         <div class="col-12 col-sm-3 no-padding-x br_gris  lh13 order-sm-3">
  737.                                             <a class="nav-item nav-link" href="{{ path('reprendre_entreprise_cible_potentielle_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}) }}">
  738.                                                 {% set p = "" %}
  739.                                                 {% if ( nb_cibles_potentielles > 1 ) %}
  740.                                                     {% set p = "p" %}
  741.                                                 {% endif %}
  742.                                                 <span class="fs2">{{ nb_cibles_potentielles }}</span><br><span class="fs13">{{ translate("$$cible<br>potentielle$${p|cibles<br>potentielles}",lang,"","m", p) | raw }}</span>
  743.                                             </a>
  744.                                         </div>
  745.                                         <div class="col-12 col-sm-3 no-padding-x br_gris lh13 order-sm-4">
  746.                                             <a class="nav-item nav-link" href="{{ path('reprendre_entreprise_recherche_partenariat_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}) }}">
  747.                                                 {% set p = "" %}
  748.                                                 {% if ( nb_recherches_partenariats > 1 ) %}
  749.                                                     {% set p = "p" %}
  750.                                                 {% endif %}
  751.                                                 <span class="fs2">{{ nb_recherches_partenariats }}</span><br><span class="fs13">{{ translate("$$recherche$${p|recherches} de<br>partenariats",lang,"","m", p) | raw }}</span>
  752.                                             </a>
  753.                                         </div>
  754.                                     </div>
  755.                                 </nav>
  756.                             </div>
  757.                         </div>
  758.                         <!--TOUT SAUF MOBILE-->
  759.                     {% else %}
  760.                         <div class="row" >
  761.                             <div class="col-12 mb-3 ml-3">
  762.                                 {% set p = "" %}
  763.                                 {% if ( nb_annonces > 1 ) %}
  764.                                     {% set p = "p" %}
  765.                                 {% endif %}
  766.                                 <span class="fs13">{{ nb_annonces }} {{ translate("$$opportunite$${p|opportunites} dont",lang,"","m", p) | raw }} :</span>
  767.                             </div>
  768.                         </div>
  769.                         <!--MOBILE-->
  770.                         <div class="row d-block d-sm-none bkg_gris_clair">
  771.                             <div class="col-12">
  772.                                 <div class="row">
  773.                                     <div class="col-6  text-center my-3 br_gris">
  774.                                         <div class="blanc bkg_bleu_2 lh099 py-3">
  775.                                             <span class="fs2">{{ nb_entreprises }}</span><br>
  776.                                             {% set p = "" %}
  777.                                             {% if ( nb_entreprises > 1 ) %}
  778.                                                 {% set p = "p" %}
  779.                                             {% endif %}
  780.                                             <span class="res_font">{{ translate("$$cession$${p|cessions}<br>d'entreprise",lang,"","m", p) | raw }}</span>
  781.                                         </div>
  782.                                     </div>
  783.                                     <div class="col-6 text-center my-3">
  784.                                         <div class="blanc lh099 py-3">
  785.                                             <a href="{{ path('reprendre_entreprise_resultats_cession_actif',{'codePays':codePaysWithUnderScore}) }}?{{ string_params_without_page }}" class="bleu lh099 py-3">
  786.                                                 <span class="fs2">{{ nb_actifs }}</span><br>
  787.                                                 {% set p = "" %}
  788.                                                 {% if ( nb_actifs > 1 ) %}
  789.                                                     {% set p = "p" %}
  790.                                                 {% endif %}
  791.                                                 <span class="res_font">{{ translate("$$actif$${p|actifs} a<br>reprendre",lang,"","m", p) | raw }}</span></a>
  792.                                         </div>
  793.                                     </div>
  794.                                     <div class="col-6 text-center my-3 br_gris">
  795.                                         <div class="blanc lh099 py-3">
  796.                                             <a href="{{ path('reprendre_entreprise_resultats_cibles_potentielles',{'codePays':codePaysWithUnderScore}) }}?{{ string_params_without_page }}" class="bleu lh099 py-3">
  797.                                                 <span class="fs2">{{ nb_cibles_potentielles }}</span><br>
  798.                                                 {% set p = "" %}
  799.                                                 {% if ( nb_cibles_potentielles > 1 ) %}
  800.                                                     {% set p = "p" %}
  801.                                                 {% endif %}
  802.                                                 <span class="res_font">{{ translate("$$cible<br>potentielle$${p|cibles<br>potentielles}",lang,"","m", p) | raw }}</span></a>
  803.                                         </div>
  804.                                     </div>
  805.                                     <div class="col-6 text-center my-3 pr-4">
  806.                                         <div class="blanc lh099 py-3">
  807.                                             <a href="{{ path('reprendre_entreprise_resultats_recherches_partenariat',{'codePays':codePaysWithUnderScore}) }}?{{ string_params_without_page }}" class="bleu lh099 py-3">
  808.                                                 <span class="fs2">{{ nb_recherches_partenariats }}</span><br>
  809.                                                 {% set p = "" %}
  810.                                                 {% if ( nb_recherches_partenariats > 1 ) %}
  811.                                                     {% set p = "p" %}
  812.                                                 {% endif %}
  813.                                                 <span class="res_font">{{ translate("$$recherche$${p|recherches} de<br>partenariats",lang,"","m", p) | raw }}</span></a>
  814.                                         </div>
  815.                                     </div>
  816.                                 </div>
  817.                             </div>
  818.                         </div>
  819.                         <!--MOBILE-->
  820.                         <!--TOUT SAUF MOBILE-->
  821.                         <div class="row d-none d-sm-block">
  822.                             <div class="onglet4 col-12 mb-4">
  823.                                 <nav>
  824.                                     <div class="nav nav-tabs nav-fill" id="nav-tab" role="tablist">
  825.                                         <div class="col-12 col-sm-3 no-padding-x lh13 order-4 order-sm-1">
  826.                                             <div class="nav-item nav-link active">
  827.                                                 {% set p = "" %}
  828.                                                 {% if ( nb_entreprises > 1 ) %}
  829.                                                     {% set p = "p" %}
  830.                                                 {% endif %}
  831.                                                 <span class="fs2">{{ nb_entreprises }}</span><br><span class="fs13">{{ translate("$$cession$${p|cessions}<br>d'entreprise",lang,"","m", p) | raw }}</span>
  832.                                             </div>
  833.                                         </div>
  834.                                         <div class="col-12 col-sm-3 no-padding-x br_gris  lh13 order-sm-2">
  835.                                             <a class="nav-item nav-link" href="{{ path('reprendre_entreprise_resultats_cession_actif',{'codePays':codePaysWithUnderScore}) }}?{{ string_params_without_page }}">
  836.                                                 {% set p = "" %}
  837.                                                 {% if ( nb_actifs > 1 ) %}
  838.                                                     {% set p = "p" %}
  839.                                                 {% endif %}
  840.                                                 <span class="fs2">{{ nb_actifs }}</span><br><span class="fs13">{{ translate("$$actif$${p|actifs} a<br>reprendre",lang,"","m", p) | raw }}</span>
  841.                                             </a>
  842.                                         </div>
  843.                                         <div class="col-12 col-sm-3 no-padding-x br_gris  lh13 order-sm-3">
  844.                                             <a class="nav-item nav-link" href="{{ path('reprendre_entreprise_resultats_cibles_potentielles',{'codePays':codePaysWithUnderScore}) }}?{{ string_params_without_page }}">
  845.                                                 {% set p = "" %}
  846.                                                 {% if ( nb_cibles_potentielles > 1 ) %}
  847.                                                     {% set p = "p" %}
  848.                                                 {% endif %}
  849.                                                 <span class="fs2">{{ nb_cibles_potentielles }}</span><br><span class="fs13">{{ translate("$$cible<br>potentielle$${p|cibles<br>potentielles}",lang,"","m", p) | raw }}</span>
  850.                                             </a>
  851.                                         </div>
  852.                                         <div class="col-12 col-sm-3 no-padding-x br_gris lh13 order-sm-4">
  853.                                             <a class="nav-item nav-link" href="{{ path('reprendre_entreprise_resultats_recherches_partenariat',{'codePays':codePaysWithUnderScore}) }}?{{ string_params_without_page }}">
  854.                                                 {% set p = "" %}
  855.                                                 {% if ( nb_recherches_partenariats > 1 ) %}
  856.                                                     {% set p = "p" %}
  857.                                                 {% endif %}
  858.                                                 <span class="fs2">{{ nb_recherches_partenariats }}</span><br><span class="fs13">{{ translate("$$recherche$${p|recherches} de<br>partenariats",lang,"","m", p) | raw }}</span>
  859.                                             </a>
  860.                                         </div>
  861.                                     </div>
  862.                                 </nav>
  863.                             </div>
  864.                         </div>
  865.                         <!--TOUT SAUF MOBILE-->
  866.                     {% endif %}
  867.                     {% if liste_annonces_prioritaires %}
  868.                         <!--TITRE ALAUNE-->
  869.                         <div class="row" >
  870.                             <div class="col-12 pt-3 ml-2">
  871.                                 <span class="titre_annonce_alaune">{{ translate("annonces a la une",lang,"","M") | raw }}</span>
  872.                             </div>
  873.                         </div>
  874.                         <!--FIN TITRE ALAUNE-->
  875.                         <div class="row" >
  876.                             <div class="col-12">
  877.                                 <!--ANNONCE A LA UNE-->
  878.                                 {% for annonce_prioritaire in liste_annonces_prioritaires %}
  879.                                     {% set lienAnnoncePrioritaire = path('reprendre_entreprise_details_annonce_vendeur',
  880.                              {
  881.                                  'slug':annonce_prioritaire.slug,
  882.                                  'nomLocalisation':annonce_prioritaire.nom_localisation_slug,
  883.                                 'idAnnonce':annonce_prioritaire.id_annonce_vendeur,
  884.                                 'codePays':codePaysWithUnderScore
  885.                              }) ~ '?urlList=' ~ urlList ~ '&fromAlaUne=1&' ~ string_params %}
  886.                                     <div class="card no_shadow mb-3 card-ie card-alaune">
  887.                                         <div class="card-body">
  888.                                             <div class="row">
  889.                                                 <div class="col-8 col-md-8 col-lg-9 col-xl-10">
  890.                                                     <div class="mb-2">
  891.                                                         <h5 class="titre_annonce">
  892.                                                             {% if annonce_prioritaire.publique_elite %}
  893.                                                                 {% if eliteAccess %}
  894.                                                                     <a  href="{{ lienAnnoncePrioritaire }}" title="{{ annonce_prioritaire.titre_annonce }}">
  895.                                                                         {{ annonce_prioritaire.titre_annonce }}
  896.                                                                     </a>
  897.                                                                 {% else %}
  898.                                                                     <a  href="#" aria-pressed="true" data-toggle="modal" data-target="#elite2" title="{{ annonce_prioritaire.titre_annonce }}">
  899.                                                                         {{ annonce_prioritaire.titre_annonce }}
  900.                                                                     </a>
  901.                                                                 {% endif %}
  902.                                                             {% else %}
  903.                                                                 <a href="{{ lienAnnoncePrioritaire }}" title="{{ annonce_prioritaire.titre_annonce }}">
  904.                                                                     {{ annonce_prioritaire.titre_annonce }}
  905.                                                                 </a>
  906.                                                             {% endif %}
  907.                                                         </h5>
  908.                                                         {% if annonce_prioritaire.etat is defined and (annonce_prioritaire.etat == "information_transmise" or annonce_prioritaire.etat == "facture_envoyee") %}
  909.                                                             <span class="orange font_600"><i class="fa-solid fa-circle-check"></i>&nbsp;&nbsp;{{ translate("déjà commandé",lang,"","M") | raw }}</span>
  910.                                                         {% endif %}
  911.                                                     </div>
  912.                                                     {% if annonce_prioritaire.is_rare or annonce_prioritaire.is_recherche or annonce_prioritaire.annonce_recente or annonce_prioritaire.sous_radar or annonce_prioritaire.publique_elite %}
  913.                                                         <div class="mb-3">
  914.                                                             {% if annonce_prioritaire.publique_elite  %}
  915.                                                                 <span class="badge3 badge_ann_anticipe mb-1" data-toggle="tooltip" title="{{ translate("Accès anticipé",lang,"","M") | raw }}">{{ translate("Accès anticipé",lang,"","M") | raw }}</span>&nbsp;
  916.                                                             {% endif %}
  917.                                                             {% if annonce_prioritaire.is_rare  %}
  918.                                                                 <span class="badge3 badge_secteur_rare mb-1" data-toggle="tooltip" title="{{ translate("Très peu d'offres sont déposées dans ce secteur",lang,"","M") | raw }}">{{ translate("Secteur rare",lang,"","M") | raw }}</span>&nbsp;
  919.                                                             {% endif %}
  920.                                                             {% if annonce_prioritaire.is_recherche  %}
  921.                                                                 <span class="badge3 badge_secteur_recherche mb-1" data-toggle="tooltip" title="{{ translate("Secteur généralement apprécié par les repreneurs",lang,"","M") | raw }}">{{ translate("Secteur en vogue",lang,"","M") | raw }}</span>&nbsp;
  922.                                                             {% endif %}
  923.                                                             {% if annonce_prioritaire.contact_recent  %}
  924.                                                                 {#<span class="badge3 badge_contact_recent mb-1" data-toggle="tooltip" title="{{ translate("Au moins un acheteur a pris contact au cours des 15 derniers jours",lang,"","M") | raw }}">{{ translate("Contact récent",lang,"","M") | raw }}</span>&nbsp;#}
  925.                                                             {% endif %}
  926.                                                             {% if annonce_prioritaire.annonce_recente and not annonce_prioritaire.publique_elite%}
  927.                                                                 <span class="badge3 badge_annonce_recente mb-1" data-toggle="tooltip" title="{{ translate("Annonce déposée il y a moins de 2 semaines",lang,"","M") | raw }}">{{ translate("Annonce récente",lang,"","M") | raw }}</span>&nbsp;
  928.                                                             {% endif %}
  929.                                                             {% if annonce_prioritaire.sous_radar  %}
  930.                                                                 <span class="badge3 badge_contact_recent mb-1" data-toggle="tooltip" title="{{ translate("Annonce discrète, peu approchée à ce jour",lang,"","M") | raw }}">{{ translate("Sous les radars",lang,"","M") | raw }}</span>&nbsp;
  931.                                                             {% endif %}
  932.                                                         </div>
  933.                                                     {% endif %}
  934.                                                     <div class="mb-1">
  935.                                                         <span class="nowrap_custom">{{ translate("CA",lang,"","M") | raw }} : <strong>{{ annonce_prioritaire.ca_n < 300 ? '<300k€' : annonce_prioritaire.ca_n | number_format(0, "", " ") ~ ' k€' }}</strong></span>&nbsp;&nbsp;&nbsp;&nbsp;
  936.                                                         <span class="nowrap_custom">
  937.                                                             {% if annonce_prioritaire.publique_elite %}
  938.                                                                 {% if eliteAccess %}
  939.                                                                     {{ translate("Exclusivité jusqu'au",lang,"","M") | raw }}
  940.                                                                     <strong>{{ donneDateFormatAffichage(annonce_prioritaire.date_fin_publique_elite) }}</strong>
  941.                                                                 {% else %}
  942.                                                                     {{ translate("Publiée sous 7 jours",lang,"","M") | raw }}&nbsp;
  943.                                                                     <a href="#" data-toggle="tooltip" data-placement="right" title="" data-original-title="{{ translate("Vous consultez une entreprise qui sera publiée sur le site public sous 7 jours",lang,"","M") | raw }}">
  944.                                                                         <i class="fas fa-question-circle" aria-hidden="true"></i>
  945.                                                                     </a>
  946.                                                                 {% endif %}
  947.                                                             {% else %}
  948.                                                                 {% if annonce_prioritaire.date_parution > annonce_prioritaire.date_parution_initiale %}
  949.                                                                     {{ translate("mise à jour le",lang,"","M") | raw }}
  950.                                                                 {% else %}
  951.                                                                     {{ translate("poste le",lang,"","M") | raw }}
  952.                                                                 {% endif %}
  953.                                                                 <strong>{{ annonce_prioritaire.date_parution_formated }}</strong>
  954.                                                             {% endif %}
  955.                                                         </span>&nbsp;&nbsp;&nbsp;&nbsp;
  956.                                                         <span class="nowrap_custom">{{ translate("ref.",lang,"","M") | raw }} : <strong>V{{ annonce_prioritaire.id_annonce_vendeur }}</strong></span>
  957.                                                         {% if eliteResult and annonce_prioritaire.pourcentage_matching|default %}  &nbsp;&nbsp;&nbsp;&nbsp; <i class="fas fa-map-marker-alt"></i>&nbsp; {{ annonce_prioritaire.nom_localisation }} {% endif %} 
  958.                                                     </div>
  959.                                                     {% if eliteResult and annonce_prioritaire.pourcentage_matching|default %}
  960.                                                         <div class="article mt-2">
  961.                                                             {% set pourcentage_matching = (annonce_prioritaire.pourcentage_matching|replace({'%': ''})) + 0 %}   
  962.                                                             <div class="small float-left mr-2">Matching : {{pourcentage_matching}}%</div>
  963.                                                             <div class="rating float-left mr-2" data-score="{{pourcentage_matching}}">
  964.                                                                 <div class="rating-container">
  965.                                                                     <div class="square {% if pourcentage_matching >= 10 %} filled {% endif %}"></div>
  966.                                                                     <div class="square {% if pourcentage_matching >= 20 %} filled {% endif %}"></div>
  967.                                                                     <div class="square {% if pourcentage_matching >= 30 %} filled {% endif %}"></div>
  968.                                                                     <div class="square {% if pourcentage_matching >= 40 %} filled {% endif %}"></div>
  969.                                                                     <div class="square {% if pourcentage_matching >= 50 %} filled {% endif %}"></div>
  970.                                                                     <div class="square {% if pourcentage_matching >= 60 %} filled {% endif %}"></div>
  971.                                                                     <div class="square {% if pourcentage_matching >= 70 %} filled {% endif %}"></div>
  972.                                                                     <div class="square {% if pourcentage_matching >= 80 %} filled {% endif %}"></div>
  973.                                                                     <div class="square {% if pourcentage_matching >= 90 %} filled {% endif %}"></div>
  974.                                                                     <div class="square {% if pourcentage_matching == 100 %} filled {% endif %}"></div>   
  975.                                                                 </div>       
  976.                                                             </div>
  977.                                                             <div class="float-left">
  978.                                                                 <a href="javascript:void(0)" class="gris_666"
  979.                                                                    data-toggle="tooltip" data-placement="right"
  980.                                                                    title=" {{ annonce_prioritaire.raison }}">
  981.                                                                     <i class="fa fa-question-circle gris_999" aria-hidden="true"></i>
  982.                                                                 </a>
  983.                                                             </div>
  984.                                                         </div>
  985.                                                     {% else %}
  986.                                                         <i class="fas fa-map-marker-alt"></i>&nbsp; {{ annonce_prioritaire.nom_localisation }}
  987.                                                     {% endif %}  
  988.                                                 </div>
  989.                                                 <div class="col-4 col-md-4 col-lg-3 col-xl-2">
  990.                                                     <div class="row">
  991.                                                         <div class="col-12 col-md-12 text-center">
  992.                                                             <a href="{{ lienAnnoncePrioritaire }}" title="{{ annonce_prioritaire.nom_localisation }}"><img alt="{{ annonce_prioritaire.nom_localisation }}" src="{{ annonce_prioritaire.carte }}" class="img-fluid"></a>
  993.                                                         </div>
  994.                                                     </div>
  995.                                                 </div>
  996.                                                 <div class="col-5 col-md-3 col-lg-3 mt-2 br_gris">
  997.                                                     {% if annonce_prioritaire.publique_elite %}
  998.                                                         {% if eliteAccess %}
  999.                                                             <a class="btn btn-gold3" href="{{ lienAnnoncePrioritaire }}" role="button" aria-pressed="true" title="">
  1000.                                                                 {{ translate("Voir les détails",lang,"","M") | raw }}
  1001.                                                             </a>
  1002.                                                         {% else %}
  1003.                                                             <a class="btn btn-gold3" href="#" role="button" aria-pressed="true" data-toggle="modal" data-target="#elite2" title="">
  1004.                                                                 {{ translate("Voir les détails",lang,"","M") | raw }}
  1005.                                                             </a>
  1006.                                                         {% endif %}
  1007.                                                     {% else %}
  1008.                                                         <a href="{{ lienAnnoncePrioritaire }}" title="{{ translate("voir les details",lang,"","M") | raw }}">
  1009.                                                             <button type="button" class="btn btn-bleu-annonce">
  1010.                                                                 <span class="d-none d-xl-block">{{ translate("voir les details",lang,"","M") | raw }}</span>
  1011.                                                                 <span class="d-xl-none">{{ translate("details",lang,"","M") | raw }}</span>
  1012.                                                             </button>
  1013.                                                         </a>
  1014.                                                     {% endif %}
  1015.                                                 </div>
  1016.                                                 {% if annonce_prioritaire.publique_elite %}
  1017.                                                     {% if eliteAccess %}
  1018.                                                         <div class="col-2 col-md-3 col-lg-3 text-center mt-2 pt-2 br_gris">
  1019.                                                             <a href="https://www.fusacq.com/elite/presentation" target="_blank" title="Découvrez FUSACQ Elite">
  1020.                                                                 <img src="https://www.fusacq.com/images/fusacq_elite_bleu.png" class="img-fluid">
  1021.                                                             </a>
  1022.                                                         </div>
  1023.                                                     {% else %}
  1024.                                                         <div class="col-2 col-md-3 col-lg-3 text-center mt-2 pt-2 br_gris">
  1025.                                                             <small>{{ translate("Exclusivité",lang,"","M") | raw }}</small>
  1026.                                                             <a href="https://www.fusacq.com/elite/presentation" target="_blank" title="Découvrez FUSACQ Elite">
  1027.                                                                 <img src="https://www.fusacq.com/images/fusacq_elite_bleu.png" class="img-fluid">
  1028.                                                             </a>
  1029.                                                         </div>
  1030.                                                     {% endif %}
  1031.                                                 {% else %}
  1032.                                                     <div class="col-2 col-md-3 col-lg-3 text-center mt-2 pt-2 br_gris">
  1033.                                                         <a href="{{ lienAnnoncePrioritaire }}&partager=1" title="{{ translate("partager",lang,"","M") | raw }}" class="bleu">
  1034.                                                             <i class="fas fa-envelope color_bleuclair"></i><span class="cache_petit"> &nbsp;{{ translate("partager",lang,"","M") | raw }}</span>
  1035.                                                         </a>
  1036.                                                     </div>
  1037.                                                 {% endif %}
  1038.                                                 <div class="col-2 col-md-3 col-lg-3 text-center mt-2 pt-2 br_gris bleu">
  1039.                                                     {% if annonce_prioritaire.is_favoris %}
  1040.                                                         <div class="float-left">
  1041.                                                             <i class="fa-sharp fa-solid fa-heart color_bleuclair"></i>
  1042.                                                         </div>
  1043.                                                         <a href="{{ path('compte_favoris' ,{'codePays':codePaysWithUnderScore  }) }}" title="{{ translate("favoris", lang, '', 'M', '') }}">
  1044.                                                             {{ translate("appartient à : mes favoris", lang, '', 'M', '') }}
  1045.                                                         </a>
  1046.                                                     {% else %}
  1047.                                                         <a href="javascript:void(0)" title="{{ translate("favoris",lang,"","M") | raw }}" class="bleu btn-favoris favoris-{{ annonce_prioritaire.id_annonce_vendeur }}" data-id-annonce="{{ annonce_prioritaire.id_annonce_vendeur }}" data-type-annonce="V">
  1048.                                                             <i class="fa-light fa-heart color_bleuclair"></i><span class="cache_petit">&nbsp;&nbsp;{{ translate("favoris",lang,"","M") | raw }}</span>
  1049.                                                         </a>
  1050.                                                     {% endif %}
  1051.                                                 </div>
  1052.                                                 <div class="col-3 col-md-3 col-lg-3 text-right mt-2">
  1053.                                                     <item   class="btn btn-orange pr-2">
  1054.                                                         <span class="d-none d-lg-block">{{ translate("A LA UNE",lang,"","M") | raw }}</span>
  1055.                                                         <span class="d-lg-none pr-1"><i class="fa-solid fa-star"></i></span>
  1056.                                                     </item>
  1057.                                                 </div>
  1058.                                             </div>
  1059.                                         </div>
  1060.                                     </div>
  1061.                                 {% endfor %}
  1062.                                 <div id="div_annonces_prioritaires" v-html="annonces_prioritaires">
  1063.                                     ${ annonces_prioritaires }
  1064.                                 </div>
  1065.                                 <!--FIN ANNONCE A LA UNE-->
  1066.                                 {% if nb_total_annonces_prioritaires > 5%}
  1067.                                     <div class="col-12 pt-1 mb-3 text-center" id="btn-voir-plus" v-if="show_btn">
  1068.                                         <button type="submit" class="btn btn-orange" v-on:click="loadAnnoncesPrioritaires()">{{ translate("plus d'annonces a la une",lang,"","M") | raw }}</button>
  1069.                                     </div>
  1070.                                 {% endif %}
  1071.                             </div>
  1072.                         </div>
  1073.                     {% endif %}
  1074.                 {% endif %}
  1075.                 <!--CATEGORIES-->
  1076.                 <!-- <div class="row" >
  1077.                         <div class="col-12">
  1078.                 <div class="card mb-3 card-ie">
  1079.                         <div class="card-body">
  1080.                         <div class="row">
  1081.                                 <div class="col-12 mt-3">
  1082.                                         <div class="float-left"><i class="fas fa-arrow-circle-up fa-2x bleu" alt=""></i></div>
  1083.                                 <div class="lh18 ml-5"><a href="javascript:void(0)" class="bleu"><strong>Services informatiques et high tech (37)</strong></a></div>
  1084.                                 </div>
  1085.                         <div class="col-6 pt-2">
  1086.                                 <ul class="cat_regions">
  1087.                                         <li><a href="javascript:void(0)">SSII Generaliste (12)</a></li>
  1088.                                         <li><a href="javascript:void(0)">Web agency (5)</a></li>
  1089.                                         <li><a href="javascript:void(0)">Societe de Conseil (7)</a></li>
  1090.                                         <li><a href="javascript:void(0)">Systemes Reseaux Câblage (2)</a></li>
  1091.                                 </ul>
  1092.                         </div>
  1093.                         <div class="col-6 pt-2">
  1094.                                 <ul class="cat_regions">
  1095.                                         <li><a href="javascript:void(0)">Info. Industrielle (3)</a></li>
  1096.                                         <li><a href="javascript:void(0)">Developpement applications (4)</a></li>
  1097.                                         <li><a href="javascript:void(0)">Systemes Reseaux Câblage (2)</a></li>
  1098.                                         <li><a href="javascript:void(0)">Info de production (1)</a></li>
  1099.                                 </ul>
  1100.                         </div>
  1101.                         </div>
  1102.                 </div>
  1103.                 </div>
  1104.                 </div>
  1105.                 </div> -->
  1106.                 <!--FIN CATEGORIES-->
  1107.                 {% if not publiqueElite %}
  1108.                     <div class="row mt-5" >
  1109.                         <div class="col-12 d-flex flex-column flex-md-row">
  1110.                             {% set p = "" %}
  1111.                             {% if ( nb_entreprises > 1 ) %}
  1112.                                 {% set p = "p" %}
  1113.                             {% endif %}
  1114.                             <div class="mr-md-2 mt-2 order-1">
  1115.                                 <span class="fs18">
  1116.                                     {{ nb_entreprises }} {{ translate("$$cession$${p|cessions} d'entreprise",lang,"","m", p) | raw }}
  1117.                                 </span>
  1118.                             </div>
  1119.                         </div>
  1120.                     </div>
  1121.                 {% else %}
  1122.                     <div class="row mt-5">
  1123.                         <div class="col-12 d-flex flex-column flex-md-row">
  1124.                             <div class="mr-md-2 mt-2 order-1">
  1125.                                 <span class="fs18">{{ translate("Toutes les annonces en avant-première, avec 7 jours d'avance",lang,"","M") | raw }}</span>
  1126.                             </div>
  1127.                             <!--        <div class="pt-3 pl-3 order-2">
  1128.                                         <a href="https://www.fusacq.com/elite/presentation" target="_blank" title="Découvrez FUSACQ Elite">
  1129.                                             <img src="https://www.fusacq.com/images/fusacq_elite_bleu.png" class="img-fluid">
  1130.                                         </a>
  1131.                                     </div> --> 
  1132.                         </div>
  1133.                     </div>
  1134.                 {% endif %}
  1135.                 <!--PAGINATION-->
  1136.                 <div class="row mt-3">
  1137.                     <div class="col-sm-12">
  1138.                         <nav aria-label="...">
  1139.                             {{ knp_pagination_render(liste_annonces) }}
  1140.                         </nav>
  1141.                     </div>
  1142.                 </div>
  1143.                 <!--FIN PAGINATION-->
  1144.                 <div class="row" >
  1145.                     <div class="col-4 offset-8 text-right mb-2">
  1146.                         <select class="form-control" id="idFromControlSelectTri" v-on:change="sortBy($event)">
  1147.                             <option value="date_desc" {% if tri == "date_desc" or tri_default == 'date_desc' %}selected="selected"{% endif %}>{{ translate("dates plus recentes",lang,"","M") | raw }}</option>
  1148.                             <option value="ca_desc" {% if tri == "ca_desc" or tri_default == 'ca_desc' %}selected="selected"{% endif %} >{{ translate("CA plus grand",lang,"","M") | raw }}</option>
  1149.                             <option value="ca_asc" {% if tri == "ca_asc" %}selected="selected"{% endif %}>{{ translate("CA plus petit",lang,"","M") | raw }}</option>
  1150.                             {% if eliteResult %} 
  1151.                                 <option value="matching_desc" {% if tri == "matching_desc" or tri_default == 'matching_desc' %}selected="selected"{% endif %} >
  1152.                                     {{ translate("% de matching",lang,"","M") | raw }}
  1153.                                 </option>
  1154.                             {% endif %} 
  1155.                         </select>
  1156.                     </div>
  1157.                 </div>
  1158.                 {% if eliteResult %}
  1159.                     {% if filtres['identifiant_profil']|default %}
  1160.                         {% set identifiant_profil = filtres['identifiant_profil'] %} 
  1161.                         {% set profilsConst = elite_provider.listProfilsStrategiques %}
  1162.                         {% set profilDetail = null %}
  1163.                         {% set profilDescription = null %}
  1164.                         {% for categorie, profil in  profilsConst %} 
  1165.                             {% for k,p  in  profil %}   
  1166.                                 {% if k == identifiant_profil %} 
  1167.                                     {% set profilDetail = p[0] %}
  1168.                                     {% set profilDescription = p[1] %}
  1169.                                 {% endif %}  
  1170.                             {% endfor %}
  1171.                         {% endfor  %}
  1172.                         {% if profilDetail is not null and profilDescription  is not null %}
  1173.                             <div class="row  justify-content-center">
  1174.                                 <div class="col-12 col-lg-8 mb-2">
  1175.                                     <div class="row">
  1176.                                         <div class="col-2 col-sm-1 ml-3 float-left pt-1">
  1177.                                             <img src="https://www.fusacq.com/FUSACQ2020/images/{{ identifiant_profil }}.png">
  1178.                                         </div>
  1179.                                         <div class="col-9 col-sm-10 float-left pt-2 pl-4 pr-0 ">
  1180.                                             <span class="bleu_fusacq fs15 ">{{ profilDetail|split('(')|first|trim }}</span>&nbsp;&nbsp;
  1181.                                             <a href="javascript:void(0)" 
  1182.                                                data-toggle="tooltip"
  1183.                                                data-placement="right" title=""
  1184.                                                data-original-title="{{ profilDescription?? '' }}">
  1185.                                                 <i class="fas fa-question-circle" aria-hidden="true"></i>
  1186.                                             </a>
  1187.                                         </div>
  1188.                                     </div>
  1189.                                 </div>
  1190.                             </div>
  1191.                         {% endif %}  
  1192.                     {% endif %}
  1193.                 {% endif %}
  1194.                 <div class="row" >
  1195.                     <div class="col-12">
  1196.                         <!--ANNONCES -->
  1197.                         {% for index, annonce in liste_annonces %}
  1198.                             {% set lienAnnonce = path('reprendre_entreprise_details_annonce_vendeur',
  1199.                  {
  1200.                      'slug':annonce.slug,
  1201.                      'nomLocalisation':annonce.nom_localisation_slug,
  1202.                     'idAnnonce':annonce.id_annonce_vendeur,
  1203.                     'codePays':codePaysWithUnderScore
  1204.                  }) ~ '?urlList=' ~ urlList ~ '&' ~ string_params ~ '&index=' ~ index %}
  1205.                             <div class="card no_shadow mb-3 card-ie filet_gris">
  1206.                                 <div class="card-body">
  1207.                                     <div class="row">
  1208.                                         <div class="col-8 col-md-8 col-lg-9 col-xl-10">
  1209.                                             <div class="mb-2">
  1210.                                                 <h5 class="titre_annonce">
  1211.                                                     {% if annonce.publique_elite %}
  1212.                                                         {% if eliteAccess %}
  1213.                                                             <a  href="{{ lienAnnonce }}" title="{{ annonce.titre_annonce }}">
  1214.                                                                 {{ annonce.titre_annonce }}
  1215.                                                             </a>
  1216.                                                         {% else %}
  1217.                                                             <a  href="#" aria-pressed="true" data-toggle="modal" data-target="#elite2" title="{{ annonce.titre_annonce }}">
  1218.                                                                 {{ annonce.titre_annonce }}
  1219.                                                             </a>
  1220.                                                         {% endif %}
  1221.                                                     {% else %}
  1222.                                                         <a href="{{ lienAnnonce }}" title="{{ annonce.titre_annonce }}">{{ annonce.titre_annonce }}</a>
  1223.                                                     {% endif %}
  1224.                                                 </h5>
  1225.                                                 {% if annonce.etat is defined and (annonce.etat == "information_transmise" or annonce.etat == "facture_envoyee") %}
  1226.                                                     <span class="orange font_600"><i class="fa-solid fa-circle-check"></i>&nbsp;&nbsp;{{ translate("déjà commandé",lang,"","M") | raw }}</span>
  1227.                                                 {% endif %}
  1228.                                             </div>
  1229.                                             {% if annonce.is_rare or annonce.is_recherche or annonce.annonce_recente or annonce.sous_radar or annonce.publique_elite%}
  1230.                                                 <div class="mb-3">
  1231.                                                     {% if annonce.publique_elite  %}
  1232.                                                         <span class="badge3 badge_ann_anticipe mb-1" data-toggle="tooltip" title="{{ translate("Accès anticipé",lang,"","M") | raw }}">{{ translate("Accès anticipé",lang,"","M") | raw }}</span>&nbsp;
  1233.                                                     {% endif %}
  1234.                                                     {% if annonce.is_rare  %}
  1235.                                                         <span class="badge3 badge_secteur_rare mb-1" data-toggle="tooltip" title="{{ translate("Très peu d'offres sont déposées dans ce secteur",lang,"","M") | raw }}">{{ translate("Secteur rare",lang,"","M") | raw }}</span>&nbsp;
  1236.                                                     {% endif %}
  1237.                                                     {% if annonce.is_recherche  %}
  1238.                                                         <span class="badge3 badge_secteur_recherche mb-1" data-toggle="tooltip" title="{{ translate("Secteur généralement apprécié par les repreneurs",lang,"","M") | raw }}">{{ translate("Secteur en vogue",lang,"","M") | raw }}</span>&nbsp;
  1239.                                                     {% endif %}
  1240.                                                     {% if annonce.contact_recent  %}
  1241.                                                         {#<span class="badge3 badge_contact_recent mb-1" data-toggle="tooltip" title="{{ translate("Au moins un acheteur a pris contact au cours des 15 derniers jours",lang,"","M") | raw }}">{{ translate("Contact récent",lang,"","M") | raw }}</span>&nbsp;#}
  1242.                                                     {% endif %}
  1243.                                                     {% if annonce.annonce_recente and not annonce.publique_elite %}
  1244.                                                         <span class="badge3 badge_annonce_recente mb-1" data-toggle="tooltip" title="{{ translate("Annonce déposée il y a moins de 2 semaines",lang,"","M") | raw }}">{{ translate("Annonce récente",lang,"","M") | raw }}</span>&nbsp;
  1245.                                                     {% endif %}
  1246.                                                     {% if annonce.sous_radar  %}
  1247.                                                         <span class="badge3 badge_contact_recent mb-1" data-toggle="tooltip" title="{{ translate("Annonce discrète, peu approchée à ce jour",lang,"","M") | raw }}">{{ translate("Sous les radars",lang,"","M") | raw }}</span>&nbsp;
  1248.                                                     {% endif %}
  1249.                                                 </div>
  1250.                                             {% endif %}
  1251.                                             <div class="mb-1">
  1252.                                                 <span class="nowrap_custom">{{ translate("CA",lang,"","M") | raw }} : <strong>{{ annonce.ca_n < 300 ? '<300k€' : annonce.ca_n | number_format(0, "", " ") ~ ' k€' }} </strong></span>&nbsp;&nbsp;&nbsp;&nbsp;
  1253.                                                 <span class="nowrap_custom">
  1254.                                                     {% if annonce.publique_elite %}
  1255.                                                         {% if eliteAccess %}
  1256.                                                             {{ translate("Exclusivité jusqu'au",lang,"","M") | raw }}
  1257.                                                             <strong>{{ donneDateFormatAffichage(annonce.date_fin_publique_elite) }}</strong>
  1258.                                                         {% else %}
  1259.                                                             {{ translate("Publiée sous 7 jours",lang,"","M") | raw }}&nbsp;
  1260.                                                             <a href="#" data-toggle="tooltip" data-placement="right" title="" data-original-title="{{ translate("Vous consultez une entreprise qui sera publiée sur le site public sous 7 jours",lang,"","M") | raw }}">
  1261.                                                                 <i class="fas fa-question-circle" aria-hidden="true"></i>
  1262.                                                             </a>
  1263.                                                         {% endif %}
  1264.                                                     {% else %}
  1265.                                                         {% if annonce.date_parution > annonce.date_parution_initiale %}
  1266.                                                             {{ translate("mise à jour le",lang,"","M") | raw }}
  1267.                                                         {% else %}
  1268.                                                             {{ translate("poste le",lang,"","M") | raw }}
  1269.                                                         {% endif %}
  1270.                                                         <strong>{{ annonce.date_parution_formated }}</strong>
  1271.                                                     {% endif %}
  1272.                                                 </span>&nbsp;&nbsp;&nbsp;&nbsp;
  1273.                                                 <span class="nowrap_custom">{{ translate("ref.",lang,"","M") | raw }} : <strong>V{{ annonce.id_annonce_vendeur }}</strong></span>
  1274.                                                 {% if eliteResult and annonce.pourcentage_matching|default %}  &nbsp;&nbsp;&nbsp;&nbsp; <i class="fas fa-map-marker-alt"></i>&nbsp; {{ annonce.nom_localisation }} {% endif %} 
  1275.                                             </div>
  1276.                                             {% if eliteResult and annonce.pourcentage_matching|default %}
  1277.                                                 <div class="article mt-2">
  1278.                                                     {% set pourcentage_matching = (annonce.pourcentage_matching|replace({'%': ''})) + 0 %}   
  1279.                                                     <div class="small float-left mr-2">Matching : {{pourcentage_matching}}%</div>
  1280.                                                     <div class="rating float-left mr-2" data-score="{{pourcentage_matching}}">
  1281.                                                         <div class="rating-container">
  1282.                                                             <div class="square {% if pourcentage_matching >= 10 %} filled {% endif %}"></div>
  1283.                                                             <div class="square {% if pourcentage_matching >= 20 %} filled {% endif %}"></div>
  1284.                                                             <div class="square {% if pourcentage_matching >= 30 %} filled {% endif %}"></div>
  1285.                                                             <div class="square {% if pourcentage_matching >= 40 %} filled {% endif %}"></div>
  1286.                                                             <div class="square {% if pourcentage_matching >= 50 %} filled {% endif %}"></div>
  1287.                                                             <div class="square {% if pourcentage_matching >= 60 %} filled {% endif %}"></div>
  1288.                                                             <div class="square {% if pourcentage_matching >= 70 %} filled {% endif %}"></div>
  1289.                                                             <div class="square {% if pourcentage_matching >= 80 %} filled {% endif %}"></div>
  1290.                                                             <div class="square {% if pourcentage_matching >= 90 %} filled {% endif %}"></div>
  1291.                                                             <div class="square {% if pourcentage_matching == 100 %} filled {% endif %}"></div>   
  1292.                                                         </div>       
  1293.                                                     </div>
  1294.                                                     <div class="float-left">
  1295.                                                         <a href="javascript:void(0)" class="gris_666"
  1296.                                                            data-toggle="tooltip" data-placement="right"
  1297.                                                            title=" {{ annonce.raison }}">
  1298.                                                             <i class="fa fa-question-circle gris_999" aria-hidden="true"></i>
  1299.                                                         </a>
  1300.                                                     </div>
  1301.                                                 </div>
  1302.                                             {% else %}
  1303.                                                 <i class="fas fa-map-marker-alt"></i>&nbsp; {{ annonce.nom_localisation }}
  1304.                                             {% endif %}     
  1305.                                         </div>
  1306.                                         <div class="col-4 col-md-4 col-lg-3 col-xl-2">
  1307.                                             <div class="row">
  1308.                                                 <div class="col-12 col-md-12 text-center">
  1309.                                                     <a href="{{ lienAnnonce }}" title="{{ annonce.nom_localisation }}"><img class="img-fluid" src="{{ annonce.carte }}" alt="{{ annonce.nom_localisation }}"></a>
  1310.                                                 </div>
  1311.                                             </div>
  1312.                                         </div>
  1313.                                         <div class="col-6 col-md-4 col-lg-4 mt-2 br_gris">
  1314.                                             {% if annonce.publique_elite %}
  1315.                                                 {% if eliteAccess %}
  1316.                                                     <a class="btn btn-gold3" href="{{ lienAnnonce }}" role="button" aria-pressed="true" title="">
  1317.                                                         {{ translate("Voir les détails",lang,"","M") | raw }}
  1318.                                                     </a>
  1319.                                                 {% else %}
  1320.                                                     <a class="btn btn-gold3" href="#" role="button" aria-pressed="true" data-toggle="modal" data-target="#elite2" title="">
  1321.                                                         {{ translate("Voir les détails",lang,"","M") | raw }}
  1322.                                                     </a>
  1323.                                                 {% endif %}
  1324.                                             {% else %}
  1325.                                                 <a href="{{ lienAnnonce }}" title="{{ translate("voir les details",lang,"","M") | raw }}">
  1326.                                                     <button type="button" class="btn btn-bleu-annonce">
  1327.                                                         <span class="d-none d-xl-block">{{ translate("voir les details",lang,"","M") | raw }}</span>
  1328.                                                         <span class="d-xl-none">{{ translate("details",lang,"","M") | raw }}</span>
  1329.                                                     </button>
  1330.                                                 </a>
  1331.                                             {% endif %}
  1332.                                         </div>
  1333.                                         {% if annonce.publique_elite %}
  1334.                                             {% if eliteAccess %}
  1335.                                                 <div class="col-5 col-md-4 col-lg-4 text-center mt-2 pt-2 br_gris">
  1336.                                                     <a href="https://www.fusacq.com/elite/presentation" target="_blank" title="Découvrez FUSACQ Elite">
  1337.                                                         <img src="https://www.fusacq.com/images/fusacq_elite_bleu.png" class="img-fluid">
  1338.                                                     </a>
  1339.                                                 </div>
  1340.                                             {% else %}
  1341.                                                 <div class="col-5 col-md-4 col-lg-4 text-center mt-2 pt-2 br_gris">
  1342.                                                     <small>{{ translate("Exclusivité",lang,"","M") | raw }}</small>
  1343.                                                     <a href="https://www.fusacq.com/elite/presentation" target="_blank" title="Découvrez FUSACQ Elite">
  1344.                                                         <img src="https://www.fusacq.com/images/fusacq_elite_bleu.png" class="img-fluid">
  1345.                                                     </a>
  1346.                                                 </div>
  1347.                                             {% endif %}
  1348.                                         {% else %}
  1349.                                             <div class="col-3 col-md-4 col-lg-4 text-center mt-2 pt-2 br_gris">
  1350.                                                 <a href="{{ lienAnnonce }}&partager=1" title="{{ translate("partager",lang,"","M") | raw }}" class="bleu">
  1351.                                                     <i class="fas fa-envelope color_bleuclair"></i><span class="cache_petit"> &nbsp;{{ translate("partager",lang,"","M") | raw }}</span>
  1352.                                                 </a>
  1353.                                             </div>
  1354.                                         {% endif %}
  1355.                                         <div class="col-3 col-md-4 col-lg-4 text-center mt-2 pt-2 bleu">
  1356.                                             {% if annonce.is_favoris %}
  1357.                                                 {#<div class="float-left">#}
  1358.                                                     <i class="fa-sharp fa-solid fa-heart color_bleuclair"></i>
  1359.                                                {# </div>#}
  1360.                                                 <a href="{{ path('compte_favoris' ,{'codePays':codePaysWithUnderScore  }) }}" title="{{ translate("favoris", lang, '', 'M', '') }}">
  1361.                                                     {{ translate("appartient à : mes favoris", lang, '', 'M', '') }}
  1362.                                                 </a>
  1363.                                             {% else %}
  1364.                                                 <a href="javascript:void(0)" title="{{ translate("favoris",lang,"","M") | raw }}" class="bleu btn-favoris favoris-{{ annonce.id_annonce_vendeur }}" data-id-annonce="{{ annonce.id_annonce_vendeur }}" data-type-annonce="V">
  1365.                                                     <i class="fa-light fa-heart color_bleuclair"></i><span class="cache_petit">&nbsp;&nbsp;{{ translate("favoris",lang,"","M") | raw }}</span>
  1366.                                                 </a>
  1367.                                             {% endif %}
  1368.                                         </div>
  1369.                                     </div>
  1370.                                 </div>
  1371.                             </div>
  1372.                         {% endfor %}
  1373.                         <!--FIN ANNONCES -->
  1374.                         <!--PUB FRANCHISE-->
  1375.                         <!--<div class="card mb-3 card-ie card-franchises filet_gris">
  1376.                                 <div class="card-header">Avez-vous pense a creer ou reprendre en franchise ?</div>
  1377.                                 <div class="card-body">
  1378.                             <div class="row">
  1379.                                         <div class="col-6 col-md-3">
  1380.                                                 <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>
  1381.                                         </div>
  1382.                                         <div class="col-6 col-md-7">
  1383.                                                 <div>
  1384.                                                         <a href="https://www.placedesfranchises.com/carslift" class="inter_orange_link" title="Carslift">CARSLIFT</a><br>
  1385.                                                         <a href="https://www.placedesfranchises.com/carslift" class="vert_franchises" title="Le specialiste du bien motorise">Le specialiste du bien motorise</a><br>
  1386.                                                         <span class="nowrap_custom">Apport : <strong>15 000 € </strong></span>&nbsp;&nbsp;&nbsp;&nbsp;
  1387.                                                         <span class="nowrap_custom">Droit d'entree :  <strong>35 000 €</strong>
  1388.                                                 </div>
  1389.                                         </div>
  1390.                                         <div class="col-12 col-md-2 text-center">
  1391.                                                 <div class="pt-3 mt-2 inline"><small>Consultez sur </small></div>
  1392.                                                 <div class=" inline"><img src="https://static.placedesfranchises.com/img/logo_text.jpg" width="120"></div>
  1393.                                         </div>
  1394.                                 </div>
  1395.                                 </div>
  1396.                         </div>-->
  1397.                         <!--FIN PUB FRANCHISE-->
  1398.                         <!--PUB FRANCHISE-->
  1399.                         <!--<div class="card mb-3 card-ie card-franchises">
  1400.                             <div class="card-header">{{ translate("avez-vous pense a creer ou reprendre en franchise ?",lang,"","M") | raw }}</div>
  1401.                             <div class="card-body">
  1402.                                 <div class="row">
  1403.                                     <div class="col-12 col-md-6">
  1404.                                         <a href="https://www.placedesfranchises.com/carslift" class="inter_orange_link" title="OUEST CONTRÔLE ENVIRONNEMENT">OUEST CONTRÔLE ENVIRONNEMENT</a>
  1405.                                     </div>
  1406.                                     <div class="col-12 col-md-6">
  1407.                                         <div>
  1408.                                             <a href="https://www.placedesfrclass="titre_annonce"anchises.com/carslift" class="vert_franchises fs13" title="Le specialiste du bien motorise">Le specialiste du bien motorise</a><br>
  1409.                                             <span class="nowrap_custom">{{ translate("apport",lang,"","M") | raw }} : <strong>15 000 € </strong></span>&nbsp;&nbsp;&nbsp;&nbsp;
  1410.                                             <span class="nowrap_custom">{{ translate("droit d'entree",lang,"","M") | raw }} :  <strong>35 000 €</strong>
  1411.                                         </div>
  1412.                                     </div>
  1413.                                     <div class="col-12 col-md-12 text-right mt-3">
  1414.                                         <div class="inline"><small>{{ translate("consultez sur",lang,"","M") | raw }} </small></div>
  1415.                                         <div class="inline"><img src="images/logo_PDF_petit.jpg" width="120"></div>
  1416.                                     </div>
  1417.                                 </div>
  1418.                             </div>
  1419.                         </div>-->
  1420.                         <!--FIN PUB FRANCHISE-->
  1421.                     </div>
  1422.                 </div>
  1423.                 <!--PAGINATION-->
  1424.                 <div class="row mt-3">
  1425.                     <div class="col-sm-12">
  1426.                         <nav aria-label="...">
  1427.                             {{ knp_pagination_render(liste_annonces) }}
  1428.                         </nav>
  1429.                     </div>
  1430.                 </div>
  1431.                 <!--FIN PAGINATION-->
  1432.             </div><!--FIN COLONNE DROITE -->
  1433.         </div> <!--FIN ROW CONTAINER -->
  1434.     </div>  <!--FIN CONTAINER -->
  1435.     <input type="hidden" name="urlList" value="{{ urlList }}" id="urlList">
  1436.     <input type="hidden" name="string_params" value="{{ string_params }}" id="string_params">
  1437.     <!-- Modal Annonce publique Elite-->
  1438.     <div class="modal fade modal-lg show" id="elite" tabindex="-1" role="dialog" aria-labelledby="exampleModalLabel" aria-modal="true" style="left: 0; right: 0; top: 0; bottom: 0; margin: auto; position: absolute;">
  1439.         <div class="modal-dialog modal-lg" role="document">
  1440.             <div class="modal-content">
  1441.                 <div class="modal-header">
  1442.                     <h5 class="modal-title" id="exampleModalLabel">FUSACQ Elite</h5>
  1443.                     <button type="button" class="close" data-dismiss="modal" aria-label="Close">
  1444.                         <span aria-hidden="true">×</span>
  1445.                     </button>
  1446.                 </div>
  1447.                 <div class="modal-body">
  1448.                     <div class="row">   
  1449.                         <div class="col-10 offset-1 alert alert_elite_color  text-center fs12 my-3" role="alert">
  1450.                             {{ translate("Les membres FUSACQ Elite peuvent consulter les nouvelles annonces 7 jours avant leur publication sur le site public",lang,"","M") | raw }}
  1451.                         </div>
  1452.                         <div class="col-12 col-sm-10 offset-sm-1 my-2 pl-3">
  1453.                             {% if nb_annonce_elite <= 1 %}
  1454.                                 <span class="fs12">&nbsp;{{ nb_annonce_elite }} {{ translate("annonce disponible pour cette recherche",lang,"","M") | raw }} : </span><br>
  1455.                             {% else %}
  1456.                                 <span class="fs12">&nbsp;{{ nb_annonce_elite }} {{ translate("annonces disponibles pour cette recherche",lang,"","M") | raw }} : </span><br>
  1457.                             {% endif %}
  1458.                         </div>
  1459.                         <div class="col-12 col-sm-10 offset-sm-1">
  1460.                             <table class="table table-sm">
  1461.                                 <tbody>
  1462.                                     {% set max = 10 %}
  1463.                                     {# Boucle limitée aux 10 premières annonces #}
  1464.                                     {% for annonce in annonce_publique_elite|slice(0, max) %}
  1465.                                         <tr>
  1466.                                             <td {% if loop.first %}style="border-top: none;"{% endif %}>
  1467.                                                 {{ annonce.titre_annonce }}
  1468.                                             </td>
  1469.                                         </tr>
  1470.                                     {% endfor %}
  1471.                                     {# Si plus de 10 annonces, on ajoute "..." #}
  1472.                                     {% if annonce_publique_elite|length > max %}
  1473.                                         <tr>
  1474.                                             <td>...</td>
  1475.                                         </tr>
  1476.                                     {% endif %}
  1477.                                 </tbody>
  1478.                             </table>
  1479.                         </div>
  1480.                         <div class="col-12 text-center mt-3">
  1481.                             <a href="https://www.fusacq.com/elite/presentation_fr_" aria-pressed="true" class="button-rond" role="button">{{ translate("Découvrir l'offre",lang,"","M") | raw }}</a>&nbsp;&nbsp;&nbsp;
  1482.                             {% if app.user is not null %}   
  1483.                                 <a href="https://www.fusacq.com/pack-mer/infos_fr_?pack=fusacq_elite" class="button-rond" role="button" aria-pressed="true">
  1484.                                     {{ translate("Souscrire à FUSACQ Elite",lang,"","M") | raw }}
  1485.                                 </a>
  1486.                             {% else %}
  1487.                                 <a class="button-rond" role="button" aria-pressed="true" href="javascript:void(0)" data-toggle="modal" data-target="#Modalindex" onclick="changeFromAuth('forfait-fusacq_elite');">
  1488.                                     {{ translate("Souscrire à FUSACQ Elite",lang,"","M") | raw }}
  1489.                                 </a>
  1490.                             {% endif %}
  1491.                         </div>
  1492.                         <div class="col-12 text-center mt-2 mb-3"><small>{{ translate("Vous êtes déjà adhérent FUSACQ Elite",lang,"","M") | raw }} ?&nbsp;&nbsp;&nbsp;
  1493.                                 <a href="javascript:void(0)" data-toggle="modal" data-target="#Modalindex" class="fullsouligne activeAuth">{{ translate("Identifiez-vous",lang,"","M") | raw }}</a></small>
  1494.                         </div>
  1495.                     </div>
  1496.                 </div>
  1497.             </div>
  1498.         </div>
  1499.     </div>
  1500.     <!--Fin Modal Annonce publique Elite-->   
  1501.     <!-- Modal  Elite2-->
  1502.     <div class="modal fade bd-example-modal-xl" id="elite2" tabindex="-1" role="dialog" aria-labelledby="exampleModalLabel" style="display: none;" aria-hidden="true">
  1503.         <div class="modal-dialog modal-xl" role="document">
  1504.             <div class="modal-content">
  1505.                 <div class="modal-header">
  1506.                     <h5 class="modal-title" id="exampleModalLabel">Prenez une longueur d'avance sur les autres repreneurs</h5>
  1507.                     <button type="button" class="close" data-dismiss="modal" aria-label="Close">
  1508.                         <span aria-hidden="true">×</span>
  1509.                     </button>
  1510.                 </div>
  1511.                 <div class="modal-body">
  1512.                     <div class="col-10 offset-1 alert alert_elite_color  text-center fs12 my-3" role="alert">
  1513.                         Cette entreprise est disponible en avant-première. <br>
  1514.                         Elle sera visible par tous les repreneurs d'ici 7 jours.<br><br>
  1515.                         Les membres FUSACQ Elite peuvent l’<strong>analyser dès maintenant</strong> et se positionner avant les autres.
  1516.                     </div>
  1517.                     <div class="col-12 text-center my-3">
  1518.                         <a href="https://www.fusacq.com/elite/presentation" aria-pressed="true" class="button-rond-blanc2" role="button">Découvrir FUSACQ Elite</a>
  1519.                         &nbsp;<a class="button-rond2 activeAuth" role="button" aria-pressed="true" href="javascript:void(0)" data-toggle="modal" data-target="#Modalindex" onclick="changeFromAuth('forfait-fusacq_elite');">
  1520.                             Accéder aux annonces en avant première
  1521.                         </a>&nbsp;&nbsp;&nbsp;
  1522.                     </div>
  1523.                     <div class="col-12 text-center my-3"><small>Vous êtes déjà adhérent FUSACQ Elite ?&nbsp;&nbsp;&nbsp;
  1524.                             <a href="javascript:void(0)" data-toggle="modal" data-target="#Modalindex" class="fullsouligne activeAuth">{{ translate("Identifiez-vous",lang,"","M") | raw }}</a></small>
  1525.                     </div>
  1526.                 </div>
  1527.             </div>
  1528.         </div>
  1529.     </div>
  1530.     <!-- FIN Modal Elite2-->
  1531. {% endblock %}
  1532. {% block javascripts %}
  1533.     {{ parent() }}
  1534.     <script type="text/javascript">
  1535.         $(document).on('mouseenter', '[data-toggle="tooltip"]', function () {
  1536.             $(this).tooltip('show');
  1537.         }).on('mouseleave', '[data-toggle="tooltip"]', function () {
  1538.             $(this).tooltip('hide');
  1539.         });
  1540.         // Pour activer le tooltip sur les nouveaux éléments ajoutés via AJAX
  1541.         $(document).ready(function () {
  1542.             $('[data-toggle="tooltip"]').tooltip();  // Active le tooltip sur les éléments déjà présents
  1543.         });
  1544.     </script>
  1545.     <script type="module" data-name="{{ codePaysWithUnderScore }}" id="codePaysParam" src="{{ asset('build/js/reprendre_entreprise/entreprise.js') }}"></script>
  1546.     <script type="application/javascript" src="{{ asset('build/js/annonces/favoris.js') }}"></script>
  1547.     <script>
  1548.         function changeFromAuth(forfait) {
  1549.             $('#fromAuthModal').val(forfait);
  1550.         }
  1551.         $('.activeAuth').on('click', function () {
  1552.             $('#elite2').modal('hide');
  1553.             $('#elite').modal('hide');
  1554.         });
  1555.     </script>
  1556.     {% include 'annonces/fragments/modal_favoris.html.twig' %}
  1557. {% endblock %}