Files
crm_ecosplay/templates/emails/membre_created.html.twig

56 lines
4.4 KiB
Twig
Raw Normal View History

2026-04-01 15:42:52 +02:00
{% extends 'email/base.html.twig' %}
feat: gestion complete Devis + Avis de paiement + DocuSeal signature + mails Devis : - Entity DevisLine (pos, title, description, priceHt) liee a Devis (OneToMany cascade/orphanRemoval) - Champs ajoutes sur Devis : customer (ManyToOne), submissionId, state machine (created/send/accepted/refused/cancel), raisonMessage, totaux HT/TVA/TTC, updatedAt, setUpdatedAt public - Relation Devis <-> Advert changee de ManyToOne a OneToOne nullable - Vich Attribute (migration Annotation -> Attribute) pour unsignedPdf/signedPdf/auditPdf - DevisController CRUD complet : create (form repeater lignes + boutons rapides TarificationService), edit, cancel (libere OrderNumber), generate-pdf, send, resend, create-advert, events - DevisPdf (FPDF/FPDI) : header legacy (logo, num, date, client), body lignes, summary totaux, footer SITECONSEIL + pagination, champ signature DocuSeal sur page devis + derniere page CGV - OrderNumberService : preview() et generate() reutilisent les OrderNumber non utilises (isUsed=false) en priorite - OrderNumber::markAsUnused() ajoute DocuSeal integration devis : - DocuSealService : sendDevisForSignature (avec completed_redirect_url), resendDevisSignature (archive ancienne submission), getSubmitterSlug, downloadSignedDevis (sauvegarde via Vich UploadedFile test=true) - WebhookDocuSealController : dispatch par doc_type devis/attestation, handleDevisEvent (form.completed -> STATE_ACCEPTED + download PDF signe/audit, form.declined -> STATE_REFUSED + raison) - DocusealEvent entity pour tracer form.viewed/started/completed/declined en temps reel - Page evenements admin /admin/devis/{id}/events avec badges et payload JSON Signature client : - DevisProcessController : page publique /devis/process/{id}/{hmac} securisee par HMAC, boutons Signer (redirect DocuSeal) / Refuser (motif optionnel) - Pages confirmation : signed.html.twig (merci + recap) et refused.html.twig (confirmation refus + motif) - Nelmio whitelist : signature.esy-web.dev + signature.siteconseil.fr Avis de paiement : - Entity AdvertLine (pos, title, description, priceHt) liee a Advert - Advert refactorise : customer, state, totaux, raisonMessage, submissionId, advertFile (Vich mapping advert_pdf), lines collection, updatedAt - AdvertController : generate-pdf, send (mail + PJ + lien paiement), resend (rappel), cancel (delie devis, libere OrderNumber), search Meilisearch - AdvertPdf (FPDF/FPDI) : QR code Endroid pointant vers /order/{numOrder}, texte "Scannez pour payer" - OrderPaymentController : page publique /order/{numOrder} avec detail prestations, totaux, options paiement (placeholder) - Creation auto depuis devis signe : copie client, totaux, lignes, meme OrderNumber Meilisearch : - Index customer_devis et customer_advert avec searchable (numOrder, customerName, customerEmail, state) et filterable (customerId, state) - CRUD indexation sur chaque action (create, edit, send, cancel, create-advert) - Recherche AJAX dans tabs Devis et Avis avec debounce + dropdown glassmorphism - Sync admin : boutons syncDevis / syncAdverts + compteurs dans /admin/sync Emails : - MailerService : VCF auto (fiche contact SARL SITECONSEIL) en PJ sur tous les mails, bloc HTML pieces jointes injecte automatiquement (exclut .asc/.p7z/smime) avec icone trombone + taille fichier - Templates : devis_to_sign, devis_signed_client/admin (PJ signed+audit), devis_refused_client/admin, advert_send (PJ + bouton paiement), ndd_expiration - TestMailCommand : option --force-dsn pour envoyer via un DSN SMTP specifique (test prod depuis dev) Commande NDD : - app:ndd:check : verifie expiration domaines <= 30j, envoie mail groupe a monitor@siteconseil.fr - Cron quotidien 8h (docker + ansible) Divers : - Titles templates : CRM SITECONSEIL -> SARL SITECONSEIL (52 fichiers) - VAULT_URL dev = https://kms.esy-web.dev (comme prod) - app.js : initDevisLines (repeater + drag & drop), initTabSearch, toggle refus devis - app.scss : styles drag & drop - setasign/fpdi-fpdf installe pour fusion PDF - 5 migrations Doctrine Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-07 09:44:35 +02:00
{% block title %}Votre compte SARL SITECONSEIL{% endblock %}
2026-04-01 15:42:52 +02:00
{% block content %}
fix: rendre les templates email compatibles avec tous les clients mail templates/email/base.html.twig: - Remplacement de la structure div par une structure table-based (role=presentation) pour compatibilite Outlook/Orange/SFR/Yahoo - Suppression de rgba(), linear-gradient(), border-radius, box-shadow (non supportes par Outlook Windows 2007-2019) - Ajout du doctype XHTML 1.0 Transitional pour Outlook - Ajout du bloc conditionnel <!--[if mso]> pour forcer Arial sur Outlook - Remplacement de margin: 0 par margin-top/right/bottom/left: 0 (margin shorthand non supporte par Orange, SFR, certains Outlook) - Remplacement de padding shorthand par padding-top/right/bottom/left dans le body et les cellules principales - Ajout de -webkit-text-size-adjust et -ms-text-size-adjust sur body - Logo: ajout de width et height auto explicites + border: 0 - Fond semi-transparent rgba(255,255,255,0.92) remplace par #ffffff opaque - Gradient gold remplace par background-color: #fabf04 fixe - Couleur footer rgba(255,255,255,0.7) remplacee par #b0b0b0 fixe - Entite &bull; remplacee par &#8226; pour compatibilite XHTML templates/emails/*.html.twig (9 fichiers): - Remplacement de toutes les proprietes margin shorthand par les proprietes longhand margin-top/margin-right/margin-bottom/margin-left dans 2fa_code, forgot_password_code, membre_created, password_changed, revendeur_created, rgpd_access, rgpd_attestation_signed, rgpd_deletion, rgpd_no_data Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-02 19:40:13 +02:00
<h1 style="font-size: 20px; font-weight: bold; text-transform: uppercase; margin-top: 0; margin-right: 0; margin-bottom: 16px; margin-left: 0;">Bienvenue {{ firstName }} !</h1>
fix: corriger line-height et supprimer box-shadow dans les templates email Outlook Windows (2007-2019) a un bug avec line-height en em et sans unite: le rendu est imprevisible. La solution est d'utiliser des valeurs en px avec mso-line-height-rule:exactly. templates/email/base.html.twig: - cellule contenu: line-height: 1.6 remplace par line-height: 22px avec ajout de mso-line-height-rule: exactly templates/emails/2fa_code.html.twig: - 3 paragraphes: line-height: 1.6 remplace par 22px + mso-line-height-rule templates/emails/forgot_password_code.html.twig: - 3 paragraphes: line-height: 1.6 remplace par 22px + mso-line-height-rule templates/emails/membre_created.html.twig: - 4 paragraphes: line-height: 1.6 remplace par 22px + mso-line-height-rule - 2 listes ul: line-height: 1.8 remplace par 25px (font 14px) et 23px (font 13px) + mso-line-height-rule templates/emails/password_changed.html.twig: - 4 paragraphes: line-height: 1.6 remplace par 22px + mso-line-height-rule templates/emails/revendeur_created.html.twig: - 5 paragraphes: line-height: 1.6 remplace par 22px + mso-line-height-rule templates/emails/rgpd_access.html.twig: - 4 paragraphes: line-height: 1.6 remplace par 22px + mso-line-height-rule templates/emails/rgpd_attestation_signed.html.twig: - 4 paragraphes: line-height: 1.6 remplace par 22px + mso-line-height-rule templates/emails/rgpd_deletion.html.twig: - 4 paragraphes: line-height: 1.6 remplace par 22px + mso-line-height-rule templates/emails/rgpd_no_data.html.twig: - 5 paragraphes: line-height: 1.6 remplace par 22px + mso-line-height-rule Suppression de box-shadow dans tous les templates email (non supporte par Outlook Windows, Orange, GMX, WEB.DE, Samsung Email). Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-02 20:37:37 +02:00
<p style="font-size: 14px; mso-line-height-rule: exactly; line-height: 22px; margin-top: 0; margin-right: 0; margin-bottom: 16px; margin-left: 0;">Votre compte sur le <strong>CRM SITECONSEIL</strong> a ete cree par l'administration de la SARL SITECONSEIL.</p>
2026-04-01 15:42:52 +02:00
<div style="background-color: #111827; color: #fff; padding-top: 20px; padding-right: 20px; padding-bottom: 20px; padding-left: 20px; margin-top: 20px; margin-right: 0; margin-bottom: 20px; margin-left: 0;">
fix: rendre les templates email compatibles avec tous les clients mail templates/email/base.html.twig: - Remplacement de la structure div par une structure table-based (role=presentation) pour compatibilite Outlook/Orange/SFR/Yahoo - Suppression de rgba(), linear-gradient(), border-radius, box-shadow (non supportes par Outlook Windows 2007-2019) - Ajout du doctype XHTML 1.0 Transitional pour Outlook - Ajout du bloc conditionnel <!--[if mso]> pour forcer Arial sur Outlook - Remplacement de margin: 0 par margin-top/right/bottom/left: 0 (margin shorthand non supporte par Orange, SFR, certains Outlook) - Remplacement de padding shorthand par padding-top/right/bottom/left dans le body et les cellules principales - Ajout de -webkit-text-size-adjust et -ms-text-size-adjust sur body - Logo: ajout de width et height auto explicites + border: 0 - Fond semi-transparent rgba(255,255,255,0.92) remplace par #ffffff opaque - Gradient gold remplace par background-color: #fabf04 fixe - Couleur footer rgba(255,255,255,0.7) remplacee par #b0b0b0 fixe - Entite &bull; remplacee par &#8226; pour compatibilite XHTML templates/emails/*.html.twig (9 fichiers): - Remplacement de toutes les proprietes margin shorthand par les proprietes longhand margin-top/margin-right/margin-bottom/margin-left dans 2fa_code, forgot_password_code, membre_created, password_changed, revendeur_created, rgpd_access, rgpd_attestation_signed, rgpd_deletion, rgpd_no_data Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-02 19:40:13 +02:00
<p style="font-size: 11px; text-transform: uppercase; letter-spacing: 1px; margin-top: 0; margin-right: 0; margin-bottom: 12px; margin-left: 0; opacity: 0.7;">Vos identifiants de connexion</p>
<div style="font-size: 14px;">
<div style="padding-top: 4px; padding-right: 0; padding-bottom: 4px; padding-left: 0;">
<span style="color: #fabf04; font-weight: bold; display: inline-block; width: 120px;">Email</span>
<span style="color: #fff;">{{ email }}</span>
</div>
<div style="padding-top: 4px; padding-right: 0; padding-bottom: 4px; padding-left: 0;">
<span style="color: #fabf04; font-weight: bold; display: inline-block; width: 120px;">Mot de passe</span>
<span style="color: #fff; font-family: monospace; letter-spacing: 1px;">{{ tempPassword }}</span>
</div>
</div>
2026-04-01 15:42:52 +02:00
</div>
fix: corriger line-height et supprimer box-shadow dans les templates email Outlook Windows (2007-2019) a un bug avec line-height en em et sans unite: le rendu est imprevisible. La solution est d'utiliser des valeurs en px avec mso-line-height-rule:exactly. templates/email/base.html.twig: - cellule contenu: line-height: 1.6 remplace par line-height: 22px avec ajout de mso-line-height-rule: exactly templates/emails/2fa_code.html.twig: - 3 paragraphes: line-height: 1.6 remplace par 22px + mso-line-height-rule templates/emails/forgot_password_code.html.twig: - 3 paragraphes: line-height: 1.6 remplace par 22px + mso-line-height-rule templates/emails/membre_created.html.twig: - 4 paragraphes: line-height: 1.6 remplace par 22px + mso-line-height-rule - 2 listes ul: line-height: 1.8 remplace par 25px (font 14px) et 23px (font 13px) + mso-line-height-rule templates/emails/password_changed.html.twig: - 4 paragraphes: line-height: 1.6 remplace par 22px + mso-line-height-rule templates/emails/revendeur_created.html.twig: - 5 paragraphes: line-height: 1.6 remplace par 22px + mso-line-height-rule templates/emails/rgpd_access.html.twig: - 4 paragraphes: line-height: 1.6 remplace par 22px + mso-line-height-rule templates/emails/rgpd_attestation_signed.html.twig: - 4 paragraphes: line-height: 1.6 remplace par 22px + mso-line-height-rule templates/emails/rgpd_deletion.html.twig: - 4 paragraphes: line-height: 1.6 remplace par 22px + mso-line-height-rule templates/emails/rgpd_no_data.html.twig: - 5 paragraphes: line-height: 1.6 remplace par 22px + mso-line-height-rule Suppression de box-shadow dans tous les templates email (non supporte par Outlook Windows, Orange, GMX, WEB.DE, Samsung Email). Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-02 20:37:37 +02:00
<p style="font-size: 14px; mso-line-height-rule: exactly; line-height: 22px; margin-top: 0; margin-right: 0; margin-bottom: 16px; margin-left: 0;">Lors de votre premiere connexion, il vous sera demande de :</p>
<ul style="font-size: 14px; mso-line-height-rule: exactly; line-height: 25px; margin-top: 0; margin-right: 0; margin-bottom: 16px; margin-left: 0; padding-left: 20px;">
2026-04-01 15:42:52 +02:00
<li><strong>Changer votre mot de passe</strong></li>
<li><strong>Configurer la double authentification (OTP)</strong> via une application telle que Google Authenticator, Authy ou Microsoft Authenticator</li>
</ul>
{% if groups|length > 0 %}
fix: corriger line-height et supprimer box-shadow dans les templates email Outlook Windows (2007-2019) a un bug avec line-height en em et sans unite: le rendu est imprevisible. La solution est d'utiliser des valeurs en px avec mso-line-height-rule:exactly. templates/email/base.html.twig: - cellule contenu: line-height: 1.6 remplace par line-height: 22px avec ajout de mso-line-height-rule: exactly templates/emails/2fa_code.html.twig: - 3 paragraphes: line-height: 1.6 remplace par 22px + mso-line-height-rule templates/emails/forgot_password_code.html.twig: - 3 paragraphes: line-height: 1.6 remplace par 22px + mso-line-height-rule templates/emails/membre_created.html.twig: - 4 paragraphes: line-height: 1.6 remplace par 22px + mso-line-height-rule - 2 listes ul: line-height: 1.8 remplace par 25px (font 14px) et 23px (font 13px) + mso-line-height-rule templates/emails/password_changed.html.twig: - 4 paragraphes: line-height: 1.6 remplace par 22px + mso-line-height-rule templates/emails/revendeur_created.html.twig: - 5 paragraphes: line-height: 1.6 remplace par 22px + mso-line-height-rule templates/emails/rgpd_access.html.twig: - 4 paragraphes: line-height: 1.6 remplace par 22px + mso-line-height-rule templates/emails/rgpd_attestation_signed.html.twig: - 4 paragraphes: line-height: 1.6 remplace par 22px + mso-line-height-rule templates/emails/rgpd_deletion.html.twig: - 4 paragraphes: line-height: 1.6 remplace par 22px + mso-line-height-rule templates/emails/rgpd_no_data.html.twig: - 5 paragraphes: line-height: 1.6 remplace par 22px + mso-line-height-rule Suppression de box-shadow dans tous les templates email (non supporte par Outlook Windows, Orange, GMX, WEB.DE, Samsung Email). Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-02 20:37:37 +02:00
<p style="font-size: 14px; mso-line-height-rule: exactly; line-height: 22px; margin-top: 0; margin-right: 0; margin-bottom: 8px; margin-left: 0;">Acces attribues :</p>
<ul style="font-size: 13px; mso-line-height-rule: exactly; line-height: 23px; margin-top: 0; margin-right: 0; margin-bottom: 16px; margin-left: 0; padding-left: 20px;">
2026-04-01 15:42:52 +02:00
{% for group in groups %}
<li>
{% if group == 'gp_ticket' %}Billetterie
{% elseif group == 'gp_asso' %}Association
{% elseif group == 'gp_contest' %}Concours
{% elseif group == 'gp_mail' %}Mail
{% elseif group == 'gp_mailing' %}Mailing
{% elseif group == 'gp_sign' %}Signature electronique
{% elseif group == 'gp_ndd' %}Nom de domaine
{% else %}{{ group }}
{% endif %}
</li>
{% endfor %}
</ul>
{% endif %}
fix: rendre les templates email compatibles avec tous les clients mail templates/email/base.html.twig: - Remplacement de la structure div par une structure table-based (role=presentation) pour compatibilite Outlook/Orange/SFR/Yahoo - Suppression de rgba(), linear-gradient(), border-radius, box-shadow (non supportes par Outlook Windows 2007-2019) - Ajout du doctype XHTML 1.0 Transitional pour Outlook - Ajout du bloc conditionnel <!--[if mso]> pour forcer Arial sur Outlook - Remplacement de margin: 0 par margin-top/right/bottom/left: 0 (margin shorthand non supporte par Orange, SFR, certains Outlook) - Remplacement de padding shorthand par padding-top/right/bottom/left dans le body et les cellules principales - Ajout de -webkit-text-size-adjust et -ms-text-size-adjust sur body - Logo: ajout de width et height auto explicites + border: 0 - Fond semi-transparent rgba(255,255,255,0.92) remplace par #ffffff opaque - Gradient gold remplace par background-color: #fabf04 fixe - Couleur footer rgba(255,255,255,0.7) remplacee par #b0b0b0 fixe - Entite &bull; remplacee par &#8226; pour compatibilite XHTML templates/emails/*.html.twig (9 fichiers): - Remplacement de toutes les proprietes margin shorthand par les proprietes longhand margin-top/margin-right/margin-bottom/margin-left dans 2fa_code, forgot_password_code, membre_created, password_changed, revendeur_created, rgpd_access, rgpd_attestation_signed, rgpd_deletion, rgpd_no_data Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-02 19:40:13 +02:00
<div style="margin-top: 24px; margin-right: 0; margin-bottom: 24px; margin-left: 0;">
<a href="{{ url('app_home') }}" style="display: inline-block; background-color: #fabf04; border: 1px solid #e5e5e5; padding-top: 12px; padding-right: 24px; padding-bottom: 12px; padding-left: 24px; color: #111827; font-weight: 700; text-transform: uppercase; font-size: 13px; text-decoration: none; letter-spacing: 1px;">Se connecter</a>
</div>
2026-04-01 15:42:52 +02:00
fix: corriger line-height et supprimer box-shadow dans les templates email Outlook Windows (2007-2019) a un bug avec line-height en em et sans unite: le rendu est imprevisible. La solution est d'utiliser des valeurs en px avec mso-line-height-rule:exactly. templates/email/base.html.twig: - cellule contenu: line-height: 1.6 remplace par line-height: 22px avec ajout de mso-line-height-rule: exactly templates/emails/2fa_code.html.twig: - 3 paragraphes: line-height: 1.6 remplace par 22px + mso-line-height-rule templates/emails/forgot_password_code.html.twig: - 3 paragraphes: line-height: 1.6 remplace par 22px + mso-line-height-rule templates/emails/membre_created.html.twig: - 4 paragraphes: line-height: 1.6 remplace par 22px + mso-line-height-rule - 2 listes ul: line-height: 1.8 remplace par 25px (font 14px) et 23px (font 13px) + mso-line-height-rule templates/emails/password_changed.html.twig: - 4 paragraphes: line-height: 1.6 remplace par 22px + mso-line-height-rule templates/emails/revendeur_created.html.twig: - 5 paragraphes: line-height: 1.6 remplace par 22px + mso-line-height-rule templates/emails/rgpd_access.html.twig: - 4 paragraphes: line-height: 1.6 remplace par 22px + mso-line-height-rule templates/emails/rgpd_attestation_signed.html.twig: - 4 paragraphes: line-height: 1.6 remplace par 22px + mso-line-height-rule templates/emails/rgpd_deletion.html.twig: - 4 paragraphes: line-height: 1.6 remplace par 22px + mso-line-height-rule templates/emails/rgpd_no_data.html.twig: - 5 paragraphes: line-height: 1.6 remplace par 22px + mso-line-height-rule Suppression de box-shadow dans tous les templates email (non supporte par Outlook Windows, Orange, GMX, WEB.DE, Samsung Email). Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-02 20:37:37 +02:00
<p style="font-size: 14px; mso-line-height-rule: exactly; line-height: 22px; margin-top: 16px; margin-right: 0; margin-bottom: 16px; margin-left: 0;">Une fois sur la page de connexion, cliquez sur le bouton <strong>"Connexion SITECONSEIL"</strong> puis saisissez vos identifiants ci-dessus.</p>
2026-04-01 15:42:52 +02:00
fix: rendre les templates email compatibles avec tous les clients mail templates/email/base.html.twig: - Remplacement de la structure div par une structure table-based (role=presentation) pour compatibilite Outlook/Orange/SFR/Yahoo - Suppression de rgba(), linear-gradient(), border-radius, box-shadow (non supportes par Outlook Windows 2007-2019) - Ajout du doctype XHTML 1.0 Transitional pour Outlook - Ajout du bloc conditionnel <!--[if mso]> pour forcer Arial sur Outlook - Remplacement de margin: 0 par margin-top/right/bottom/left: 0 (margin shorthand non supporte par Orange, SFR, certains Outlook) - Remplacement de padding shorthand par padding-top/right/bottom/left dans le body et les cellules principales - Ajout de -webkit-text-size-adjust et -ms-text-size-adjust sur body - Logo: ajout de width et height auto explicites + border: 0 - Fond semi-transparent rgba(255,255,255,0.92) remplace par #ffffff opaque - Gradient gold remplace par background-color: #fabf04 fixe - Couleur footer rgba(255,255,255,0.7) remplacee par #b0b0b0 fixe - Entite &bull; remplacee par &#8226; pour compatibilite XHTML templates/emails/*.html.twig (9 fichiers): - Remplacement de toutes les proprietes margin shorthand par les proprietes longhand margin-top/margin-right/margin-bottom/margin-left dans 2fa_code, forgot_password_code, membre_created, password_changed, revendeur_created, rgpd_access, rgpd_attestation_signed, rgpd_deletion, rgpd_no_data Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-02 19:40:13 +02:00
<p style="font-size: 12px; color: #999; margin-top: 16px; margin-right: 0; margin-bottom: 0; margin-left: 0;">Pour des raisons de securite, ne partagez jamais vos identifiants. Si vous n'etes pas a l'origine de cette demande, contactez <a href="mailto:contact@siteconseil.fr" style="color: #4338ca;">contact@siteconseil.fr</a>.</p>
2026-04-01 15:42:52 +02:00
{% endblock %}