Ambulant Betreutes Wohnen Astrid Pulm monatliche Mitarbeiterunterschrift auf Quittierungsbeleg hinzugefügt
MoK: PasswordSecurity in _Layout.cshtml verlegt, Meine Teams und Meine Klienten im Quittierungsbelegsmodul werden jetzt richtig geladen
This commit is contained in:
@@ -444,7 +444,7 @@ namespace BeWo.Report
|
||||
return new XtraReport();
|
||||
}
|
||||
|
||||
public static IList<long> GetMeineKlientenOids()
|
||||
public IList<long> GetMeineKlientenOids()
|
||||
{
|
||||
IList<long> customerOids = new List<long>();
|
||||
|
||||
@@ -483,11 +483,16 @@ namespace BeWo.Report
|
||||
return customerOids;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Lädt die Oids der Klienten, die im Reiter "Betreuung" mit dem vom angemeldeten Mitarbeiter geleiteten Team verknüpft sind.
|
||||
/// </summary>
|
||||
/// <param name="teamOid">Die Oid des Teams oder aller Teams des Mitarbeiters, falls null</param>
|
||||
/// <returns>CustomerOids, die im Reiter "Betreuung" mit dem vom angemeldeten Mitarbeiter geleiteten Team - falls die teamOid null ist, aller Teams des Mitarbeiters - verknüpft sind.</returns>
|
||||
public virtual IList<long> GetKlientenOidsMeinesTeams(long? teamOid)
|
||||
{
|
||||
IList<long> customerOids = new List<long>();
|
||||
|
||||
ApplicationUser loggedInUser = null;
|
||||
ApplicationUser loggedInUser;
|
||||
|
||||
if (LoggedInUserOperationContextExt.Current != null && LoggedInUserOperationContextExt.Current.User != null)
|
||||
{
|
||||
@@ -498,7 +503,7 @@ namespace BeWo.Report
|
||||
loggedInUser = SessionFacade.LoggedInUser;
|
||||
}
|
||||
|
||||
if (loggedInUser != null && loggedInUser.Employee != null)
|
||||
if (loggedInUser?.Employee != null)
|
||||
{
|
||||
var teams = new List<Team>();
|
||||
|
||||
@@ -551,9 +556,7 @@ namespace BeWo.Report
|
||||
customerOids.Add(c.Oid.Value);
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user