Commit Graph
23 Commits
Author SHA256 Message Date
Daniel-Garmig c5d8487046 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.
2026-09-12 15:28:25 +02:00
Daniel-Garmig 0abdfcd683 GuestDocument - Improvements to GuestDocument creation:
- IssueDate is now Nullable. Is not required for DNI and NIE document types.
- Improvements in SupportNumber for NIE documents.
- Address search can now be skipped.
2026-09-10 11:53:41 +02:00
Daniel-Garmig ae2ea51060 Small fixes and improvements:
- Show app version on Sidebar.
- StayEntryForm - Remove unnecesary refs to components.
- Fixed some result and log messages in entity services.
2026-09-10 11:26:21 +02:00
Daniel-Garmig 9ec87d56da feat StayExport - Added ExportDetails for StayExports
Store a new field ('ExportDetails') with export details. This is a JSON field in DB that can store information about the export depending on the format provider used.

Changes:
- Updated models and created required migrations.
- Show field in StayExport list.
2026-09-08 19:58:47 +02:00
Daniel-Garmig 7b8020879b feat StayExport - StayExportProvider SpainParteViejeros - Initial implementation
- Added initial implementation to export stays in "SpainParteViajeros" format.
- Added required configurations.
2026-09-08 14:31:00 +02:00
Daniel-Garmig 058352b7f3 feat StayExport - Added common Interface "IResult" for Result so both (generic and non-generic one) can be used easier. 2026-09-04 20:50:38 +02:00
Daniel-Garmig c24faedee5 feat StayExport - Initial Implementation
- Created models for DB and DTOs: StayExportFile
- Added required db migrations.
- Added StayExportService and StayExportServiceFactory for stay exporting services.
- Added configuration options required for StayExport.
2026-09-01 18:14:22 +02:00
Daniel-Garmig 887c3d787a GuestDocument Versions - Part 1:
- Changed GuestDocument PK from `DocumentType`+`DocumentNumber` to to `ID`+`Version` for future versioning.
- Added DB field "IsLastVersion" to simplify queries where only last/current version is allowed.
- Updated GuestDocument DB fields type for `CreateTime` & `UpdateTime` to add precision.
- Updated usages of GuestDocument PK to new PK.
- Limit delete of a GuestDocument when it's currently used in a StayEntry.

Note: DB changes require recreating db tables, so all data is lost and migration "rollback" is not allowed.
2026-09-01 15:04:38 +02:00
Daniel-Garmig 4f22cd4541 GuestLog - Moved Enums
- Enums moved to Enum folder (by type).
- ResultCode class changed to enum to ensure type safety in results.
2026-08-25 15:18:02 +02:00
Daniel-Garmig b18bd7caa6 GuestLog - StayEntry pages fixes
- Details/New - Fixed time field binding. Now it binds directly to the Model instead of using temp TimeSpans.
- New - Fixed StayEntry validation to allow creating Stays with a DateOut in the past.
- List - Added ordering to db results so limit behaves in a deterministic way. Fixed default search so stays created today are shown.
2026-08-24 20:50:38 +02:00
Daniel-Garmig 511bd023f2 GuestLog - User message improvements
- Added UserMessageService to have common methods for showing messages and errors to the user.
- Added Result record so services can return status on operation error (so it can be shown in the UI messages).
- Updated services to use the new Result record.
- Updated pages to use the new IUserMessageService.
2026-08-23 21:57:26 +02:00
Daniel-Garmig 0de4e1ba10 GuestLog - General Improvements.
- GuestDocument details - Added navigation to details for stays.
- StayEntry details - Added dialog to see details of GuestDocuments.
- StayEntry List - Added filter for result table.
- StayEntry New - Show suggested guests on GuestSearchDialog so no searchs are required in some cases.
- NavMenu - Removed default navigation links.
2026-08-18 22:17:16 +02:00
Daniel-Garmig 67845e250f GuestLog - StayEntry detail view and improvements:
- Added detail view for StayEntries.
- Added button to delete StayEntries.
- Improve queries of StayEntries using a "query config" record.
- Enabled LazyLoading for all database relations. This will make easier to find cases where required relations aren't explicitly loaded.
2026-08-17 21:28:26 +02:00
Daniel-Garmig 3e0ef34f66 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.
2026-08-15 21:23:29 +02:00
Daniel-Garmig 6dc2d2426b GuestLog - StayEntry - Initial Implementation
- Added new entity "StayEntry" to log stays of guests.
- Added pages for StayEntry management (List and creation).
- New DataList for PaymentMethods.
- Other general changes and improvements.
2026-08-15 19:33:32 +02:00
Daniel-Garmig ec7efd867b GuestLog - Added AddressQuery service using Google Maps Geocode API. 2026-08-12 14:10:18 +02:00
Daniel-Garmig 8232e7d7c9 GuestLog - Integrated AddressQuery dialog in GuestDocument creation and fixes.
- Added new CountryCodeUtils to map ISO-3166:Alpha2 country codes to ISO-3166:Alpha3 codes.
- Added new config for results language of AddressQuery services.
2026-08-11 22:02:15 +02:00
Daniel-Garmig 3fe558c231 SomniaGuestLog - Address search/query using Nominatim - Initial implementation
Initial implementation for address search/query using external APIs (OSM Nominatim) & Added required classes for supporting more APIs in the future.
2026-08-07 22:08:25 +02:00
Daniel-Garmig 2335c223ea GuestLog - GuestDocumentList - Added filter for GuestDocuments. 2026-08-03 21:33:30 +02:00
Daniel-Garmig a5eea09eee GuestLog - Improvements to GuestDocument creation
- Added DocumentNumber validations.
- Added new page to see GuestDocument details.
2026-07-30 20:31:13 +02:00
Daniel-Garmig 9f44ff6e3d GuestLog - GuestDocument detail view and creation improvements. 2026-06-21 22:35:20 +02:00
Daniel-Garmig 76b2695c02 GuestLog - GuestDocument pages initial implementation 2026-06-21 17:10:27 +02:00
Daniel-Garmig 86fadf97b4 GuestLog - Added GuestDocument db table. 2026-06-18 21:23:38 +02:00