diff --git a/main.js b/main.js
index 5f2e166..e4e4393 100644
--- a/main.js
+++ b/main.js
@@ -199,6 +199,10 @@ ipcMain.on("upload-csv", (event, dataArray, version) => {
ESMType: "SEM",
ESMCode: "1",
},
+ {
+ ESMType: "OET",
+ ESMCode: "2",
+ },
]
: []),
...(dataArray[i][22]
@@ -250,6 +254,10 @@ ipcMain.on("upload-csv", (event, dataArray, version) => {
ESMType: "SEM",
ESMCode: "1",
},
+ {
+ ESMType: "OET",
+ ESMCode: "2",
+ },
]
: []),
...(dataArray[i][30]
diff --git a/schemas/xml-bug/example-bad.xml b/schemas/xml-bug/example-bad.xml
new file mode 100644
index 0000000..94c9758
--- /dev/null
+++ b/schemas/xml-bug/example-bad.xml
@@ -0,0 +1,106 @@
+
+ 0193
+ 8938361038
+ Rignell
+ Milo
+ 1996-10-21
+ 31
+ M
+ 9
+ PX059549B
+ 240
+ W1G 8PD
+ W1G 8PD
+ 19 Wimpole Mews
+
+ 9
+ 2025-04-07
+
+
+ 10
+ 2025-03-31
+
+ LOE
+ 4
+
+
+ EII
+ 8
+
+
+ SEM
+ 1
+
+
+
+
+ ZPROG001
+ 1
+ 1
+ 2025-04-14
+ 2025-05-23
+ 37
+ 240
+ 32
+ EC1V 8BR
+ SBD-1232-674
+ 2
+ 2025-05-23
+ 8
+ 44002ec6-e19c-4b8d-9e9e-9c818aaa0464
+
+ FFI
+ 2
+
+
+ SOF
+ 105
+
+
+
+ Z0060503
+ 3
+ 2
+ 2025-04-14
+ 2025-05-23
+ 37
+ 32
+ EC1V 8BR
+ SBD-1232-674
+ 2
+ 2025-05-23
+ 1
+ 05bc5cd6-8799-4203-ae8f-a4c3fa32180f
+
+ FFI
+ 2
+
+
+ SOF
+ 105
+
+
+
+ Z0059748
+ 3
+ 3
+ 2025-04-15
+ 2025-04-15
+ 37
+ 32
+ EC1V 8BR
+ SBD-1232-674
+ 2
+ 2025-04-15
+ 1
+ d2ccba98-ec61-4998-a8d6-39aff4858fea
+
+ FFI
+ 2
+
+
+ SOF
+ 105
+
+
+
\ No newline at end of file
diff --git a/schemas/xml-bug/example-good.xml b/schemas/xml-bug/example-good.xml
new file mode 100644
index 0000000..7dbb0bd
--- /dev/null
+++ b/schemas/xml-bug/example-good.xml
@@ -0,0 +1,110 @@
+
+ 0193
+ 8938361038
+ Rignell
+ Milo
+ 1996-10-21
+ 31
+ M
+ 9
+ PX059549B
+ 240
+ W1G 8PD
+ W1G 8PD
+ 19 Wimpole Mews
+
+ 9
+ 2025-04-07
+
+
+ 10
+ 2025-03-31
+
+ LOE
+ 4
+
+
+ EII
+ 8
+
+
+ SEM
+ 1
+
+
+
+ OET
+ 2
+
+
+
+ ZPROG001
+ 1
+ 1
+ 2025-04-14
+ 2025-05-23
+ 37
+ 240
+ 32
+ EC1V 8BR
+ SBD-1232-674
+ 2
+ 2025-05-23
+ 8
+ 44002ec6-e19c-4b8d-9e9e-9c818aaa0464
+
+ FFI
+ 2
+
+
+ SOF
+ 105
+
+
+
+ Z0060503
+ 3
+ 2
+ 2025-04-14
+ 2025-05-23
+ 37
+ 32
+ EC1V 8BR
+ SBD-1232-674
+ 2
+ 2025-05-23
+ 1
+ 05bc5cd6-8799-4203-ae8f-a4c3fa32180f
+
+ FFI
+ 2
+
+
+ SOF
+ 105
+
+
+
+ Z0059748
+ 3
+ 3
+ 2025-04-15
+ 2025-04-15
+ 37
+ 32
+ EC1V 8BR
+ SBD-1232-674
+ 2
+ 2025-04-15
+ 1
+ d2ccba98-ec61-4998-a8d6-39aff4858fea
+
+ FFI
+ 2
+
+
+ SOF
+ 105
+
+
+
\ No newline at end of file
diff --git a/schemas/xml-bug/field-clicked.jpeg b/schemas/xml-bug/field-clicked.jpeg
new file mode 100644
index 0000000..a127dac
Binary files /dev/null and b/schemas/xml-bug/field-clicked.jpeg differ
diff --git a/schemas/xml-bug/problem.xml b/schemas/xml-bug/problem.xml
new file mode 100644
index 0000000..7626405
--- /dev/null
+++ b/schemas/xml-bug/problem.xml
@@ -0,0 +1,41 @@
+
+
+ ```md
+ When we have clicked on Small employer #1 we need to make sure there's an additional block added to the existing
+ ```
+
+
+
+
+
+
+
+ ```md
+ This is what need to be added
+
+ ````xml
+
+ OET
+ 2
+
+ ````
+ ```
+
+
+
+
+ ```md
+ This is the xml for a single learner with a small employer.
+ ```
+
+
+
+
+ ```md
+ The xml follows the spec for R13.
+ ```
+
+
+
diff --git a/schemas/xml-bug/snippet.xml b/schemas/xml-bug/snippet.xml
new file mode 100644
index 0000000..3f907c4
--- /dev/null
+++ b/schemas/xml-bug/snippet.xml
@@ -0,0 +1,4 @@
+
+ OET
+ 2
+
\ No newline at end of file