refactor: update training labels and add agency status to user types
Some checks failed
Spell Check / Spell Check with Typos (push) Failing after 7s
Some checks failed
Spell Check / Spell Check with Typos (push) Failing after 7s
This commit is contained in:
parent
98ab120e56
commit
0de6921636
4 changed files with 63 additions and 13 deletions
|
|
@ -207,29 +207,44 @@
|
|||
}
|
||||
],
|
||||
|
||||
"training": [
|
||||
"border": [
|
||||
{
|
||||
"label": "Myanmar Labor Training Center - Mae Sot, Tak Province",
|
||||
"label": "Mae Sot, Tak Province",
|
||||
"value": "trainingTak"
|
||||
},
|
||||
{
|
||||
"label": "Myanmar Labor Training Center - Kawthoung, Ranong Province",
|
||||
"label": "Koh Song, Ranong province",
|
||||
"value": "trainingRanong"
|
||||
},
|
||||
{
|
||||
"label": "Laos Labor Training Center - Nong Khai, Nong Khai Province",
|
||||
"label": "Nong Khai, Nong Khai Province",
|
||||
"value": "trainingNongKhai"
|
||||
},
|
||||
{
|
||||
"label": "Cambodian Labor Training Center - Aranyaprathet, Sa Kaeo Province",
|
||||
"label": "Aranyaprathet, Sa Kaeo Province",
|
||||
"value": "trainingSaKaeo"
|
||||
},
|
||||
{
|
||||
"label": "Cambodian Labor Training Center - Ban Laem, Chanthaburi Province",
|
||||
"label": "Ban Laem, Chanthaburi Province",
|
||||
"value": "trainingChanthaburi"
|
||||
}
|
||||
],
|
||||
|
||||
"training": [
|
||||
{
|
||||
"label": "The first center accepts work. and end of employment Tak Province",
|
||||
"value": "trainingTak"
|
||||
},
|
||||
{
|
||||
"label": "The first center accepts work. and end of employment Nong Khai Province",
|
||||
"value": "trainingNongKhai"
|
||||
},
|
||||
{
|
||||
"label": "The first center accepts work. and end of employment Sa Kaeo Province",
|
||||
"value": "trainingSaKaeo"
|
||||
}
|
||||
],
|
||||
|
||||
"nationality": [
|
||||
{
|
||||
"label": "Thai",
|
||||
|
|
@ -1281,29 +1296,44 @@
|
|||
}
|
||||
],
|
||||
|
||||
"training": [
|
||||
"border": [
|
||||
{
|
||||
"label": "สถานที่อบรมแรงงานเมียนมา-แม่สอด จ.ตาก",
|
||||
"label": "แม่สอด จ.ตาก",
|
||||
"value": "trainingTak"
|
||||
},
|
||||
{
|
||||
"label": "สถานที่อบรมแรงงานเมียนมา-เกาะสอง จ.ระนอง",
|
||||
"label": "เกาะสอง จ.ระนอง",
|
||||
"value": "trainingRanong"
|
||||
},
|
||||
{
|
||||
"label": "สถานที่อบรมแรงงานลาว-หนองคาย จ.หนองคาย",
|
||||
"label": "หนองคาย จ.หนองคาย",
|
||||
"value": "trainingNongKhai"
|
||||
},
|
||||
{
|
||||
"label": "สถานที่อบรมแรงงานกัมพูชา-อรัญประเทศ จ.สระแก้ว",
|
||||
"label": "อรัญประเทศ จ.สระแก้ว",
|
||||
"value": "trainingSaKaeo"
|
||||
},
|
||||
{
|
||||
"label": "สถานที่อบรมแรงงานกัมพูชา-บ้านแหลม จ.จันทบุรี",
|
||||
"label": "บ้านแหลม จ.จันทบุรี",
|
||||
"value": "trainingChanthaburi"
|
||||
}
|
||||
],
|
||||
|
||||
"training": [
|
||||
{
|
||||
"label": "ศูนย์แรกรับเข้าทำงาน และสิ้นสุดการจ้าง จังหวัดตาก",
|
||||
"value": "trainingTak"
|
||||
},
|
||||
{
|
||||
"label": "ศูนย์แรกรับเข้าทำงาน และสิ้นสุดการจ้าง จังหวัดหนองคาย",
|
||||
"value": "trainingNongKhai"
|
||||
},
|
||||
{
|
||||
"label": "ศูนย์แรกรับเข้าทำงาน และสิ้นสุดการจ้าง จังหวัดสระแก้ว",
|
||||
"value": "trainingSaKaeo"
|
||||
}
|
||||
],
|
||||
|
||||
"nationality": [
|
||||
{
|
||||
"label": "ไทย",
|
||||
|
|
|
|||
|
|
@ -452,7 +452,7 @@ export default {
|
|||
responsibleArea: 'Responsibel Area',
|
||||
discount: 'Discount Condition',
|
||||
sourceNationality: 'Source Nationality',
|
||||
importNationality: 'import Nationality',
|
||||
importNationality: 'Import Nationality',
|
||||
trainingPlace: 'Training Place',
|
||||
checkpoint: 'Checkpoint',
|
||||
checkpointEN: 'Checkpoint (EN)',
|
||||
|
|
@ -460,6 +460,10 @@ export default {
|
|||
citizenId: 'Citizen ID',
|
||||
citizenIssue: 'Citizen Issue',
|
||||
citizenExpire: 'Citizen Expire',
|
||||
agencyStatus: 'Agency Status',
|
||||
normal: 'Normal',
|
||||
canceled: 'Canceled',
|
||||
blacklist: 'Black list',
|
||||
},
|
||||
},
|
||||
customer: {
|
||||
|
|
|
|||
|
|
@ -456,6 +456,10 @@ export default {
|
|||
citizenId: 'เลขที่บัตรประชาชน',
|
||||
citizenIssue: 'วันที่ออกบัตร',
|
||||
citizenExpire: 'วันที่หมดอายุ',
|
||||
agencyStatus: 'สถานะการเป็นเอเจนซี่',
|
||||
normal: 'ปกติ',
|
||||
canceled: 'ยกเลิก',
|
||||
blacklist: 'แบล็คลิสต์',
|
||||
},
|
||||
},
|
||||
customer: {
|
||||
|
|
|
|||
|
|
@ -57,6 +57,9 @@ export type User = {
|
|||
citizenIssue?: Date | null;
|
||||
citizenId: string;
|
||||
branch: Branch[];
|
||||
|
||||
remark?: string;
|
||||
agencyStatus?: AgencyStatus;
|
||||
};
|
||||
|
||||
export type UserCreate = {
|
||||
|
|
@ -105,8 +108,17 @@ export type UserCreate = {
|
|||
citizenExpire?: Date | null;
|
||||
citizenIssue?: Date | null;
|
||||
citizenId: string;
|
||||
|
||||
remark?: string;
|
||||
agencyStatus?: AgencyStatus;
|
||||
};
|
||||
|
||||
export enum AgencyStatus {
|
||||
Normal = 'Normal',
|
||||
Canceled = 'Canceled',
|
||||
Blacklist = 'Blacklist',
|
||||
}
|
||||
|
||||
export type UserAttachment = {
|
||||
name: string;
|
||||
url: string;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue