Enlarge medical report watermark

This commit is contained in:
sas.fajri
2026-05-21 13:46:02 +07:00
parent e53e9c19f7
commit 94d923116a

View File

@@ -22,12 +22,12 @@ class MedicalCheckupReportPdf extends FPDF
$imgW = intval($info[0]);
$imgH = intval($info[1]);
$drawW = 158.0;
$drawW = 175.0;
$drawH = ($imgH / $imgW) * $drawW;
// Position tuned to match lab report reference.
$x = ($this->GetPageWidth() - $drawW) / 2;
$y = 92.0;
$y = 86.0;
$this->Image($this->watermarkPath, $x, $y, $drawW, $drawH, 'JPEG');
}