feat: champs DocuSeal pour les infos client dans PDF contrat

Bloc client avec champs DocuSeal que le client remplit lors de la signature :
- RaisonSociale, SIRET, Adresse, Email, Telephone, Representant
Meme presentation que le bloc association (lignes label/valeur avec separateurs)

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
Serreau Jovann
2026-04-09 15:32:28 +02:00
parent b5fcc41319
commit 1bbbff75fc

View File

@@ -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);