{# utilisant seulement dans /reprendre-une-entreprise/recherche-annonces-cession-entreprise_fr_ ControllerReprendreEntrepriseController :: rechercheavanceeentreprise #}
{% set lien_souscription= path('reglement_infos_pack_mer',{'codePays':codePaysWithUnderScore }) %}
<div class="modal fade bd-example-modal-xl show"
id="ModalElite" tabindex="-1"
role="dialog" aria-labelledby="exampleModalLabel"
style="inset: 0px; margin: auto; position: absolute; padding-right: 15px; " aria-modal="true">
<div class="modal-dialog modal-xl" role="document">
<div class="modal-content">
<div class="modal-header">
<h5 class="modal-title" id="exampleModalLabel">
<head_title></head_title>
</h5>
<button type="button" class="close" data-dismiss="modal" aria-label="Close">
<span aria-hidden="true">×</span>
</button>
</div>
<div class="modal-body">
<div class="col-12 text-center mb-3">
<div class="alert alert-warning" role="alert">
<h5><text1></text1></h5>
<text2></text2>
</div>
</div>
<div class="col-12 text-center my-3">
{% if app.user|default and app.user is hasService(elite_provider.codeServices) %}
<a href="javascript:void(0)" id="submit" aria-pressed="true" class="button-rond" role="button">OK</a>
{% else %}
<a href="{{ lienElitePresentation }}" aria-pressed="true" class="button-rond" role="button">Découvrir l'offre</a>
{% if app.user|default %}
<a href="{{ lien_souscription }}?pack=fusacq_elite" class="button-rond" role="button" aria-pressed="true" title="">Souscrire à FUSACQ Elite</a>
{% endif %}
{% endif %}
</div>
</div>
</div>
</div>
</div>
<link rel="stylesheet" href="{{ asset('build/css/annonces/elite/liste_profils_strategiques.css') }}">
<script src="{{ asset('build/js/annonces/elite/liste_profils_strategiques.js') }}" ></script>
<div class="col-12 col-lg-9 offset-lg-1 mt-3 pt-3 bt_gris">
<div class="row">
<div class="col-12 col-lg-8">
<h5 class="gris_666">{{ translate("Type d’entreprise",lang,"","M") | raw }}</h5>
</div>
<div class="col-12 col-lg-4 text-right">
<a href="{{ lienElitePresentation }}"
target="_blank" title="Découvrez FUSACQ Elite">
<img src="https://www.fusacq.com/FUSACQ2020/images/fusacq_elite.gif"
class="img-fluid"
style="border-radius: 0.40rem !important;">
</a>
</div>
</div>
</div>
{% set identifiants = elite_provider.identifiantsProfilStrategiques %}
<div class="col-4 col-lg-3 offset-lg-2 mt-1 mb-3 profils_selected"></div>
{% if parametres|default and parametres.identifiant_profil|default %}
<div class="col-8 col-lg-5 mb-3 profil_selected" id="div_profil_selected">
{% for code,label in identifiants %}
{% set styleBtn = code in parametres.identifiant_profil ? 'shown-item' : 'hidden-item' %}
<button class="btn btn-bleu-fusacq btn-profil mr-1 mt-1 {{ styleBtn }}" type="button" id="{{ code }}"> {{ label }} <i class="fas fa-times" aria-hidden="true"></i></button>
{% endfor %}
</div>
{% else %}
<div class="col-8 col-lg-5 mb-3 profil_selected" id="div_profil_selected">
{% for code,label in identifiants %}
{% set styleBtn= 'hidden-item' %}
<button class="btn btn-bleu-fusacq btn-profil mr-1 mt-1 {{ styleBtn }}" type="button" id="{{ code }}"> {{ label }} <i class="fas fa-times" aria-hidden="true"></i></button>
{% endfor %}
</div>
{% endif %}
<div class="col-4 col-lg-3 offset-lg-2 mt-3 mb-3">
{{ translate("Profils prédéfinis",lang,"","M") | raw }}
</div>
{% set profils = elite_provider.listProfilsStrategiques %}
<div class="col-8 col-lg-6 mb-3 mt-2">
<div class="custom-select restore-native" id="select2" style="border: 1px solid #003366;">
<div class="select-header" onclick="toggleDropdown('dropdown2');">
<span class="placeholder">{{ translate("Choisissez parmi 14 profils",lang,"","M") | raw }}</span>
</div>
<div class="select-dropdown" id="dropdown2">
<div class="reset-option" onclick="resetSelection('select2');">
<i class="fas fa-times-circle reset-icon"></i>
<span>Réinitialiser la sélection</span>
</div>
{% for categorie,profil in profils %}
<div class="option-category">
{{ categorie }}
</div>
{% for k,p in profil %}
<div class="option-item" data-key="{{ k }}" onclick="selectOption(this, 'dropdown2');">
• {{ p[0] }}
</div>
{% endfor %}
{% endfor %}
</div>
</div>
</div>
<input type="hidden" id="identifiant_profil" name="identifiant_profil" multi-value="" value="" />
<div class="col-4 col-lg-3 offset-lg-2 mt-1 mb-3 ">
</div>
<div class="col-8 col-lg-5 mb-3 ajouter_identifiant_profil" style="">
<button type="button" id="ajouter_identifiant_profil" name="ajouter_identifiant_profil"
class="btn btn-bleu-fusacq shown-item">Ajouter
</button>
</div>