71 lines
2.2 KiB
PHP
Executable File
71 lines
2.2 KiB
PHP
Executable File
<?php
|
||
|
||
$ht0 = 8;
|
||
$ht = 6;
|
||
$tp = 8;
|
||
|
||
require_once 'Enteteavenant.php';
|
||
|
||
$corpsavenant = $this->editionpieceavenant_societe->get_edition_avenant_primes();
|
||
|
||
// Un peu d'espace avant le dé but du corps
|
||
$pdf->Ln(5);
|
||
|
||
$pdf->SetFont('Arial','BIU', $tp);
|
||
|
||
$pdf->Cell(0,$ht0,convertirc(_("AVENANT CHANGEMENT DE COLLEGE")),0,1,'C',false);
|
||
|
||
$pdf->SetFont('Arial','', $tp);
|
||
|
||
$pdf->Ln(10);
|
||
|
||
$pdf->SetFont('Arial','', $tp);
|
||
|
||
$text = convertirc("A la demande du souscripteur et d’un commun accord entre les parties, Les personnes dont la liste est jointe en annexe ont changé de collège.
|
||
|
||
Cette opération a généré une quittance de " . format_N($corpsavenant['primeTtc']) . " " . $_SESSION['devise_C'] . " décomptée ainsi qu’il suit :");
|
||
|
||
$pdf->MultiCell(0, $ht, $text);
|
||
|
||
$pdf->Ln(5);
|
||
|
||
$ht2=7;
|
||
$pdf->Cell(90,$ht2,convertirc(_("P Nette")),0,0,'C',false);
|
||
$pdf->Cell(4,$ht2,"=",0,0,'C',false);
|
||
$pdf->Cell(60,$ht2,convertirc(format_N($corpsavenant['primeNette'])),0,1,'L',false);
|
||
|
||
$pdf->Cell(90,$ht2,convertirc(_("Accessoires")),0,0,'C',false);
|
||
$pdf->Cell(4,$ht2,"=",0,0,'C',false);
|
||
$pdf->Cell(60,$ht2,convertirc(format_N($corpsavenant['accessoire'] + $corpsavenant['fraisCarte'])),0,1,'L',false);
|
||
|
||
$pdf->Cell(90,$ht2,convertirc(_("Prime HT")),0,0,'C',false);
|
||
$pdf->Cell(4,$ht2,"=",0,0,'C',false);
|
||
$pdf->Cell(60,$ht2,convertirc(format_N($corpsavenant['primeHt'])),0,1,'L',false);
|
||
|
||
$pdf->Cell(90,$ht2,convertirc((isset($_SESSION['composanteprime']['Taxes'])) ? _($_SESSION['composanteprime']['Taxes']) : _("Taxes")),0,0,'C',false);
|
||
$pdf->Cell(4,$ht2,"=",0,0,'C',false);
|
||
$pdf->Cell(60,$ht2,convertirc(format_N($corpsavenant['taxe'])),0,1,'L',false);
|
||
|
||
// Total
|
||
$pdf->SetFont('Arial','BI', $tp);
|
||
|
||
$pdf->Cell(90,$ht2,convertirc(_("Prime TTC")),0,0,'C',false);
|
||
$pdf->Cell(4,$ht2,"=",0,0,'C',false);
|
||
$pdf->Cell(60,$ht2,convertirc(format_N($corpsavenant['primeTtcInitial'])),0,1,'L',false);
|
||
|
||
|
||
$pdf->Ln(10);
|
||
|
||
$pdf->SetFont('Arial','', $tp);
|
||
|
||
$text = convertirc("Il n’est 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';
|
||
|
||
?>
|