diff --git a/Dakota/DakotaValidator.cs b/Dakota/DakotaValidator.cs index ca13c8836..d28f5671b 100644 --- a/Dakota/DakotaValidator.cs +++ b/Dakota/DakotaValidator.cs @@ -71,7 +71,7 @@ namespace Dakota if (status == null) return false; - if (status.Length != 5) + if (status.Length != 5 && status.Length != 7) return false; return true; diff --git a/Dakota/Logic/DakotaInfoCreator.cs b/Dakota/Logic/DakotaInfoCreator.cs index 6ce14ce99..a898699a6 100644 --- a/Dakota/Logic/DakotaInfoCreator.cs +++ b/Dakota/Logic/DakotaInfoCreator.cs @@ -230,9 +230,11 @@ namespace Dakota.Logic { var info = new InfoAbrechnungsfall(); + var versicherten_status = infoParameter.Customer.VersichertenStatus; + var versicherten_status_kurz = versicherten_status.Substring(0, 5); + info.VersichtertenNummer = infoParameter.Customer.InsuranceNumber; - info.Versichertenstatus = infoParameter.Customer.VersichertenStatus; - //infoParameter.Customer.VersichertenStatus; + info.Versichertenstatus = versicherten_status_kurz; info.Beleginformation = SchlüsselBeleginformation.KeineBeleguebermittlung; info.Belegnummer = infoParameter.Customer.CustomerOid.ToString();