Fix: Vorschau-Titel größer (20pt), Referenzzeile einzeilig
This commit is contained in:
parent
3fcc4e6e26
commit
9d819b491c
2 changed files with 4 additions and 4 deletions
|
|
@ -110,8 +110,8 @@ class PdfInvoiceService
|
||||||
$stornoRefHtml = '';
|
$stornoRefHtml = '';
|
||||||
if ($isStorno && !empty($inv['original_rechnungs_nr'])) {
|
if ($isStorno && !empty($inv['original_rechnungs_nr'])) {
|
||||||
$stornoRefHtml = '<div style="font-size:7pt;margin-top:2mm">'
|
$stornoRefHtml = '<div style="font-size:7pt;margin-top:2mm">'
|
||||||
. 'zu Rechnung Nr. <strong>' . $h($inv['original_rechnungs_nr']) . '</strong><br>'
|
. 'zu Rechnung Nr. <strong>' . $h($inv['original_rechnungs_nr']) . '</strong>'
|
||||||
. 'vom ' . $fmtDate($inv['original_rechnungs_datum'] ?? '')
|
. ' vom ' . $fmtDate($inv['original_rechnungs_datum'] ?? '')
|
||||||
. '</div>';
|
. '</div>';
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -102,11 +102,11 @@ $badgeClass = match($invoice['status']) {
|
||||||
<?php if ($invoice['land'] !== 'DE'): ?><br><?= $h($invoice['land']) ?><?php endif; ?>
|
<?php if ($invoice['land'] !== 'DE'): ?><br><?= $h($invoice['land']) ?><?php endif; ?>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div style="text-align:right;font-size:15pt">
|
<div style="text-align:right;font-size:20pt">
|
||||||
<?= !empty($invoice['storno_of_id']) ? 'STORNORECHNUNG' : 'Rechnung' ?>
|
<?= !empty($invoice['storno_of_id']) ? 'STORNORECHNUNG' : 'Rechnung' ?>
|
||||||
<?php if (!empty($invoice['storno_of_id']) && !empty($originalrechnung)): ?>
|
<?php if (!empty($invoice['storno_of_id']) && !empty($originalrechnung)): ?>
|
||||||
<div style="font-size:.65rem;margin-top:.3rem;font-weight:normal">
|
<div style="font-size:.65rem;margin-top:.3rem;font-weight:normal">
|
||||||
zu Rechnung Nr. <strong><?= $h($originalrechnung['rechnungs_nr']) ?></strong><br>
|
zu Rechnung Nr. <strong><?= $h($originalrechnung['rechnungs_nr']) ?></strong>
|
||||||
vom <?= $h(View::formatDate($originalrechnung['rechnungs_datum'] ?? '')) ?>
|
vom <?= $h(View::formatDate($originalrechnung['rechnungs_datum'] ?? '')) ?>
|
||||||
</div>
|
</div>
|
||||||
<?php endif; ?>
|
<?php endif; ?>
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue