{# templates/account/card_modify.html.twig #} {# Modification de carte NUM-ECARD - Même design que le wizard de création #} {% extends 'account/base_account.html.twig' %} {% block title %}Modifier la carte de {{ beneficiaire.fullName }}{% endblock %} {% block stylesheets %} {{ parent() }} {% endblock %} {% block body %}
← Retour à la commande {{ commande.reference }}

✏️ Modifier la carte

{{ beneficiaire.fullName }} — {{ commande.packLabel }}

{% if modificationCount > 0 %}
📝 {{ modificationCount }} modification(s) effectuée(s) {% if beneficiaire.lastModifiedAt %} — dernière le {{ commande.createdAt|date('d/m/Y H:i') }} {% endif %}
{% endif %}
Tarif modification
{{ priceTTC|number_format(2, ',', ' ') }} €
TTC ({{ priceHT|number_format(0) }} € HT)
1
Identité
2
Entreprise
3
Contact
4
Services
5
Réseaux
6
Premium
{{ beneficiaire.initiales ?? (beneficiaire.prenom|slice(0,1)|upper ~ beneficiaire.nom|slice(0,1)|upper) }}

{{ beneficiaire.fullName }}

{{ beneficiaire.fonction ?? 'Carte bénéficiaire' }} — Commande {{ commande.reference }}

{# ═══════════════════════════════════════════════ ÉTAPE 1 : IDENTITÉ ═══════════════════════════════════════════════ #}
👤Informations personnelles
{# Identité verrouillée — non modifiable #}
{{ beneficiaire.initiales ?? (beneficiaire.prenom|slice(0,1)|upper ~ beneficiaire.nom|slice(0,1)|upper) }}

{{ beneficiaire.prenom }} {{ beneficiaire.nom }}

🔒 Prénom et Nom non modifiables. Pour changer d'identité, commandez une nouvelle carte.

2-3 lettres (ex: JD)
{# ═══════════════════════════════════════════════ ÉTAPE 2 : ENTREPRISE & CHARTE AVEC MOCKUP ═══════════════════════════════════════════════ #}
🏢Entreprise & Charte
{# ── LOGO ── #}
{% if beneficiaire.logo %}
Logo actuel
Logo actuel
{% endif %}
{# ── SÉLECTEUR DE CHARTE AVEC MOCKUP ── #}
{% include 'components/_charte_mockup.html.twig' with { mockupId: 1, packType: commande.packType, currentCharte: beneficiaire.charteTemplate ?? 53, mockupNom: beneficiaire.fullName, mockupInitiales: beneficiaire.initiales ?? (beneficiaire.prenom|slice(0,1)|upper ~ beneficiaire.nom|slice(0,1)|upper), mockupFonction: beneficiaire.fonction ?? 'VOTRE FONCTION', mockupEntreprise: beneficiaire.entreprise ?? 'VOTRE ENTREPRISE', mockupSlogan: beneficiaire.slogan ?? 'Votre slogan' } %}
{# ── SECTION PERSONNALISÉE ── #}
{# ═══════════════════════════════════════════════ ÉTAPE 3 : COORDONNÉES ═══════════════════════════════════════════════ #}
📞Coordonnées
{# ═══════════════════════════════════════════════ ÉTAPE 4 : SERVICES / EXPERTISES ═══════════════════════════════════════════════ #}
🛠️Services & Expertises
📊Statistiques (footer carte)
{# ═══════════════════════════════════════════════ ÉTAPE 5 : RÉSEAUX SOCIAUX & VISIO ═══════════════════════════════════════════════ #}
🌐Réseaux sociaux
📹Visioconférence
{# ═══════════════════════════════════════════════ ÉTAPE 6 : FONCTIONNALITÉS PREMIUM ═══════════════════════════════════════════════ #}
Fonctionnalités Premium

Renseignez l'URL pour activer la fonctionnalité. Laissez vide pour la désactiver.

Calendly, Cal.com, etc.
Portfolio, réalisations, etc.
Google Reviews, Trustpilot, etc.
PDF en ligne, lien externe, etc.
YouTube, Vimeo, etc.
N'importe quel lien externe.
{% include 'components/_charte_js.html.twig' with { packType: commande.packType, mockupIds: [1], defaultChartes: { 1: beneficiaire.charteTemplate ?? (commande.packType == 'forcevente' ? 55 : 53) } } %} {% endblock %}