DV : fixe position tampon in attestation

This commit is contained in:
narindraezway 2025-07-30 13:05:01 +03:00
parent 2950fed400
commit e4717ec95a
2 changed files with 4 additions and 4 deletions

View File

@ -77,7 +77,7 @@ class CareCertificatePdfHandler extends FPDF {
$this->Cell(0,10,'Cachet et signature');
if($this->tamponImageExist){
$this->Image($this->imagePath."sign.jpg", 120, $this->GetY() + 8, 80, 35);
$this->Image($this->imagePath."sign.jpg", 120, $this->GetY() + 9, 80, 35);
}
if($this->signatureImageExist){
@ -89,7 +89,7 @@ class CareCertificatePdfHandler extends FPDF {
$this->SetFont('ComicSans', '', 14);
$this->MultiCell(0,7,FileExportHelpers::FormatTextForExport('La Société '. $this->devisOfDefunt['configuration']->entreprise. ' habilitée sous le numéro ' . $this->devisOfDefunt['thanato_reference'] . ', certifie par la présente que : '));
$this->SetFont('ComicSans', 'B', 14);
$this->Cell(0,12, 'Mr/Mme ' . FileExportHelpers::FormatTextForExport($this->devisOfDefunt['thanato_nom'] . ' ' . $this->devisOfDefunt['thanato_prenom']),0,1);
$this->Cell(0,12, FileExportHelpers::FormatTextForExport($this->devisOfDefunt['thanato_nom'] . ' ' . $this->devisOfDefunt['thanato_prenom']),0,1);
$this->SetFont('ComicSans', '', 14);
$this->MultiCell(0,7, FileExportHelpers::FormatTextForExport('Employé(e) au sein de notre société et titulaire du diplôme national de Thanatopracteur, a effectué des soins de conservation sur le corps du défunt :'));
$this->SetFont('ComicSans', 'B', 14);

View File

@ -80,7 +80,7 @@ class PacemakerCertificatePdfHandler extends FPDF
$this->Cell(0, 10, 'Cachet et signature');
if($this->tamponImageExist){
$this->Image($this->imagePath."sign.jpg", 120, $this->GetY() + 8, 80, 35);
$this->Image($this->imagePath."sign.jpg", 120, $this->GetY() + 9, 80, 35);
}
if($this->signatureImageExist){
@ -93,7 +93,7 @@ class PacemakerCertificatePdfHandler extends FPDF
$this->SetFont('ComicSans', '', 14);
$this->MultiCell(0, 7, FileExportHelpers::FormatTextForExport('La Société ' . $this->devisOfDefunt['configuration']->entreprise . ' habilitée sous le numéro ' . $this->devisOfDefunt['thanato_reference'] . ', certifie par la présente que : '));
$this->SetFont('ComicSans', 'B', 14);
$this->Cell(0, 12, 'Mr/Mme ' . FileExportHelpers::FormatTextForExport($this->devisOfDefunt['thanato_nom'] . ' ' . $this->devisOfDefunt['thanato_prenom']), 0, 1);
$this->Cell(0, 12, FileExportHelpers::FormatTextForExport($this->devisOfDefunt['thanato_nom'] . ' ' . $this->devisOfDefunt['thanato_prenom']), 0, 1);
$this->SetFont('ComicSans', '', 14);
$this->MultiCell(0, 7, FileExportHelpers::FormatTextForExport('Employé(e) au sein de notre société et titulaire du diplôme national de Thanatopracteur, a retiré ce jour, la prothèse fonctionnant à pile implantée sur le corps du défunt :'));
$this->SetFont('ComicSans', 'B', 14);