-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Texts updated (#832) * Request new document (#833) * Feature/tl2023 758 result slip solution in dotnet (#835) * Feature/tl2023 769 admin certificate (#836) * Request new document * Allow SoA replacement requests and display date of last request * Fix dodgy merge * Feature/tl2023 790 results slip solution in dotnet aspose licence (#838) * ability to use Aspose licence * Remove function app config * unit tests and code improvements --------- * Feature/tl2023 744 reinstated certificates (#840) * Changes * Reinstate certificates * Feature/tl2023 758 result slip solution in dotnet (#839) * Fix (#841) * update aspose version to latest * updated config * update Aspose version to 24.5.1 * Feature/tl2023 786 tile (#846) * Add tile * Remove link * SoA replacement button back (#847) * Text updated (#848) * Remove academic years to process (#849) * Remove academic years to process * Rename * Remove loader and refactor (#851) --------- Co-authored-by: Sajid Shafique Malik <[email protected]> Co-authored-by: Sam Hiscox <[email protected]> Co-authored-by: Sam H <[email protected]>
- Loading branch information
1 parent
97a4375
commit 6d5f851
Showing
182 changed files
with
3,214 additions
and
614 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
10 changes: 10 additions & 0 deletions
10
src/Sfa.Tl.ResultsAndCertification.Application/Interfaces/IResultSlipsGeneratorService.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
using Sfa.Tl.ResultsAndCertification.Models.DownloadOverallResults; | ||
using System.Collections.Generic; | ||
|
||
namespace Sfa.Tl.ResultsAndCertification.Application.Interfaces | ||
{ | ||
public interface IResultSlipsGeneratorService | ||
{ | ||
byte[] GetByteData(IEnumerable<DownloadOverallResultSlipsData> data); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
28 changes: 28 additions & 0 deletions
28
...ication.Application/Mappers/Converter/Specialism/SpecialismNameConverterNoDoubleQuotes.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
using AutoMapper; | ||
using Sfa.Tl.ResultsAndCertification.Common.Extensions; | ||
using Sfa.Tl.ResultsAndCertification.Domain.Models; | ||
using System.Collections.Generic; | ||
using System.Linq; | ||
|
||
namespace Sfa.Tl.ResultsAndCertification.Application.Mappers.Converter.Specialism | ||
{ | ||
public class SpecialismNameConverterNoDoubleQuotes : SpecialismConverterBase, IValueConverter<IEnumerable<TqRegistrationSpecialism>, string> | ||
{ | ||
public string Convert(IEnumerable<TqRegistrationSpecialism> sourceMember, ResolutionContext context) | ||
{ | ||
if (sourceMember.IsNullOrEmpty()) | ||
{ | ||
return string.Empty; | ||
} | ||
|
||
string specialismName = sourceMember.Count() switch | ||
{ | ||
1 => GetSingleSpecialismProperty(sourceMember, rs => rs.TlSpecialism.Name), | ||
2 => GetDualSpecialismProperty(sourceMember, ds => ds.Name), | ||
_ => string.Empty | ||
}; | ||
|
||
return specialismName; | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
21 changes: 21 additions & 0 deletions
21
src/Sfa.Tl.ResultsAndCertification.Application/Models/ResultSlips/DataRowStyle.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
using Aspose.Pdf; | ||
using Aspose.Pdf.Text; | ||
|
||
namespace Sfa.Tl.ResultsAndCertification.Application.Models.ResultSlips | ||
{ | ||
public class DataRowStyle : IResultSlipRowStyle | ||
{ | ||
public Color BackgroundColor => Color.White; | ||
public TextState RowStyle | ||
{ | ||
get | ||
{ | ||
TextState textState = new TextState(); | ||
textState.FontSize = 11f; | ||
return textState; | ||
} | ||
} | ||
} | ||
|
||
|
||
} |
Oops, something went wrong.