templates/annuaires/repreneurs/repreneurs_cv_details.html.twig line 67

Open in your IDE?
  1. {% extends 'base.html.twig' %}
  2. {% block googletag %}{{ googleTag.getCiblageLocalisationFusacq | raw }}{{ googleTag.getCiblageSecteurActiviteFusacq | raw }}{% endblock %}
  3. {% block stylesheets %}
  4.     <link rel="stylesheet" href="{{ asset('build/css/annuaires/repreneurs/repreneurs_cv_details.css') }}">
  5.     <link rel="stylesheet" href="{{ asset('build/css/annuaires/repreneurs/repreneurs_recherche.css') }}">
  6.     {{ parent() }}
  7. {% endblock %}
  8. {% block body %}
  9.     {% if  nextCVRepreneur|default %}
  10.         {% set  lienNextRepreneur = path('repreneur_cv_detail',
  11.               {
  12.                   'idRepreneur':nextCVRepreneur.idRepreneur,
  13.                   'titreslug':nextCVRepreneur.titreSocieteRecherchee|  slugify ,
  14.                   'codePays':codePaysWithUnderScore
  15.               }
  16.           ) ~ complementUrl ~ indexNext
  17.         %}
  18.     {% else %}
  19.         {% set  lienNextRepreneur = '' %}
  20.     {% endif %}
  21.     {% if  prevCVRepreneur |default %}
  22.         {% set  lienPrevRepreneur = path('repreneur_cv_detail',
  23.                   {
  24.                       'idRepreneur':prevCVRepreneur.idRepreneur,
  25.                       'titreslug':prevCVRepreneur.titreSocieteRecherchee|  slugify ,
  26.                       'codePays':codePaysWithUnderScore
  27.                   }
  28.           ) ~ complementUrl ~ indexPrevious
  29.         %}
  30.     {% else %}
  31.         {% set  lienPrevRepreneur = '' %}
  32.     {% endif %}
  33.     {% if urlRetourList|default %}
  34.         {% set urlRetour = urlRetourList %}
  35.     {% else %}
  36.         {% set urlRetour = path('annuaires_repreneurs_recherche',{'codePays':codePaysWithUnderScore  }) %}
  37.     {% endif %}
  38.     <!-- Menu  -->
  39.     {{ render_esi(controller(
  40.           'App\\Controller\\CoreController::menu',
  41.           {   "lang": lang,
  42.               "currentRoute":currentRoute,
  43.               "codePays": codePaysWithUnderScore }
  44.       ))  | spaceless }}
  45.     <!-- Menu  -->
  46.     <!-- Publicité  -->
  47.     {% include 'includes/publicite.html.twig' %}
  48.     <!-- Publicité  -->
  49.     {% include 'assets/assets_vuejs.html.twig' %}
  50.     <div class="container"  id="app" >
  51.         <div class="row">
  52.             <!--COLONNE GAUCHE -->
  53.             {% include 'includes/colonnes_gauche.html.twig' %}
  54.             <!--FIN COLONNE GAUCHE -->
  55.             <!--COLONNE DROITE -->
  56.             <div class="col-12 col-lg-9 bkg_blanc no_shadow">
  57.                 <!-- ARIANE -->
  58.                 {% if from == "ouvrir-capital" %}
  59.                     <nav aria-label="breadcrumb" class="d-none d-sm-block">
  60.                         <ol class="breadcrumb">
  61.                             <li class="breadcrumb-item"><a href="{{ path('index',{'codePays':codePays}) }}">{{ translate("accueil",lang,"","M") | raw }}</a></li>
  62.                             <li class="breadcrumb-item"><a href="{{ path('ouvrir_capital_business_angel',{'codePays':codePaysWithUnderScore}) }}">{{ translate("ouvrir mon capital",lang,"","M") | raw }}</a></li>
  63.                             <li class="breadcrumb-item"><a href="{{ path('ouvrir_capital_resultats_cv_repreneur', {'codePays':codePaysWithUnderScore}) }}">{{ translate("CV de repreneurs",lang,"","M") | raw }}</a></li>
  64.                             <li class="breadcrumb-item active" aria-current="page">{{ cvRepreneur.titreSocieteRecherchee }}</li>
  65.                         </ol>
  66.                     </nav>
  67.                 {% elseif from == "vendre-entreprise" %}
  68.                     <nav aria-label="breadcrumb" class="d-none d-sm-block">
  69.                         <ol class="breadcrumb">
  70.                             <li class="breadcrumb-item"><a href="{{ path('index',{'codePays':codePays}) }}">{{ translate("accueil",lang,"","M") | raw }}</a></li>
  71.                             <li class="breadcrumb-item"><a href="{{ path('vendre_entreprise_annonces_acquisition_entreprise',{'codePays':codePaysWithUnderScore}) }}">{{ translate("vendre une entreprise",lang,"","M") | raw }}</a></li>
  72.                             <li class="breadcrumb-item"><a href="{{ path('vendre_entreprise_resultats_cv_repreneur', {'codePays':codePaysWithUnderScore}) }}">{{ translate("CV de repreneurs",lang,"","M") | raw }}</a></li>
  73.                             <li class="breadcrumb-item active" aria-current="page">{{ cvRepreneur.titreSocieteRecherchee }}</li>
  74.                         </ol>
  75.                     </nav>
  76.                 {% else %}
  77.                     <nav aria-label="breadcrumb" class="d-none d-sm-block">
  78.                         <ol class="breadcrumb">
  79.                             <li class="breadcrumb-item"><a href="{{ path('index',{'codePays':codePays}) }}" title="{{ translate("accueil",lang,"","M") | raw }}">{{ translate("accueil",lang,"","M") | raw }}</a></li>
  80.                             <li class="breadcrumb-item"><a href="{{ path('annuaires_index',{'codePays':codePaysWithUnderScore  }) }}" title="{{ translate("annuaires" ,lang,"","M") | raw }}">{{ translate("annuaires" ,lang,"","M") | raw }}</a></li>
  81.                             <li class="breadcrumb-item"><a href="{{ path('annuaires_repreneurs_recherche',{'codePays':codePaysWithUnderScore  }) }}" title="{{ translate("annuaire des repreneurs" ,lang,"","M") | raw }}">{{ translate("annuaire des repreneurs" ,lang,"","M") | raw }}</a></li>
  82.                             <li class="breadcrumb-item active" aria-current="page">{{ cvRepreneur.titreSocieteRecherchee }}</li>
  83.                         </ol>
  84.                     </nav>
  85.                 {% endif %}
  86.                 <!-- FIN ARIANE -->
  87.                 {# repreneur precedant/suivant/retour à la liste #}
  88.                 {% include 'annuaires/repreneurs/includes/navigation.html.twig' %}
  89.                 <div class="card no_shadow">
  90.                     <div class="card-body">
  91.                         <div class="row">
  92.                             <div class="col-12 col-sm-11 offset-sm-1">
  93.                                 <h2 class="{{ titleClass }}">{{ cvRepreneur.titreSocieteRecherchee }}</h2>
  94.                             </div>
  95.                             <div class="col-12 col-sm-7 offset-sm-1 mt-3">
  96.                                 <ul class="cat_regions">
  97.                                     <li>{{ translate("CV N°" ,lang,"","M") |upper | raw }} : <strong>R{{ cvRepreneur.idRepreneur }}</strong></li>
  98.                                     
  99.                                     {% if mise_a_jour_le == true %} 
  100.                                     <li>{{ translate("mis à jour le" ,lang,"","M") |capitalize | raw }}
  101.                                         <strong>
  102.                                             {{ cvRepreneur.dateParution|date( 'd',lang) }}
  103.                                             {{ cvRepreneur.dateParution|date('m',lang) }}
  104.                                             {{ cvRepreneur.dateParution|date( 'Y') }}
  105.                                         </strong>
  106.                                     </li>
  107.                                     {% endif %}
  108.                                       {% if poste_le == true %} 
  109.                                     <li>{{ translate("poste le" ,lang,"","M") |capitalize | raw }}
  110.                                         <strong>
  111.                                             {{ cvRepreneur.dateParutionInitiale|date( 'd',lang) }}
  112.                                             {{ cvRepreneur.dateParutionInitiale|date('m',lang) }}
  113.                                             {{ cvRepreneur.dateParutionInitiale|date( 'Y') }}
  114.                                         </strong>
  115.                                     </li>
  116.                                     {% endif %}
  117.                                     
  118.                                     <li>
  119.                                         <a href="{{ path('imprimer_repreneurs_cv', {'codePays' : codePaysWithUnderScore, 'lang' : lang, 'idRepreneur' : cvRepreneur.idRepreneur }) }}" 
  120.                                             title="{{ translate("imprimer les informations" ,lang,"","M") | raw }}" target="_blank" class="gris text-center">
  121.                                             <div class="float-left">
  122.                                                 <i aria-hidden="true" class="fa fa-print"></i>
  123.                                                 <small>&nbsp;&nbsp;{{ translate("imprimer" ,lang,"","M") | raw }}</small>
  124.                                             </div>
  125.                                         </a>
  126.                                     </li>
  127.                                 </ul>
  128.                             </div>
  129.                             <div class="col-6 col-sm-3 mt-2" style="min-height: 183px;">
  130.                                 {% if  cvRepreneur.cartes.id_localisation_by_country|length == 1 %}
  131.                                     {% if cvRepreneur.cartes.id_localisation_by_country|keys |first == "33" %}
  132.                                         <img class="img-fluid"
  133.                                              id='absolute_index_1'
  134.                                              src="{{ CDN.CDN_FUSACQ }}/static/help-fusacq/fr/images/cartes/fond/33/33_fond_monde.png"
  135.                                              alt="France">
  136.                                         {% for k, carte  in cvRepreneur.cartes.id_localisation_by_country.33 %}
  137.                                             <img class="img-fluid"
  138.                                                  id='absolute_index_2'
  139.                                                  src="{{ CDN.CDN_FUSACQ }}/static/help-fusacq/fr/images/cartes/fond/33/{{ carte }}.png"
  140.                                                  alt="France">
  141.                                         {% endfor %}
  142.                                     {% endif %}
  143.                                     {% if cvRepreneur.cartes.id_localisation_by_country|keys |first == "41" %}
  144.                                         {% if cvRepreneur.cartes.id_localisation_by_country.41 |length == 1 %}
  145.                                             <img class="img-fluid"
  146.                                                  id='absolute_index_2'
  147.                                                  src="{{ CDN.CDN_FUSACQ }}/static/help-fusacq/fr/images/cartes/pays/41/{{ cvRepreneur.cartes.id_localisation_by_country.41|first }}.png"
  148.                                                  alt="Suisse">
  149.                                         {% else %}
  150.                                             <img class="img-fluid"
  151.                                                  id='absolute_index_2'
  152.                                                  src="{{ CDN.CDN_FUSACQ }}/static/help-fusacq/fr/images/cartes/pays/41/41_transparent.png"
  153.                                                  alt="Suisse">
  154.                                         {% endif %}
  155.                                     {% endif %}
  156.                                     {% if cvRepreneur.cartes.id_localisation_by_country|keys |first == "01" %}
  157.                                         {% if cvRepreneur.cartes.id_localisation_by_country['01'] |length == 1 %}
  158.                                             <img class="img-fluid"
  159.                                                  id='absolute_index_2'
  160.                                                  src="{{ CDN.CDN_FUSACQ }}/static/help-fusacq/fr/images/cartes/pays/01/{{ cvRepreneur.cartes.id_localisation_by_country['01']|first }}.png"
  161.                                                  alt="Canada">
  162.                                         {% else %}
  163.                                             <img class="img-fluid"
  164.                                                  id='absolute_index_2'
  165.                                                  src="{{ CDN.CDN_FUSACQ }}/static/help-fusacq/fr/images/cartes/pays/01/01_transparent.png"
  166.                                                  alt="Canada">
  167.                                         {% endif %}
  168.                                     {% endif %}
  169.                                     {% if cvRepreneur.cartes.id_localisation_by_country|keys |first == "32" %}
  170.                                         {% if cvRepreneur.cartes.id_localisation_by_country.32 |length == 1 %}
  171.                                             <img class="img-fluid"
  172.                                                  id='absolute_index_2'
  173.                                                  src="{{ CDN.CDN_FUSACQ }}/static/help-fusacq/fr/images/cartes/pays/32/{{ cvRepreneur.cartes.id_localisation_by_country.32|first }}.png"
  174.                                                  alt="Belgique">
  175.                                         {% else %}
  176.                                             <img class="img-fluid"
  177.                                                  id='absolute_index_2'
  178.                                                  src="{{ CDN.CDN_FUSACQ }}/static/help-fusacq/fr/images/cartes/pays/32/32_transparent.png"
  179.                                                  alt="Belgique">
  180.                                         {% endif %}
  181.                                     {% endif %}
  182.                                 {% endif %}
  183.                                 {% if  cvRepreneur.cartes.id_localisation_by_country|length  > 1 %}
  184.                                     {% if 33 in cvRepreneur.cartes.id_localisation_by_country|keys %}
  185.                                         <img class="img-fluid"
  186.                                              id='absolute_index_1'
  187.                                              src="{{ CDN.CDN_FUSACQ }}/static/help-fusacq/fr/images/cartes/fond/33/33_fond_monde.png"
  188.                                              alt="France">
  189.                                         {% for k, carte  in cvRepreneur.cartes.id_localisation_by_country.33 %}
  190.                                             <img class="img-fluid"
  191.                                                  id='absolute_index_2'
  192.                                                  src="{{ CDN.CDN_FUSACQ }}/static/help-fusacq/fr/images/cartes/fond/33/{{ carte }}.png"
  193.                                                  alt="France">
  194.                                         {% endfor %}
  195.                                         <img class="img-fluid"
  196.                                              id='absolute_index_2'
  197.                                              src="{{ CDN.CDN_FUSACQ }}/static/help-fusacq/fr/images/cartes/fond/33/monde.png"
  198.                                              alt="Monde">
  199.                                     {% endif %}
  200.                                     {% if 33 not in cvRepreneur.cartes.id_localisation_by_country|keys %}
  201.                                         <img class="img-fluid"
  202.                                              id='absolute_index_2'
  203.                                              src="{{ CDN.CDN_FUSACQ }}/static/help-fusacq/fr/images/cartes/pays/monde_transparent.png"
  204.                                              alt="Monde">
  205.                                     {% endif %}
  206.                                 {% endif %}
  207.                             </div>
  208.                         </div>
  209.                         <!-- FAVORIS - ENVOYER A UN AMI - IMPRIMER PAGE -->
  210.                         <div class="row mt-3">
  211.                             <div class="col-2 col-sm-2 offset-sm-1 text-center pt-1">
  212.                                 {% if   app.user is hasService(["7","53"]) or dejaCommande%} {# DROIT ACCESS Annuaire des repreneurs #}
  213.                                     <a href="{{ path('imprimer_repreneurs_cv',{'idRepreneur':  cvRepreneur.idRepreneur  ,'codePays':codePaysWithUnderScore,'lang':lang  }) }}" title="{{ translate("imprimer la page" ,lang,"","M") |capitalize | raw }}"
  214.                                        class="gris_666 text-center" target="_blank">
  215.                                         <div class="float-left">
  216.                                             <i class="fa fa-print"></i>
  217.                                         </div>
  218.                                         <div class="float-left pl-1 pb-1 d-none d-sm-block">
  219.                                             <small>&nbsp;&nbsp;{{ translate("imprimer" ,lang,"","M") |capitalize | raw }}</small>
  220.                                         </div>
  221.                                     </a>
  222.                                 {% endif %}{# DROIT ACCESS Annuaire des repreneurs #}
  223.                             </div>
  224.                         </div>
  225.                         <!-- FIN FAVORIS - ENVOYER A UN AMI - IMPRIMER PAGE -->
  226.                     </div>
  227.                 </div>
  228.                 <div class="card mb-3 mt-3 no_shadow">
  229.                     <div class="card-body">
  230.                         <div class="row">
  231.                             <div class="col-12 col-sm-10 mt-3 mb-3 offset-sm-1">
  232.                              {% if dejaCommande %} 
  233.                                <span class="orange font_600"><i class="fa-solid fa-circle-check"></i>&nbsp;&nbsp;Déjà commandé</span>
  234.                                 <br><br>
  235.                               {% endif %}
  236.                                 {% if   app.user is hasService(["7","53"]) or dejaCommande %} {# DROIT ACCESS Annuaire des repreneurs #}
  237.                                     <table class="table table-striped table-bordered">
  238.                                         <colgroup>
  239.                                             <col width="35%">
  240.                                             <col width="65%">
  241.                                         </colgroup>
  242.                                         <tbody>
  243.                                             <tr>
  244.                                                 <td>{{ translate("Nom / Prenom" ,lang,"","M") | raw }} :</td>
  245.                                                 <td>{{ cvRepreneur.nom }} {{ cvRepreneur.prenom }}</td>
  246.                                             </tr>
  247.                                             <tr>
  248.                                                 <td>{{ translate("adresse" ,lang,"","M") | raw }} :</td>
  249.                                                 <td>
  250.                                                     {% if cvRepreneur.adresse|default %}{{ cvRepreneur.adresse }}{% endif %}
  251.                                                     {% if cvRepreneur.codePostal|default %}</br>{{ cvRepreneur.codePostal }}{% endif %}
  252.                                                     {% if cvRepreneur.ville|default %}{{ cvRepreneur.ville }}{% endif %}
  253.                                                     {% if cvRepreneur.idPays|default %}{{ cvRepreneur.idPays|nomPays }}{% endif %}
  254.                                                 </td>
  255.                                             </tr>
  256.                                             <tr>
  257.                                                 <td>{{ translate("telephone" ,lang,"","M") | raw }} :</td>
  258.                                                 <td>{{ cvRepreneur.telephone|telephoneInternational(cvRepreneur.indicatif_telephone)  }}</td>
  259.                                             </tr>
  260.                                             <tr>
  261.                                                 <td>  {{ translate("e-mail" ,lang,"","M") | raw }} :</td>
  262.                                                 <td>{{ cvRepreneur.email }}</td>
  263.                                             </tr>
  264.                                         </tbody>
  265.                                     </table>
  266.                                 {% elseif lignePanier %}
  267.                                 <div class="col-12 text-center">
  268.                                     <div class="row">
  269.                                         <div class="col-12 alert alert-success fs12 text-center my-5" role="alert">
  270.                                             {{ translate("le CV repreneur a ete ajoutee dans votre panier",lang,"","M") | raw }}
  271.                                         </div>
  272.                                         <div class="col-12 col-lg-6 text-center text-lg-right">
  273.                                             <div class="col-sm-12 my-3">
  274.                                                 <a href="{{ urlRetourList }}" class="button-rond" role="button" aria-pressed="true">
  275.                                                     <div class="icon-btn-vous"><i class="fas fa-chevron-circle-left fa-2x white"></i></div>&nbsp;&nbsp;&nbsp;
  276.                                                     <div class="float-right pt-1">{{ translate("continuer la recherche",lang,"","M") | raw }}</div>
  277.                                                 </a>
  278.                                             </div>
  279.                                         </div>
  280.                                         <div class="col-12 col-lg-6 text-center text-lg-left">
  281.                                             <div class="col-sm-12 my-3">
  282.                                                 <a href="/panier" class="button-rond-vert" role="button" aria-pressed="true">
  283.                                                     <div class="icon-btn-vous"><i class="fas fa-shopping-cart fa-2x white"></i></div>&nbsp;&nbsp;&nbsp;
  284.                                                     <div class="float-right pt-1">{{ translate("consulter le panier",lang,"","M") | raw }}&nbsp;</div>
  285.                                                 </a>
  286.                                             </div>
  287.                                         </div><br><br><br><br><br><br>
  288.                                     </div>
  289.                                 </div>
  290.                                 {% else %} {# DROIT ACCESS Annuaire des repreneurs #}
  291.                                     <div class="col-12 text-center" v-if="btn_visible" v-cloak  >
  292.                                         <a href="javascript:void(0)" class="{{ btnClass }}"
  293.                                            @click="clickObtenezSesCoordonnes(); "
  294.                                            role="button" aria-pressed="true" title="{{ translate("obtenir les coordonnees" ,lang,"","M") | raw }}" >
  295.                                             {{ translate("obtenir les coordonnees" ,lang,"","M") | raw }}
  296.                                         </a>
  297.                                     </div>
  298.                                 {% endif %}
  299.                             </div>
  300.                             {% if not lignePanier %}
  301.                             
  302.                             <div class="col-12" v-model="bloc_commande" v-if="bloc_commande" v-cloak ref="bloc_commande" >
  303.                                 <div class="row">
  304.                                     {% if hasForfait %}
  305.                                         <div class="col-12 alert alert-success fs12 text-center my-5" role="alert">
  306.                                             {% if forfaitAUtiliser.code_service[0:3] == "abo" and forfaitAUtiliser.code_service[0:6]!="abo_fe" %}
  307.                                                 {% set date = donneDateFormatAffichage(forfaitAUtiliser.date_fin_acces)%}
  308.                                                 {% if forfaitAUtiliser.code_service[4:2]==10 %}
  309.                                                     {% set itemAbo = { 'nb': 10,'date':date} %}
  310.                                                 {% elseif forfaitAUtiliser.code_service[4:2]==20 %}
  311.                                                     {% set itemAbo = { 'nb': 20,'date':date} %}
  312.                                                 {% elseif forfaitAUtiliser.code_service[4:2]==30 %}
  313.                                                     {% set itemAbo = { 'nb': 30,'date':date} %}
  314.                                                 {% endif %}
  315.                                                 {{ translate("vous beneficiez dun abonnement annuel %$nb%$ MER / mois valable jusqu'au %$date%$",lang,"","M","s",itemAbo) | raw }}
  316.                                             {% elseif forfaitAUtiliser.code_service[0:6]=="abo_fe" %}
  317.                                                 {% if forfaitAUtiliser.code_service[7:2]==10 %}
  318.                                                     {% set itemAbo = { 'nb': 10} %}
  319.                                                 {% elseif forfaitAUtiliser.code_service[7:2]==20 %}
  320.                                                     {% set itemAbo = { 'nb': 20} %}
  321.                                                 {% elseif forfaitAUtiliser.code_service[7:2]==30 %}
  322.                                                     {% set itemAbo = { 'nb': 30} %}
  323.                                                 {% elseif forfaitAUtiliser.code_service[7:2]==40 %}
  324.                                                     {% set itemAbo = { 'nb': 40} %}
  325.                                                 {% endif %}
  326.                                                 {{ translate("vous beneficiez dun abonnement %$nb%$ MER / mois",lang,"","M","s",itemAbo) | raw }}
  327.                                             {% else %}
  328.                                                 {% if forfaitAUtiliser.code_service == "pack_5" %}
  329.                                                     {% set nom=translate('5 MER',lang) %}
  330.                                                 {% elseif forfaitAUtiliser.code_service == "pack_10" %}
  331.                                                     {% set nom=translate('10 MER',lang) %}
  332.                                                 {% elseif forfaitAUtiliser.code_service == "pack_20" %}
  333.                                                     {% set nom=translate('20 MER',lang) %}
  334.                                                 {% elseif forfaitAUtiliser.code_service == "consultation_pm_promotionnelle" %}
  335.                                                     {% set nom=translate('consultation promotionnelle',lang) %}
  336.                                                 {% else %}
  337.                                                     {% set nom=forfaitAUtiliser.code_service %}
  338.                                                 {% endif %}
  339.                                                 {% if forfaitAUtiliser.date_fin_acces is defined and forfaitAUtiliser.nb_utilisations_restantes is defined%}
  340.                                                     {% set date = donneDateFormatAffichage(forfaitAUtiliser.date_fin_acces)%}
  341.                                                     {% set itemAbo = { 'nom':nom,'nb': forfaitAUtiliser.nb_utilisations_restantes,'date':date} %}
  342.                                                     {{ translate('vous beneficiez d\'un service "%$nom%$" pour lequel il vous reste %$nb%$ mises en relation a utiliser jusqu\'au %$date%$',lang,"","M","s",itemAbo) | raw }}
  343.                                                 {% elseif forfaitAUtiliser.date_fin_acces is defined %}
  344.                                                     {% set date = donneDateFormatAffichage(forfaitAUtiliser.date_fin_acces)%}
  345.                                                     {% set itemAbo = { 'nom':nom,'date':date} %}
  346.                                                     {{ translate('vous beneficiez d\'un service "%$nom%$" jusqu\'au %$date%$',lang,"","M","s",itemAbo) | raw }}
  347.                                                 {% elseif forfaitAUtiliser.nb_utilisations_restantes is defined %}
  348.                                                     {% set itemAbo = { 'nom':nom,'nb':forfaitAUtiliser.nb_utilisations_restantes} %}
  349.                                                     {{ translate('vous beneficiez d\'un service "%$nom%$" pour lequel il vous reste %$nb%$ mises en relation a utiliser',lang,"","M","s",itemAbo) | raw }}
  350.                                                 {% else %}
  351.                                                     {% set itemAbo = { 'nom':nom} %}
  352.                                                     {{ translate('vous beneficiez d\'un service "%$nom%$"',lang,"","M","s",itemAbo) | raw }}
  353.                                                 {% endif %}
  354.                                             {% endif %}
  355.                                         </div>
  356.                                         <div class="col-12">{{ translate("ajouter cette annonce au panier en cliquant sur le bouton ci-dessous" ,lang,"","M") | raw }} **</div>
  357.                                         <div class="col-12 text-center mt-3 mb-5">
  358.                                             <div class="col-sm-12 my-3">
  359.                                                 <form action="/panier/ajoute-panier" method="POST">
  360.                                                     <input type="hidden" id="id_annonce" name="id_annonce" value="{{cvRepreneur.idRepreneur}}">
  361.                                                     <input type="hidden" id="type" name="type" value="annonce_R">
  362.                                                     <button type="submit" class="btn btn-acheteur" role="button" aria-pressed="true">
  363.                                                         <div class="icon-btn-vous"><i class="fas fa-chevron-circle-left fa-2x white"></i></div>&nbsp;&nbsp;&nbsp;
  364.                                                         <div class="float-right pt-1">{{ translate("ajouter au panier" ,lang,"","M") | raw }}</div>
  365.                                                     </button>
  366.                                                 </form>
  367.                                             </div>
  368.                                         </div>
  369.                                         <div class="col-12 mt-4 mb-3">
  370.                                             <small>
  371.                                                 * : {{ translate("charte 1 deposant forfait" ,lang,"","M") | raw }}<br>
  372.                                                 ** : {{ translate("charte 2 deposant forfait" ,lang,"","M") | raw }}
  373.                                             </small>
  374.                                         </div>
  375.                                     {% else %}
  376.                                         {% if app.user is  null %} {# utilisateur NON authentifié #}
  377.                                             <div class="col-12 col-lg-6 mb-3 p-4 bkg_gris_clair">
  378.                                                 <div class="my-3 text-center">
  379.                                                     <h5>{{ translate("vous disposez d'un acces a la base repreneurs ?" ,lang,"","M") | raw }}</h5>
  380.                                                 </div>
  381.                                                 {{ render_esi(controller('App\\Controller\\SecurityController::login' )) | spaceless }}
  382.                                                 <div class="text-center p-3" style="background-color:#8bba47">
  383.                                                     {{ translate("cette mise en relation peut être obtenue également en adhèrant a l'offre" ,lang,"","M") |capitalize| raw }}<br>
  384.                                                     <a href="{{ path('offreFusacqExpert', {'codePays' : codePaysWithUnderScore}) }}" target="_blank" class="blanc">
  385.                                                         <h3>{{ translate("Fusacq Expert",lang,"","M") |capitalize| raw }}</h3>
  386.                                                     </a>
  387.                                                 </div>
  388.                                             </div>
  389.                                         {% endif %}
  390.                                         {% if app.user is  null %}   {# utilisateur NON authentifié #}
  391.                                             <div class="col-12 col-lg-6 mb-3 p-4">
  392.                                             {% else %}  {# utilisateur   authentifié #}
  393.                                                 <div class="col-12 col-lg-12 mb-3 p-4">
  394.                                                 {% endif %}
  395.                                                 <div class="my-3 text-center" id="titleTdAboonement">
  396.                                                     <h5> {{ translate("vous souhaitez proceder a la mise en relation ?" ,lang,"","M") | raw }}</h5>
  397.                                                 </div>
  398.                                                 <div class="mt-4">
  399.                                                     <form action="/panier/ajoute-panier" method="POST" id="formRadioMiseEnRelation">
  400.                                                         <div class="col-12 mb-3">
  401.                                                             <div class="form-check">
  402.                                                                 <label class="contai">
  403.                                                                     {# 50€ HT #}
  404.                                                                     {{ translate("mise en relation unitaire" ,lang,"","M") | raw }} : {{ tarif('tarif_MER_CV_repreneur_fusacq',codePays) }}€ {{ translate("HT",lang,"") | upper }}*
  405.                                                                     <input type="radio" name="option_payement" value="commande_unitaire" checked>
  406.                                                                     <span class="checkma"></span>
  407.                                                                 </label>
  408.                                                             </div>
  409.                                                             <div class="mt-4 mb-3">
  410.                                                                 <strong> {{ translate("forfaits",lang,"","M") |capitalize| raw }}</strong></div>
  411.                                                             <!---  abonnements mensuel -->
  412.                                                             <div class="form-check">
  413.                                                                 <label class="contai">
  414.                                                                     {# 150€ HT #}
  415.                                                                     {{ translate("forfait %%nb_relation_mer_offre_1%% mises en relation :" ,lang,"","M") | raw }} {{ tarif('tarif_pack_mer_5_fusacq',codePays) }}€ {{ translate("HT",lang,"") |  upper }}*
  416.                                                                     <input type="radio" name="option_payement" value="pack5">
  417.                                                                     <span class="checkma"></span>
  418.                                                                 </label>
  419.                                                             </div>
  420.                                                             <div class="form-check">
  421.                                                                 <label class="contai">
  422.                                                                     {# 235€ HT #}
  423.                                                                     {{ translate("forfait %%nb_relation_mer_offre_2%% mises en relation :" ,lang,"","M") | raw }} {{ tarif('tarif_pack_mer_10_fusacq',codePays) }}€ {{ translate("HT",lang,"") | upper }}*
  424.                                                                     <input type="radio" name="option_payement" value="pack10">
  425.                                                                     <span class="checkma"></span>
  426.                                                                 </label>
  427.                                                             </div>
  428.                                                             <div class="form-check">
  429.                                                                 <label class="contai">
  430.                                                                     {# 325€ HT #}
  431.                                                                     {{ translate("forfait %%nb_relation_mer_offre_3%% mises en relation :" ,lang,"","M") | raw }} {{ tarif('tarif_pack_mer_20_fusacq',codePays) }}€ {{ translate("HT",lang,"") | upper }}*
  432.                                                                     <input type="radio" name="option_payement" value="pack20">
  433.                                                                     <span class="checkma"></span>
  434.                                                                 </label>
  435.                                                             </div>
  436.                                                             <!---  abonnements mensuel -->
  437.                                                             <!---  abonnements annuels -->
  438.                                                             <div class="mt-4 mb-3">
  439.                                                                 <strong>  {{ translate("abonnements annuels",lang,"","M") |capitalize| raw }}</strong>
  440.                                                             </div>
  441.                                                             <div class="form-check">
  442.                                                                 <label class="contai">
  443.                                                                     {# 695€ HT #}
  444.                                                                     {{ translate("jusqu’à %%nb_relation_mer_offre_abo_annuel_1%% MER /mois :" ,lang,"","M") | raw }} {{ tarif('tarif_abo_10_MER_mois_fusacq',codePays) }}€ {{ translate("HT",lang,"") | upper }}*
  445.                                                                     <input type="radio" name="option_payement" value="abo_10_par_mois">
  446.                                                                     <span class="checkma"></span>
  447.                                                                 </label>
  448.                                                             </div>
  449.                                                             <div class="form-check">
  450.                                                                 <label class="contai">
  451.                                                                     {# 945€ HT #}
  452.                                                                     {{ translate("jusqu’à %%nb_relation_mer_offre_abo_annuel_2%% MER /mois :" ,lang,"","M") | raw }} {{ tarif('tarif_abo_20_MER_mois_fusacq',codePays) }}€ {{ translate("HT",lang,"") | upper }}*
  453.                                                                     <input type="radio" name="option_payement" value="abo_20_par_mois">
  454.                                                                     <span class="checkma"></span>
  455.                                                                 </label>
  456.                                                             </div>
  457.                                                             <div class="form-check">
  458.                                                                 <label class="contai">
  459.                                                                     {# 1195€ HT #}
  460.                                                                     {{ translate("jusqu’à %%nb_relation_mer_offre_abo_annuel_3%% MER /mois :" ,lang,"","M") | raw }} {{ tarif('tarif_abo_30_MER_mois_fusacq',codePays) }}€ {{ translate("HT",lang,"") | upper }}*
  461.                                                                     <input type="radio" name="option_payement" value="abo_30_par_mois">
  462.                                                                     <span class="checkma"></span>
  463.                                                                 </label>
  464.                                                             </div>
  465.                                                             <!---  abonnements annuels -->
  466.                                                         </div>
  467.                                                         <input type="hidden" id="id_annonce" name="id_annonce" value="{{cvRepreneur.idRepreneur}}">
  468.                                                         <input type="hidden" id="type" name="type" value="annonce_R">
  469.                                                         <div class="my-3 text-center">
  470.                                                             {% if app.user is not null %}                                                           
  471.                                                                  <button type="submit" class="button-rond" role="button" aria-pressed="true">{{ translate("commander" ,lang,"","M") | raw }}</button>
  472.                                                             {% else %}
  473.                                                                 <a class="button-rond" role="button" aria-pressed="true" href="#" onclick="afficheAlert()">
  474.                                                                        {{ translate("commander" ,lang,"","M") | raw }}
  475.                                                                   </a>
  476.                                                             {% endif %}
  477.                                                         </div>
  478.                                                     </form>
  479.                                                     <div>
  480.                                                         <p>
  481.                                                             <small>
  482.                                                                 *  : {{ translate("sur une durée de 1 an utilisable également pour les annonces FUSACQ. S'il vous reste des mises en relation, elles pourront être créditées sur un nouveau forfait souscrit avant la date d'expiration.",lang,"","M") |capitalize| raw }}</small>
  483.                                                         </p>
  484.                                                     </div>
  485.                                                 </div>
  486.                                             </div>
  487.                                         {% endif %}
  488.                                     </div>
  489.                                 </div>
  490.                             </div>
  491.                             {% endif %}
  492.                             <div class="col-12 col-sm-10 mt-3 mb-3 offset-sm-1">
  493.                                 <div class="col-12">
  494.                                     <h5 class="gris_666">{{ translate("son profil / parcours" ,lang,"","M") | raw }}</h5>
  495.                                 </div>
  496.                                 <table class="table table-striped table-bordered">
  497.                                     <colgroup>
  498.                                         <col width="35%">
  499.                                         <col width="65%">
  500.                                     </colgroup>
  501.                                     <tbody>
  502.                                         <tr>
  503.                                             <td>{{ translate("il habite" ,lang,"","M") |capitalize| raw }} :</td>
  504.                                             <td>
  505.                                                 {% if cvRepreneur.ville|default %}
  506.                                                     {{ cvRepreneur.ville }}
  507.                                                 {% endif %}
  508.                                                 {% if cvRepreneur.idPays|default %},&nbsp;&nbsp;{{  cvRepreneur.idPays|nomPays}}{% endif %}
  509.                                             </td>
  510.                                         </tr>
  511.                                         <tr>
  512.                                             <td>{{ translate("age" ,lang,"","M") |capitalize| raw }} :</td>
  513.                                             <td>
  514.                                                 {{ cvRepreneur.age }} {{ translate("ans" ,lang,"") | raw }}
  515.                                             </td>
  516.                                         </tr>
  517.                                         <tr>
  518.                                             <td>{{ translate("formation" ,lang,"","M") |capitalize| raw }} :</td>
  519.                                             <td>{{ cvRepreneur.formation  |raw|identify_word(mot_cle_recherche)|nl2br }}</td>
  520.                                         </tr>
  521.                                         <tr>
  522.                                             <td class="oneline"> {{ translate("parcours professionnel" ,lang,"","M") |capitalize| raw }} :</td>
  523.                                             <td>{{ cvRepreneur.parcoursProfessionnel |raw|identify_word(mot_cle_recherche)|nl2br }}</td>
  524.                                         </tr>
  525.                                         <tr>
  526.                                             <td>{{ translate("competences" ,lang,"","M") |capitalize| raw }} :</td>
  527.                                             <td>{{ cvRepreneur.competences |raw|identify_word(mot_cle_recherche)|nl2br }}</td>
  528.                                         </tr>
  529.                                     </tbody>
  530.                                 </table>
  531.                             </div>
  532.                             <div class="col-12 col-lg-10 offset-lg-1 mb-3">
  533.                                 <div class="col-12"><h5 class="gris_666">{{ translate("sa recherche" ,lang,"","M") |capitalize| raw }}</h5></div>
  534.                                 <table class="table table-striped table-bordered">
  535.                                     <colgroup>
  536.                                         <col width="35%">
  537.                                         <col width="65%">
  538.                                     </colgroup>
  539.                                     <tbody>
  540.                                         <tr>
  541.                                             <td class="oneline"> {{ translate("titre societe recherchee" ,lang,"","M") |capitalize| raw }} :</td>
  542.                                             <td>{{ cvRepreneur.titreSocieteRecherchee |raw|identify_word(mot_cle_recherche)|nl2br }} </td>
  543.                                         </tr>
  544.                                         <tr>
  545.                                             {% set p = "" %}
  546.                                             {% if ( cvRepreneur.secteurActiviteRecherche|length > 1 ) %}
  547.                                                 {% set p = "p" %}
  548.                                             {% endif %}
  549.                                             <td class="oneline" >{{ translate("$$activite recherchee$${p|activites recherchees}" ,lang,"","",p) |capitalize| raw }} :</td>
  550.                                             <td>
  551.                                                 {% for   k, secteur   in cvRepreneur.secteurActiviteRecherche %}
  552.                                                     {{ secteur['nomSecteurActivite'] }}
  553.                                                     {% if cvRepreneur.secteurActiviteRecherche|length > 1 %}
  554.                                                         {% if k <  cvRepreneur.secteurActiviteRecherche|length -2 %}  , {% endif %}
  555.                                                         {% if k ==  cvRepreneur.secteurActiviteRecherche|length -2 %}  et {% endif %}
  556.                                                     {% endif %}
  557.                                                 {% endfor %}
  558.                                             </td>
  559.                                         </tr>
  560.                                         <tr>
  561.                                             <td>{{ translate("mots clés" ,lang,"","M") |capitalize| raw }} :</td>
  562.                                             <td>{{ cvRepreneur.motsClesActivite |raw|identify_word(mot_cle_recherche)|nl2br }}</td>
  563.                                         </tr>
  564.                                         <tr>
  565.                                             <td class="oneline">{{ translate("description societe recherchee" ,lang,"","M") |capitalize| raw }} :</td>
  566.                                             <td>{{ cvRepreneur.descriptionSocieteRecherchee|raw|identify_word(mot_cle_recherche)|nl2br }}</td>
  567.                                         </tr>
  568.                                         <tr>
  569.                                             {% set p = "" %}
  570.                                             {% if ( cvRepreneur.idNomLocalisationsRecherchees|length > 1 ) %}
  571.                                                 {% set p = "p" %}
  572.                                             {% endif %}
  573.                                             <td class="oneline" >{{ translate('$$localisation recherchee$${p|localisations recherchees}',lang,'','',p) |capitalize| raw }} :</td>
  574.                                             <td> {% for     key , localisation  in cvRepreneur.idNomLocalisationsRecherchees %}
  575.                                                 {{ localisation["nom_localisation"] }} ({{ localisation["id_localisation"] | split('_') | last }})
  576.                                                 {% set nbLocalisations =  cvRepreneur.idNomLocalisationsRecherchees|length %}
  577.                                                 {% if nbLocalisations > 1 %}
  578.                                                     {% if  key < nbLocalisations-1 %} , {% endif %}
  579.                                                 {% endif %}
  580.                                                 {% endfor %}</td>
  581.                                             </tr>
  582.                                             <tr>
  583.                                                 <td>{{ translate("valorisation recherchée" ,lang,"","M") |capitalize| raw }} :</td>
  584.                                                 <td>De {{ cvRepreneur.valeurMinEntreprise|replace({'.0000':  "k"}) }}€ à {{ cvRepreneur.valeurMaxEntreprise|replace({'.0000':  "k"}) }}€</td>
  585.                                             </tr>
  586.                                             <tr>
  587.                                                 <td class="oneline">{{ translate("montant apport personnel" ,lang,"","M") |capitalize| raw }} :</td>
  588.                                                 <td>{{ cvRepreneur.montantApport  |replace({'.0000':  "k"}) }}€</td>
  589.                                             </tr>
  590.                                             <tr>
  591.                                                 <td>{{ translate("dans sa démarche, le repreneur est ouvert à" ,lang,"","M") |capitalize| raw }} :</td>
  592.                                                 <td>
  593.                                                     {%  set demarches = cvRepreneur.demarche|split(',')  %}
  594.                                                     {% for  d  in demarches %}
  595.                                                         {{ demarcheList[d] }}
  596.                                                         </br>
  597.                                                     {% endfor %}
  598.                                                 </td>
  599.                                             </tr>
  600.                                         </tbody>
  601.                                     </table>
  602.                                 </div>
  603.                                 <div class="col-12 my-5">
  604.                                     <div class="row">
  605.                                         <div class="form-group col-6 text-center">
  606.                                             <span class="italic_bold">
  607.                                                 {% set p = "" %}
  608.                                                 {% if ( cvRepreneur.secteurActiviteRecherche|length > 1 ) %}
  609.                                                     {% set p = "p" %}
  610.                                                 {% endif %}
  611.                                                 {{ translate("voir les repreneurs qui recherchent dans $$le secteur$${p|les secteurs}" ,lang,"","M",p) | raw }}
  612.                                             </span>
  613.                                             <br>
  614.                                             {% for     key , secteur  in cvRepreneur.secteurActiviteRecherche %}
  615.                                                 {% set
  616.                                                 lienSecteurActivite = path('annuaires_repreneurs_recherche' ,{'codePays':codePaysWithUnderScore  }) %}
  617.                                                 {% set nbSeparator = secteur['idSecteurActivite']| length %}
  618.                                                 {% if nbSeparator == 1 %}{# level 1 #}
  619.                                                     {% set   lienSecteurActivite = lienSecteurActivite ~'?id_secteur_activite_recherche_1='~ secteur['idSecteurActivite']|slice(0,1) %}
  620.                                                 {% endif %}
  621.                                                 {% if nbSeparator == 3 %} {# level 1 + level 2 #}
  622.                                                     {% set   lienSecteurActivite = lienSecteurActivite ~'?id_secteur_activite_recherche_1='~ secteur['idSecteurActivite']|slice(0,1) %}
  623.                                                     {% set   lienSecteurActivite = lienSecteurActivite ~'&id_secteur_activite_recherche_2='~ secteur['idSecteurActivite']|slice(0, 3) %}
  624.                                                 {% endif %}
  625.                                                 {% if nbSeparator == 5 %}  {# level 1 + level 2  + level 3 #}
  626.                                                     {% set   lienSecteurActivite = lienSecteurActivite ~'?id_secteur_activite_recherche_1='~ secteur['idSecteurActivite']|slice(0,1) %}
  627.                                                     {% set   lienSecteurActivite = lienSecteurActivite ~'&id_secteur_activite_recherche_2='~ secteur['idSecteurActivite'] |slice(0, 3) %}
  628.                                                     {% set   lienSecteurActivite = lienSecteurActivite ~'&id_secteur_activite_recherche_3='~ secteur['idSecteurActivite'] |slice(0,5) %}
  629.                                                 {% endif %}
  630.                                                 <a href="{{ lienSecteurActivite }}"
  631.                                                    class="btn btn-light mb-1"
  632.                                                    data-id-secteur="{{ secteur['idSecteurActivite'] }}"
  633.                                                    alt="">{{ secteur['nomSecteurActivite'] }}
  634.                                                 </a>
  635.                                             {% endfor %}
  636.                                         </div>
  637.                                         <div class="form-group col-6 text-center">
  638.                                             <span class="italic_bold">
  639.                                                 {% set p = "" %}
  640.                                                 {% if ( cvRepreneur.idNomLocalisationsRecherchees|length > 1 ) %}
  641.                                                     {% set p = "p" %}
  642.                                                 {% endif %}
  643.                                                 {{ translate("voir les repreneurs qui recherchent $$dans la region$${p|en regions}" ,lang,"","M",p) | raw }}
  644.                                             </span>
  645.                                             <br>
  646.                                             {% for     key , localisation  in cvRepreneur.idNomLocalisationsRecherchees %}
  647.                                                 {% set
  648.                                                 lienLocalisation = path('annuaires_repreneurs_recherche' ,{'codePays':codePaysWithUnderScore  }) %}
  649.                                                 {% set nbSeparator = localisation['id_localisation']|split('_')|length-1 %}
  650.                                                 {% if nbSeparator == 0 %}{# level 1 #}
  651.                                                     {% set   lienLocalisation = lienLocalisation ~'?id_pays='~ localisation['id_localisation']|split('_')[0] %}
  652.                                                 {% endif %}
  653.                                                 {% if nbSeparator == 1 %}{# level 1 #}
  654.                                                     {% set   lienLocalisation = lienLocalisation ~'?id_pays='~ localisation['id_localisation']|split('_')[0] %}
  655.                                                     {% set   lienLocalisation = lienLocalisation ~'&id_region='~ localisation['id_localisation']|split('_')[0] ~'_'~ localisation['id_localisation']|split('_')[1] %}
  656.                                                 {% endif %}
  657.                                                 {% if nbSeparator == 2 %}{# level 1 #}
  658.                                                     {% set   lienLocalisation = lienLocalisation ~'?id_pays='~ localisation['id_localisation']|split('_')[0] %}
  659.                                                     {% set   lienLocalisation = lienLocalisation ~'&id_region='~ localisation['id_localisation']|split('_')[0] ~'_'~ localisation['id_localisation']|split('_')[1] %}
  660.                                                     {% set   lienLocalisation = lienLocalisation ~'&id_region='~ localisation['id_localisation']|split('_')[0] ~'_'~ localisation['id_localisation']|split('_')[1]~'_'~ localisation['id_localisation']|split('_')[2] %}
  661.                                                 {% endif %}
  662.                                                 <a href="{{ lienLocalisation }}"
  663.                                                    class="btn btn-light mb-1"
  664.                                                    data-id-localisation="{{ localisation['id_localisation'] }}"
  665.                                                    alt="">{{ localisation['nom_localisation'] }}</a>
  666.                                             {% endfor %}
  667.                                         </div>
  668.                                     </div>
  669.                                 </div>
  670.                                 {# repreneur precedant/suivant/retour à la liste #}
  671.                                 {% include 'annuaires/repreneurs/includes/navigation.html.twig' %}
  672.                             </div>
  673.                         </div>
  674.                         <!--FIN COLONNE DROITE -->
  675.                     </div> <!--FIN ROW CONTAINER -->
  676.                 </div>  <!--FIN CONTAINER -->
  677.             </div></div>
  678.         {% endblock %}
  679. {% block javascripts %}
  680. {{ parent() }}
  681. <script type="module"   src="{{ asset('build/js/annuaires/repreneurs_cv_details.js') }}"></script>
  682. <script>
  683.     sessionStorage.removeItem("form"); // desactive le bug du modal login
  684.     function afficheAlert(){
  685.         alert("Merci de vous authentifier (ou de vous créer un compte) pour pouvoir commander.");
  686.     }
  687. </script>
  688. {% endblock %}