diff --git a/BeWo/DebugConfig.cs b/BeWo/DebugConfig.cs index 21e3a9ef7..4a2b1735b 100644 --- a/BeWo/DebugConfig.cs +++ b/BeWo/DebugConfig.cs @@ -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 + }; } } diff --git a/Service/Vorlagen/VorlagenManager.cs b/Service/Vorlagen/VorlagenManager.cs index aa3128aec..19f9dd8dd 100644 --- a/Service/Vorlagen/VorlagenManager.cs +++ b/Service/Vorlagen/VorlagenManager.cs @@ -21,7 +21,6 @@ namespace BeWo.Service.Vorlagen var alleVorlagentabellen = DAOFactory.GenericDAO.GetAllActive(); 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);