Add user reservation form feature

- Created new user-friendly reservation form component (prenotazione-form-user)
- Added getCurrentUser() method to UtenteAppService
- Added route /prenotazione/nuova for user reservation form
- Added Italian translations for new UI elements
- Form includes booking details and auto-populated user data
- Radio button toggle for private/company data display
- Form validation with required facility selection
- Created comprehensive documentation in frontend-changes.md

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
This commit is contained in:
2025-12-11 19:23:01 +01:00
parent 9ad99bd05f
commit e0816bab45
50 changed files with 992 additions and 104 deletions

View File

@@ -8,11 +8,11 @@
"createOrEditLabel": "Genera o modifica un Prenotazione",
"notFound": "No Prenotaziones found"
},
"created": "&Egrave; stato generato un nuovo Prenotazione con identificatore { param }",
"updated": "&Egrave; stato aggiornato Prenotazione identificato da { param }",
"deleted": "&Egrave; stato eliminato Prenotazione con identificatore { param }",
"created": "&Egrave; stato generato un nuovo Prenotazione con identificatore {{ param }}",
"updated": "&Egrave; stato aggiornato Prenotazione identificato da {{ param }}",
"deleted": "&Egrave; stato eliminato Prenotazione con identificatore {{ param }}",
"delete": {
"question": "Sei sicuro di volere eliminare Prenotazione { id }?"
"question": "Sei sicuro di volere eliminare Prenotazione {{ id }}?"
},
"detail": {
"title": "Prenotazione"
@@ -26,7 +26,22 @@
"noteUtente": "Note Utente",
"conferma": "Conferma",
"utente": "Utente",
"struttura": "Struttura"
"struttura": "Struttura",
"userForm": {
"title": "Nuova Prenotazione",
"bookingDetails": "Dettagli",
"userData": "Chi prenota",
"personalData": "Persona incaricata",
"userType": "richiede di usufruire come",
"privato": "privato",
"societa": "società/associazione",
"companyData": "Dati della società/associazione",
"reset": "Annulla",
"submit": "Invia richiesta"
},
"StatoPrenotazione": {
"RICHIESTA": ""
}
}
}
}