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
|
|
@ -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