From a866384f08d45154d594fa5a6f875e0798c4d07d Mon Sep 17 00:00:00 2001 From: BOHA Date: Tue, 24 Mar 2026 07:53:08 +0100 Subject: [PATCH] feat: add item_description field to offer items editor (matches PHP) --- src/admin/pages/OfferDetail.tsx | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/admin/pages/OfferDetail.tsx b/src/admin/pages/OfferDetail.tsx index 7c7c5cf..e5b96ca 100644 --- a/src/admin/pages/OfferDetail.tsx +++ b/src/admin/pages/OfferDetail.tsx @@ -130,7 +130,9 @@ function SortableItemRow({ item, index, currency, readOnly, canDelete, onUpdate, {index + 1} onUpdate('description', e.target.value)} - className="admin-form-input" placeholder="Název položky" readOnly={readOnly} /> + className="admin-form-input" placeholder="Název položky" readOnly={readOnly} style={{ marginBottom: '0.25rem', fontWeight: 500 }} /> + onUpdate('item_description', e.target.value)} + className="admin-form-input" placeholder="Podrobný popis (volitelný)" readOnly={readOnly} style={{ fontSize: '0.8rem', opacity: 0.8 }} /> onUpdate('quantity', parseFloat(e.target.value) || 0)}