diff --git a/src/Service/Pdf/ContratMigrationSiteconseilPdf.php b/src/Service/Pdf/ContratMigrationSiteconseilPdf.php index c153a52..6b06710 100644 --- a/src/Service/Pdf/ContratMigrationSiteconseilPdf.php +++ b/src/Service/Pdf/ContratMigrationSiteconseilPdf.php @@ -145,19 +145,34 @@ class ContratMigrationSiteconseilPdf extends Fpdi $this->Ln(2); $this->SetDrawColor(200, 200, 200); - $clientY = $this->GetY(); - $this->Rect(15, $clientY, 180, 14); + $this->Cell(0, 0.5, '', 'T', 1, 'L'); + $this->Ln(2); + $this->SetFont('Arial', '', 9); + $this->Cell($labelW, 5, $this->enc('Raison sociale :'), 0, 0, 'L'); $this->SetFont('Arial', 'B', 9); - $this->SetX(18); - $this->Cell(0, 5, $this->enc($this->contrat->getRaisonSociale()), 0, 1, 'L'); - $this->SetFont('Arial', '', 8); - $this->SetX(18); - $this->Cell(40, 4, 'Email :', 0, 0, 'L'); - $this->Cell(0, 4, $this->contrat->getEmail(), 0, 1, 'L'); + $this->Cell(0, 5, '{{RaisonSociale;type=text;role=First Party}}', 0, 1, 'L'); + + $this->SetFont('Arial', '', 9); + $this->Cell($labelW, 5, 'SIRET :', 0, 0, 'L'); + $this->Cell(0, 5, '{{SIRET;type=text;role=First Party}}', 0, 1, 'L'); + + $this->Cell($labelW, 5, $this->enc('Adresse :'), 0, 0, 'L'); + $this->Cell(0, 5, '{{Adresse;type=text;role=First Party}}', 0, 1, 'L'); + + $this->Cell($labelW, 5, 'Email :', 0, 0, 'L'); + $this->Cell(0, 5, '{{Email;type=text;role=First Party}}', 0, 1, 'L'); + + $this->Cell($labelW, 5, $this->enc('Telephone :'), 0, 0, 'L'); + $this->Cell(0, 5, '{{Telephone;type=text;role=First Party}}', 0, 1, 'L'); + + $this->Cell($labelW, 5, $this->enc('Representant :'), 0, 0, 'L'); + $this->Cell(0, 5, '{{Representant;type=text;role=First Party}}', 0, 1, 'L'); $this->Ln(2); - $this->SetDrawColor(200, 200, 200); + $this->Cell(0, 0.5, '', 'T', 1, 'L'); + $this->Ln(2); + $this->SetFont('Arial', 'I', 9); $this->Cell(0, 5, $this->enc('Ci-apres denomme(e) "le Client",'), 0, 1, 'L'); $this->Ln(5);