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:
@@ -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">
|
||||
|
||||
Reference in New Issue
Block a user