diff --git a/src/Services/PdfInvoiceService.php b/src/Services/PdfInvoiceService.php index 720c054..fc16e8a 100644 --- a/src/Services/PdfInvoiceService.php +++ b/src/Services/PdfInvoiceService.php @@ -115,6 +115,8 @@ class PdfInvoiceService . ''; } + $payDays = $inv['payment_days'] ?? 14; + // Fälligkeitsdatum (nicht bei Stornorechnung) $fälligText = ''; if (!$isStorno && !empty($inv['faellig_datum'])) { @@ -145,8 +147,6 @@ class PdfInvoiceService } } - $payDays = $inv['payment_days'] ?? 14; - // Empfänger-Land nur wenn nicht DE $land = ($inv['land'] ?? 'DE') !== 'DE' ? '
' . $h($inv['land']) : '';