fix: invoice PDF table — numbers 8pt, description column wider (36%)

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
BOHA
2026-04-02 12:01:51 +02:00
parent 1a13d745f1
commit 09d345a312

View File

@@ -635,7 +635,7 @@ export default async function invoicesPdfRoutes(
width: 100%;
table-layout: fixed;
border-collapse: collapse;
font-size: 9pt;
font-size: 8pt;
margin-bottom: 2mm;
}
table.items thead th {
@@ -906,13 +906,13 @@ ${indentCSS}
<table class="items">
<thead>
<tr>
<th class="center" style="width:4%">${escapeHtml(t.col_no)}</th>
<th style="width:28%">${escapeHtml(t.col_desc)}</th>
<th class="center" style="width:12%">${escapeHtml(t.col_qty)}</th>
<th class="right" style="width:11%">${escapeHtml(t.col_unit_price)}</th>
<th class="right" style="width:11%">${escapeHtml(t.col_price)}</th>
<th class="center" style="width:7%">${escapeHtml(t.col_vat_pct)}</th>
<th class="right" style="width:11%">${escapeHtml(t.col_vat)}</th>
<th class="center" style="width:3%">${escapeHtml(t.col_no)}</th>
<th style="width:36%">${escapeHtml(t.col_desc)}</th>
<th class="center" style="width:10%">${escapeHtml(t.col_qty)}</th>
<th class="right" style="width:10%">${escapeHtml(t.col_unit_price)}</th>
<th class="right" style="width:10%">${escapeHtml(t.col_price)}</th>
<th class="center" style="width:5%">${escapeHtml(t.col_vat_pct)}</th>
<th class="right" style="width:10%">${escapeHtml(t.col_vat)}</th>
<th class="right" style="width:16%">${escapeHtml(t.col_total)}</th>
</tr>
</thead>