Skip to content

Commit

Permalink
Column ordering updated
Browse files Browse the repository at this point in the history
  • Loading branch information
Dominic NEED authored and dneed-nimble committed Dec 18, 2024
1 parent d8b5b5f commit 1dca8ff
Showing 1 changed file with 11 additions and 10 deletions.
21 changes: 11 additions & 10 deletions DfE.FindInformationAcademiesTrusts/Services/Export/ExportService.cs
Original file line number Diff line number Diff line change
Expand Up @@ -186,13 +186,13 @@ public async Task<byte[]> ExportOfstedDataToSpreadsheetAsync(string uid)
"Early Years Provision",
"Sixth Form Provision",
"Date of Previous Inspection",
BeforeOrAfterJoiningHeader,
"Previous Quality of Education",
"Previous Behaviour and Attitudes",
"Previous Personal Development",
"Previous Leadership and Management",
"Previous Early Years Provision",
"Previous Sixth Form Provision",
BeforeOrAfterJoiningHeader,
"Effective Safeguarding",
"Category of Concern"
};
Expand Down Expand Up @@ -267,23 +267,24 @@ private static void GenerateOfstedRow(
// Previous Inspection Date
SetDateCell(worksheet, rowNumber, 11, previousRating.InspectionDate);

// Previous Ratings
SetTextCell(worksheet, rowNumber, 12, previousRating.QualityOfEducation.ToDisplayString());
SetTextCell(worksheet, rowNumber, 13, previousRating.BehaviourAndAttitudes.ToDisplayString());
SetTextCell(worksheet, rowNumber, 14, previousRating.PersonalDevelopment.ToDisplayString());
SetTextCell(worksheet, rowNumber, 15, previousRating.EffectivenessOfLeadershipAndManagement.ToDisplayString());
SetTextCell(worksheet, rowNumber, 16, previousRating.EarlyYearsProvision.ToDisplayString());
SetTextCell(worksheet, rowNumber, 17, previousRating.SixthFormProvision.ToDisplayString());

// Before/After Joining (Previous)
SetTextCell(worksheet, rowNumber, 18,
SetTextCell(worksheet, rowNumber, 12,
IsOfstedRatingBeforeOrAfterJoining(
previousRating.OverallEffectiveness,
ofstedData?.DateAcademyJoinedTrust,
previousRating.InspectionDate
)
);

// Previous Ratings
SetTextCell(worksheet, rowNumber, 13, previousRating.QualityOfEducation.ToDisplayString());
SetTextCell(worksheet, rowNumber, 14, previousRating.BehaviourAndAttitudes.ToDisplayString());
SetTextCell(worksheet, rowNumber, 15, previousRating.PersonalDevelopment.ToDisplayString());
SetTextCell(worksheet, rowNumber, 16, previousRating.EffectivenessOfLeadershipAndManagement.ToDisplayString());
SetTextCell(worksheet, rowNumber, 17, previousRating.EarlyYearsProvision.ToDisplayString());
SetTextCell(worksheet, rowNumber, 18, previousRating.SixthFormProvision.ToDisplayString());


// Safeguarding Effective
SetTextCell(worksheet, rowNumber, 19, currentRating.SafeguardingIsEffective.ToDisplayString());

Expand Down

0 comments on commit 1dca8ff

Please sign in to comment.