MitarbeiterstundenkontoBerechnung GetDuration in Report.dll und ein paar Projekten
This commit is contained in:
@@ -50,7 +50,7 @@ namespace SHKService
|
||||
{
|
||||
//if (AddServiceRecordToDuration(item))
|
||||
//{
|
||||
var duration = GetDuration(item);
|
||||
var duration = GetDuration(item, empDetail);
|
||||
|
||||
if (item.ServiceDescription != null &&
|
||||
item.ServiceDescription.ServiceCategory != null)
|
||||
@@ -96,7 +96,7 @@ namespace SHKService
|
||||
{
|
||||
if (sr.Start.HasValue && sr.Start >= berichtStart && sr.Start < berichtEnde && sr.End.HasValue && sr.Start.Value.Day == dd.Date.Day)
|
||||
{
|
||||
decimal duration = GetDuration(sr);
|
||||
decimal duration = GetDuration(sr, ed);
|
||||
|
||||
if (sr.ServiceDescription.Name == "Pause")
|
||||
{
|
||||
@@ -129,9 +129,9 @@ namespace SHKService
|
||||
return list;
|
||||
}
|
||||
|
||||
protected override decimal GetDuration(ServiceRecord sr)
|
||||
protected override decimal GetDuration(ServiceRecord sr, MitarbeiterstundenkontoRO.EmployeeDetail ed)
|
||||
{
|
||||
var d = base.GetDuration(sr);
|
||||
var d = base.GetDuration(sr, ed);
|
||||
|
||||
if (sr.ServiceDescription.ServiceCategory.Name == "Arbeitszeit" && sr.ServiceDescription.Name == "Zeitabzug")
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user