diff --git a/negodata/backend/common/database/model/models.py b/negodata/backend/common/database/model/models.py index 8d4d2d1..6aaf8da 100644 --- a/negodata/backend/common/database/model/models.py +++ b/negodata/backend/common/database/model/models.py @@ -230,3 +230,4 @@ class chats(MainTableMixin, MAIN_BASE): card_used_yn = Column(Boolean, nullable=True) # 카드 사용 여부 indicator_value = Column(Numeric(8, 6), nullable=True) card_type = Column(SmallInteger, nullable=True) # 1=nego_card, 2=wild_card + meta = Column(JSONB, nullable=True) # 말풍선 표현 데이터(script/step/client_step/input_mode/input_options/chat_end) diff --git a/negodata/front/src/features/quotations/components/QuotationDetailDrawer.tsx b/negodata/front/src/features/quotations/components/QuotationDetailDrawer.tsx index 82d0145..3673674 100644 --- a/negodata/front/src/features/quotations/components/QuotationDetailDrawer.tsx +++ b/negodata/front/src/features/quotations/components/QuotationDetailDrawer.tsx @@ -29,6 +29,7 @@ import { normalizeQuotationStatus, buildBidSummary, mapServerSessionView, + sessionStatusLabel, mapServerCardView, } from '../types'; @@ -459,7 +460,7 @@ export function QuotationDetailDrawer({ { const isSelected = sd.session_id === effectiveSessionId; const name = partners.find((p) => p.id === sd.supplier_id)?.name || sd.supplier_id; - const statusLabel = sd.status === 2 ? '협상종료' : sd.status === 3 ? '협상거부' : '협상중'; + const statusLabel = sessionStatusLabel(sd.status); return (