$pdf->SetFillColor(211, 211, 211); # $this->SetTextColor(255); $pdf->SetDrawColor(128, 0, 0); $d = new DateFR($operation['DATETRANSACTION']); # Classe de l'eleve $pdf->WriteHTMLCell(0, 0, $x + 135, $y + 3, "<b>Classe : " . $classe['NIVEAUHTML'] . "</b>"); $daterecu = '<b>' . $d->getDate() . " " . $d->getMois(3) . " " . $d->getYear() . " " . $d->getTime() . '</b>'; $pdf->WriteHTMLCell(0, 0, $x + 135, $y + 10, "<b>Montant : # " . moneyString($operation['MONTANT']) . "#</b>", 1, 1, true); $pdf->WriteHTMLCell(0, 0, $x + 135, $y + 15, $daterecu); $contenu = '<span style="width: 20%; text-align: left">Reçu de </span> : ' . $operation['NOMEL'] . " " . $operation['PRENOMEL'] . '<br/> <span style="width: 20%; text-align: left">Pour </span> : <span class="recu_libelle" >' . $operation['DESCRIPTION'] . '</span><br/> <span style="width: 20%;text-align: left">MONTANT</span> : ' . moneyString($operation['MONTANT']) . ' <em>fcfa</em> <span style="font-size: 12px"><i>(' . enLettre($operation['MONTANT']) . ' franc cfa)</i></span><br/> <span style="width: 20%;text-align: left">RESTE</span> : ' . moneyString($restant) . ' <em>fcfa</em> <span style="font-size: 12px"><i>(' . enLettre($restant) . ' franc cfa)</i></span><br/>'; $pdf->WriteHTMLCell(0, 0, $x, $y + 22, $contenu); $infosresp = 'S/C ' . $operation['CIVILITEREP'] . " " . $operation['NOMREP'] . " " . $operation['PRENOMREP'] . '<br/>Tél : ' . $operation['PORTABLEREP']; $pdf->WriteHTMLCell(0, 0, $x, $y + 50, $infosresp); /* $barrecode = SITE_ROOT . "public/tmp/barcode_upca.png"; $pdf->Image($barcode, 80, 50, 30, '', '', '', 'T', false, 300, '', false, false, 0, false, false, false); //echo $barcode; */ $pdf->write1DBarcode($operation['REFCAISSE'], 'C128A', $x + 60, $y + 60, '', 8, 0.4); $pdf->setFont("Times", "", 8); $pdf->WriteHTMLCell(0, 0, $x + 130, $y + 40, "Enreg. par : " . $enregistreur['CIVILITE'] . ' ' . $enregistreur['NOM']); $pdf->WriteHTMLCell(0, 0, $x + 130, $y + 55, "Perçu. par : " . $percepteur['CIVILITE'] . ' ' . $percepteur['NOM']); $d->setSource($operation['DATEPERCEPTION']); $pdf->WriteHTMLCell(0, 0, $x + 150, $y + 60, $d->getDate() . " " . $d->getMois(3) . " " . $d->getYear() . " " . $d->getTime()); $pdf->setFont("Times", "", 7); $d->setSource(date("Y-m-d H:i:s", time())); $infopersonnel = 'Imprimé par ' . $personnel['CIVILITE'] . " " . $personnel['NOM'] . ' le ' . $d->getDate() . " " . $d->getMois(3) . " " . $d->getYear() . " " . $d->getTime();
</span><br/> <span style="width: 80px;text-align: left">MONTANT</span> : <?php echo moneyString($operation['MONTANT']); ?> <em>fcfa</em> <span style="font-size: 14px"><i>(<?php echo enLettre($operation['MONTANT']); ?> franc cfa)</i></span><br/> <span style="width: 80px;text-align: left">RESTE</span> : <?php echo moneyString($restant); ?> <em>fcfa</em> <span style="font-size: 14px"><i>(<?php echo enLettre($restant); ?> franc cfa)</i></span><br/> </div> <div style="text-align: left !important;"> <span style="display: inline-block; float: left; width: 250px;top: 10px; position: relative;">S/C <?php echo $operation['CIVILITEREP'] . " " . $operation['NOMREP'] . " " . $operation['PRENOMREP']; ?> <br/> Tél : <?php echo $operation['PORTABLEREP']; ?> <br/><br/> Imprimé par <?php echo $imprimeur['CIVILITE'] . " " . $imprimeur['NOM'] . " " . $imprimeur['PRENOM'] . " le ";