)}
{pf.status === 'success' && (
-
+
)}
{pf.status === 'error' && (
-
+
)}
{pf.status === 'ignored' && (
diff --git a/lib/vendor-document-list/ship/enhanced-doc-table-columns.tsx b/lib/vendor-document-list/ship/enhanced-doc-table-columns.tsx
index 8370cd34..096f9b24 100644
--- a/lib/vendor-document-list/ship/enhanced-doc-table-columns.tsx
+++ b/lib/vendor-document-list/ship/enhanced-doc-table-columns.tsx
@@ -37,12 +37,12 @@ interface GetColumnsProps {
// 날짜 표시 컴포넌트 (간단 버전)
const DateDisplay = ({ date, isSelected = false }: { date: string | null, isSelected?: boolean }) => {
- if (!date) return
-
+ if (!date) return
-
return (
{formatDate(date)}
@@ -59,7 +59,7 @@ export function getSimplifiedDocumentColumns({
id: "select",
header: ({ table }) => (
- Select
+ Select
),
cell: ({ row }) => {
@@ -180,7 +180,7 @@ export function getSimplifiedDocumentColumns({
const firstRow = table.getRowModel().rows[0]?.original
const stageName = firstRow?.firstStageName || "First Stage"
return (
-
+
{stageName}
)
@@ -223,7 +223,7 @@ export function getSimplifiedDocumentColumns({
const firstRow = table.getRowModel().rows[0]?.original
const stageName = firstRow?.secondStageName || "Second Stage"
return (
-
+
{stageName}
)
@@ -373,8 +373,8 @@ function DocNumberCell({ doc }: { doc: SimplifiedDocumentsView }) {
className={cn(
"font-mono text-sm font-medium cursor-pointer px-2 py-1 rounded transition-colors",
isSelected
- ? "text-blue-600 font-bold bg-blue-50"
- : "hover:bg-gray-50"
+ ? "text-primary font-bold bg-primary/10"
+ : "hover:bg-muted/50"
)}
onClick={() => {
const newSelection = isSelected ? null : doc.documentId;
@@ -393,10 +393,10 @@ function TitleCell({ doc }: { doc: SimplifiedDocumentsView }) {
return (
{
@@ -413,12 +413,12 @@ function ProjectCodeCell({ projectCode, documentId }: { projectCode: string | nu
const { selectedDocumentId } = React.useContext(DocumentSelectionContext);
const isSelected = selectedDocumentId === documentId;
- if (!projectCode) return
-;
+ if (!projectCode) return
-;
return (
{projectCode}
@@ -439,8 +439,8 @@ function FirstStageActualDateCell({ row }: { row: any }) {
return (
{date &&
✓ 완료}
@@ -462,8 +462,8 @@ function SecondStageActualDateCell({ row }: { row: any }) {
return (
{date &&
✓ 완료}
@@ -477,10 +477,10 @@ function AttachmentCountCell({ count, documentId }: { count: number, documentId:
return (
-
+
{count}
@@ -494,8 +494,8 @@ function UpdatedAtCell({ updatedAt, documentId }: { updatedAt: Date, documentId:
return (
{formatDateTime(updatedAt)}
diff --git a/lib/vendor-document-list/ship/enhanced-documents-table.tsx b/lib/vendor-document-list/ship/enhanced-documents-table.tsx
index 287df755..24ab42fb 100644
--- a/lib/vendor-document-list/ship/enhanced-documents-table.tsx
+++ b/lib/vendor-document-list/ship/enhanced-documents-table.tsx
@@ -26,17 +26,17 @@ const DRAWING_KIND_INFO = {
B3: {
title: "B3 Vendor",
description: "Approval-focused drawings progressing through Approval → Work stages",
- color: "bg-blue-50 text-blue-700 border-blue-200"
+ color: "bg-primary/10 text-primary border-primary/20"
},
B4: {
title: "B4 GTT",
description: "DOLCE-integrated drawings progressing through Pre → Work stages",
- color: "bg-green-50 text-green-700 border-green-200"
+ color: "bg-emerald-50 dark:bg-emerald-950/20 text-emerald-700 dark:text-emerald-400 border-emerald-200 dark:border-emerald-800"
},
B5: {
title: "B5 FMEA",
description: "Sequential drawings progressing through First → Second stages",
- color: "bg-purple-50 text-purple-700 border-purple-200"
+ color: "bg-purple-50 dark:bg-purple-950/20 text-purple-700 dark:text-purple-400 border-purple-200 dark:border-purple-800"
}
} as const
diff --git a/lib/vendor-document-list/ship/import-from-dolce-button.tsx b/lib/vendor-document-list/ship/import-from-dolce-button.tsx
index 5e720220..fe7f55c7 100644
--- a/lib/vendor-document-list/ship/import-from-dolce-button.tsx
+++ b/lib/vendor-document-list/ship/import-from-dolce-button.tsx
@@ -375,7 +375,7 @@ export function ImportFromDOLCEButton({
}
return (
-
+
{t('dolceImport.status.synchronized')}
@@ -440,7 +440,7 @@ export function ImportFromDOLCEButton({
--
cgit v1.2.3