fix(quotes): show real material names instead of category in accept modal & detail

Line-item labels in the accept modal («پروژهی هر قلم» and the keep/reject
list) and the quote-detail flow boxes printed category + brand (e.g. the
topic name). Both now use materialLabel() → the material's actual stored
name, consistent with the rest of the dashboard.
This commit is contained in:
2026-09-08 14:51:36 +03:30
parent 529eb67d01
commit c64718ef70
2 changed files with 5 additions and 3 deletions
+2 -1
View File
@@ -6,6 +6,7 @@ import {
itemTermsheetIds,
lineItemTotal,
materialById,
materialLabel,
materialSpecs,
refConverted,
specsLabel,
@@ -96,7 +97,7 @@ export function QuoteDetail({ store, q }: QuoteDetailProps) {
>
<div className="fb-name">
<Package className="me-1 inline h-3 w-3 text-muted" />
{m.category} {m.brand}
{materialLabel(m)}
{specText ? ` · ${specText}` : ""}
</div>
<div className="fb-meta">