summaryrefslogtreecommitdiff
path: root/components/common/selectors/cost-center/cost-center-selector.tsx
diff options
context:
space:
mode:
authorjoonhoekim <26rote@gmail.com>2025-11-24 20:16:56 +0900
committerjoonhoekim <26rote@gmail.com>2025-11-24 20:16:56 +0900
commit6bc4162b19f06ad4f919270ebcd4ef18f31cd490 (patch)
treebe37a152174789d269ef718c2a1f3794531e1c37 /components/common/selectors/cost-center/cost-center-selector.tsx
parent775997501ef36bf07d7f1f2e1d4abe7c97505e96 (diff)
parenta8674e6b91fb4d356c311fad0251878de154da53 (diff)
(김준회) 최겸프로 작업사항 병합
Diffstat (limited to 'components/common/selectors/cost-center/cost-center-selector.tsx')
-rw-r--r--components/common/selectors/cost-center/cost-center-selector.tsx26
1 files changed, 0 insertions, 26 deletions
diff --git a/components/common/selectors/cost-center/cost-center-selector.tsx b/components/common/selectors/cost-center/cost-center-selector.tsx
index 3aad5787..f87b6928 100644
--- a/components/common/selectors/cost-center/cost-center-selector.tsx
+++ b/components/common/selectors/cost-center/cost-center-selector.tsx
@@ -77,11 +77,6 @@ export function CostCenterSelector({
const [globalFilter, setGlobalFilter] = useState('')
const [isPending, startTransition] = useTransition()
- // 날짜 포맷 함수 (YYYYMMDD -> YYYY-MM-DD)
- const formatDate = (dateStr: string) => {
- if (!dateStr || dateStr.length !== 8) return dateStr
- return `${dateStr.substring(0, 4)}-${dateStr.substring(4, 6)}-${dateStr.substring(6, 8)}`
- }
// Cost Center 선택 핸들러
const handleCodeSelect = useCallback(async (code: CostCenter) => {
@@ -118,27 +113,6 @@ export function CostCenterSelector({
),
},
{
- accessorKey: 'LTEXT',
- header: '설명',
- cell: ({ row }) => (
- <div>{row.getValue('LTEXT')}</div>
- ),
- },
- {
- accessorKey: 'DATAB',
- header: '시작일',
- cell: ({ row }) => (
- <div className="text-sm">{formatDate(row.getValue('DATAB'))}</div>
- ),
- },
- {
- accessorKey: 'DATBI',
- header: '종료일',
- cell: ({ row }) => (
- <div className="text-sm">{formatDate(row.getValue('DATBI'))}</div>
- ),
- },
- {
id: 'actions',
header: '선택',
cell: ({ row }) => (