diff --git a/src/pages/03_customer-management/constant.ts b/src/pages/03_customer-management/constant.ts index b2341250..162b8a15 100644 --- a/src/pages/03_customer-management/constant.ts +++ b/src/pages/03_customer-management/constant.ts @@ -78,38 +78,60 @@ export const columnsEmployee = [ ] satisfies QTableProps['columns']; export const columnsCustomer = [ + { + name: 'orderNumber', + align: 'center', + label: 'customer.table.orderNumber', + field: 'branchNo', + }, + { name: 'customerName', align: 'left', - label: 'corporation', + label: 'customer.table.fullname', field: 'customerName', sortable: true, }, + { name: 'type', align: 'center', - label: 'type', + label: 'customer.table.businessTypePure', field: 'customerType', sortable: true, }, + { - name: 'personName', + name: 'address', align: 'left', - label: 'name', - field: 'personName', + label: 'customer.table.address', + field: 'address', }, { - name: 'telephoneNo', + name: 'workPlace', align: 'left', - label: 'telephone', - field: 'branch[0].telephoneNo', + label: 'customer.table.workPlace', + field: 'workPlace', }, { - name: 'branchEmail', + name: 'contactName', align: 'left', - label: 'formDialogInputEmail', - field: 'branch[0].email', + label: 'customer.table.contactName', + field: 'contactName', + }, + + { + name: 'contactPhone', + align: 'left', + label: 'customer.table.contactPhone', + field: 'contactPhone', + }, + + { + name: 'action', + label: '', + field: 'action', }, ] satisfies QTableProps['columns'];