production/Societes/envoyx/Tarifs/Controleur/Avenantretraitacte.php
2026-03-04 01:48:40 +00:00

67 lines
1.7 KiB
PHP
Executable File
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<?php
$ht0 = 8;
$ht = 6;
$tp = 9;
require_once 'Enteteavenant.php';
$corpsavenant = $this->editionpieceavenant_societe->get_edition_avenant_importation_acte();
// Un peu d'espace avant le dé but du corps
$pdf->Ln(5);
$pdf->SetFont('Arial','BIU', $tp);
$pdf->Cell(0,$ht0,convertirc(_("AVENANT DE RETRAIT D'ACTE")),0,1,'C',false);
$pdf->SetFont('Arial','', $tp);
$pdf->Ln(10);
$pdf->SetFont('Arial','', $tp);
$text = convertirc("A la demande du souscripteur et dun commun accord entre les parties, la (les) acte(s) dont la liste est ci-dessous est (sont) retiré(s) du présent contrat.");
$pdf->MultiCell(0, $ht, $text);
$pdf->Ln(5);
$pdf->SetFont('Arial','BI', $tp);
$pdf->Cell(60,$ht,convertirc(_("Collège")),1,0,'C',false);
$pdf->Cell(65,$ht,convertirc(_('Garantie')),1,0,'C',false);
$pdf->Cell(65,$ht,convertirc(_('Acte')),1,1,'C',false);
// var_dump($corpsavenant);
$pdf->SetFont('Arial','', $tp);
foreach ($corpsavenant as $donnee)
{
$garantie = convertirc($donnee['garantieEng']);
$acte = convertirc($donnee['acte']);
if (est_anglophone())
{
$garantie = convertirc($donnee['garantieEng']);
$acte = convertirc($donnee['acteEng']);
}
$pdf->Cell(60,$ht,convertirc($donnee['libelleCollege']),1,0,'L',false);
$pdf->Cell(65,$ht, $garantie,1,0,'L',false);
$pdf->Cell(65,$ht, $acte,1,1,'L',false);
}
$pdf->Ln(10);
$pdf->SetFont('Arial','', $tp);
$text = convertirc("Il nest autrement dérogé aux autres termes du présent Contrat.");
$pdf->MultiCell(0, $ht, $text);
// Un peu d'espace avant le pied de page
$pdf->Ln(10);
// Piedavenant
require_once 'Piedavenant.php';
?>