From b5fcc413193dff42aa5f6b05971d70ebbdd28659 Mon Sep 17 00:00:00 2001 From: Serreau Jovann Date: Thu, 9 Apr 2026 15:31:18 +0200 Subject: [PATCH] feat: bloc info association style ComptaPdf dans PDF contrat Meme presentation que ComptaPdf : lignes label/valeur avec separateurs, association, siege, SIRET, Code APE, president Shoko Cosplay, email, tel. Co-Authored-By: Claude Opus 4.6 (1M context) --- .../Pdf/ContratMigrationSiteconseilPdf.php | 60 ++++++++++--------- 1 file changed, 32 insertions(+), 28 deletions(-) diff --git a/src/Service/Pdf/ContratMigrationSiteconseilPdf.php b/src/Service/Pdf/ContratMigrationSiteconseilPdf.php index 127a0a0..c153a52 100644 --- a/src/Service/Pdf/ContratMigrationSiteconseilPdf.php +++ b/src/Service/Pdf/ContratMigrationSiteconseilPdf.php @@ -98,39 +98,43 @@ class ContratMigrationSiteconseilPdf extends Fpdi $this->Cell(0, 5, $this->enc('ENTRE LES SOUSSIGNES :'), 0, 1, 'L'); $this->Ln(2); - // Bloc info association - $this->SetDrawColor(253, 140, 4); - $startY = $this->GetY(); - $this->Rect(15, $startY, 180, 32); + // Bloc info association (meme style ComptaPdf) $this->SetDrawColor(200, 200, 200); + $this->Cell(0, 0.5, '', 'T', 1, 'L'); + $this->Ln(2); - $labelW = 40; + $labelW = 45; + + $this->SetFont('Arial', '', 9); + $this->Cell($labelW, 5, $this->enc('Association :'), 0, 0, 'L'); $this->SetFont('Arial', 'B', 9); - $this->SetX(18); - $this->Cell(0, 5, $this->enc('Association E-Cosplay'), 0, 1, 'L'); - $this->SetFont('Arial', '', 8); - $this->SetX(18); - $this->Cell($labelW, 4, 'Forme juridique :', 0, 0, 'L'); - $this->Cell(0, 4, $this->enc('Association loi 1901 a but non lucratif'), 0, 1, 'L'); - $this->SetX(18); - $this->Cell($labelW, 4, 'SIRET :', 0, 0, 'L'); - $this->Cell(0, 4, '943 121 517 00011', 0, 1, 'L'); - $this->SetX(18); - $this->Cell($labelW, 4, 'RNA :', 0, 0, 'L'); - $this->Cell(0, 4, 'W022006988', 0, 1, 'L'); - $this->SetX(18); - $this->Cell($labelW, 4, $this->enc('Siege social :'), 0, 0, 'L'); - $this->Cell(0, 4, $this->enc('42 rue de Saint-Quentin, 02800 BEAUTOR'), 0, 1, 'L'); - $this->SetX(18); - $this->Cell($labelW, 4, $this->enc('President :'), 0, 0, 'L'); - $this->SetFont('Arial', 'B', 8); - $this->Cell(0, 4, $this->enc('Shoko Cosplay - Serreau Jovann'), 0, 1, 'L'); - $this->SetFont('Arial', '', 8); - $this->SetX(18); - $this->Cell($labelW, 4, 'Email / Tel :', 0, 0, 'L'); - $this->Cell(0, 4, 'client@e-cosplay.fr - 07 66 95 70 06', 0, 1, 'L'); + $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->Ln(2); + $this->Cell(0, 0.5, '', 'T', 1, 'L'); + $this->Ln(2); + $this->SetFont('Arial', 'I', 9); $this->Cell(0, 5, $this->enc('Ci-apres denommee "le Prestataire",'), 0, 1, 'L'); $this->Ln(3);