File tree 2 files changed +45
-2
lines changed
domain/person-case/services
2 files changed +45
-2
lines changed Original file line number Diff line number Diff line change @@ -2,7 +2,7 @@ import type {
2
2
ApplicantStatusInCanadaChoice ,
3
3
LocalizedApplicantStatusInCanadaChoice ,
4
4
} from '~/.server/domain/person-case/models' ;
5
- import esdcApplicantStatusInCanadaChoicesData from '~/.server/resources/esdc_applicantstatusincanada .json' ;
5
+ import applicantStatusInCanadaChoicesData from '~/.server/resources/fsir_applicantstatusincanada .json' ;
6
6
import { AppError } from '~/errors/app-error' ;
7
7
import { ErrorCodes } from '~/errors/error-codes' ;
8
8
@@ -12,7 +12,7 @@ import { ErrorCodes } from '~/errors/error-codes';
12
12
* @returns An array of applicant status in Canada choice objects.
13
13
*/
14
14
export function getApplicantStatusInCanadaChoices ( ) : readonly ApplicantStatusInCanadaChoice [ ] {
15
- return esdcApplicantStatusInCanadaChoicesData . options . map ( ( option ) => ( {
15
+ return applicantStatusInCanadaChoicesData . options . map ( ( option ) => ( {
16
16
id : option . value . toString ( ) ,
17
17
nameEn : option . labelEn ,
18
18
nameFr : option . labelFr ,
Original file line number Diff line number Diff line change
1
+ {
2
+ "name" : " fsir_applicantstatusincanada" ,
3
+ "parentOptionSetName" : null ,
4
+ "displayNameEn" : " FSIR Custom - Applicant Status in Canada" ,
5
+ "displayNameFr" : " FSIR Custom - Statut du demandeur au Canada " ,
6
+ "options" : [
7
+ {
8
+ "value" : 9000000000 ,
9
+ "labelEn" : " Canadian Citizen born in Canada" ,
10
+ "labelFr" : " Citoyen canadien né au Canada"
11
+ },
12
+ {
13
+ "value" : 900000001 ,
14
+ "labelEn" : " Canadian Citizen born outside Canada" ,
15
+ "labelFr" : " Citoyen canadien né à l'extérieur du Canada"
16
+ },
17
+ {
18
+ "value" : 900000002 ,
19
+ "labelEn" : " Registered Indian born in Canada" ,
20
+ "labelFr" : " Indien inscrit né au Canada"
21
+ },
22
+ {
23
+ "value" : 900000003 ,
24
+ "labelEn" : " Registered Indian born outside Canada" ,
25
+ "labelFr" : " Indien inscrit né à l'extérieur du Canada"
26
+ },
27
+ {
28
+ "value" : 900000004 ,
29
+ "labelEn" : " Permanent Resident" ,
30
+ "labelFr" : " Résident permanent"
31
+ },
32
+ {
33
+ "value" : 900000005 ,
34
+ "labelEn" : " Temporary Resident" ,
35
+ "labelFr" : " Résident temporaire"
36
+ },
37
+ {
38
+ "value" : 900000006 ,
39
+ "labelEn" : " No Legal Status in Canada" ,
40
+ "labelFr" : " Aucun statut légal au Canada"
41
+ }
42
+ ]
43
+ }
You can’t perform that action at this time.
0 commit comments