feat: move additional info on invoice pdf to top left

This commit is contained in:
Björn Fromme committed 2025-03-04 11:01:12 +01:00
1 parent 1bac1b4bce
commit 591c6d5010
2 files changed
+3 -3

No files matched your search

+2 -2
View File
@@ -39,13 +39,13 @@ class InvoiceRenderer extends AbstractPdfRenderer
// Cost unit
if (null !== $costUnit = $assignment->getDestination()->getCostUnit()) {
$pdf->SetFont('Arial', '', 11);
$pdf->Text(116.5,74, utf8_decode('Kostenstelle: '.$costUnit));
$pdf->Text(20,20, utf8_decode('Kostenstelle: '.$costUnit));
}
// Cost center
if (null !== $costCenter = $assignment->getCostCenter()) {
$pdf->SetFont('Arial', '', 11);
$pdf->Text(116.5,79, utf8_decode('Kostenträger: '.$costCenter));
$pdf->Text(20,25, utf8_decode('Kostenträger: '.$costCenter));
}
// Invoice number