refactor: edit align and delete sortable

This commit is contained in:
Thanaphon Frappet 2024-11-13 17:44:49 +07:00
parent 2905d00b59
commit f541853c4d

View file

@ -229,7 +229,7 @@ export const columnsEmployee = [
{ {
name: 'general.age', name: 'general.age',
align: 'left', align: 'center',
label: 'general.age', label: 'general.age',
field: 'dateOfBirth', field: 'dateOfBirth',
}, },
@ -271,7 +271,7 @@ export const columnsEmployee = [
{ {
name: 'branchLabel', name: 'branchLabel',
align: 'left', align: 'center',
label: 'customerEmployee.branch', label: 'customerEmployee.branch',
field: 'customerBranch', field: 'customerBranch',
}, },
@ -296,7 +296,6 @@ export const columnsCustomer = [
align: 'left', align: 'left',
label: 'customer.table.titleName', label: 'customer.table.titleName',
field: 'titleName', field: 'titleName',
sortable: true,
}, },
{ {
@ -304,15 +303,13 @@ export const columnsCustomer = [
align: 'center', align: 'center',
label: 'customer.table.businessTypePure', label: 'customer.table.businessTypePure',
field: 'businessTypePure', field: 'businessTypePure',
sortable: true,
}, },
{ {
name: 'jobPosition', name: 'jobPosition',
align: 'center', align: 'left',
label: 'customer.table.jobPosition', label: 'customer.table.jobPosition',
field: 'jobPosition', field: 'jobPosition',
sortable: true,
}, },
{ {
@ -320,7 +317,6 @@ export const columnsCustomer = [
align: 'center', align: 'center',
label: 'customer.table.address', label: 'customer.table.address',
field: 'address', field: 'address',
sortable: true,
}, },
{ {
@ -328,7 +324,6 @@ export const columnsCustomer = [
align: 'center', align: 'center',
label: 'customer.table.contactName', label: 'customer.table.contactName',
field: 'contactName', field: 'contactName',
sortable: true,
}, },
{ {