diff options
| author | dujinkim <dujin.kim@dtsolution.co.kr> | 2025-03-26 00:37:41 +0000 |
|---|---|---|
| committer | dujinkim <dujin.kim@dtsolution.co.kr> | 2025-03-26 00:37:41 +0000 |
| commit | e0dfb55c5457aec489fc084c4567e791b4c65eb1 (patch) | |
| tree | 68543a65d88f5afb3a0202925804103daa91bc6f /config/rfqsColumnsConfig.ts | |
3/25 까지의 대표님 작업사항
Diffstat (limited to 'config/rfqsColumnsConfig.ts')
| -rw-r--r-- | config/rfqsColumnsConfig.ts | 64 |
1 files changed, 64 insertions, 0 deletions
diff --git a/config/rfqsColumnsConfig.ts b/config/rfqsColumnsConfig.ts new file mode 100644 index 00000000..3b713e96 --- /dev/null +++ b/config/rfqsColumnsConfig.ts @@ -0,0 +1,64 @@ +import { RfqWithItemCount } from "@/db/schema/rfq" + +export interface RfqColumnConfig { + id: keyof RfqWithItemCount + label: string + group?: string + excelHeader?: string + type?: string +} + +export const rfqsColumnsConfig: RfqColumnConfig[] = [ + // Basic Info + { + id: "projectName", + label: "Project Name", + excelHeader: "Project Name", + // group: "Basic Info", + }, + { + id: "rfqCode", + label: "RFQ Code", + excelHeader: "RFQ Code", + // group: "Basic Info", + }, + { + id: "description", + label: "RFQ description", + excelHeader: "RFQ description", + // group: "Basic Info", + }, + // { + // id: "projectCode", + // label: "Project Code", + // excelHeader: "Project Code", + // // group: "Basic Info", + // }, + + { + id: "status", + label: "Status", + excelHeader: "Status", + // group: "Basic Info", + }, + + { + id: "createdByEmail", + label: "Created By", + excelHeader: "Created By", + // group: "Metadata", + }, + + { + id: "createdAt", + label: "Created At", + excelHeader: "Created At", + // group: "Metadata", + }, + { + id: "updatedAt", + label: "Updated At", + excelHeader: "Updated At", + // group: "Metadata", + }, +]
\ No newline at end of file |
