31 lines
1.3 KiB
PHP
Executable File
31 lines
1.3 KiB
PHP
Executable File
<?php
|
|
//$pdf = new FPDF();
|
|
require("entetefacture.php");
|
|
|
|
$pdf->SetFont('Arial','B', 10);
|
|
|
|
$pdf->Cell(70,$ht,convertirc(_("PERIODE")),1,0,'C',false);
|
|
$pdf->Cell(40,$ht,convertirc(_("HONORAIRES HT")),1,0,'C',false);
|
|
$pdf->Cell(40,$ht,convertirc(_("T.V.A")),1,0,'C',false);
|
|
$pdf->Cell(40,$ht,convertirc(_("TOTAL")),1,1,'C',false);
|
|
|
|
|
|
$pdf->SetFont('Arial','', 10);
|
|
$pdf->Cell(70,$ht,convertirc("DU ".datelang($entetefacturegarant['dateDebut'],$_SESSION['lang'])." AU ".datelang($entetefacturegarant['dateFin'],$_SESSION['lang'])),1,0,'C',false);
|
|
$pdf->Cell(40,$ht,convertirc(format_N($entetefacturegarant['honoraireSinistre'])),1,0,'C',false);
|
|
$pdf->Cell(40,$ht,convertirc(format_N($entetefacturegarant['taxe'])),1,0,'C',false);
|
|
$pdf->Cell(40,$ht,convertirc(format_N($entetefacturegarant['montantTtc'])),1,1,'C',false);
|
|
|
|
$pdf->SetFont('Arial','B', 10);
|
|
$pdf->Cell(70,$ht,convertirc("Solde : "),0,0,'C',false);
|
|
$pdf->Cell(40,$ht,convertirc(format_N($entetefacturegarant['honoraireSinistre'])),0,0,'C',false);
|
|
$pdf->Cell(40,$ht,convertirc(format_N($entetefacturegarant['taxe'])),0,0,'C',false);
|
|
$pdf->Cell(40,$ht,convertirc(format_N($entetefacturegarant['montantTtc'])),0,1,'C',false);
|
|
|
|
|
|
$x1=10; $y1 = $pdf->GetY(); $x2=200; $y2=$y1;
|
|
$pdf->Line($x1, $y1, $x2, $y2);
|
|
|
|
require("piedfacture.php");
|
|
|