Skip to content

Commit d07a3e2

Browse files
committed
fix: add the OET block to the small employer #1 index
1 parent 4890fe9 commit d07a3e2

File tree

2 files changed

+49
-0
lines changed

2 files changed

+49
-0
lines changed

main.js

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -199,6 +199,10 @@ ipcMain.on("upload-csv", (event, dataArray, version) => {
199199
ESMType: "SEM",
200200
ESMCode: "1",
201201
},
202+
{
203+
ESMType: "OET",
204+
ESMCode: "2",
205+
},
202206
]
203207
: []),
204208
...(dataArray[i][22]
@@ -250,6 +254,10 @@ ipcMain.on("upload-csv", (event, dataArray, version) => {
250254
ESMType: "SEM",
251255
ESMCode: "1",
252256
},
257+
{
258+
ESMType: "OET",
259+
ESMCode: "2",
260+
},
253261
]
254262
: []),
255263
...(dataArray[i][30]

schemas/xml-bug/problem.xml

Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
<BugReport>
2+
<Message1>
3+
```md
4+
When we have clicked on Small employer #1 we need to make sure there's an additional block added to the existing <LearnerEmploymentStatus>
5+
```
6+
</Message1>
7+
8+
<Message2>
9+
<!-- This message is the image at ./field-clicked.jpeg -->
10+
</Message2>
11+
12+
<Message3>
13+
```md
14+
This is what need to be added
15+
16+
````xml
17+
<EmploymentStatusMonitoring>
18+
<ESMType>OET</ESMType>
19+
<ESMCode>2</ESMCode>
20+
</EmploymentStatusMonitoring>
21+
````
22+
```
23+
<!-- The snippet is repeated in ./snippet.xml -->
24+
</Message3>
25+
26+
<Message4>
27+
```md
28+
This is the xml for a single learner with a small employer.
29+
```
30+
<!-- The message is referring to ./example-good.xml -->
31+
</Message4>
32+
33+
<Message5>
34+
```md
35+
The xml follows the spec for R13.
36+
```
37+
<!-- This is referencing a government specification
38+
It can be downloaded [here](https://guidance.submit-learner-data.service.gov.uk/23-24/ilr/appendices)
39+
-->
40+
</Message5>
41+
</BugReport>

0 commit comments

Comments
 (0)