templates/display/bien.html.twig line 1

Open in your IDE?
  1. {% extends 'base.html.twig' %}
  2. {% block content %}
  3.     <!-- {{ '_info_date'|translate('2') }} -->
  4.     <div class="features-title">
  5.         <div class="container">
  6.             <div class="row z-10 position-relative">
  7.                 <div class="col-lg-12 h2 font-weight-normal">{{ bien.title }}</div>
  8.             </div>
  9.         </div>
  10.     </div>
  11.     <section class="fiche-descriptive _content col-xs-text-center">
  12.         <div class="container">
  13.             {% if error is defined %}
  14.                 {% include 'default/error.html.twig' %}
  15.                 {% if error.alert_class == 'alert-success' and not loggedin %}
  16.                     <div class="alert alert-success" role="alert">
  17.                         <button type="button" class="close" data-dismiss="alert" aria-hidden="true">&times;</button>
  18.                         <a href="{{ url('inscription_user_display') }}"><strong>En attendant, pourquoi ne pas nous rejoindre ?</strong></a>
  19.                     </div>
  20.                 {% endif %}
  21.             {% endif %}
  22.             <script type="application/ld+json">
  23.             {
  24.                 "@context": "http://schema.org",
  25.                 "@type": "BreadcrumbList",
  26.                 "itemListElement":
  27.                 [
  28.                 {
  29.                     "@type": "ListItem",
  30.                     "position": 1,
  31.                     "item":
  32.                     {
  33.                         "@id": "{{ breadcrumb.url_commerce_type }}",
  34.                         "name": "{{ breadcrumb.commerce_type }}  à vendre"
  35.                     }
  36.                 },
  37.                 {
  38.                     "@type": "ListItem",
  39.                     "position": 2,
  40.                     "item":
  41.                     {
  42.                         "@id": "{{ breadcrumb.url_both }}",
  43.                         "name": "{{ breadcrumb.commerce_type }} {{ breadcrumb.departement }}  à vendre"
  44.                     }
  45.                 }{% if breadcrumb.ville is defined %},{
  46.                     "@type": "ListItem",
  47.                     "position": 3,
  48.                     "item":
  49.                     {
  50.                         "@id": "{{ breadcrumb.url_ville }}",
  51.                         "name": "{{ breadcrumb.commerce_type }} {{ breadcrumb.ville }}  à vendre"
  52.                     }
  53.                 }{% endif %}
  54.                 ]}
  55.                 </script>
  56.                 <div class="row">
  57.                     <div class="col-lg-12">
  58.                         <ul class="list-unstyled list-inline _header">
  59.                             <li><a style="float: left" href="#"><img src="/images/icons/arrow-back-c.png" alt="Retourner Icon" class="icon-ui" onclick="history.back();"></a>
  60.                                 <h1 class="spec_title title-regular h3">{{ bien.title }}</h1>
  61.                                 <h2 style="font-weight:normal;text-transform:lowercase;font-size:1.2rem;" class="mt-3">
  62.                                     <a href="{{ breadcrumb.url_both }}">
  63.                                         <span class="fa fa-map-marker" style="font-size:100%;color:#aaa;"></span>
  64.                                         &nbsp;{{ breadcrumb.commerce_type }} à vendre {{ breadcrumb.departement }}
  65.                                     </a>
  66.                                     {% if breadcrumb.ville is defined %}
  67.                                         <span class="">
  68.                                             &nbsp;&nbsp; / &nbsp;&nbsp;
  69.                                         </span>
  70.                                         <a href="{{ breadcrumb.url_ville }}">
  71.                                             <span class="fa fa-map-marker" style="font-size:100%;color:#aaa;"></span>
  72.                                             &nbsp; {{ breadcrumb.commerce_type }} à vendre {{ breadcrumb.ville }}
  73.                                         </a>
  74.                                     {% endif %}
  75.                                     <span class="">
  76.                                         &nbsp;&nbsp; / &nbsp;&nbsp;
  77.                                     </span>
  78.                                     <a href="{{ breadcrumb.url_commerce_type }}">
  79.                                         <span class="fa fa-folder-o" style="font-size:100%;color:#aaa;"></span>
  80.                                         &nbsp;{{ breadcrumb.commerce_type }}  à vendre
  81.                                     </a>
  82.                                 </h2>
  83.                             </li>
  84.                         </ul>
  85.                     </div>
  86.                 </div>
  87.                 <hr>
  88.                 <div class="row d-flex align-items-start">
  89.                     <div class="col-lg-4 col-sm-4">
  90.                         <div class="illustration">
  91.                             {# <img src="{{ bien.picture1 }}" alt="photo-produit" class="photo-produit"> #}
  92.                             <img src="{{ bien.picture1 }}" alt="photo-produit" class="photo-produit">
  93.                             <img src="/images/icons/shooter.png" alt="icone-appareil-photo" class="icon-ui">
  94.                         </div>
  95.                         <hr>
  96.                         <ul class="social-sidebar">
  97.                             <h4 class="text-dark">Partager cette annonce</h4>
  98.                             <li>
  99.                                 <a href="http://www.facebook.com/sharer.php?u={{ app.request.uri }}" target="_blank" title="Partager sur Facebook">
  100.                                     <img src="/images/icons/facebook.png" alt="Facebook Icon" class="icon-ui">
  101.                                 </a>
  102.                             </li>
  103.                             <li>
  104.                                 <a href="https://twitter.com/share?url=http://www.bizenco.fr;text=Je vous invite
  105.                                 à tester l'outil bizenco pour les professionnels du fonds de commerce, rejoignez moi sur;" target="_blank" title="Partager sur twitter">
  106.                                 <img src="/images/icons/twitter.png" alt="Twitter Icon" class="icon-ui">
  107.                             </a>
  108.                         </li>
  109.                         <li>
  110.                             <a href="mailto:?Subject=Bonjour, je souhaite te montrer une annonce vue sur Bizenco&amp;" title="Partager par email">
  111.                                 <img src="/images/icons/email.png" alt="Email Icon" class="icon-ui">
  112.                             </a>
  113.                         </li>
  114.                     </ul>
  115.                 </div>
  116.                 <div class="col-lg-5 col-sm-5">
  117.                     <div class="informations_prix _content">
  118.                         <p>
  119.                             <label class="font-weight-bolder">{{ '_bien_price'|translate(bien.type_transaction) }} :</label> <span class="value">€ {{ bien.price }}</span>
  120.                         </p>
  121.                         {% if bien.price_fonds != 0 and bien.price_fonds != bien.price %}
  122.                             <p>
  123.                                 <label class="font-weight-bolder">{{ '_bien_price_fonds'|translate }} :</label> <span class="value">€ {{ bien.price_fonds }}</span>
  124.                             </p>
  125.                         {% endif %}
  126.                         {% if bien.price_murs != 0 %}
  127.                             <p>
  128.                                 <label class="font-weight-bolder">{{ '_bien_price_murs'|translate }} :</label> <span class="value">€ {{ bien.price_murs }}</span>
  129.                             </p>
  130.                         {% endif %}
  131.                         <p>
  132.                             <label class="font-weight-bolder">Ref Agent :</label> <span class="value">{{ bien.reference }}</span>
  133.                         </p>
  134.                         {% if bien.ca_ht != 0 %}
  135.                             <p>
  136.                                 <label class="font-weight-bolder">{{ '_bien_ca_ht'|translate }} :</label> <span class="value">€ {{ bien.ca_ht }}</span>
  137.                             </p>
  138.                             {%  endif %}
  139.                             {% if bien.price_com != 0 %}
  140.                                 <p>
  141.                                     <label class="font-weight-bolder">{{ '_bien_price_com'|translate(bien.type) }} :</label> <span class="value">€ {{ bien.price_com }}</span>
  142.                                 </p>
  143.                             {% endif %}
  144.                             {% if bien.ebe != 0 %}
  145.                                 <p>
  146.                                     <label class="font-weight-bolder">EBE :</label> <span class="value">€ {{ bien.ebe }}</span>
  147.                                 </p>
  148.                             {% endif %}
  149.                             {% if bien.profit != 0 %}
  150.                                 <p>
  151.                                     <label class="font-weight-bolder">EBE retraité :</label> <span class="value">€ {{ bien.profit }}</span>
  152.                                 </p>
  153.                             {% endif %}
  154.                             <p>
  155.                                 <label class="font-weight-bolder">{{ '_bien_rent'|translate }} :</label> <span class="value">€ {{ bien.rent_price }}</span>
  156.                             </p>
  157.                             <p class="text-center">
  158.                                 <button id="voir-coordonees-button" type="button" class="btn btn-success btn-flat" data-toggle="collapse" data-target="#coordonneesCollapser" aria-expanded="false" aria-controls="coordonneesCollapser">
  159.                                     Voir les coordonnées
  160.                                 </button>
  161.                             </p>
  162.                         </div>
  163.                     </div>
  164.                     <div class="col-lg-3 col-sm-3">
  165.                         {% if prev_search is defined and prev_search and prev_search|length %}
  166.                             <a href="{{ prev_search }}" title="Précédent"><i class="zmdi zmdi-caret-left-circle" style="font-size:3em; color: #47a; padding: 8px;"></i></a>
  167.                         {% endif %}
  168.                         {% if next_search is defined and next_search and next_search|length %}
  169.                             <a href="{{ next_search }}" title="Suivant"><i class="zmdi zmdi-caret-right-circle" style="font-size:3em; color: #47a; padding: 8px;"></i></a>
  170.                         {% endif %}
  171.                         {% if (next_search is defined and next_search and next_search|length) or (prev_search is defined and prev_search|length) %}
  172.                             <hr style="border-color: #c0392b; margin: 0px;">
  173.                         {% endif %}
  174.                         <ul class="misc-options col-xs-text-center">
  175.                             <li class="visible-lg">
  176.                                 <a href="?mode=print" id="print-bien" target="_blank" rel="nofollow">
  177.                                     <img src="/images/icons/printer-a.png" alt="Print Page" class="icon-ui">
  178.                                     Imprimer
  179.                                 </a>
  180.                             </li>
  181.                             <li>
  182.                                 <br class="visible-xs">
  183.                                 {% if in_comparer == true %}
  184.                                     <span><img src="/images/icons/compare-c.png" alt="ajoutee au comparateur" class="icon-ui">Affaire ajoutée au comparateur</span>
  185.                                 {% endif %}
  186.                                 {% if in_comparer == false %}
  187.                                     <a href="#" id="comparer-bien"><img src="/images/icons/compare-c.png" alt="ajouter au comparateur" class="icon-ui">Ajouter au comparateur</a>
  188.                                 {% endif %}
  189.                             </li>
  190.                         </ul>
  191.                     </div>
  192.                 </div>
  193.             </div>
  194.             <!-- =================== Quick Contact Form =================== -->
  195.             <div class="quick-contact-board collapse" id="coordonneesCollapser">
  196.                 <div class="container">
  197.                     <form role="form" method="post" action="" class="contact-form row">
  198.                         <div class="col-lg-4 col-sm-12 col-md-4">
  199.                             <div class="les-coordonnees">
  200.                                 <address>
  201.                                     <p><b>{{ agent_info.raison_sociale|default('') }}</b></p>
  202.                                     {% if agent_info.adresse|default('') %}
  203.                                         <p>{{ agent_info.adresse }} </p>
  204.                                     {% endif %}
  205.                                     {% if agent_info.tele_portable|default('') %}
  206.                                         <p><b>Téléphone portable</b> : {{ agent_info.tele_portable }} </p>
  207.                                     {% endif %}
  208.                                     {% if agent_info.tele_fixe|default('') %}
  209.                                         <p><b>Téléphone fixe</b> : {{ agent_info.tele_fixe }} </p>
  210.                                     {% endif %}
  211.                                     {% if agent_info.prenom|default('') or agent_info.nom|default('') %}
  212.                                         <p>Votre conseiller : {% if agent_info.prenom|default('') %}{{ agent_info.prenom }} {% endif %}{{ agent_info.nom|default('') }}</p>
  213.                                     {% endif %}
  214.                                 </address>
  215.                             </div>
  216.                         </div>
  217.                         <div class="col-lg-8 col-sm-12 col-md-8">
  218.                             <div class="row">
  219.                                 <div class="col-lg-4">
  220.                                     <div class="form-group">
  221.                                         <label for="">Nom et prénom</label>
  222.                                         <input type="text" name="name" placeholder="Votre nom" class="form-control input-box" value="{{ user_info.name|default('') }}" required>
  223.                                     </div>
  224.                                 </div>
  225.                                 <div class="col-lg-4">
  226.                                     <div class="form-group">
  227.                                         <label for="">Email</label>
  228.                                         <input type="email" name="email" placeholder="Votre adresse Email" class="form-control input-box" value="{{ user_info.email|default('') }}" required>
  229.                                     </div>
  230.                                 </div>
  231.                                 <div class="col-lg-4">
  232.                                     <div class="form-group">
  233.                                         <label for="">Téléphone</label>
  234.                                         <input type="text" name="telephone" placeholder="Téléphone" class="form-control input-box" value="{{ user_info.telephone|default('') }}" required>
  235.                                     </div>
  236.                                 </div>
  237.                             </div>
  238.                             <div class="form-group">
  239.                                 <label for="">Message</label>
  240.                                 <textarea name="message" class="form-control textarea-box" placeholder="Ecrivez ici votre Message">{{ user_info.message|default('') }}</textarea>
  241.                                 <br>
  242.                                 {% include 'default/captcha.html.twig' %}
  243.                                 <br>
  244.                                 <button class="btn btn-sm btn-block btn-info" type="submit"><span class="fa fa-paper-plane"></span>&nbsp; Envoyer le message</button>
  245.                             </div>
  246.                         </div>
  247.                     </form>
  248.                 </div>
  249.             </div>
  250.             <!-- =================== End of Quick Contact Form =================== -->
  251.             <div class="informations-detaillees">
  252.                 <div class="container">
  253.                     <div class="row">
  254.                         <div class="col-lg-12">
  255.                             <h2 class="spec_title title-regular">{{ '_bien_description'|translate(bien.type_transaction) }}</h2>
  256.                             <p>{{ bien.description }}</p>
  257.                             <hr>
  258.                             <div class="row">
  259.                                 <div class="col-lg-6 col-sm-6">
  260.                                     <ul class="list-unstyled">
  261.                                         <h3 class="spec_title title-regular mb-2">Description</h3>
  262.                                         <span style="display: none" id="bien-id" class="value">{{ bien.biz_id }}</span>
  263.                                         <li>
  264.                                             <label class="font-weight-bolder">{{ '_bien_date'|translate }} :</label> <span class="value">{{ bien.date }}</span>
  265.                                         </li>
  266.                                         {% if bien.geo_situation != 'N/A' %}
  267.                                             <li>
  268.                                                 <label class="font-weight-bolder">Situation géographique du bien :</label> <span class="value">{{ bien.geo_situation }}</span>
  269.                                             </li>
  270.                                         {% endif %}
  271.                                         {% if bien.conditions != 'N/A' %}
  272.                                             <li>
  273.                                                 <label class="font-weight-bolder">Conditions d’exploitation :</label> <span class="value">{{ bien.conditions }}</span>
  274.                                             </li>
  275.                                         {% endif %}
  276.                                         {% if bien.motif_cession != 'N/A' %}
  277.                                             <li>
  278.                                                 <label class="font-weight-bolder">{{ '_bien_motif'|translate(bien.type_transaction) }} :</label> <span class="value">{{ bien.motif_cession }}</span>
  279.                                             </li>
  280.                                         {% endif %}
  281.                                         {% if bien.horaire_ouverture != 'N/A' %}
  282.                                             <li>
  283.                                                 <label class="font-weight-bolder">Horaires d'ouverture :</label> <span class="value">{{ bien.horaire_ouverture }}</span>
  284.                                             </li>
  285.                                         {% endif %}
  286.                                         {% if bien.fermeture_hebdo != 'N/A' %}
  287.                                             <li>
  288.                                                 <label class="font-weight-bolder">Fermeture hebdo :</label> <span class="value">{{ bien.fermeture_hebdo }}</span>
  289.                                             </li>
  290.                                         {% endif %}
  291.                                         {% if bien.fermeture_an != 'N/A' %}
  292.                                             <li>
  293.                                                 <label class="font-weight-bolder">Fermeture an :</label> <span class="value">{{ bien.fermeture_an }}</span>
  294.                                             </li>
  295.                                         {% endif %}
  296.                                     </ul>
  297.                                 </div>
  298.                                 {% if bien.designation != 'N/A' or  bien.superficie != 'N/A' or bien.stationnement != 'N/A' or bien.appartement != 'N/A' %}
  299.                                     <div class="col-lg-6 col-sm-6">
  300.                                         <ul class="list-unstyled">
  301.                                             <h3 class="spec_title title-regular mb-2">Description des locaux</h3>
  302.                                             {% if bien.designation != 'N/A' %}
  303.                                                 <li>
  304.                                                     <label class="font-weight-bolder">Description des locaux :</label> <span class="value">{{ bien.designation }}</span>
  305.                                                 </li>
  306.                                             {% endif %}
  307.                                             {% if bien.superficie != 'N/A' %}
  308.                                                 <li>
  309.                                                     <label class="font-weight-bolder">Superficie des locaux :</label> <span class="value">{{ bien.superficie }} m2</span>
  310.                                                 </li>
  311.                                             {% endif %}
  312.                                             <li>
  313.                                                 <label class="font-weight-bolder">{{ '_bien_logement'|translate(bien.type_transaction) }} :</label> <span class="value">{{ bien.logement }}</span>
  314.                                             </li>
  315.                                             {% if bien.stationnement != 'N/A' %}
  316.                                                 <li>
  317.                                                     <label class="font-weight-bolder">Stationnement :</label> <span class="value">{{ bien.stationnement }}</span>
  318.                                                 </li>
  319.                                             {% endif %}
  320.                                             {% if bien.appartement != 'N/A' %}
  321.                                                 <li>
  322.                                                     <label class="font-weight-bolder">Description du logement :</label> <span class="value">{{ bien.appartement }}</span>
  323.                                                 </li>
  324.                                             {% endif %}
  325.                                         </ul>
  326.                                     </div>
  327.                                 {% endif %}
  328.                                 {% if bien.achat_marchandise != 'N/A'  and bien.achat_marchandise != 0 or bien.detail_bail != 'N/A' or bien.salaire != 0
  329.                                 or bien.salaire_dirigeant != 0 or bien.ht_m2 != 'N/A' or bien.materiel != 'N/A'
  330.                                 %}
  331.                                 <div class="col-lg-6 col-sm-6">
  332.                                     <ul class="list-unstyled">
  333.                                         <h3 class="spec_title title-regular mb-2">En quelques chiffres</h3>
  334.                                         {% if bien.detail_bail != 'N/A' %}
  335.                                             <li>
  336.                                                 <label class="font-weight-bolder">{{ '_bien_bail'|translate(bien.type) }} :</label> <span class="value">{{ bien.detail_bail }}</span>
  337.                                             </li>
  338.                                         {% endif %}
  339.                                         {% if bien.salaire != 0 %}
  340.                                             <li>
  341.                                                 <label class="font-weight-bolder">Charges du personnel :</label> <span class="value">{{ bien.salaire }} €</span>
  342.                                             </li>
  343.                                         {% endif %}
  344.                                         {% if bien.salaire_dirigeant != 0 %}
  345.                                             <li>
  346.                                                 <label class="font-weight-bolder">Salaire du dirigeant :</label> <span class="value">{{ bien.salaire_dirigeant }} €</span>
  347.                                             </li>
  348.                                         {% endif %}
  349.                                         {% if bien.ht_m2 != 'N/A' %}
  350.                                             <li>
  351.                                                 <label class="font-weight-bolder">Loyer annuel HT et HC / m2 :</label> <span class="value">{{ bien.ht_m2|number_format(2, ',', '') }} €</span>
  352.                                             </li>
  353.                                         {% endif %}
  354.                                         {% if bien.achat_marchandise != 'N/A' and bien.achat_marchandise != 0 %}
  355.                                             <li>
  356.                                                 <label class="font-weight-bolder">Achat de marchandises :</label> <span class="value">{{ bien.achat_marchandise }} €</span>
  357.                                             </li>
  358.                                         {% endif %}
  359.                                         {% if bien.materiel != 'N/A' %}
  360.                                             <li>
  361.                                                 <label class="font-weight-bolder">Etat du matériel :</label> <span class="value">{{ bien.materiel }}</span>
  362.                                             </li>
  363.                                         {% endif %}
  364.                                     </ul>
  365.                                 </div>
  366.                             {% endif %}
  367.                         </div>
  368.                     </div>
  369.                 </div>
  370.             </div>
  371.         </div>
  372.         <script type="application/ld+json">
  373.         {
  374.             "@context" : "http://schema.org",
  375.             "@type" : "Product",
  376.             "name" : "{{ bien.title }}","image" : "{{ url('homepage') ~ bien.picture1 }}",
  377.             "category" : "{{ bien.commerce_type_ld }}","description" : "{{ bien.description }}",
  378.             "url" : "{{ bien.url }}","productid" : "{{ bien.biz_id }}",
  379.             "offers" : {
  380.                 "@type" : "Offer",
  381.                 "price":{{ bien.price }},
  382.                 "priceCurrency":"USD",
  383.                 "availableAtOrFrom" : {
  384.                     "@type":"Place","address":{"@type":"PostalAddress","addressLocality": "{% if bien.found_communes and bien.found_communes != 'N/A' %}{{ bien.found_communes }},{% endif %}{{ bien.departement_ld }}","addressRegion": "{{ bien.region_ld }}"}}
  385.                 }
  386.                 {#"offeredBy" : {"@type":"Person","name":"Jason Davis","description":"Integrity and Business Experince","url":"https://www.bizbuysell.com/business-broker/jason-davis/ewm-realty-international-sales-office/23844/","jobTitle":"Business Broker","image":"https://images.bizbuysell.com/shared/brokerdirectory/images/30905/pf_prs_BizBuy.jpg","address":[{"@type":"PostalAddress","addressLocality":"Miami-Dade County","addressRegion":"Florida"},{"@type":"PostalAddress","addressLocality":"Broward County","addressRegion":"Florida"},{"@type":"PostalAddress","addressLocality":"Palm Beach County","addressRegion":"Florida"},{"@type":"PostalAddress","addressLocality":"Monroe County","addressRegion":"Florida"},{"@type":"PostalAddress","addressLocality":"Seminole County","addressRegion":"Florida"}],"worksFor":{"@type":"Organization","name":"EWM Realty International Sales Office.`","description":"","logo":"https://images.bizbuysell.com/shared/brokerdirectory/images/30905/lg_cmp_EWMLogoOnlyOnSolidBackground-LightGrey-CMYK.jpg"}}#}
  387.             }
  388.         }
  389.         </script>
  390.         <script type="application/ld+json">
  391.         {
  392.             "@context": "http://schema.org",
  393.             "@type": "LocalBusiness",
  394.             "address":{"@type":"PostalAddress","addressLocality": "{% if bien.found_communes and bien.found_communes != 'N/A' %}{{ bien.found_communes }},{% endif %}{{ bien.departement_ld }}","addressRegion": "{{ bien.region_ld }}"},
  395.             "name": "{{ bien.title }}",
  396.             "description": "{{ bien.description }}",
  397.             "url" : "{{ bien.url }}",
  398.             "image" : "{{ url('homepage') ~ bien.picture1 }}"
  399.         }
  400.         </script>
  401.         {% if last_search_results is defined and last_search_results is not empty and last_search_results|length > 3 %}
  402.             <div class="votre-selection py-5">
  403.                 <div class="container">
  404.                     <div class="row">
  405.                         <div class="col-lg-12">
  406.                             <h4 class="spec_title title-regular owlSlider">Résultats similaires</h4>
  407.                             <ul class="list-inline owl-carousel" id="owlSliderRes">
  408.                                 {% for item in last_search_results %}
  409.                                     {% include "display/similar_item.html.twig" %}
  410.                                 {% endfor %}
  411.                             </ul>
  412.                         </div>
  413.                     </div>
  414.                 </div>
  415.             </div>
  416.         {% endif %}
  417.         {% if history is not empty %}
  418.             <div class="votre-selection">
  419.                 <div class="container">
  420.                     <div class="row">
  421.                         <div class="col-lg-12">
  422.                             <h4 class="spec_title title-regular">Votre sélection</h4>
  423.                             <ul class="list-inline owl-carousel" id="owlSlider">
  424.                                 {% for item in history %}
  425.                                     {% include "display/history_item.html.twig" %}
  426.                                 {% endfor %}
  427.                             </ul>
  428.                         </div>
  429.                     </div>
  430.                 </div>
  431.             </div>
  432.         {% endif %}
  433.     {% endblock %}