DebugConfig

This commit is contained in:
2024-10-08 10:45:01 +02:00
parent 99d7cc7817
commit 983b6e01fd
2 changed files with 10 additions and 5 deletions

View File

@@ -11,7 +11,8 @@ namespace BeWo
SimpleAutoLogin,
FeatureCustomerWohnhilfe,
FeatureWohnheimWohneinheit,
FeatureAuswertungenQuittierungsbelege
FeatureAuswertungenQuittierungsbelege,
FeatureDokumentenVorlage
}
public class DebugConfig
@@ -23,7 +24,7 @@ namespace BeWo
{
#if DEBUG
return _CurrentConfig ?? (_CurrentConfig = SimpleAutoLogin);
return _CurrentConfig ?? (_CurrentConfig = Feature_Dokumenten_Vorlage);
#endif
@@ -77,5 +78,12 @@ namespace BeWo
AutoLogin = true,
SelectView = UIContext.Report
};
public static DebugConfig Feature_Dokumenten_Vorlage => new DebugConfig()
{
DebugConfigMode = DebugConfigMode.FeatureDokumentenVorlage,
AutoLogin = true,
SelectView = UIContext.Dokumente
};
}
}

View File

@@ -21,7 +21,6 @@ namespace BeWo.Service.Vorlagen
var alleVorlagentabellen = DAOFactory.GenericDAO.GetAllActive<Vorlagentabelle>();
return MapperFactory.VorlagentabelleDC_Vorlagentabelle.MapToNewDCs(alleVorlagentabellen);
}
public static DokumentvorlageDC InsertTemplate(DokumentvorlageDC dc)
{
@@ -162,8 +161,6 @@ namespace BeWo.Service.Vorlagen
sonstiges.Children.Add(datum);
#endregion
liste.Add(personendaten);
liste.Add(adressdatenKlient);
//liste.Add(adressdatenOrganisation);