fix: retrait bloc INFORMATIONS LEGALES doublon du PDF contrat

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
Serreau Jovann
2026-04-09 15:49:58 +02:00
parent 3f2d8672d0
commit 8b62211f8f

View File

@@ -27,7 +27,6 @@ class ContratMigrationSiteconseilPdf extends Fpdi
$this->AddPage(); $this->AddPage();
$this->writeHeader(); $this->writeHeader();
$this->writeAssociationInfo();
$this->writePreambule(); $this->writePreambule();
$this->writeServicesTable(); $this->writeServicesTable();
$this->writeArticles(); $this->writeArticles();
@@ -179,57 +178,6 @@ class ContratMigrationSiteconseilPdf extends Fpdi
$this->Ln(5); $this->Ln(5);
} }
/** @codeCoverageIgnore */
private function writeAssociationInfo(): void
{
$this->SetDrawColor(200, 200, 200);
$this->Cell(0, 0.5, '', 'T', 1, 'L');
$this->Ln(2);
$this->SetFont('Arial', 'B', 10);
$this->Cell(0, 5, $this->enc('INFORMATIONS LEGALES'), 0, 1, 'C');
$this->Ln(1);
$labelW = 45;
$this->SetFont('Arial', '', 9);
$this->Cell($labelW, 5, $this->enc('Association :'), 0, 0, 'L');
$this->SetFont('Arial', 'B', 9);
$this->Cell(0, 5, $this->enc('E-Cosplay Association loi 1901 - RNA N W022006988'), 0, 1, 'L');
$this->SetFont('Arial', '', 9);
$this->Cell($labelW, 5, $this->enc('Siege social :'), 0, 0, 'L');
$this->Cell(0, 5, $this->enc('42 rue de Saint-Quentin 02800 Beautor'), 0, 1, 'L');
$this->Cell($labelW, 5, 'SIRET :', 0, 0, 'L');
$this->Cell(0, 5, '943 121 517 00011', 0, 1, 'L');
$this->Cell($labelW, 5, 'Code APE :', 0, 0, 'L');
$this->Cell(0, 5, '9329Z', 0, 1, 'L');
$this->Cell($labelW, 5, $this->enc('President :'), 0, 0, 'L');
$this->SetFont('Arial', 'B', 9);
$this->Cell(0, 5, $this->enc('Shoko Cosplay - Serreau Jovann'), 0, 1, 'L');
$this->SetFont('Arial', '', 9);
$this->Cell($labelW, 5, 'Email :', 0, 0, 'L');
$this->Cell(0, 5, 'client@e-cosplay.fr', 0, 1, 'L');
$this->Cell($labelW, 5, $this->enc('Telephone :'), 0, 0, 'L');
$this->Cell(0, 5, '07 66 95 70 06', 0, 1, 'L');
$this->Cell($labelW, 5, 'Site web :', 0, 0, 'L');
$this->Cell(0, 5, 'www.e-cosplay.fr', 0, 1, 'L');
$this->Cell($labelW, 5, 'Document :', 0, 0, 'L');
$this->SetFont('Arial', 'B', 9);
$this->Cell(0, 5, $this->enc('Contrat de Service - '.$this->contrat->getReference()), 0, 1, 'L');
$this->Ln(2);
$this->Cell(0, 0.5, '', 'T', 1, 'L');
$this->Ln(3);
}
/** @codeCoverageIgnore */ /** @codeCoverageIgnore */
private function writePreambule(): void private function writePreambule(): void
{ {