Fix: In KI Chat wird kein Zeiterfassung angezeigt
This commit is contained in:
@@ -28,7 +28,7 @@ namespace AICore.Context.Summary.Function
|
||||
internal ServiceRecordDocumantationFCS(IEnumerable<ServiceRecordContextEntry> serviceRecords, CustomerNavigationContextEntry customer, string costBearer, string supportConcept, string dokutext)
|
||||
: base()
|
||||
{
|
||||
Context = serviceRecords;
|
||||
//Context = serviceRecords;
|
||||
ServiceRecords = serviceRecords;
|
||||
Customer = customer;
|
||||
CostBearer = costBearer;
|
||||
|
||||
@@ -17,11 +17,12 @@ namespace AICore.Context.Summary.Navigation
|
||||
public string SupportConcept { get; set; }
|
||||
|
||||
[JsonPropertyName("Zeiterfassungseinträge")]
|
||||
public override IEnumerable<ServiceRecordContextEntry> DataContext { get; set; }
|
||||
public IEnumerable<ServiceRecordContextEntry> ServiceRecords { get; set; }
|
||||
|
||||
internal ServiceRecordNavigationCS(IEnumerable<ServiceRecordContextEntry> serviceRecords, CustomerNavigationContextEntry customer, string costBearer, string supportConcept)
|
||||
: base(serviceRecords)
|
||||
{
|
||||
ServiceRecords = serviceRecords;
|
||||
Customer = customer;
|
||||
CostBearer = costBearer;
|
||||
SupportConcept = supportConcept;
|
||||
|
||||
@@ -48,7 +48,7 @@ namespace AICore.Context.SummaryParser
|
||||
sb.AppendLine($"</Klient>");
|
||||
sb.AppendLine();
|
||||
sb.AppendLine($"<Zeiterfassungseinträge>");
|
||||
sb.AppendLine(ToCsvString(summary.DataContext));
|
||||
sb.AppendLine(ToCsvString(summary.ServiceRecords));
|
||||
sb.AppendLine($"</Zeiterfassungseinträge>");
|
||||
sb.AppendLine();
|
||||
return sb.ToString();
|
||||
|
||||
Reference in New Issue
Block a user