refactor: edit columns of Employee
This commit is contained in:
parent
914143e4c0
commit
63200d3f8f
1 changed files with 14 additions and 15 deletions
|
|
@ -14,12 +14,25 @@ export const formMenuIconEmployee = [
|
||||||
];
|
];
|
||||||
|
|
||||||
export const columnsEmployee = [
|
export const columnsEmployee = [
|
||||||
|
{
|
||||||
|
name: 'orderNumber',
|
||||||
|
align: 'center',
|
||||||
|
label: 'orderNumber',
|
||||||
|
field: 'branchNo',
|
||||||
|
},
|
||||||
|
|
||||||
{
|
{
|
||||||
name: 'firstName',
|
name: 'firstName',
|
||||||
align: 'left',
|
align: 'left',
|
||||||
label: 'nameEmployee',
|
label: 'nameEmployee',
|
||||||
field: 'firstName',
|
field: 'firstName',
|
||||||
sortable: true,
|
},
|
||||||
|
|
||||||
|
{
|
||||||
|
name: 'formDialogInputAge',
|
||||||
|
align: 'left',
|
||||||
|
label: 'formDialogInputAge',
|
||||||
|
field: 'dateOfBirth',
|
||||||
},
|
},
|
||||||
|
|
||||||
{
|
{
|
||||||
|
|
@ -35,12 +48,6 @@ export const columnsEmployee = [
|
||||||
label: 'formDialogInputPassportNo',
|
label: 'formDialogInputPassportNo',
|
||||||
field: 'passportNumber',
|
field: 'passportNumber',
|
||||||
},
|
},
|
||||||
{
|
|
||||||
name: 'formDialogInputAge',
|
|
||||||
align: 'left',
|
|
||||||
label: 'formDialogInputAge',
|
|
||||||
field: 'dateOfBirth',
|
|
||||||
},
|
|
||||||
|
|
||||||
{
|
{
|
||||||
name: 'passportExpiryDate',
|
name: 'passportExpiryDate',
|
||||||
|
|
@ -63,14 +70,6 @@ export const columnsEmployee = [
|
||||||
field: 'customerBranch',
|
field: 'customerBranch',
|
||||||
},
|
},
|
||||||
|
|
||||||
{
|
|
||||||
name: 'type',
|
|
||||||
align: 'left',
|
|
||||||
label: 'type',
|
|
||||||
field: 'type',
|
|
||||||
sortable: true,
|
|
||||||
},
|
|
||||||
|
|
||||||
{
|
{
|
||||||
name: 'action',
|
name: 'action',
|
||||||
label: '',
|
label: '',
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue