{% extends 'base.html.twig' %} {% block title %}Modifier le cabinet{% endblock %} {% block body %}

Coordonnées

{{ form_start(form_infos) }} {% if form_errors(form_infos)|default %}
{{ form_errors(form_infos) }}
{% endif %} {% for message in app.flashes('success') %}
{{ message }}
{% endfor %}
Pour modifier le nom du cabinet, merci de nous contacter à l'adresse support@pilotguard.xpert-ia.fr
{{ form_row(form_infos.tel) }} {{ form_row(form_infos.adresse) }}
{{ form_row(form_infos.cp) }}
{{ form_row(form_infos.ville) }}
{{ form_row(form_infos._token) }} {{ form_end(form_infos, {'render_rest': false}) }}

Adresse e-mail

Mot de passe

{{ form_start(form_password_data) }} {% if form_errors(form_password_data)|default %}
{{ form_errors(form_password_data) }}
{% endif %} {% for message in app.flashes('success-password') %}
{{ message }}
{% endfor %} {{ form_row(form_password_data.password) }} {{ form_row(form_password_data._token) }} {{ form_end(form_password_data, {'render_rest': false}) }}

Personnalisation

{% for message in app.flashes('success-media') %}
{{ message }}
{% endfor %} {{ form_start(form_media) }}
{% if user.logo|default %}
Logo sélectionné
{% endif %}
{{ form_errors(form_media.logo) }}
{{ form_help(form_media.logo) }}
{{ form_row(form_media.color_strong) }} {{ form_row(form_media.color_light) }}
{% if user.photo|default %}

Photo page de garde sélectionnée :

{% else %} {% endif %} {{ form_help(form_media.photo) }}
{% if user.getPbiPageBg()|default %}

Image de fond des pages sélectionnée :

{% else %} {% endif %}
{{ form_errors(form_media.pbi_page_bg) }}
{{ form_help(form_media.pbi_page_bg) }}
{{ form_end(form_media) }}

Compte Microsoft & Google

{% for message in app.flashes('success-oauth') %}
{{ message }}
{% endfor %}
Microsoft
{% set microsoftToken = app.user.getOAuthTokens()|filter(t => t.type == 'microsoft')|first %} {% if microsoftToken and microsoftToken.accessToken is not null and microsoftToken.refreshToken is not null %}
✅ Votre compte Microsoft est connecté.
Vous pouvez désormais synchroniser vos e-mails, calendriers et contacts.
Déconnecter Microsoft
{% else %}
⚠️ Aucun compte Microsoft connecté.
Connectez un compte Microsoft pour activer les intégrations (emails, calendrier, etc.).
Connecter mon compte Microsoft
{% endif %}
Google
{% set googleToken = app.user.getOAuthTokens()|filter(t => t.type == 'google')|first %} {% if googleToken and googleToken.accessToken is not null and googleToken.refreshToken is not null %}
✅ Votre compte Google est connecté.
Votre compte est prêt à interagir avec Gmail.
Déconnecter Google
{% else %}
⚠️ Aucun compte Google connecté.
Connectez un compte Google pour activer les intégrations Gmail.
Connecter mon compte Google
{% endif %}

Paramètres Tierces parties

{% for message in app.flashes('success-api') %}
{{ message }}
{% endfor %} {{ form_start(form_third_parties) }}

HeyGen

{{ form_row(form_third_parties.api_key_heygen) }} {{ form_row(form_third_parties.url_webhook_n8n) }} {#

Relève URSSAF

{{ form_row(form_third_parties.urssaf_login) }} {{ form_row(form_third_parties.urssaf_pwd) }} #} {{ form_row(form_third_parties._token) }} {{ form_end(form_third_parties, { render_rest:false }) }}

Paramètres API Comptables

{% for message in app.flashes('success-api-comptable') %}
{{ message }}
{% endfor %}
{% for api in apis %}
{{ api.name }} {% if integrationIds[api.integrationid] is defined %} {% endif %}
{{ api.name }}
{% if integrationIds[api.integrationid] is defined %} Déconnecter {% else %} {% endif %}
{% endfor %}
{% endblock %} {% block javascript %} {% endblock %}