diff options
| author | kiman Kim <94714426+rlaks5757@users.noreply.github.com> | 2025-03-28 14:40:40 +0900 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-03-28 14:40:40 +0900 |
| commit | dbfc752cbbae6bded6040f4727ec7564d2a3b759 (patch) | |
| tree | 9b1a0bd8a6644d090a83f904867051e76bc085a0 /config/poaColumnsConfig.ts | |
| parent | 23409a310e00f066ba4258637886160df06ea6af (diff) | |
| parent | 4b2d468701ab069fdc2347f345da56abe37c70be (diff) | |
Merge pull request #6 from DTS-Development/features
Reapply "Merge branch 'dev' into feature/kiman"
Diffstat (limited to 'config/poaColumnsConfig.ts')
| -rw-r--r-- | config/poaColumnsConfig.ts | 131 |
1 files changed, 131 insertions, 0 deletions
diff --git a/config/poaColumnsConfig.ts b/config/poaColumnsConfig.ts new file mode 100644 index 00000000..268a2259 --- /dev/null +++ b/config/poaColumnsConfig.ts @@ -0,0 +1,131 @@ +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 |
