Intervallfinder überarbeitet & Bug gefixt, der zu einem Fehler beim Suchen nach freien Intervallen über mehrere Tage geführt hatte, wenn die Enduhrzeit vor der Startuhrzeit lag. Berichte mit Parametern. Verbesserte Mitarbeiter-, Klienten-, Team-, und Organisationsdropdowns mit Suche. Quittierungsbelegresultate (zum Unterschreiben) wird wie die Zeiterfassung paginiert. FaC: neuer Kalender noch nicht fertig.
93 lines
1.8 KiB
C#
93 lines
1.8 KiB
C#
using System.Windows.Media;
|
|
|
|
namespace BS.Shared.DataContracts.Compact
|
|
{
|
|
public partial class CompactCustomerTeamDC : IFilterableDC
|
|
{
|
|
public ActivationTypeId ActivationType
|
|
{
|
|
get
|
|
{
|
|
return ActivationTypeId.Active;
|
|
}
|
|
|
|
set { }
|
|
}
|
|
|
|
public string DetailDescription
|
|
{
|
|
get
|
|
{
|
|
return ToString();
|
|
}
|
|
}
|
|
|
|
public string FilterRelevants
|
|
{
|
|
get
|
|
{
|
|
return this.Name;
|
|
}
|
|
}
|
|
|
|
public string IconPath
|
|
{
|
|
get
|
|
{
|
|
return @"..\..\Ressources\Icons\UserGroupBusinessDisabled.png";
|
|
}
|
|
}
|
|
|
|
public string SimpleDescription
|
|
{
|
|
get
|
|
{
|
|
return this.Name;
|
|
}
|
|
}
|
|
|
|
public bool SupportsActivationType
|
|
{
|
|
get
|
|
{
|
|
return false;
|
|
}
|
|
}
|
|
|
|
public long Version
|
|
{
|
|
get
|
|
{
|
|
return CustomerTeamVersion;
|
|
}
|
|
|
|
set
|
|
{
|
|
CustomerTeamVersion = value;
|
|
}
|
|
}
|
|
|
|
public override bool Equals(object obj)
|
|
{
|
|
if (obj is CompactCustomerTeamDC)
|
|
{
|
|
return CustomerTeamOid == ((CompactCustomerTeamDC) obj).CustomerTeamOid;
|
|
}
|
|
|
|
return false;
|
|
}
|
|
|
|
public override int GetHashCode()
|
|
{
|
|
return GetType().Name.GetHashCode() ^ CustomerTeamOid.GetHashCode();
|
|
}
|
|
|
|
public override string ToString()
|
|
{
|
|
return Name;
|
|
}
|
|
|
|
public SolidColorBrush FilterableBrush => new SolidColorBrush(Colors.Transparent);
|
|
}
|
|
}
|