forked from amer2004/SweetHome
Added city and document type
This commit is contained in:
19
app/enums/DocumentType.js
Normal file
19
app/enums/DocumentType.js
Normal file
@ -0,0 +1,19 @@
|
||||
/**
|
||||
* Document type enum for owner property submission.
|
||||
* Values are intentionally English keys so the UI can store normalized identifiers.
|
||||
*/
|
||||
const DocumentType = Object.freeze({
|
||||
PASSPORT: 'Passport',
|
||||
IDCARD: 'IDCard',
|
||||
BOTH: 'Both',
|
||||
});
|
||||
|
||||
const DocumentTypeLabels = Object.freeze({
|
||||
[DocumentType.PASSPORT]: 'جواز سفر',
|
||||
[DocumentType.IDCARD]: 'بطاقة شخصية',
|
||||
[DocumentType.BOTH]: 'كلاهما',
|
||||
});
|
||||
|
||||
const DocumentTypeList = Object.freeze(Object.values(DocumentType));
|
||||
|
||||
export { DocumentType, DocumentTypeLabels, DocumentTypeList };
|
||||
Reference in New Issue
Block a user