Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add possibility to show scissors instead of text if printable=false #258

Closed
wants to merge 13 commits into from
Closed
Prev Previous commit
Next Next commit
Merge branch 'master' into master
  • Loading branch information
tafel authored Sep 9, 2024
commit 532f7ce167a586297d256262620efe9b5a9a115b
3 changes: 1 addition & 2 deletions src/PaymentPart/Output/FpdfOutput/FpdfOutput.php
Original file line number Diff line number Diff line change
Expand Up @@ -236,7 +236,6 @@ private function addSeparatorContentIfNotPrintable(): void
}
$this->fpdf->Line(2 + $this->offsetX, 193 + $this->offsetY, 208 + $this->offsetX, 193 + $this->offsetY);
$this->fpdf->Line(62 + $this->offsetX, 193 + $this->offsetY, 62 + $this->offsetX, 296 + $this->offsetY);

if ($this->isScissors()) {
$this->fpdf->swissQrBillSetDash(0);

Expand All @@ -252,7 +251,7 @@ private function addSeparatorContentIfNotPrintable(): void
} else {
$this->fpdf->SetFont(self::FONT, '', self::FONT_SIZE_FURTHER_INFORMATION);
$this->setY(189.6);
$this->fpdf->MultiCell(0, 0, $this->toUtf8(Translation::get('separate', $this->language)), self::BORDER, self::ALIGN_CENTER);
$this->fpdf->MultiCell(0, 0, $this->convertEncoding(Translation::get('separate', $this->language)), self::BORDER, self::ALIGN_CENTER);
}
}
}
Expand Down
Loading
You are viewing a condensed version of this merge commit. You can view the full changes here.