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
@@ -198,11 +198,6 @@ namespace FoodsharingSiegen.Contracts.Entity
/// </summary> /// </summary>
PrintPass = 40, PrintPass = 40,
/// <summary>
/// The pdf pass interaction type
/// </summary>
PdfPass = 50,
/// <summary> /// <summary>
/// The verify interaction type /// The verify interaction type
/// </summary> /// </summary>
@@ -60,7 +60,6 @@ namespace FoodsharingSiegen.Server.Dialogs
InteractionType.Complete => true, InteractionType.Complete => true,
InteractionType.IdCheck => true, InteractionType.IdCheck => true,
InteractionType.PrintPass => true, InteractionType.PrintPass => true,
InteractionType.PdfPass => true,
InteractionType.ReleasedForVerification => true, InteractionType.ReleasedForVerification => true,
_ => false _ => false
}; };
@@ -82,7 +81,6 @@ namespace FoodsharingSiegen.Server.Dialogs
var showNotNeeded = parameter.Type switch var showNotNeeded = parameter.Type switch
{ {
InteractionType.PrintPass => true, InteractionType.PrintPass => true,
InteractionType.PdfPass => true,
_ => false _ => false
}; };
@@ -24,7 +24,6 @@ namespace FoodsharingSiegen.Shared.Helper
InteractionType.Welcome => "Begrüßung", InteractionType.Welcome => "Begrüßung",
InteractionType.IdCheck => "Perso-Check", InteractionType.IdCheck => "Perso-Check",
InteractionType.PrintPass => "FS-Ausweis", InteractionType.PrintPass => "FS-Ausweis",
InteractionType.PdfPass => "FS-Ausweis (PDF)",
InteractionType.Verify => "Verifizierung", InteractionType.Verify => "Verifizierung",
InteractionType.Complete => "Fertig", InteractionType.Complete => "Fertig",
InteractionType.StepInBriefing => appSettings.Terms.StepInName ?? "StepIn", InteractionType.StepInBriefing => appSettings.Terms.StepInName ?? "StepIn",