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