Show company name + VAT ID on the account order-detail page; pick up Netto-row invoicing update

Order detail (/konto/bestellungen/[orderNumber]) already carried
companyName/vatId/vatExempt on CustomerOrderDetail but never rendered
them — a B2B customer looking at their own order couldn't see the
company/VAT info that's already on their invoice. Now shown in the
billing-address block, with a note when the order was VAT-exempt.

Also bumps @einfach-produktiv/invoicing to pick up the Netto-row fix
(now shown on every invoice, not just non-exempt ones).

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
This commit is contained in:
Marco
2026-07-23 20:59:23 +00:00
parent 789a818c6b
commit c60e936b7e
2 changed files with 10 additions and 1 deletions
@@ -87,6 +87,9 @@ export default async function KontoBestellungDetailPage({ params }: { params: Pr
common case (no override) keeps the original "Lieferadresse"
label, since that's exactly what this address still is. */}
<p className="text-label text-text-muted">{order.hasDifferentShippingAddress ? "Rechnungsadresse" : "Lieferadresse"}</p>
{order.companyName && (
<p className="text-body-sm text-text-primary">{order.companyName}</p>
)}
<p className="text-body-sm text-text-primary">
{order.customerFirstName} {order.customerLastName}
</p>
@@ -94,6 +97,12 @@ export default async function KontoBestellungDetailPage({ params }: { params: Pr
<p className="text-body-sm text-text-primary">
{order.zip} {order.city}, {order.country}
</p>
{order.vatId && (
<p className="text-body-sm text-text-muted">
USt-IdNr. {order.vatId}
{order.vatExempt && " · steuerfreie innergemeinschaftliche Lieferung"}
</p>
)}
</div>
{order.hasDifferentShippingAddress && (
+1 -1
View File
@@ -359,7 +359,7 @@
},
"node_modules/@einfach-produktiv/invoicing": {
"version": "0.1.0",
"resolved": "git+https://git.mk360.de/Marco/einfach-produktiv-invoicing.git#942b8a86322b165a09e7b91af686b6c3538989f4",
"resolved": "git+https://git.mk360.de/Marco/einfach-produktiv-invoicing.git#31978d5ea222020601eb4507f9f0c314f928adff",
"dependencies": {
"@e-invoice-eu/core": "^3.1.1"
},