Skip to content

Commit f964e26

Browse files
ShaughnShaughn
authored andcommitted
merged main
2 parents 8772cd7 + eb91429 commit f964e26

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

main.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,7 @@ for (let i = 1; i < dataArray.length; i++) {
130130
Sex: dataArray[i][5],
131131
LLDDHealthProb: dataArray[i][12],
132132
NINumber: dataArray[i][7].replace(/\s+/g, '').trim(),
133-
PlanLearnHours: dataArray[i][31] || undefined,
133+
PlanLearnHours: dataArray[i][16] || undefined,
134134
PostcodePrior: dataArray[i][9],
135135
Postcode: dataArray[i][10],
136136
AddLine1: dataArray[i][11],
@@ -147,6 +147,7 @@ for (let i = 1; i < dataArray.length; i++) {
147147
},
148148
]: undefined),
149149
LearnerEmploymentStatus: [
150+
150151
...(dataArray[i][18] ? [{
151152
EmpStat: dataArray[i][18],
152153
DateEmpStatApp: dataArray[i][17],
@@ -205,6 +206,7 @@ for (let i = 1; i < dataArray.length; i++) {
205206
}] : [])
206207
]
207208
}] : [])
209+
208210
],
209211
LearningDelivery: [
210212
// First aim - only include if required fields are present

0 commit comments

Comments
 (0)