diff --git a/src/pages/03_customer-management/constant.ts b/src/pages/03_customer-management/constant.ts index a8893594..7e826af1 100644 --- a/src/pages/03_customer-management/constant.ts +++ b/src/pages/03_customer-management/constant.ts @@ -1,16 +1,101 @@ import { QTableProps } from 'quasar'; -export const uploadFileList: string[] = [ - 'ข้อมูลหนังสือการเดินทาง', - 'ข้อมูลการตรวจลงตรา', - 'ตม.6', - 'ใบอนุญาตทำงาน', - 'แบบแจ้งการจ้างคนต่างด้าวทำงาน', - 'แบบแจ้งเข้าทำงานของคนต่างด้าว', - 'ใบคัดประวัติระบบจัดหางาน', - 'ใบตอบรับการแจ้งเกี่ยวกับการทำงานของคนต่างด้าว', - 'ใบเสร็จรับเงิน', - 'อื่นๆ', +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 = [