Remove unused PdfPass interaction type.

The `PdfPass` interaction type and its associated logic were removed as it is no longer needed. This simplifies the codebase by eliminating redundant entries and ensures clarity in interaction types.
This commit is contained in:
Andre Beging
2025-04-01 09:16:50 +02:00
parent 265d648473
commit 8595a18d0c
3 changed files with 0 additions and 8 deletions

View File

@@ -198,11 +198,6 @@ namespace FoodsharingSiegen.Contracts.Entity
/// </summary>
PrintPass = 40,
/// <summary>
/// The pdf pass interaction type
/// </summary>
PdfPass = 50,
/// <summary>
/// The verify interaction type
/// </summary>

View File

@@ -60,7 +60,6 @@ namespace FoodsharingSiegen.Server.Dialogs
InteractionType.Complete => true,
InteractionType.IdCheck => true,
InteractionType.PrintPass => true,
InteractionType.PdfPass => true,
InteractionType.ReleasedForVerification => true,
_ => false
};
@@ -82,7 +81,6 @@ namespace FoodsharingSiegen.Server.Dialogs
var showNotNeeded = parameter.Type switch
{
InteractionType.PrintPass => true,
InteractionType.PdfPass => true,
_ => false
};

View File

@@ -24,7 +24,6 @@ namespace FoodsharingSiegen.Shared.Helper
InteractionType.Welcome => "Begrüßung",
InteractionType.IdCheck => "Perso-Check",
InteractionType.PrintPass => "FS-Ausweis",
InteractionType.PdfPass => "FS-Ausweis (PDF)",
InteractionType.Verify => "Verifizierung",
InteractionType.Complete => "Fertig",
InteractionType.StepInBriefing => appSettings.Terms.StepInName ?? "StepIn",