fixe-logo-pdf-width

This commit is contained in:
Narindra ezway 2025-04-24 09:42:55 +03:00
parent e02735c063
commit 997a8f5d1f
2 changed files with 2 additions and 2 deletions

View File

@ -56,7 +56,7 @@ class InvoiceGroupPdfHandler extends FPDF {
function Header() function Header()
{ {
if($this->logo != "nothing"){ if($this->logo != "nothing"){
$this->Image($this->logoPath."logo.png", 2, 2, 50,35); $this->Image($this->logoPath."logo.png", 2, 2, 75 ,25);
$this->AddWatermark(); $this->AddWatermark();
} }
else{ else{

View File

@ -52,7 +52,7 @@ class InvoicePdfHandler extends FPDF
function Header() function Header()
{ {
if ($this->logo != "nothing") { if ($this->logo != "nothing") {
$this->Image($this->logoPath . "logo.png", 2, 2, 50, 35); $this->Image($this->logoPath . "logo.png", 2, 2, 75, 25);
$this->AddWatermark(); $this->AddWatermark();
} else { } else {
$this->Cell(55, 30, ''); $this->Cell(55, 30, '');