refactor: customer

This commit is contained in:
puriphatt 2024-09-17 18:01:13 +07:00
parent e50904bead
commit f2b318060e
11 changed files with 596 additions and 355 deletions

View file

@ -207,10 +207,10 @@ export const columnsCustomer = [
},
{
name: 'customerName',
name: 'fullname',
align: 'left',
label: 'customer.table.fullname',
field: 'customerName',
field: 'fullname',
sortable: true,
},
@ -223,30 +223,17 @@ export const columnsCustomer = [
},
{
name: 'address',
align: 'left',
label: 'customer.table.address',
field: 'address',
name: 'jobPosition',
align: 'center',
label: 'customer.table.jobPosition',
field: 'jobPosition',
sortable: true,
},
{
name: 'workPlace',
name: 'officeTel',
align: 'left',
label: 'customer.table.workPlace',
field: 'workPlace',
},
{
name: 'contactName',
align: 'left',
label: 'customer.table.contactName',
field: 'contactName',
},
{
name: 'contactPhone',
align: 'left',
label: 'customer.table.contactPhone',
field: 'contactPhone',
label: 'customer.table.officeTel',
field: 'officeTel',
},
] satisfies QTableProps['columns'];