diff options
| author | joonhoekim <26rote@gmail.com> | 2025-08-04 11:27:55 +0000 |
|---|---|---|
| committer | joonhoekim <26rote@gmail.com> | 2025-08-04 11:27:55 +0000 |
| commit | 4f3948a66b34c5b14fabbc4e96245782b544c4d9 (patch) | |
| tree | b3f092d7ecc04aacc03e72435f6c568ad23f2cdb /lib/incoterms | |
| parent | 305a29e0e245ed9de1a7f4d32e96634116dcda82 (diff) | |
(김준회) 빌드 오류 해결, non-sap sync 기반이므로 기준정보 생성/수정/삭제 기능 주석 처리
Diffstat (limited to 'lib/incoterms')
| -rw-r--r-- | lib/incoterms/table/incoterms-table-toolbar.tsx | 4 | ||||
| -rw-r--r-- | lib/incoterms/table/incoterms-table.tsx | 6 |
2 files changed, 6 insertions, 4 deletions
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 |
