import { QTableProps } from 'quasar'; export const uploadFileListCustomer: { label: string; value: string; }[] = [ { label: 'customer.typeFile.citizenId', value: 'citizenId', }, { 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: 'ข้อมูลหนังสือการเดินทาง', value: 'travelBook', }, { label: 'ข้อมูลการตรวจลงตรา', value: 'checkList', }, { label: 'ตม.6', value: 'tm6', }, { label: 'ใบอนุญาตทำงาน', value: 'license', }, { label: 'แบบแจ้งการจ้างคนต่างด้าวทำงาน', value: 'noticeJob', }, { label: 'แบบแจ้งเข้าทำงานของคนต่างด้าว', value: 'noticeJobOther', }, { label: 'ใบคัดประวัติระบบจัดหางาน', value: 'historyJob', }, { label: 'ใบตอบรับการแจ้งเกี่ยวกับการทำงานของคนต่างด้าว', value: 'acceptJob', }, { label: 'ใบเสร็จรับเงิน', value: 'receipt', }, { label: 'อื่นๆ', 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'];