2022-01-26 18:42:48 +01:00
|
|
|
{# -*- mode: jinja-html -*- #}
|
|
|
|
{% extends 'base.html' %}
|
|
|
|
|
|
|
|
{% block app_content %}
|
|
|
|
<div class="container">
|
|
|
|
<h2>Fiche entreprise - {{ entreprise.nom }} ({{ entreprise.siret }})</h2>
|
|
|
|
|
2022-02-01 18:35:48 +01:00
|
|
|
<div class="entreprise">
|
|
|
|
<div>
|
2022-01-26 18:42:48 +01:00
|
|
|
SIRET : {{ entreprise.siret }}<br>
|
|
|
|
Nom : {{ entreprise.nom }}<br>
|
|
|
|
Adresse : {{ entreprise.adresse }}<br>
|
|
|
|
Code postal : {{ entreprise.codepostal }}<br>
|
|
|
|
Ville : {{ entreprise.ville }}<br>
|
|
|
|
Pays : {{ entreprise.pays }}
|
2022-02-01 18:35:48 +01:00
|
|
|
</div>
|
2022-01-26 18:42:48 +01:00
|
|
|
</div>
|
|
|
|
|
|
|
|
{% if contacts %}
|
|
|
|
<div>
|
|
|
|
{% for contact in contacts %}
|
|
|
|
<div>
|
2022-02-01 18:35:48 +01:00
|
|
|
<h3>Contact</h3>
|
|
|
|
<div class="contact">
|
2022-01-26 18:42:48 +01:00
|
|
|
Nom : {{ contact.nom }}<br>
|
|
|
|
Prénom : {{ contact.prenom }}<br>
|
2022-02-08 16:40:32 +01:00
|
|
|
{% if contact.telephone %}
|
2022-01-26 18:42:48 +01:00
|
|
|
Téléphone : {{ contact.telephone }}<br>
|
2022-02-08 16:40:32 +01:00
|
|
|
{% endif %}
|
|
|
|
{% if contact.mail %}
|
2022-01-26 18:42:48 +01:00
|
|
|
Mail : {{ contact.mail }}<br>
|
2022-02-08 16:40:32 +01:00
|
|
|
{% endif %}
|
2022-01-26 18:42:48 +01:00
|
|
|
{% if contact.poste %}
|
|
|
|
Poste : {{ contact.poste }}<br>
|
|
|
|
{% endif %}
|
|
|
|
{% if contact.service %}
|
|
|
|
Service : {{ contact.service }}<br>
|
|
|
|
{% endif %}
|
2022-02-01 18:35:48 +01:00
|
|
|
</div>
|
2022-01-26 18:42:48 +01:00
|
|
|
</div>
|
|
|
|
{% endfor %}
|
|
|
|
</div>
|
|
|
|
{% endif %}
|
|
|
|
|
|
|
|
<div>
|
2022-02-01 18:35:48 +01:00
|
|
|
<a class="btn btn-success" href="{{ url_for('entreprises.validate_entreprise', id=entreprise.id) }}">Valider</a>
|
2022-02-14 19:42:17 +01:00
|
|
|
<a class="btn btn-danger" href="{{ url_for('entreprises.delete_validation_entreprise', id=entreprise.id) }}">Supprimer</a>
|
2022-01-26 18:42:48 +01:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
{% endblock %}
|