Preorder Billing Marketshare Price + RML layout tweaks

This commit is contained in:
Frank Schubert
2025-03-24 18:37:33 +01:00
parent 97c7a1dde5
commit 40f92c3b7c
11 changed files with 207 additions and 46 deletions
@@ -86,12 +86,15 @@ $this->setReturnValue(['filename' => $invoice->invoice_number . ".pdf"]);
<h2><?=($is_credit) ? "Gutschrift" : "Rechnung"?> <?=$invoice->invoice_number?></h2>
<?php if($invoice->head_text):?>
<p><?=$invoice->head_text?></p>
<?php endif; ?>
<table style="border-collapse: collapse; width: 100%;" id="invoiceTable">
<tr style="font-weight: bold; border-bottom: 1px solid black;" class="uneven">
<th style="text-align: left">Pos</th>
<th style="text-align: left">Artikel</th>
<th style="text-align: left">Leistung / Produkt</th>
<th style="text-align: right">Preis</th>
<th style="text-align: right">Menge</th>
<th style="text-align: left">Einheit</th>
<th style="text-align: right">Preis €</th>
@@ -112,7 +115,6 @@ $this->setReturnValue(['filename' => $invoice->invoice_number . ".pdf"]);
<td style="text-align: left"><?=$i+1?></td>
<td style="text-align: left"><?=$p->article_number?></td>
<td style="text-align: left"><?=$p->article_name?></td>
<td style="text-align: right"><?=$price?> €</td>
<td style="text-align: right"><?=$amount?></td>
<td style="text-align: left"><?=$p->unit?></td>
<td style="text-align: right"><?=$price?> €</td>
@@ -146,13 +148,14 @@ $this->setReturnValue(['filename' => $invoice->invoice_number . ".pdf"]);
</tr>
</table>
<div style="margin-top: 20pt;">
<?php if($invoice->tax_text): ?>
<p style="font-weight: bold;"><?=$invoice->tax_text?></p>
<?php endif; ?>
</div>
Zahlungsziel 14 Tage.
</div>
</body>
</html>