templates/pages/page.vente-details.html.twig line 1
{% extends 'base.html.twig' %}
{% block title %}{{ settings[0].siteName }} : {{ page.name }}{% endblock %}
{% block body %}
{% include '_includes/_breadcrumbs-ventes.html.twig' %}
<div class="container pt-5">
<div class="row d-flex justify-content-center mb-5">
<div class="col-lg-6 col-sm-12 text-center">
<h4 class="text-uppercase fw-bold color1">{{ page.title|raw }}</h4>
</p>
</div>
</div>
</div>
<div class="container mb-5">
<div class="row g-5">
<div class="col-lg-5 col-sm-12">
<img src="{{ asset('assets/img/ventes/' ~ vente.image ) }}" alt="{{ vente.title }}" class="img-fluid d-block mx-auto" style="max-width: 650px; width: 100%; object-fit: cover;">
<div class="bgcolor-1 text-center d-flex flex-column justify-content-center align-items-center" style="height: 200px;">
<h5 class="text-white fw-bold text-uppercase">{{ vente.interesseText|raw }}</h5>
<a href="{{ vente.contactButtonlink }}" class="button-ventes">{{ vente.contactButtontext }}</a>
</div>
</div>
<div class="col-lg-7 col-sm-12 py-3 px-4">
<h5 class="color1 text-uppercase fw-bold">{{ vente.title }}</h5>
<p class="color1">{{ vente.adresse|raw }}</p>
<div class="mt-5">
<h6 class="color1 fw-bold">Description</h6>
<div class="mb-5 text-small">
{{ vente.description|replace({'<div>': '', '</div>': '',})|raw }}
</div>
<div class="text-small">
<h6 class="color1 fw-bold">Vente</h6>
<span class="fw-bold">Jour de la mise en vente :</span> {{ vente.organizedAt|format_datetime('full', 'short', locale='fr') }}
<br>
{% set venteprix = (vente.prix)/100 %}
<span class="fw-bold">Mise à prix :</span> {{ venteprix|format_currency('EUR', {fraction_digit: 0}) }}
</div>
</div>
</div>
</div>
</div>
{# ################################################################ #}
{# Rendre administrable #}
{# Formulaire ? Calculs ? #}
{# ################################################################ #}
<div class="container-fluid bgcolor-1 py-5">
<div class="container">
<h5 class="text-white text-uppercase text-center">Evaluez le coût total de votre acquisition</h5>
<div class="row">
<div class="col-lg-6 col-sm-12 small">
<p>
<span class="text-white fw-bold">Montant de l'enchère en euros</span>
<br>
<input type="text" class="form-control" placeholder="Montant en euros">
</p>
<p>
<span class="text-white fw-bold">Frais de procédure de saisie immobilière *</span>
<br>
<input type="text" class="form-control" placeholder="Frais en euros">
</p>
<p>
<span class="text-white fw-bold">Droits d'enregistrement</span>
<br>
<input type="text" class="form-control" placeholder="Droits en euros">
</p>
<p class="text-xsmall color3">* Frais de procédure de saisie immobilière : coût moyen constaté</p>
</div>
<div class="col-lg-6 col-sm-12 small">
<p>
<span class="text-white fw-bold">Honoraires TTC cabinet Gérigny & Associés</span>
<br>
<input type="text" class="form-control" placeholder="Honoraires en euros">
</p>
<p>
<span class="text-white fw-bold">Emoluments</span>
<br>
<input type="text" class="form-control" placeholder="Emoluments en euros">
</p>
<p>
<span class="text-white fw-bold">Total TTC estimé de l'acquisition</span>
<br>
<input type="text" class="form-control" placeholder="Total TTC en euros">
</p>
</div>
</div>
</div>
</div>
<div class="container py-5">
<h5 class="text-uppercase color1 fw-bold text-center">Ces biens peuvent vous intéresser</h5>
<div class="row row-cols-1 row-cols-md-3 g-5 ventes mt-1">
{% for vente in ventes|slice(0,3) %}
<div class="col text-center ventes">
<div class="card h-100">
<img src="{{ asset('assets/img/ventes/' ~ vente.image ) }}" class="card-img-top img-fluid" alt="{{ vente.title }}">
<div class="card-body">
<p class="lead color1 fw-bold">{{ vente.title }}</p>
<p class="color1">
{{ vente.adresse }}<br>
</p>
<p class="color2 small">
{{ vente.organizedAt|format_datetime('full', 'short', locale='fr') }}<br>
{% set venteprix = (vente.prix)/100 %}
Mise à prix : {{ venteprix|format_currency('EUR', {fraction_digit: 0}) }}
</p>
<a href="{{ vente.buttonLink }}{{ vente.id }}" class="button">{{ vente.buttonText }}</a>
</div>
</div>
</div>
{% endfor %}
</div>
</div>
{% endblock %}