import { QTableProps } from 'quasar'; export const uploadFileListCustomer: { label: string; value: string; }[] = [ { label: 'customer.typeFile.citizenId', value: 'citizen', }, { label: 'customer.typeFile.registrationBook', value: 'registrationBook', }, { label: 'customer.typeFile.houseMap', value: 'houseMap', }, { label: 'customer.typeFile.businessRegistration', value: 'businessRegistration', }, { label: 'customer.typeFile.dbdCertificate', value: 'dbdCertificate', }, { label: 'customer.typeFile.vatRegistrationCertificate', value: 'vatRegistrationCertificate', }, { label: 'customer.typeFile.powerOfAttorney', value: 'powerOfAttorney', }, { label: 'customer.typeFile.others', value: 'others', }, ]; export const uploadFileListEmployee: { label: string; value: string; }[] = [ { label: 'customerEmployee.fileType.passport', value: 'passport', }, { label: 'customerEmployee.fileType.visa', value: 'visa', }, { label: 'customerEmployee.fileType.tm6', value: 'tm6', }, { label: 'customerEmployee.fileType.workPermit', value: 'workPermit', }, { label: 'customerEmployee.fileType.noticeJobEmployment', value: 'noticeJobEmployment', }, { label: 'customerEmployee.fileType.noticeJobEntry', value: 'noticeJobEntry', }, { label: 'customerEmployee.fileType.historyJob', value: 'historyJob', }, { label: 'customerEmployee.fileType.acceptJob', value: 'acceptJob', }, { label: 'customerEmployee.fileType.receipt', value: 'receipt', }, { label: 'customerEmployee.fileType.other', value: 'other', }, ]; export const formMenuIconEmployee = [ { icon: 'mdi-briefcase-outline', color: 'hsl(var(--info-bg))', bgColor: 'var(--surface-1)', }, { icon: 'mdi-map-marker-radius-outline', color: 'hsl(var(--info-bg))', bgColor: 'var(--surface-1)', }, ]; export const columnsEmployee = [ { name: 'orderNumber', align: 'center', label: 'general.orderNumber', field: 'branchNo', }, { name: 'firstName', align: 'left', label: 'general.name', field: 'firstName', }, { name: 'general.age', align: 'left', label: 'general.age', field: 'dateOfBirth', }, { name: 'formDialogInputNationality', align: 'left', label: 'general.nationality', field: 'nationality', }, { name: 'formDialogInputPassportNo', align: 'left', label: 'customerEmployee.form.passportNo', field: 'passportNumber', }, { name: 'passportExpiryDate', align: 'left', label: 'customerEmployee.form.passportExpireDate', field: 'passportExpiryDate', }, { name: 'formDialogEmployeeNRCNo', align: 'left', label: 'customerEmployee.form.nrcNo', field: 'nrcNo', }, { name: 'branchLabel', align: 'left', label: 'customerEmployee.branch', field: 'customerBranch', }, { name: 'action', label: '', field: 'action', }, ] satisfies QTableProps['columns']; export const columnsCustomer = [ { name: 'orderNumber', align: 'center', label: 'customer.table.orderNumber', field: 'branchNo', }, { name: 'customerName', align: 'left', label: 'customer.table.fullname', field: 'customerName', sortable: true, }, { name: 'businessTypePure', align: 'center', label: 'customer.table.businessTypePure', field: 'businessTypePure', sortable: true, }, { name: 'address', align: 'left', label: 'customer.table.address', field: 'address', }, { name: 'workPlace', 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', }, ] satisfies QTableProps['columns'];