feat: bloc encadre pour le client dans PDF contrat (meme presentation que l'association)
Partie "ET" du contrat : bloc encadre gris avec raison sociale et email du client, meme style que le bloc dore de l'association. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -139,11 +139,21 @@ class ContratMigrationSiteconseilPdf extends Fpdi
|
|||||||
$this->SetFont('Arial', 'B', 9);
|
$this->SetFont('Arial', 'B', 9);
|
||||||
$this->Cell(0, 5, $this->enc('ET :'), 0, 1, 'L');
|
$this->Cell(0, 5, $this->enc('ET :'), 0, 1, 'L');
|
||||||
$this->Ln(2);
|
$this->Ln(2);
|
||||||
$this->SetFont('Arial', '', 9);
|
|
||||||
$this->MultiCell(0, 4, $this->enc(
|
$this->SetDrawColor(200, 200, 200);
|
||||||
$this->contrat->getRaisonSociale().', '
|
$clientY = $this->GetY();
|
||||||
.'joignable a l\'adresse email '.$this->contrat->getEmail().','
|
$this->Rect(15, $clientY, 180, 14);
|
||||||
), 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->Ln(2);
|
||||||
|
$this->SetDrawColor(200, 200, 200);
|
||||||
$this->SetFont('Arial', 'I', 9);
|
$this->SetFont('Arial', 'I', 9);
|
||||||
$this->Cell(0, 5, $this->enc('Ci-apres denomme(e) "le Client",'), 0, 1, 'L');
|
$this->Cell(0, 5, $this->enc('Ci-apres denomme(e) "le Client",'), 0, 1, 'L');
|
||||||
$this->Ln(5);
|
$this->Ln(5);
|
||||||
|
|||||||
Reference in New Issue
Block a user