StayExportTracking - Changes to Models

- Added new fields to track stay export uploading.
- Added methods in EntityServices to update this fields.
- Show new fields in UI (with required locale).
This commit is contained in:
Daniel-Garmig committed 2026-10-06 14:34:58 +02:00
1 parent 34b61e7fde
commit 2f0062b313
20 files changed
+586 -8

No files matched your search

@@ -45,6 +45,8 @@ internal static class EntityMapping
RoomCount = entity.RoomCount,
RoomNumber = entity.RoomNumber,
PaymentMethod = entity.PaymentMethod,
StayUploadStatus = entity.StayUploadStatus,
StayUploadStatusTime = entity.StayUploadStatusTime?.ToLocalTime(),
CreateTime = entity.CreateTime.ToLocalTime(),
UpdateTime = entity.UpdateTime.ToLocalTime(),
GuestDocuments = includeGuests ? [.. entity.GuestDocuments.Select(e => MapGuestDocumentEntityToDTO(e))] : null,
@@ -69,6 +71,8 @@ internal static class EntityMapping
ExportedPath = entity.ExportedPath,
ExportDetails = entity.ExportDetails,
ExportTime = entity.ExportTime.ToLocalTime(),
FileUploadStatus = entity.FileUploadStatus,
FileUploadStatusTime = entity.FileUploadStatusTime?.ToLocalTime(),
};
}