summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/forms/services.ts4
-rw-r--r--lib/incoterms/table/incoterms-table-toolbar.tsx4
-rw-r--r--lib/incoterms/table/incoterms-table.tsx6
-rw-r--r--lib/payment-terms/table/payment-terms-table-toolbar.tsx4
-rw-r--r--lib/payment-terms/table/payment-terms-table.tsx4
5 files changed, 12 insertions, 10 deletions
diff --git a/lib/forms/services.ts b/lib/forms/services.ts
index 0fb01afc..269fb4c6 100644
--- a/lib/forms/services.ts
+++ b/lib/forms/services.ts
@@ -1294,8 +1294,8 @@ async function transformDataToSEDPFormat(
const attribute: SEDPAttribute = {
NAME: key,
VALUE: String(value), // 모든 값을 문자열로 변환
- UOM: column?.uom || ""
- CLS_ID:tagClassCode||"",
+ UOM: column?.uom || "",
+ CLS_ID:tagClassCode || "",
};
// Add UOM_ID if present in column definition
diff --git a/lib/incoterms/table/incoterms-table-toolbar.tsx b/lib/incoterms/table/incoterms-table-toolbar.tsx
index 698acf59..aa022e03 100644
--- a/lib/incoterms/table/incoterms-table-toolbar.tsx
+++ b/lib/incoterms/table/incoterms-table-toolbar.tsx
@@ -19,7 +19,7 @@ export function IncotermsTableToolbarActions({ table, onSuccess }: IncotermsTabl
return (
<div className="flex items-center gap-2">
{/** 1) 선택된 로우가 있으면 삭제 다이얼로그 */}
- {table.getFilteredSelectedRowModel().rows.length > 0 ? (
+ {/* {table.getFilteredSelectedRowModel().rows.length > 0 ? (
<DeleteIncotermsDialog
incoterms={table
.getFilteredSelectedRowModel()
@@ -31,7 +31,7 @@ export function IncotermsTableToolbarActions({ table, onSuccess }: IncotermsTabl
/>
) : null}
- <IncotermsAddDialog onSuccess={onSuccess} />
+ <IncotermsAddDialog onSuccess={onSuccess} /> */}
{/** 3) Export 버튼 */}
<Button
diff --git a/lib/incoterms/table/incoterms-table.tsx b/lib/incoterms/table/incoterms-table.tsx
index c98de810..0f05edbd 100644
--- a/lib/incoterms/table/incoterms-table.tsx
+++ b/lib/incoterms/table/incoterms-table.tsx
@@ -116,7 +116,9 @@ export function IncotermsTable({ promises }: IncotermsTableProps) {
</DataTableAdvancedToolbar>
</DataTable>
- <DeleteIncotermsDialog
+ {/* Non-SAP 에서 일일 동기화 처리하므로, 수동 삭제 및 편집 기능 비활성화 */}
+
+ {/* <DeleteIncotermsDialog
open={rowAction?.type === "delete"}
onOpenChange={() => setRowAction(null)}
incoterms={rowAction?.row.original ? [rowAction?.row.original] : []}
@@ -132,7 +134,7 @@ export function IncotermsTable({ promises }: IncotermsTableProps) {
onOpenChange={() => setRowAction(null)}
data={rowAction?.row.original ?? null}
onSuccess={refreshData}
- />
+ /> */}
</>
);
} \ No newline at end of file
diff --git a/lib/payment-terms/table/payment-terms-table-toolbar.tsx b/lib/payment-terms/table/payment-terms-table-toolbar.tsx
index 51ac9b93..72c7b523 100644
--- a/lib/payment-terms/table/payment-terms-table-toolbar.tsx
+++ b/lib/payment-terms/table/payment-terms-table-toolbar.tsx
@@ -19,7 +19,7 @@ export function PaymentTermsTableToolbarActions({ table, onSuccess }: PaymentTer
return (
<div className="flex items-center gap-2">
{/** 1) 선택된 로우가 있으면 삭제 다이얼로그 */}
- {table.getFilteredSelectedRowModel().rows.length > 0 ? (
+ {/* {table.getFilteredSelectedRowModel().rows.length > 0 ? (
<DeletePaymentTermsDialog
paymentTerms={table
.getFilteredSelectedRowModel()
@@ -31,7 +31,7 @@ export function PaymentTermsTableToolbarActions({ table, onSuccess }: PaymentTer
/>
) : null}
- <PaymentTermsAddDialog onSuccess={onSuccess} />
+ <PaymentTermsAddDialog onSuccess={onSuccess} /> */}
{/** 3) Export 버튼 */}
<Button
diff --git a/lib/payment-terms/table/payment-terms-table.tsx b/lib/payment-terms/table/payment-terms-table.tsx
index ddf270ce..288fbad3 100644
--- a/lib/payment-terms/table/payment-terms-table.tsx
+++ b/lib/payment-terms/table/payment-terms-table.tsx
@@ -127,7 +127,7 @@ export function PaymentTermsTable({ promises }: PaymentTermsTableProps) {
</DataTableAdvancedToolbar>
</DataTable>
- <DeletePaymentTermsDialog
+ {/* <DeletePaymentTermsDialog
open={rowAction?.type === "delete"}
onOpenChange={() => setRowAction(null)}
paymentTerms={rowAction?.row.original ? [rowAction?.row.original] : []}
@@ -143,7 +143,7 @@ export function PaymentTermsTable({ promises }: PaymentTermsTableProps) {
onOpenChange={() => setRowAction(null)}
data={rowAction?.row.original ?? null}
onSuccess={refreshData}
- />
+ /> */}
</>
);
} \ No newline at end of file