GuestLog - GuestDocument fixes & improvements:

- Use GuestDocument Details page to see details.
- Added GuestDocument stays in details page.

Other minor changes:
- Updated validators to use ValueValidator base class.
- Changed Snackbar settings to show them better.
- Added Empty Debug page to test things. This page wont be updated in git, all test must be local-only.
This commit is contained in:
2026-08-15 21:23:29 +02:00
parent 6dc2d2426b
commit 3e0ef34f66
9 changed files with 127 additions and 74 deletions
@@ -25,4 +25,18 @@ public class GuestDocIdDTO
DocumentNum = parts[1]
};
}
public static GuestDocIdDTO? BuildFromDto(GuestDocumentDTO? dto)
{
if (dto is null || dto.DocumentType is null || dto.DocumentNum is null)
{
return null;
}
return new()
{
DocumentType = dto.DocumentType,
DocumentNum = dto.DocumentNum
};
}
}