chore: clean
This commit is contained in:
parent
3bc5823e16
commit
1b489306bf
3 changed files with 316 additions and 2672 deletions
103
src/pages/03_customer-management/constant.ts
Normal file
103
src/pages/03_customer-management/constant.ts
Normal file
|
|
@ -0,0 +1,103 @@
|
|||
import { QTableProps } from 'quasar';
|
||||
|
||||
export const columnsEmployee = [
|
||||
{
|
||||
name: 'firstName',
|
||||
align: 'left',
|
||||
label: 'nameEmployee',
|
||||
field: 'firstName',
|
||||
sortable: true,
|
||||
},
|
||||
|
||||
{
|
||||
name: 'formDialogInputNationality',
|
||||
align: 'left',
|
||||
label: 'formDialogInputNationality',
|
||||
field: 'nationality',
|
||||
},
|
||||
|
||||
{
|
||||
name: 'formDialogInputPassportNo',
|
||||
align: 'left',
|
||||
label: 'formDialogInputPassportNo',
|
||||
field: 'passportNumber',
|
||||
},
|
||||
{
|
||||
name: 'formDialogInputAge',
|
||||
align: 'left',
|
||||
label: 'formDialogInputAge',
|
||||
field: 'dateOfBirth',
|
||||
},
|
||||
|
||||
{
|
||||
name: 'passportExpiryDate',
|
||||
align: 'left',
|
||||
label: 'passportExpire',
|
||||
field: 'passportExpiryDate',
|
||||
},
|
||||
|
||||
{
|
||||
name: 'formDialogEmployeeNRCNo',
|
||||
align: 'left',
|
||||
label: 'formDialogEmployeeNRCNo',
|
||||
field: 'nrcNo',
|
||||
},
|
||||
|
||||
{
|
||||
name: 'branchLabel',
|
||||
align: 'left',
|
||||
label: 'branchLabel',
|
||||
field: 'customerBranch',
|
||||
},
|
||||
|
||||
{
|
||||
name: 'type',
|
||||
align: 'left',
|
||||
label: 'type',
|
||||
field: 'type',
|
||||
sortable: true,
|
||||
},
|
||||
|
||||
{
|
||||
name: 'action',
|
||||
label: '',
|
||||
field: 'action',
|
||||
},
|
||||
] satisfies QTableProps['columns'];
|
||||
|
||||
export const columnsCustomer = [
|
||||
{
|
||||
name: 'customerName',
|
||||
align: 'left',
|
||||
label: 'corporation',
|
||||
field: 'customerName',
|
||||
sortable: true,
|
||||
},
|
||||
{
|
||||
name: 'type',
|
||||
align: 'center',
|
||||
label: 'type',
|
||||
field: 'customerType',
|
||||
sortable: true,
|
||||
},
|
||||
{
|
||||
name: 'personName',
|
||||
align: 'left',
|
||||
label: 'name',
|
||||
field: 'personName',
|
||||
},
|
||||
|
||||
{
|
||||
name: 'telephoneNo',
|
||||
align: 'left',
|
||||
label: 'telephone',
|
||||
field: 'branch[0].telephoneNo',
|
||||
},
|
||||
|
||||
{
|
||||
name: 'branchEmail',
|
||||
align: 'left',
|
||||
label: 'formDialogInputEmail',
|
||||
field: 'branch[0].email',
|
||||
},
|
||||
] satisfies QTableProps['columns'];
|
||||
Loading…
Add table
Add a link
Reference in a new issue