Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
334 changes: 167 additions & 167 deletions docs/inputs/25_26 Export.csv → docs/inputs/25-26 Export.csv

Large diffs are not rendered by default.

75 changes: 39 additions & 36 deletions docs/inputs/25_26 Example.csv
Original file line number Diff line number Diff line change
@@ -1,72 +1,72 @@
Alexander Perez-Davies,,
5796080759,
Alexander ,
Perez-Davies,
Jason Ross Warren,,
5484836491,
Jason Ross,
Warren,
M,
1993-04-05,
JX055947D,
38,
N16 7UJ,
N16 7UJ,
Flat 24 Morris Blitz Court,
07525334311,
99,
2024-05-13,
6,
1985-05-23,
JW661714C,
31,
E17 8QJ,
E17 8QJ,
"36 Devonshire Road, London, E17 8QJ",
07725913649,
94,
2024-09-02,
10,
,
2024-05-06,
2024-08-26,
10,
999999999,
,
0 checked out of 1,
,
2,
8,
4,
6,
,
2024-05-20,
2024-09-09,
10,
999999999,
8,
,
,
0 checked out of 1,
1 checked out of 1,
4,
1,
ZPROG001,
2024-05-20,
2026-05-20,
2024-09-09,
2026-06-09,
36,
25,
2,
N4 3HH,
504,
505,
,
,
EPA0475,
ACT,
1,
2024-05-20,
2025-08-20,
2024-09-09,
,
,
105,
TNP,
1,
2024-05-20,
2024-09-09,
16150,
TNP,
2,
2024-05-20,
2024-09-09,
1850,
2,
2025-06-04,
2025-08-20,
1,
,
DE,
,
,
,
,
3,
Z0001947,
2024-05-20,
2026-05-20,
2024-09-09,
2026-06-09,
36,
25,
2,
Expand All @@ -89,12 +89,8 @@ N4 3HH,
,
,
,
2,
2025-06-04,
,
1,
,
DE,
,
,
,
Expand Down Expand Up @@ -218,3 +214,10 @@ DE,
,
,
,
,
,
,
,
,
0145,
94
223 changes: 223 additions & 0 deletions docs/inputs/25_26 Properties.csv
Original file line number Diff line number Diff line change
@@ -0,0 +1,223 @@
Airtable ID, Previous UKPRN,
ULN,
Given name,
Family name,
Sex ,
Date of birth,
NI number,
Ethnic group,
Prior post code,
Post code,
Street address ,
Telephone number,
Primary additional needs,
Prior attainment date applies to,
Prior attainment,
Learning hours (skills bootcamp),
Employment #1 date applies to,
Employment status #1,
Employer identifier #1 ,
Small employer #1,
Is the learner self employed? #1,
Has the learner been made redundant? #1,
Length of employment #1,
Employment intensity indicator #1,
Length of unemployment #1,
Employment #2 date applies to,
Employment status #2,
Employer identifier #2,
Employment intensity indicator #2,
Has the learner been made redundant? #2,
Is the learner self employed? #2,
Small employer #2 ,
Length of employment #2,
Aim type (programme aim 1),
Programme aim 1 Learning ref ,
Start date (aim 1),
Planned end date (aim 1),
Funding module (aim 1),
Programme type (aim 1),
Apprentice standard (aim 1),
Delivery postcode (aim 1),
Planned hours (aim 1),
Actual hours (aim 1),
Contract Ref (aim 1),
EPAO ID (aim 1),
Contract type (aim 1),
Contract type code (aim 1),
Date applies from (aim1),
Date applies to (aim 1),
Funding indicator (aim 1),
Source of funding (aim 1),
Financial type 1 (aim 1),
Financial code 1 (aim 1),
Financial start date 1 (aim 1),
Training price (aim 1),
Financial type 2 (aim 1),
Financial code 2 (aim 1),
Financial start date 2 (aim 1),
Total assessment price (aim 1),
Completion status (aim 1),
Actual end date (aim 1),
Achievement date (aim 1),
Outcome (aim 1),
Withdrawal reason (aim 1),
Outcome grade (aim 1),
Aim type (programme aim 2),
Programme aim 2 Learning ref ,
Start date (aim 2),
Planned end date (aim 2),
Funding module (aim 2),
Programme type (aim 2),
Apprentice standard (aim 2),
Delivery postcode (aim 2),
Planned hours (aim2),
Actual hours (aim 2),
Contract ref (aim 2),
EPAO ID (aim 2),
Contract type (aim 2),
Contract type code (aim 2),
Date applies from (aim 2),
Date applies to (aim 2),
Funding indicator (aim 2),
Source of funding (aim 2),
Financial type 1 (aim 2),
Financial code 1 (aim 2),
Financial start date 1 (aim 2),
Training price (aim 2),
Financial type 2 (aim 2),
Financial code 2 (aim 2),
Financial start date 2 (aim 2),
Total assessment price (aim 2),
Completion status (aim 2),
Actual end date (aim 2),
Achievement date (aim 2),
Outcome (aim 2),
Withdrawal reason (aim 2),
Outcome grade (aim 2),
Aim type (programme aim 3),
Programme aim 3 learning ref ,
Start date (aim 3),
Planned end date (aim 3),
Funding module (aim 3),
Programme type (aim 3),
Apprentice standard (aim 3),
Delivery postcode (aim 3),
Planned hours (aim 3),
Actual hours (aim 3),
Contract ref (aim 3),
EPAO ID (aim 3),
Contract type (aim 3),
Contract type code (aim 3),
Date applies from (aim 3),
Date applies to (aim 3),
Funding indicator (aim 3),
Source of funding (aim 3),
Financial type 1 (aim 3),
Financial code 1 (aim 3),
Financial start date 1 (aim 3),
Training price (aim 3),
Financial type 2 (aim 3),
Financial code 2 (aim 3),
Financial start date 2 (aim 3),
Total assessment price (aim 3),
Completion status (aim 3),
Actual end date (aim 3),
Achievement date (aim 3),
Withdrawal reason (aim 3),
Outcome (aim 3),
Outcome grade (aim 3),
Aim type (programme aim 4),
Programme aim 4 learning ref,
Start date (aim 4),
Planned end date (aim 4),
Funding module (aim 4),
Programme type (aim 4),
Apprentice standard (aim 4),
Delivery postcode (aim 4),
Planned hours (aim 4),
Actual hours (aim 4),
Contract ref (aim 4),
EPAO ID (aim 4),
Contract type (aim 4),
Contract type code (aim 4),
Date applies from (aim 4),
Date applies to (aim 4),
Funding indicator (aim 4),
Source of funding (aim 4),
Financial type 1 (aim 4),
Financial code 1 (aim 4),
Financial start date 1 (aim 4),
Training price (aim 4),
Financial type 2 (aim 4),
Financial code 2 (aim 4),
Financial start date 2 (aim 4),
Total assessment price (aim 4),
Completion status (aim 4),
Actual end date (aim 4),
Achievement date (aim 4),
Withdrawal reason (aim 4),
Outcome (aim 4),
Outcome grade (aim 4),
Aim type (programme aim 5),
Programme aim 5 learning ref ,
Start date (aim 5),
Planned end date (aim 5),
Funding module (aim 5),
Programme type (aim 5),
Apprentice standard (aim 5),
Delivery postcode (aim 5),
Planned hours (aim 5),
Actual hours (aim 5),
Contract ref (aim 5),
EPAO ID (aim 5),
Contract type (aim 5),
Contract type code (aim 5),
Date applies from (aim 5),
Date applies to (aim 5),
Funding indicator (aim 5),
Source of funding (aim 5),
Financial type 1 (aim 5),
Financial code 1 (aim 5),
Financial start date 1 (aim 5),
Training price (aim 5),
Financial type 2 (aim 5),
Financial code 2 (aim 5),
Financial start date 2 (aim 5),
Total assessment price (aim 5),
Completion status (aim 5),
Actual end date (aim 5),
Achievement date (aim 5),
Outcome (aim 5),
Withdrawal reason (aim 5),
Outcome grade (aim 5),
Length of unemployment #2,
Date applies to Employment status #3,
Employment status #3,
Employer identifier #3,
Small employer #3,
Self employed #3,
Made Redundant #3,
Length of employment #3,
Employment hours #3,
Length of unemployment #3,
Date applies to Employment status #4,
Employment status #4,
Employer identifier #4,
Small employer #4,
Self employed #4,
Made Redundant #4,
Length of employment #4,
Employment hours #4,
Length of unemployment #4,
Date applies to Employment status #5,
Employment status #5,
Employer identifier #5,
Small employer #5,
Self employed #5,
Made Redundant #5,
Length of employment #5,
Employment hours #5,
Length of unemployment #5,
PrevLearnRefNum,
LearnRefNum
5 changes: 2 additions & 3 deletions main.js
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,7 @@ function createWindow() {
win.webContents.toggleDevTools();
});
}

app.whenReady().then(() => {
createWindow();
app.on("activate", () => {
Expand Down Expand Up @@ -208,6 +209,4 @@ ipcMain.on("openSave", (event) => {
saveDialogue();
});

app.on("window-all-closed", () => {
app.quit();
});
app.on("window-all-closed", () => { app.quit() });
13 changes: 13 additions & 0 deletions src/factories/buildHealthDetails.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
function buildHealthDetails(dataArray, i) {
return {
LLDDHealthProb: dataArray[i][13] != "99" ? 1 : 9,
LLDDandHealthProblem: dataArray[i][13] != "99"
? [{
LLDDCat: dataArray[i][13],
PrimaryLLDD: 1
}]
: undefined
}
}

module.exports = { buildHealthDetails };
Loading