SHA256
Small fixes and improvements:
- GuestDocument - At least one contact field is required. - GuestDocument - List Page - Hide not useful columns: "version" - StayEntry - Show stayEntry ID in UI msg after creation. - StayEntry - Create Page - Time fields don't reset anymore when dates change. - Show local times in UI instead of UTC times. - Validators - Use expresions for dates so they are recalculated each time.
This commit is contained in:
1 parent
491ecc4cd1
commit
c5d8487046
9 files changed
+26
-15
No files matched your search
@@ -67,7 +67,7 @@ public class StayEntryEntityService(
|
||||
await dbContext.SaveChangesAsync();
|
||||
|
||||
logger.LogInformation("StayEntryService - CreateEntryAsync: StayEntry Created: '{id}'", dbStay.GetFullKey());
|
||||
return Result.Ok();
|
||||
return Result.OkWithContext(dbStay.GetFullKey());
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
|
||||
@@ -195,7 +195,7 @@ public class StayExportService(
|
||||
throw new InvalidOperationException($"StayExportFile - ExportType {exportParams.ExportType} require date start/end. Null dates found");
|
||||
}
|
||||
|
||||
//Get Stays in period.
|
||||
//Get Stays in period -> Local time should be used so it match with entities local-time.
|
||||
StayEntryFilterDTO filter = new()
|
||||
{
|
||||
DateInStart = exportParams.ExportPeriodStart,
|
||||
|
||||
Reference in new issue
Block a user