feat: mention credit obligatoire E-Flex (process, PDF, email signature)
Ajout "Un credit vous engage et doit etre rembourse. Verifiez votre capacite de remboursement avant de vous engager." dans : - Page process E-Flex (bandeau orange avant le bouton signer) - PDF contrat E-Flex (section dediee avant les signatures) - Email de signature E-Flex (encadre orange) Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -31,6 +31,7 @@ class EFlexPdf extends Fpdi
|
||||
$this->writeContextBlock();
|
||||
$this->writeEcheancesTable();
|
||||
$this->writeConditions();
|
||||
$this->writeCreditWarning();
|
||||
$this->writeSignatures();
|
||||
}
|
||||
|
||||
@@ -215,6 +216,19 @@ class EFlexPdf extends Fpdi
|
||||
$this->Ln(3);
|
||||
}
|
||||
|
||||
/** @codeCoverageIgnore */
|
||||
private function writeCreditWarning(): void
|
||||
{
|
||||
$this->SetFont('Arial', 'B', 8);
|
||||
$this->SetTextColor(234, 88, 12);
|
||||
$this->Cell(0, 5, $this->enc('INFORMATION IMPORTANTE'), 0, 1, 'L');
|
||||
$this->SetFont('Arial', '', 8);
|
||||
$this->SetTextColor(100, 100, 100);
|
||||
$this->Cell(0, 4, $this->enc('Un credit vous engage et doit etre rembourse. Verifiez votre capacite de remboursement avant de vous engager.'), 0, 1, 'L');
|
||||
$this->SetTextColor(0, 0, 0);
|
||||
$this->Ln(5);
|
||||
}
|
||||
|
||||
/** @codeCoverageIgnore */
|
||||
private function writeSignatures(): void
|
||||
{
|
||||
|
||||
@@ -82,6 +82,12 @@
|
||||
<p>Les prelevements seront effectues automatiquement a chaque date prevue.</p>
|
||||
</div>
|
||||
|
||||
{# Mention credit #}
|
||||
<div class="glass p-4 mb-6" style="border-left: 4px solid #ea580c;">
|
||||
<p class="text-xs text-orange-700 font-bold uppercase tracking-wider mb-1">Information importante</p>
|
||||
<p class="text-xs text-gray-600">Un credit vous engage et doit etre rembourse. Verifiez votre capacite de remboursement avant de vous engager.</p>
|
||||
</div>
|
||||
|
||||
{# Boutons signer / refuser (si pas encore signe) #}
|
||||
{% if eflex.submissionId and eflex.state == 'draft' %}
|
||||
<div class="flex justify-center gap-4 mb-6">
|
||||
|
||||
@@ -18,6 +18,10 @@
|
||||
{% if processUrl is defined and processUrl %}
|
||||
<table cellpadding="0" cellspacing="0" style="margin: 24px auto;"><tr><td style="background-color: #fabf04; padding: 14px 32px;"><a href="{{ processUrl }}" style="font-family: Arial, Helvetica, sans-serif; font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; color: #111827; text-decoration: none;">Voir le contrat E-Flex</a></td></tr></table>
|
||||
{% endif %}
|
||||
<div style="background: #fff7ed; border-left: 4px solid #ea580c; padding: 12px 16px; margin: 16px 0;">
|
||||
<p style="font-family: Arial, Helvetica, sans-serif; font-size: 11px; font-weight: 700; color: #9a3412; margin: 0 0 4px;">Information importante</p>
|
||||
<p style="font-family: Arial, Helvetica, sans-serif; font-size: 11px; color: #374151; margin: 0;">Un credit vous engage et doit etre rembourse. Verifiez votre capacite de remboursement avant de vous engager.</p>
|
||||
</div>
|
||||
<p style="font-family: Arial, Helvetica, sans-serif; font-size: 14px; color: #374151; line-height: 22px; margin: 16px 0;">E-Flex est une solution de financement sans frais supplementaires proposee par l'Association E-Cosplay.</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>
|
||||
|
||||
Reference in New Issue
Block a user