summaryrefslogtreecommitdiff
path: root/config/rfqsColumnsConfig.ts
diff options
context:
space:
mode:
Diffstat (limited to 'config/rfqsColumnsConfig.ts')
-rw-r--r--config/rfqsColumnsConfig.ts64
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