summaryrefslogtreecommitdiff
path: root/config/poaColumnsConfig.ts
diff options
context:
space:
mode:
Diffstat (limited to 'config/poaColumnsConfig.ts')
-rw-r--r--config/poaColumnsConfig.ts131
1 files changed, 0 insertions, 131 deletions
diff --git a/config/poaColumnsConfig.ts b/config/poaColumnsConfig.ts
deleted file mode 100644
index 268a2259..00000000
--- a/config/poaColumnsConfig.ts
+++ /dev/null
@@ -1,131 +0,0 @@
-import { POADetail } from "@/db/schema/contract"
-
-export interface PoaColumnConfig {
- id: keyof POADetail
- label: string
- group?: string
- excelHeader?: string
- type?: string
-}
-
-export const poaColumnsConfig: PoaColumnConfig[] = [
- {
- id: "id",
- label: "ID",
- excelHeader: "ID",
- group: "Key Info",
- type: "number",
- },
- {
- id: "projectId",
- label: "Project ID",
- excelHeader: "Project ID",
- group: "Key Info",
- type: "number",
- },
- {
- id: "vendorId",
- label: "Vendor ID",
- excelHeader: "Vendor ID",
- group: "Key Info",
- type: "number",
- },
- {
- id: "contractNo",
- label: "Form Code",
- excelHeader: "Form Code",
- group: "Original Info",
- type: "text",
- },
- {
- id: "originalContractName",
- label: "Contract Name",
- excelHeader: "Contract Name",
- group: "Original Info",
- type: "text",
- },
- {
- id: "originalStatus",
- label: "Status",
- excelHeader: "Status",
- group: "Original Info",
- type: "text",
- },
- {
- id: "deliveryTerms",
- label: "Delivery Terms",
- excelHeader: "Delivery Terms",
- group: "Change Info",
- type: "text",
- },
- {
- id: "deliveryDate",
- label: "Delivery Date",
- excelHeader: "Delivery Date",
- group: "Change Info",
- type: "date",
- },
- {
- id: "deliveryLocation",
- label: "Delivery Location",
- excelHeader: "Delivery Location",
- group: "Change Info",
- type: "text",
- },
- {
- id: "currency",
- label: "Currency",
- excelHeader: "Currency",
- group: "Change Info",
- type: "text",
- },
- {
- id: "totalAmount",
- label: "Total Amount",
- excelHeader: "Total Amount",
- group: "Change Info",
- type: "number",
- },
- {
- id: "discount",
- label: "Discount",
- excelHeader: "Discount",
- group: "Change Info",
- type: "number",
- },
- {
- id: "tax",
- label: "Tax",
- excelHeader: "Tax",
- group: "Change Info",
- type: "number",
- },
- {
- id: "shippingFee",
- label: "Shipping Fee",
- excelHeader: "Shipping Fee",
- group: "Change Info",
- type: "number",
- },
- {
- id: "netTotal",
- label: "Net Total",
- excelHeader: "Net Total",
- group: "Change Info",
- type: "number",
- },
- {
- id: "createdAt",
- label: "Created At",
- excelHeader: "Created At",
- group: "System Info",
- type: "date",
- },
- {
- id: "updatedAt",
- label: "Updated At",
- excelHeader: "Updated At",
- group: "System Info",
- type: "date",
- },
-] \ No newline at end of file