PDF ContratMigrationSiteconseilPdf: - Preambule: cessation SARL SITECONSEIL, continuite par E-Cosplay - Avertissement orange: pas de reprise d'anciennete ni accords anterieurs - 8 articles: objet, transfert, tarifs, duree, anciennete, responsabilite, RGPD, droit applicable - 2 signatures DocuSeal (Company auto-signe + Client signe) Controller admin: - create: genere le PDF automatiquement a la creation - generate-pdf: regeneration PDF - send-signature: envoi DocuSeal 2 parties + email client avec lien - Boutons: Regenerer PDF, Voir PDF, Envoyer/Renvoyer signature, Annuler Page publique /move/from/siteconseil: - Explication complete de la migration (pourquoi, ce qui change, ce qui ne change pas, etapes, FAQ) - Accessible sans authentification - Liee dans l'email de signature Webhook DocuSeal (doc_type=contrat): - Telecharge PDF signe + audit (unlink apres flush) - State SIGNED + signedAt - Email client + admin avec PDFs en piece jointe Templates email: - contrat_signature: lien page migration + lien signer + avertissement - contrat_signed: confirmation + PDFs attaches Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
45 lines
2.8 KiB
Twig
45 lines
2.8 KiB
Twig
{% extends 'email/base.html.twig' %}
|
|
|
|
{% block content %}
|
|
<table width="600" cellpadding="0" cellspacing="0" style="margin: 0 auto;">
|
|
<tr>
|
|
<td style="padding: 32px;">
|
|
<h1 style="font-family: Arial, Helvetica, sans-serif; font-size: 22px; font-weight: 700; color: #111827; margin: 0 0 16px;">Chez {{ contrat.raisonSociale }},</h1>
|
|
|
|
<div style="background: #f0fdf4; border: 1px solid #bbf7d0; padding: 16px; margin: 0 0 20px;">
|
|
<p style="font-family: Arial, Helvetica, sans-serif; font-size: 14px; font-weight: 700; color: #16a34a; margin: 0;">
|
|
Contrat {{ contrat.reference }} signe avec succes
|
|
</p>
|
|
</div>
|
|
|
|
<p style="font-family: Arial, Helvetica, sans-serif; font-size: 14px; color: #374151; line-height: 22px; margin: 0 0 16px;">
|
|
Votre contrat a ete signe avec succes. Vous trouverez en piece jointe le contrat signe ainsi que le certificat d'audit de signature.
|
|
</p>
|
|
|
|
<table width="100%" cellpadding="0" cellspacing="0" style="margin: 20px 0; border: 1px solid #e5e7eb;">
|
|
<tr>
|
|
<td style="padding: 10px 16px; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; color: #9ca3af; background: #f9fafb; width: 35%;">Reference</td>
|
|
<td style="padding: 10px 16px; font-family: monospace; font-size: 13px; font-weight: 700;">{{ contrat.reference }}</td>
|
|
</tr>
|
|
<tr>
|
|
<td style="padding: 10px 16px; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; color: #9ca3af; background: #f9fafb;">Type</td>
|
|
<td style="padding: 10px 16px; font-size: 13px; font-weight: 700;">{{ contrat.typeLabel }}</td>
|
|
</tr>
|
|
<tr>
|
|
<td style="padding: 10px 16px; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; color: #9ca3af; background: #f9fafb;">Signe le</td>
|
|
<td style="padding: 10px 16px; font-size: 13px; font-weight: 700; color: #16a34a;">{{ contrat.signedAt ? contrat.signedAt|date('d/m/Y H:i') : 'Maintenant' }}</td>
|
|
</tr>
|
|
</table>
|
|
|
|
<p style="font-family: Arial, Helvetica, sans-serif; font-size: 14px; color: #374151; line-height: 22px; margin: 16px 0;">
|
|
Votre espace client sera cree prochainement. Vous recevrez un email avec vos identifiants de connexion.
|
|
</p>
|
|
|
|
<p style="font-family: Arial, Helvetica, sans-serif; font-size: 12px; color: #9ca3af; margin: 16px 0 0;">
|
|
Pour toute question : <a href="mailto:contact@e-cosplay.fr" style="color: #fabf04;">contact@e-cosplay.fr</a>
|
|
</p>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
{% endblock %}
|