diff --git a/BeWo/BeWoApp.xaml.cs b/BeWo/BeWoApp.xaml.cs
index fae2807a7..b315475da 100644
--- a/BeWo/BeWoApp.xaml.cs
+++ b/BeWo/BeWoApp.xaml.cs
@@ -49,8 +49,8 @@ namespace BeWo
public static LoginControl LoginControl;
public static MainControl MainControl;
- public static string ShortVersion = "3.18";
- public static string Version = "Version 3.18";
+ public static string ShortVersion = "3.19";
+ public static string Version = "Version 3.19";
public static int RenderTier = 0;
diff --git a/BeWo/View/Controls/ComboBoxTreeViewControl.xaml b/BeWo/View/Controls/ComboBoxTreeViewControl.xaml
index c42da9e74..d52376b67 100644
--- a/BeWo/View/Controls/ComboBoxTreeViewControl.xaml
+++ b/BeWo/View/Controls/ComboBoxTreeViewControl.xaml
@@ -91,6 +91,7 @@
+
@@ -102,13 +103,17 @@
Grid.Column="0" Margin="3 2"
VerticalAlignment="Center"
Click="Bd_OnClick" />
-
+
+
+
+
diff --git a/BeWo/View/Detail/CustomerView.xaml b/BeWo/View/Detail/CustomerView.xaml
index 39371234b..485ea1435 100644
--- a/BeWo/View/Detail/CustomerView.xaml
+++ b/BeWo/View/Detail/CustomerView.xaml
@@ -1615,8 +1615,8 @@
-
-
+
+
@@ -1657,8 +1657,8 @@
-
-
+
+
@@ -1666,9 +1666,9 @@
-
-
-
+
+
+
diff --git a/BeWo/View/Detail/CustomerView.xaml.cs b/BeWo/View/Detail/CustomerView.xaml.cs
index 5c6f272a8..bdbdd4852 100644
--- a/BeWo/View/Detail/CustomerView.xaml.cs
+++ b/BeWo/View/Detail/CustomerView.xaml.cs
@@ -228,6 +228,16 @@ namespace BeWo.View.Detail
{
tabitem_Medikamentenverordnungen.Visibility = Visibility.Collapsed;
}
+ if (!BeWoApp.LoggedOnUser.HasRight(UserRightType.Customer_EditMedication))
+ {
+ ButtonAktuelleMedBearbeiten.Visibility = Visibility.Collapsed;
+ ButtonAktuelleMedLoeschen.Visibility = Visibility.Collapsed;
+ ButtonBedarfMedBearbeiten.Visibility = Visibility.Collapsed;
+ ButtonBedarfMedLoeschen.Visibility = Visibility.Collapsed;
+ ButtonNeuAusBedarfsverordnung.Visibility = Visibility.Collapsed;
+ ButtonNeuAusAktuellerVerordnung.Visibility = Visibility.Collapsed;
+ ButtonNeueMedikamentenverordnung.Visibility = Visibility.Collapsed;
+ }
var l = new List();
for (var i = 9; i >= 0; i--)
diff --git a/BeWo/ViewModel/UserGroupVM.cs b/BeWo/ViewModel/UserGroupVM.cs
index a6715a488..6a2adb331 100644
--- a/BeWo/ViewModel/UserGroupVM.cs
+++ b/BeWo/ViewModel/UserGroupVM.cs
@@ -157,7 +157,7 @@ namespace BeWo.ViewModel
private static bool IsMedicationRight(UserRightType userRightType)
{
- if (userRightType == UserRightType.Customer_ViewMedication)
+ if (userRightType == UserRightType.Customer_ViewMedication || userRightType == UserRightType.Customer_EditMedication)
return true;
return false;
}
diff --git a/Data/Security/UserRightHelper.cs b/Data/Security/UserRightHelper.cs
index e02079741..4e6ce3f22 100644
--- a/Data/Security/UserRightHelper.cs
+++ b/Data/Security/UserRightHelper.cs
@@ -147,7 +147,11 @@ namespace BeWo.Data.Security
{
return "3.18";
}
-
+ if (r == UserRightType.Customer_EditMedication)
+ {
+ return "3.19";
+ }
+
return "1.0";
}
diff --git a/Report/ReportObjects/MitarbeiterstundenkontoBerechnung.cs b/Report/ReportObjects/MitarbeiterstundenkontoBerechnung.cs
index 07e2ddea0..4e5c1b2cc 100644
--- a/Report/ReportObjects/MitarbeiterstundenkontoBerechnung.cs
+++ b/Report/ReportObjects/MitarbeiterstundenkontoBerechnung.cs
@@ -2437,28 +2437,30 @@ namespace BeWo.Report.ReportObjects
{
foreach (var at in emp.AbsenceTimes)
{
-
- if ((!at.Start.HasValue || at.Start.Value <= arbeitstagEnde.Date) && (!at.End.HasValue || at.End.Value >= arbeitstagStart.Date))
+ if (IstAnrechenbareAbsenceTime(at))
{
- var faktor = GetFeiertagsFaktor(arbeitstagStart);
-
- if (faktor < 1)
+ if ((!at.Start.HasValue || at.Start.Value <= arbeitstagEnde.Date) && (!at.End.HasValue || at.End.Value >= arbeitstagStart.Date))
{
- var hours = (decimal)arbeitstagEnde.Subtract(arbeitstagStart).TotalHours;
+ var faktor = GetFeiertagsFaktor(arbeitstagStart);
- // Prüfen, ob halber Tag
- if ((at.Start.HasValue && at.Start.Value.Date != at.Start.Value) || (at.End.HasValue && at.End.Value.Date != at.End.Value))
- hours /= 2;
-
- if (faktor != 0)
+ if (faktor < 1)
{
- hours *= faktor;
+ var hours = (decimal)arbeitstagEnde.Subtract(arbeitstagStart).TotalHours;
+
+ // Prüfen, ob halber Tag
+ if ((at.Start.HasValue && at.Start.Value.Date != at.Start.Value) || (at.End.HasValue && at.End.Value.Date != at.End.Value))
+ hours /= 2;
+
+ if (faktor != 0)
+ {
+ hours *= faktor;
+ }
+
+ return hours;
}
- return hours;
+
}
-
-
}
}
@@ -2847,51 +2849,54 @@ namespace BeWo.Report.ReportObjects
foreach (var at in emp.AbsenceTimes)
{
- if ((!at.Start.HasValue || at.Start.Value.Date <= arbeitstagEnde.Date) && (!at.End.HasValue || at.End.Value.Date >= arbeitstagStart.Date))
+ if (IstAnrechenbareAbsenceTime(at))
{
-
- var faktor = GetFeiertagsFaktor(arbeitstagStart);
-
- if (faktor < 1)
+ if ((!at.Start.HasValue || at.Start.Value.Date <= arbeitstagEnde.Date) && (!at.End.HasValue || at.End.Value.Date >= arbeitstagStart.Date))
{
- var tag = 1m;
- // Prüfen, ob halber Tag
- if ((at.Start.HasValue && at.Start.Value.Date != at.Start.Value) || (at.End.HasValue && at.End.Value.Date != at.End.Value))
- tag = 0.5m;
+ var faktor = GetFeiertagsFaktor(arbeitstagStart);
- if (faktor != 0)
+ if (faktor < 1)
{
- tag *= faktor;
- hours *= faktor;
+ var tag = 1m;
+
+ // Prüfen, ob halber Tag
+ if ((at.Start.HasValue && at.Start.Value.Date != at.Start.Value) || (at.End.HasValue && at.End.Value.Date != at.End.Value))
+ tag = 0.5m;
+
+ if (faktor != 0)
+ {
+ tag *= faktor;
+ hours *= faktor;
+ }
+
+ //if (at.Start.HasValue && at.End.HasValue && at.Start.Value.Day == at.End.Value.Day &&
+ // at.Start.Value.Month == at.End.Value.Month)
+ //{
+ // var std = at.End.Value.Subtract(at.Start.Value)
+ //}
+
+ if (IsKrankheitAbsenceTime(at))
+ {
+ if (!atd.TageKrankheit.HasValue)
+ atd.TageKrankheit = 0;
+
+ atd.TageKrankheit += tag;
+ }
+
+ if (IsUrlaubAbsenceTime(at))
+ {
+ if (!atd.TageUrlaub.HasValue)
+ atd.TageUrlaub = 0;
+
+ atd.TageUrlaub += tag;
+ }
+ if (!atd.TageGesamt.HasValue)
+ atd.TageGesamt = 0;
+
+
+ atd.TageGesamt += tag;
}
-
- //if (at.Start.HasValue && at.End.HasValue && at.Start.Value.Day == at.End.Value.Day &&
- // at.Start.Value.Month == at.End.Value.Month)
- //{
- // var std = at.End.Value.Subtract(at.Start.Value)
- //}
-
- if (IsKrankheitAbsenceTime(at))
- {
- if (!atd.TageKrankheit.HasValue)
- atd.TageKrankheit = 0;
-
- atd.TageKrankheit += tag;
- }
-
- if (IsUrlaubAbsenceTime(at))
- {
- if (!atd.TageUrlaub.HasValue)
- atd.TageUrlaub = 0;
-
- atd.TageUrlaub += tag;
- }
- if (!atd.TageGesamt.HasValue)
- atd.TageGesamt = 0;
-
-
- atd.TageGesamt += tag;
}
}
}
diff --git a/ReportImp/Kette2/AuswertungSozialpsychiatrie.cs b/ReportImp/Kette2/AuswertungSozialpsychiatrie.cs
index 670674234..14ce7abbd 100644
--- a/ReportImp/Kette2/AuswertungSozialpsychiatrie.cs
+++ b/ReportImp/Kette2/AuswertungSozialpsychiatrie.cs
@@ -452,6 +452,8 @@ namespace KetteReports
ro.GeleisteteFlsKlient += serviceRecord.RoundedDuration / 60;
ro.GeleisteteFlsGesamt += serviceRecord.RoundedDuration / 60;
+
+ result.GeleisteteFlsGesamtCount += ro.GeleisteteFlsGesamt;
}
}
//else
@@ -463,7 +465,7 @@ namespace KetteReports
ro.GeleisteteFlsOhneKlient /= 60;
- result.GeleisteteFlsGesamtCount += ro.GeleisteteFlsGesamt;
+
var calc = PluginLoader.FindClass();
diff --git a/ReportImp/Kette2/QueryListReport.cs b/ReportImp/Kette2/QueryListReport.cs
index 605fa8f54..45eacf6eb 100644
--- a/ReportImp/Kette2/QueryListReport.cs
+++ b/ReportImp/Kette2/QueryListReport.cs
@@ -304,10 +304,10 @@ namespace KetteReports
if (!customerDoppeltVorhanden)
{
- BerechneFls(result, ro, cb2scoid);
+
int test = 0;
}
-
+ BerechneFls(result, ro, cb2scoid);
if (String.IsNullOrEmpty(ro.FahrdienstJa))
{
diff --git a/ReportImp/LebenshilfeStade/Invoicing/CustomInvoiceCreation.cs b/ReportImp/LebenshilfeStade/Invoicing/CustomInvoiceCreation.cs
index 0c8818304..70f13d937 100644
--- a/ReportImp/LebenshilfeStade/Invoicing/CustomInvoiceCreation.cs
+++ b/ReportImp/LebenshilfeStade/Invoicing/CustomInvoiceCreation.cs
@@ -80,7 +80,7 @@ namespace LebenshilfeStade.Invoicing
// Rausfinden, ob FLS 50 statt 60 Minuten gehen
//
var oid = newlist.FirstOrDefault(i => i.SupportConceptApprovalPeriodOid != null).SupportConceptApprovalPeriodOid;
- SupportConceptApprovalPeriod ap = new SupportConceptApprovalPeriod();
+ SupportConceptApprovalPeriod ap = null;
if (oid != null)
ap = DAOFactory.GenericDAO.GetByID(oid.Value);
diff --git a/ReportImp/LebenshilfeStade/LebenshilfeStade.csproj b/ReportImp/LebenshilfeStade/LebenshilfeStade.csproj
index cd0a141b4..8dfce7cdd 100644
--- a/ReportImp/LebenshilfeStade/LebenshilfeStade.csproj
+++ b/ReportImp/LebenshilfeStade/LebenshilfeStade.csproj
@@ -38,6 +38,9 @@
False
C:\Program Files (x86)\DevExpress 17.1\Components\Bin\Framework\DevExpress.DataAccess.v17.1.dll
+
+ False
+
diff --git a/ReportImp/SHKServiceSBD/Service/CustomVertretungsManager.cs b/ReportImp/SHKServiceSBD/Service/CustomVertretungsManager.cs
index 44f986d1a..537c73c19 100644
--- a/ReportImp/SHKServiceSBD/Service/CustomVertretungsManager.cs
+++ b/ReportImp/SHKServiceSBD/Service/CustomVertretungsManager.cs
@@ -310,6 +310,8 @@ namespace SHKService.Service
}
if (vertretungsItem.MailCustomer != null)
{
+ vertretungsItem.MailCustomer.Subject = "Vertretungsinformation";
+
//vertretungsItem.MailCustomer.Message = @"Lieber Klient,%0D%0A%0D%0Ablablubb%0D%0AZeile2%0D%0A%0D%0ANochne Zeile%0D%0A%0D%0ATschüss";
if (vertretung != null)
{
@@ -338,16 +340,19 @@ Bei Rückfragen erreichen Sie uns an jedem Unterrichtstag von 6:30 Uhr bis 10:00
if (vertretungsItem.MailEmployee != null)
{
+ vertretungsItem.MailEmployee.Subject = "Vertretungsinformation";
//vertretungsItem.MailEmployee.Message = @"Lieber MA,%0D%0A%0D%0Ablablubb%0D%0AZeile2%0D%0A%0D%0ANochne Zeile%0D%0A%0D%0ATschüss";
}
if (vertretungsItem.MailVertretung != null)
{
+ vertretungsItem.MailVertretung.Subject = "Vertretungsinformation";
//vertretungsItem.MailVertretung.Message = @"Lieber Vertreter,%0D%0A%0D%0Ablablubb%0D%0AZeile2%0D%0A%0D%0ANochne Zeile%0D%0A%0D%0ATschüss";
}
if (vertretungsItem.MailSchule != null)
{
+ vertretungsItem.MailSchule.Subject = "Vertretungsinformation";
if (vertretung != null)
{
String vertreterName = vertretung.Person.LastName;
diff --git a/ReportImp/SpitalstiftungKonstanz/CustomMitarbeiterstundenkontoBerechnung.cs b/ReportImp/SpitalstiftungKonstanz/CustomMitarbeiterstundenkontoBerechnung.cs
index 17a5098f5..44a71e1e7 100644
--- a/ReportImp/SpitalstiftungKonstanz/CustomMitarbeiterstundenkontoBerechnung.cs
+++ b/ReportImp/SpitalstiftungKonstanz/CustomMitarbeiterstundenkontoBerechnung.cs
@@ -94,6 +94,35 @@ namespace SpitalstiftungKonstanz
return sum;
}
+ public override bool IstAnrechenbareAbsenceTime(AbsenceTime item)
+ {
+ if (item.AbsenceReason.Description.ToLower().IndexOf("fza") >= 0)
+ {
+ return false;
+ }
+ return base.IstAnrechenbareAbsenceTime(item);
+ }
+
+
+ //FZA = Freizeitausgleich
+ public override bool IsKrankheitAbsenceTime(AbsenceTime absenceTime)
+ {
+ if (absenceTime.AbsenceReason.Description.ToLower().IndexOf("fza") >= 0)
+ {
+ return false;
+ }
+ return base.IsKrankheitAbsenceTime(absenceTime);
+ }
+
+ public override bool IsUrlaubAbsenceTime(AbsenceTime absenceTime)
+ {
+ if (absenceTime.AbsenceReason.Description.ToLower().IndexOf("fza") >= 0)
+ {
+ return false;
+ }
+ return base.IsUrlaubAbsenceTime(absenceTime);
+ }
+
public override decimal GetFeiertagsFaktor(DateTime start)
{
var os = GetOsterSonntag(start.Year);
diff --git a/ReportImp/SpitalstiftungKonstanz/Mitarbeiterarbeitszeitkonto.cs b/ReportImp/SpitalstiftungKonstanz/Mitarbeiterarbeitszeitkonto.cs
index ecfe719bd..e968d5561 100644
--- a/ReportImp/SpitalstiftungKonstanz/Mitarbeiterarbeitszeitkonto.cs
+++ b/ReportImp/SpitalstiftungKonstanz/Mitarbeiterarbeitszeitkonto.cs
@@ -29,7 +29,7 @@ namespace SpitalstiftungKonstanz
var c = ed.Employee.GetValidContractForDate(pRO.ReportStartDate);
if (c != null)
{
- if (c.MonthlyTotalHours.HasValue)
+ if (c.MonthlyTotalHours.HasValue && c.MonthlyTotalHours.Value > 0)
{
ed.Regelarbeitszeit = String.Format("{0:0.00} Stunden im Monat", c.MonthlyTotalHours);
}
diff --git a/Service/Plugins/PluginLoader.cs b/Service/Plugins/PluginLoader.cs
index 3e997eebb..f02618455 100644
--- a/Service/Plugins/PluginLoader.cs
+++ b/Service/Plugins/PluginLoader.cs
@@ -276,7 +276,7 @@ namespace BeWo.Service.Plugins
//t = "5929601293"; // Lebenshilfe Duisburg Frühförderung (Projekt heißt LebenshilfeDuisburgAtz)
//t = "6860475645"; // Lebenshilfe Duisburg ATZ (Projekt heißt LebenshilfeDuisburgAtz6860475645)
//t = "9678360705"; // Lebenshilfe Duisburg HPTG (Projekt heißt LebenshilfeDuisburgHPTG)
- //t = "4823067940"; // Die Kette 2
+ t = "4823067940"; // Die Kette 2
//t = "8283849714"; // Forum e.V. (proviel GmbH)
//t = "3915346496"; // Sprungbrett 2. DB (Haus Theresia)
//t = "2387527289"; // Lebenshilfe Duisburg HPFH
@@ -347,7 +347,7 @@ namespace BeWo.Service.Plugins
//t = "6971328056"; // SKM Krefeld
//t = "4199238586"; // MeZ Menden;
//t = "3226307161"; // Roman Roger Puth
- t = "3522103738"; // AWO Münsterland-Recklinghausen
+ //t = "3522103738"; // AWO Münsterland-Recklinghausen
//t = "5592509446"; // Kontakt Verein für psychosoziale Hilfen e.V
//t = "5344902949"; // SHK Service GmbH SBD
//t = "1422963536"; // Malteser-Johanniter-Johanneshaus gGmbH
diff --git a/Service/SBD/VertretungsManager.cs b/Service/SBD/VertretungsManager.cs
index 887d72e3c..b5eb3125f 100644
--- a/Service/SBD/VertretungsManager.cs
+++ b/Service/SBD/VertretungsManager.cs
@@ -271,7 +271,7 @@ namespace BeWo.Service.SBD
{
var customer = customers.FirstOrDefault(first => first.Oid.HasValue && first.Oid.Equals(absenceTime.CustomerOid)) ?? DAOFactory.GenericDAO.LoadByID(absenceTime.CustomerOid.Value);
- if (customer.Person.LastName == "Schatz")
+ if (customer.Person.LastName.Contains("Dragou"))
{
}
@@ -280,10 +280,12 @@ namespace BeWo.Service.SBD
var customerContactInformationList = LoadContactInformationForEntity(customer.Person);
var schools = MapperFactory.CustomerOrganisationRelationDC_Customer2Organisation.MapToNewDCs(customer.Customer2OrganisationList.Where(customer2Organisation => customer2Organisation.ValueList.Any(b => b.Entry.Type == ValueListEntryType.EnvironmentOrganisationType && IstSchule(b.Entry.Value))));
var schoolAssistanceTimes = GetSchoolAssistanceTimes(customer, start, end, absenceTime);
- var hauptbetreuer = customer.Employee2CustomerList.FirstOrDefault(f => f.IsActive == ActivationTypeId.Active && f.ValueList.Any(b => b.Entry.Type.Equals(ValueListEntryType.StaffRoleType) && b.Entry.Value.ToLower().Equals("hauptbetreuung")))?.Employee;
+ var hauptbetreuer = customer.Employee2CustomerList.FirstOrDefault(e2c => e2c.IsActive == ActivationTypeId.Active &&
+ (!e2c.StartDate.HasValue || e2c.StartDate.Value.Date <= end.Date) && (!e2c.EndDate.HasValue || e2c.EndDate.Value.Date >= start.Date) &&
+ e2c.ValueList.Any(b => b.Entry.Type.Equals(ValueListEntryType.StaffRoleType) && b.Entry.Value.ToLower().Equals("hauptbetreuung")))?.Employee;
if (hauptbetreuer == null)
{
- hauptbetreuer = customer.Employee2CustomerList.FirstOrDefault()?.Employee;
+ //hauptbetreuer = customer.Employee2CustomerList.FirstOrDefault()?.Employee;
}
MigriereSubstitutionStatus(customer);
@@ -313,15 +315,18 @@ namespace BeWo.Service.SBD
}
});
- var hasCaregiver = customer.Employee2CustomerList.Any(a => a.ValueList.Any(b => b.Entry.Type.Equals(ValueListEntryType.StaffRoleType) && !b.Entry.Value.ToLower().Equals("ehemalige betreuung"))) || assistingEmployees.Any();
+ var hasCaregiver = customer.Employee2CustomerList.Any(e2c =>
+ (!e2c.StartDate.HasValue || e2c.StartDate.Value.Date <= end.Date) && (!e2c.EndDate.HasValue || e2c.EndDate.Value.Date >= start.Date) &&
+ e2c.ValueList.Any(b => b.Entry.Type.Equals(ValueListEntryType.StaffRoleType) && !b.Entry.Value.ToLower().Equals("ehemalige betreuung"))) || assistingEmployees.Any();
if (hasCaregiver)
{
var relatedEmployees = new List(assistingEmployees);
relatedEmployees.AddRangeIfElementsNotIn(
customer.Employee2CustomerList
.Where(
- e2C => e2C.Employee.IsActive == ActivationTypeId.Active &&
- !e2C.ValueList.Any(
+ e2c => e2c.Employee.IsActive == ActivationTypeId.Active &&
+ (!e2c.StartDate.HasValue || e2c.StartDate.Value.Date <= end.Date) && (!e2c.EndDate.HasValue || e2c.EndDate.Value.Date >= start.Date) &&
+ !e2c.ValueList.Any(
w => w.Entry.Type.Equals(ValueListEntryType.StaffRoleType) &&
!w.Entry.Value.ToLower().Equals("ehemalige betreuung")))
.Select(s => s.Employee));
diff --git a/Shared/BeWoEntityEnums.cs b/Shared/BeWoEntityEnums.cs
index 56f0216e1..5aabc762c 100644
--- a/Shared/BeWoEntityEnums.cs
+++ b/Shared/BeWoEntityEnums.cs
@@ -531,10 +531,11 @@ namespace BS.Shared
BargeldverwaltungFinanzenBearbeiten = 26002,
BargeldverwaltungFinanzenLoeschen = 26003,
- //MedRecordsAnsehen = 27000,
- //MedRecordsAnlegen = 27001,
- //MedRecordsAendern = 27002,
- //MedRecordsLoeschen = 27003,
+ Customer_EditMedication = 27000,
+ //MedRecordsAnsehen = 27001,
+ //MedRecordsAnlegen = 27002,
+ //MedRecordsAendern = 27003,
+ //MedRecordsLoeschen = 27004,
ChatSettings = 28000,
ChatAdminSettings = 28001,
diff --git a/Shared/Core/EnumTranslations.cs b/Shared/Core/EnumTranslations.cs
index 1326826ab..37630b5a2 100644
--- a/Shared/Core/EnumTranslations.cs
+++ b/Shared/Core/EnumTranslations.cs
@@ -109,6 +109,9 @@ namespace BS.Shared.Core
{
UserRightType.Customer_ViewMedication, Translator.Translate("Klienten") + " Medikation ansehen"
},
+ {
+ UserRightType.Customer_EditMedication, Translator.Translate("Klienten") + " Medikation bearbeiten"
+ },
{
UserRightType.Customer_ViewDiagnosis, Translator.Translate("Klienten") + " Diagnosen ansehen"
},
diff --git a/Shared/DataContracts/ClientPartials/SupportConceptGoalDC.cs b/Shared/DataContracts/ClientPartials/SupportConceptGoalDC.cs
index b41230751..61639534e 100644
--- a/Shared/DataContracts/ClientPartials/SupportConceptGoalDC.cs
+++ b/Shared/DataContracts/ClientPartials/SupportConceptGoalDC.cs
@@ -198,6 +198,46 @@ namespace BS.Shared.DataContracts.ClientPartials
public string RatingName { get; set; }
+ public bool IsZiel
+ {
+ get
+ {
+ return IsOfType(ValueListEntryType.SupportConceptGoalCategoryType);
+ }
+ }
+ public bool IsIndZiel
+ {
+ get
+ {
+ return IsOfType(ValueListEntryType.SupportConceptIndividualGoalCategoryType);
+ }
+ }
+
+ public bool IsMassnahme
+ {
+ get
+ {
+ return IsOfType(ValueListEntryType.SupportConceptGoalType);
+ }
+ }
+
+ public bool IsIndMassnahme
+ {
+ get
+ {
+ return IsOfType(ValueListEntryType.SupportConceptIndividualGoalType);
+ }
+ }
+
+ public bool IsOfType(ValueListEntryType t)
+ {
+ if (_GoalEntryDC != null)
+ {
+ return _GoalEntryDC.Type == t;
+ }
+
+ return false;
+ }
}
}
\ No newline at end of file