1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51
| <?php
....
$pdf->SetFont('Arial','BUI',14);
$tarifs='Tarifs :';
$w=$pdf->GetStringWidth($tarifs)+6;
$pdf->SetX(10);
$pdf->Cell($w,5,$tarifs,0,'R',0);
$pdf->Ln(7);
$pdf->SetFont('Arial','B',12);
$pdf->SetX(10);
$pdf->SetFillColor(169,105,105);
$pdf->SetTextColor(255,255,255);
$designation='Achat d\'une galerie pour le mariage n° : '.$id_gal;
$designation2='pour une duree de '.$duree.' mois avec le style:'.$style;
$designation3='Mariage de '.$marie;
$pdf->Cell(110,10,'Designation','LTRB',0,'C',1);
$pdf->Cell(25,10,'Quantite','LTRB',0,'C',1);
$pdf->Cell(25,10,'Prix unitaire','LTRB',0,'C',1);
$pdf->Cell(25,10,'Montant','LTRB',0,'C',1);
$pdf->Ln(10);
$pdf->SetFillColor(232,215,215);
$pdf->SetTextColor(0,0,0);
$pdf->SetX(10);
$pdf->Cell(110,7,$designation,'LTR',0,'C',1);
$qte='1';
$pdf->Cell(25,7,$qte,'LTR',0,'C',1);
$prixU=$tot.' ';
$pdf->Cell(25,7,$prixU,'LTR',0,'C',1);
$prixht=$tot.' ';
$pdf->Cell(25,7,$prixht,'LTR',0,'C',1);
$pdf->Ln(7);
$pdf->SetX(10);
$pdf->Cell(110,7,$designation2,'LRB',0,'C',1);
$pdf->Cell(25,7,'','LRB',0,'C',1);
$pdf->Cell(25,7,'','LRB',0,'C',1);
$pdf->Cell(25,7,'','LRB',0,'C',1);
$pdf->Ln(7);
$pdf->SetX(10);
$pdf->Cell(110,7,$designation3,'LRB',0,'C',1);
$pdf->Cell(25,7,'','LRB',0,'C',1);
$pdf->Cell(25,7,'','LRB',0,'C',1);
$pdf->Cell(25,7,'','LRB',0,'C',1);
$pdf->Ln(7);
....?> |
Partager