From 53c8359acc826069ca2d18d03a8d6d217b90e1a7 Mon Sep 17 00:00:00 2001 From: BOHA Date: Tue, 9 Jun 2026 17:04:44 +0200 Subject: [PATCH] feat(ui): unify VAT rate+toggle layout (offers/invoices/orders); move offers secondary row actions into an overflow menu Co-Authored-By: Claude Opus 4.8 (1M context) --- src/admin/pages/InvoiceDetail.tsx | 19 +++- src/admin/pages/IssuedOrderDetail.tsx | 2 +- src/admin/pages/OfferDetail.tsx | 4 +- src/admin/pages/Offers.tsx | 139 ++++++++++++++++++++------ 4 files changed, 130 insertions(+), 34 deletions(-) diff --git a/src/admin/pages/InvoiceDetail.tsx b/src/admin/pages/InvoiceDetail.tsx index 1b9888e..24b2e5b 100644 --- a/src/admin/pages/InvoiceDetail.tsx +++ b/src/admin/pages/InvoiceDetail.tsx @@ -1889,7 +1889,7 @@ export default function InvoiceDetail() { @@ -1934,6 +1934,23 @@ export default function InvoiceDetail() { ]} /> + {/* Document-default VAT rate. Presentational only — it writes the + already-existing `form.vat_rate` (used to seed new line rows / + as the per-line fallback). Totals are computed per-line from + `item.vat_rate`, so changing this does NOT alter computed VAT. */} + + - +