Fix: $payDays vor erster Verwendung in PdfInvoiceService definieren
This commit is contained in:
parent
8e0c73289a
commit
d72f9077a0
1 changed files with 2 additions and 2 deletions
|
|
@ -115,6 +115,8 @@ class PdfInvoiceService
|
|||
. '</div>';
|
||||
}
|
||||
|
||||
$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' ? '<br>' . $h($inv['land']) : '';
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue