Commit Graph

14 Commits

Author SHA1 Message Date
7c59944646 feat: New users require admin approval
- Set active=false for newly registered users
- Return RegistrationResponse instead of SessionResponse after registration
- Show success message informing user that admin approval is pending
- Login check already filters for active users only
2026-03-17 09:28:14 +01:00
3367129d37 fix: Add nextSampleNumber to all AppUser constructor calls in CatalogService 2026-03-17 09:18:53 +01:00
217e0b8dc0 feat: Store next sample number on user collection
- Add nextSampleNumber field to AppUser record with default 100000
- Add compact constructor to initialize nextSampleNumber to 100000
- Add reserveNextSampleNumber method to atomically reserve and increment
- Update createSample to use reserveNextSampleNumber from user
- Update nextSampleNumber to read from user collection
- Update dashboardOverview to use new nextSampleNumber method
2026-03-17 09:10:40 +01:00
dbc8c2a2a2 feat: Start sample numbering at 10000 for each veterinarian
- Add findTopByOwnerAccountIdOrderBySampleNumberDesc to SampleRepository
- Modify nextSampleNumber to accept ownerAccountId parameter
- Calculate next sample number per user based on ownerAccountId
- Update dashboardOverview and createSample to use user-specific numbering
2026-03-17 09:04:41 +01:00
538ec2419d AdminStatisticsService korrigiert: Proben werden jetzt basierend auf ownerAccountId und createdByUserCode korrekt zugeordnet 2026-03-16 20:17:27 +01:00
1df2d8276c Admin Dashboard mit Statistiken: Tierärzte-Anzahl, Gesamtproben und Proben pro Tierarzt 2026-03-16 17:11:17 +01:00
2deafd219b Projekt auf Java 21 umgestellt 2026-03-16 12:43:21 +01:00
e01afb9a10 Add report templates and unify template storage 2026-03-13 19:20:54 +01:00
490be6a89b Add persistent invoice template management 2026-03-13 16:02:46 +01:00
c7362a553b Harden access control and restore customer admin pages 2026-03-13 08:52:04 +01:00
eb699666d9 Harden auth and improve user management 2026-03-12 20:28:06 +01:00
1a8e37bd36 Add customer search and navigation updates 2026-03-12 16:50:50 +01:00
8ebb4d06e5 Add customer registration and deployment updates 2026-03-12 16:02:16 +01:00
fb8e3c8ef6 Initial MUH app implementation 2026-03-12 11:43:27 +01:00