summaryrefslogtreecommitdiff
path: root/lib/vendor-document-list/ship/enhanced-documents-table.tsx
diff options
context:
space:
mode:
Diffstat (limited to 'lib/vendor-document-list/ship/enhanced-documents-table.tsx')
-rw-r--r--lib/vendor-document-list/ship/enhanced-documents-table.tsx76
1 files changed, 38 insertions, 38 deletions
diff --git a/lib/vendor-document-list/ship/enhanced-documents-table.tsx b/lib/vendor-document-list/ship/enhanced-documents-table.tsx
index 2354a9be..9885c027 100644
--- a/lib/vendor-document-list/ship/enhanced-documents-table.tsx
+++ b/lib/vendor-document-list/ship/enhanced-documents-table.tsx
@@ -25,17 +25,17 @@ import { EnhancedDocTableToolbarActions } from "./enhanced-doc-table-toolbar-act
const DRAWING_KIND_INFO = {
B3: {
title: "B3 Vendor",
- description: "Approval → Work 단계로 진행되는 승인 중심 도면",
+ description: "Approval-focused drawings progressing through Approval → Work stages",
color: "bg-blue-50 text-blue-700 border-blue-200"
},
B4: {
title: "B4 GTT",
- description: "Pre → Work 단계로 진행되는 DOLCE 연동 도면",
+ description: "DOLCE-integrated drawings progressing through Pre → Work stages",
color: "bg-green-50 text-green-700 border-green-200"
},
B5: {
title: "B5 FMEA",
- description: "First → Second 단계로 진행되는 순차적 도면",
+ description: "Sequential drawings progressing through First → Second stages",
color: "bg-purple-50 text-purple-700 border-purple-200"
}
} as const
@@ -79,22 +79,22 @@ export function SimplifiedDocumentsTable({
const advancedFilterFields: DataTableAdvancedFilterField<SimplifiedDocumentsView>[] = [
{
id: "docNumber",
- label: "문서번호",
- type: "text",
- },
- {
- id: "vendorDocNumber",
- label: "벤더 문서번호",
+ label: "Document No",
type: "text",
},
+ // {
+ // id: "vendorDocNumber",
+ // label: "Vendor Document No",
+ // type: "text",
+ // },
{
id: "title",
- label: "문서제목",
+ label: "Document Title",
type: "text",
},
{
id: "drawingKind",
- label: "문서종류",
+ label: "Document Type",
type: "select",
options: [
{ label: "B3", value: "B3" },
@@ -104,78 +104,78 @@ export function SimplifiedDocumentsTable({
},
{
id: "projectCode",
- label: "프로젝트 코드",
+ label: "Project Code",
type: "text",
},
{
id: "vendorName",
- label: "벤더명",
+ label: "Vendor Name",
type: "text",
},
{
id: "vendorCode",
- label: "벤더 코드",
+ label: "Vendor Code",
type: "text",
},
{
id: "pic",
- label: "담당자",
+ label: "PIC",
type: "text",
},
{
id: "status",
- label: "문서 상태",
+ label: "Document Status",
type: "select",
options: [
- { label: "활성", value: "ACTIVE" },
- { label: "비활성", value: "INACTIVE" },
- { label: "보류", value: "PENDING" },
- { label: "완료", value: "COMPLETED" },
+ { label: "Active", value: "ACTIVE" },
+ { label: "Inactive", value: "INACTIVE" },
+ { label: "Pending", value: "PENDING" },
+ { label: "Completed", value: "COMPLETED" },
],
},
{
id: "firstStageName",
- label: "1차 스테이지",
+ label: "First Stage",
type: "text",
},
{
id: "secondStageName",
- label: "2차 스테이지",
+ label: "Second Stage",
type: "text",
},
{
id: "firstStagePlanDate",
- label: "1차 계획일",
+ label: "First Planned Date",
type: "date",
},
{
id: "firstStageActualDate",
- label: "1차 실제일",
+ label: "First Actual Date",
type: "date",
},
{
id: "secondStagePlanDate",
- label: "2차 계획일",
+ label: "Second Planned Date",
type: "date",
},
{
id: "secondStageActualDate",
- label: "2차 실제일",
+ label: "Second Actual Date",
type: "date",
},
{
id: "issuedDate",
- label: "발행일",
+ label: "Issue Date",
type: "date",
},
{
id: "createdAt",
- label: "생성일",
+ label: "Created Date",
type: "date",
},
{
id: "updatedAt",
- label: "수정일",
+ label: "Updated Date",
type: "date",
},
]
@@ -184,32 +184,32 @@ export function SimplifiedDocumentsTable({
const b4FilterFields: DataTableAdvancedFilterField<SimplifiedDocumentsView>[] = [
{
id: "cGbn",
- label: "C 구분",
+ label: "C Category",
type: "text",
},
{
id: "dGbn",
- label: "D 구분",
+ label: "D Category",
type: "text",
},
{
id: "degreeGbn",
- label: "Degree 구분",
+ label: "Degree Category",
type: "text",
},
{
id: "deptGbn",
- label: "Dept 구분",
+ label: "Dept Category",
type: "text",
},
{
id: "jGbn",
- label: "J 구분",
+ label: "J Category",
type: "text",
},
{
id: "sGbn",
- label: "S 구분",
+ label: "S Category",
type: "text",
},
]
@@ -246,17 +246,17 @@ export function SimplifiedDocumentsTable({
{kindInfo && (
<div className="flex items-center justify-between">
<div className="flex items-center gap-4">
- <Badge variant="default" className="flex items-center gap-1 text-sm">
+ {/* <Badge variant="default" className="flex items-center gap-1 text-sm">
<FileText className="w-4 h-4" />
{kindInfo.title}
</Badge>
<span className="text-sm text-muted-foreground">
{kindInfo.description}
- </span>
+ </span> */}
</div>
<div className="flex items-center gap-2">
<Badge variant="outline">
- {total}개 문서
+ {total} documents
</Badge>
</div>
</div>