feat(tournament): enhance external participant management with email and address fields

- Added email and address fields to the external participant model, allowing for more comprehensive participant information.
- Updated the tournament service and controller to handle the new fields when adding external participants.
- Modified frontend components to include input fields for email and address, improving user experience and data collection.
- Updated localization strings to support the new fields, ensuring clarity in the user interface.
This commit is contained in:
Torsten Schulz (local)
2026-02-04 11:12:37 +01:00
parent 10e6d74d93
commit 673a3afbb5
8 changed files with 119 additions and 6 deletions

View File

@@ -3369,7 +3369,7 @@ Ve // 2. Neues Turnier anlegen
}
// Externe Teilnehmer hinzufügen
async addExternalParticipant(userToken, clubId, classId, firstName, lastName, club, birthDate, gender) {
async addExternalParticipant(userToken, clubId, classId, firstName, lastName, club, birthDate, gender, email = null, address = null) {
await checkAccess(userToken, clubId);
if (!classId) {
throw new Error('Klasse ist erforderlich');
@@ -3432,6 +3432,8 @@ Ve // 2. Neues Turnier anlegen
firstName,
lastName,
club: club || null,
email: email || null,
address: address || null,
birthDate: birthDate || null,
gender: participantGender,
groupId: null