updated warehouseoffer

This commit is contained in:
Luca Haid
2025-06-16 09:50:10 +02:00
parent 203b9fa7a8
commit 4b46313ab8
3 changed files with 91 additions and 6 deletions
@@ -33,6 +33,7 @@ $texts = [
'usageLabel' => 'Zweck:',
'customerReferenceLabel' => 'Kundenreferenz:',
'validUntilLabel' => 'Gültig bis:',
'vatLabel' => 'USt-IdNr.:',
'pageLabel' => 'Seite', // For page numbering in content if needed
'table' => [
'pos' => 'Pos',
@@ -241,6 +242,10 @@ $formattedValidUntil = $validUntilDate ? date("d.m.Y", $validUntilDate) : date("
<tr>
<td class="label" style="text-align: left"><?= $text['usageLabel'] ?></td>
<td><?= $offer->purpose ?? 'Keine Angabe' ?></td>
<?php if (!empty($offer->customerVAT)) : ?>
<td class="label"><?= $text['vatLabel'] ?></td>
<td><?= htmlspecialchars($offer->customerVAT) ?></td>
<?php endif; ?>
</tr>